1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Dec 21 2016)
3 // http://www.wxformbuilder.org/
5 // PLEASE DO "NOT" EDIT THIS FILE!
6 ///////////////////////////////////////////////////////////////////////////
8 #include "AppXestiaAddrBk.h"
10 ///////////////////////////////////////////////////////////////////////////
12 frmMainADT::frmMainADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
17 mnuMain = new wxMenuBar( 0 );
18 mnuManage = new wxMenu();
20 mnuNewAB = new wxMenuItem( mnuManage, ID_MANAGE_NEWAB, wxString( wxT("New Address Book...") ) , wxEmptyString, wxITEM_NORMAL );
21 mnuManage->Append( mnuNewAB );
23 mnuManage->AppendSeparator();
25 wxMenuItem* mnuRefreshAB;
26 mnuRefreshAB = new wxMenuItem( mnuManage, wxID_ANY, wxString( wxT("Refresh Address Book") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
27 mnuManage->Append( mnuRefreshAB );
29 mnuManage->AppendSeparator();
31 wxMenuItem* mnuImport;
32 mnuImport = new wxMenuItem( mnuManage, ID_IMPORT, wxString( wxT("Import...") ) , wxEmptyString, wxITEM_NORMAL );
33 mnuManage->Append( mnuImport );
35 wxMenuItem* mnuExport;
36 mnuExport = new wxMenuItem( mnuManage, ID_EXPORT, wxString( wxT("Export...") ) , wxEmptyString, wxITEM_NORMAL );
37 mnuManage->Append( mnuExport );
39 mnuPrefSep = mnuManage->AppendSeparator();
41 wxMenuItem* mnuPreferences;
42 mnuPreferences = new wxMenuItem( mnuManage, wxID_PREFERENCES, wxString( wxT("Preferences...") ) , wxEmptyString, wxITEM_NORMAL );
43 mnuManage->Append( mnuPreferences );
45 mnuExitSep = mnuManage->AppendSeparator();
48 mnuExit = new wxMenuItem( mnuManage, wxID_EXIT, wxString( wxT("Exit") ) + wxT('\t') + wxT("CTRL+Q"), wxEmptyString, wxITEM_NORMAL );
50 mnuExit->SetBitmaps( wxNullBitmap );
51 #elif (defined( __WXGTK__ ) || defined( __WXOSX__ ))
52 mnuExit->SetBitmap( wxNullBitmap );
54 mnuManage->Append( mnuExit );
56 mnuMain->Append( mnuManage, wxT("Manage") );
58 mnuContact = new wxMenu();
59 wxMenuItem* mnuNewContact;
60 mnuNewContact = new wxMenuItem( mnuContact, ID_CONTACT_ADD, wxString( wxT("New Contact...") ) + wxT('\t') + wxT("CTRL+N"), wxEmptyString, wxITEM_NORMAL );
61 mnuContact->Append( mnuNewContact );
63 wxMenuItem* mnuEditContact;
64 mnuEditContact = new wxMenuItem( mnuContact, ID_CONTACT_EDIT, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
65 mnuContact->Append( mnuEditContact );
67 wxMenuItem* deleteContact;
68 deleteContact = new wxMenuItem( mnuContact, ID_CONTACT_DELETE, wxString( wxT("Delete Contact...") ) + wxT('\t') + wxT("CTRL+D"), wxEmptyString, wxITEM_NORMAL );
69 mnuContact->Append( deleteContact );
71 mnuContact->AppendSeparator();
73 wxMenuItem* mnuFindContact;
74 mnuFindContact = new wxMenuItem( mnuContact, ID_CONTACT_FIND, wxString( wxT("Find Contacts...") ) + wxT('\t') + wxT("CTRL+F"), wxEmptyString, wxITEM_NORMAL );
75 mnuContact->Append( mnuFindContact );
77 mnuMain->Append( mnuContact, wxT("Contact") );
79 mnuView = new wxMenu();
80 mnuShowContactsAs = new wxMenu();
81 wxMenuItem* mnuShowContactsAsItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show Contacts As"), wxEmptyString, wxITEM_NORMAL, mnuShowContactsAs );
82 wxMenuItem* mnuViewFNLN;
83 mnuViewFNLN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_FNLN, wxString( wxT("First Name, Last Name") ) , wxEmptyString, wxITEM_NORMAL );
84 mnuShowContactsAs->Append( mnuViewFNLN );
86 wxMenuItem* mnuViewLNFN;
87 mnuViewLNFN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_LNFN, wxString( wxT("Last Name, First Name") ) , wxEmptyString, wxITEM_NORMAL );
88 mnuShowContactsAs->Append( mnuViewLNFN );
90 wxMenuItem* mnuViewNick;
91 mnuViewNick = new wxMenuItem( mnuShowContactsAs, ID_VIEW_NICK, wxString( wxT("Nickname") ) , wxEmptyString, wxITEM_NORMAL );
92 mnuShowContactsAs->Append( mnuViewNick );
94 wxMenuItem* mnuViewDisplayAs;
95 mnuViewDisplayAs = new wxMenuItem( mnuShowContactsAs, wxID_ANY, wxString( wxT("Display As Name") ) , wxEmptyString, wxITEM_NORMAL );
96 mnuShowContactsAs->Append( mnuViewDisplayAs );
98 mnuView->Append( mnuShowContactsAsItem );
100 mnuViewSortBy = new wxMenu();
101 wxMenuItem* mnuViewSortByItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Sort By"), wxEmptyString, wxITEM_NORMAL, mnuViewSortBy );
102 wxMenuItem* mnuViewAsc;
103 mnuViewAsc = new wxMenuItem( mnuViewSortBy, ID_VIEW_ASC, wxString( wxT("Ascending") ) , wxEmptyString, wxITEM_NORMAL );
104 mnuViewSortBy->Append( mnuViewAsc );
106 wxMenuItem* mnuViewDesc;
107 mnuViewDesc = new wxMenuItem( mnuViewSortBy, ID_VIEW_DESC, wxString( wxT("Descending") ) , wxEmptyString, wxITEM_NORMAL );
108 mnuViewSortBy->Append( mnuViewDesc );
110 mnuView->Append( mnuViewSortByItem );
112 mnuViewShow = new wxMenu();
113 wxMenuItem* mnuViewShowItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show"), wxEmptyString, wxITEM_NORMAL, mnuViewShow );
114 wxMenuItem* mnuViewStatusBar;
115 mnuViewStatusBar = new wxMenuItem( mnuViewShow, ID_VIEW_STATUSBAR, wxString( wxT("Status Bar") ) , wxEmptyString, wxITEM_NORMAL );
116 mnuViewShow->Append( mnuViewStatusBar );
118 mnuView->Append( mnuViewShowItem );
120 mnuView->AppendSeparator();
122 wxMenuItem* mnuViewActivity;
123 mnuViewActivity = new wxMenuItem( mnuView, wxID_ANY, wxString( wxT("Activity Manager") ) , wxEmptyString, wxITEM_NORMAL );
124 mnuView->Append( mnuViewActivity );
126 mnuMain->Append( mnuView, wxT("View") );
128 mnuEdit = new wxMenu();
130 mnuCut = new wxMenuItem( mnuEdit, ID_MANAGE_CUT, wxString( wxT("Cut") ) + wxT('\t') + wxT("CTRL+X"), wxEmptyString, wxITEM_NORMAL );
131 mnuEdit->Append( mnuCut );
134 mnuCopy = new wxMenuItem( mnuEdit, ID_MANAGE_COPY, wxString( wxT("Copy") ) + wxT('\t') + wxT("CTRL+C"), wxEmptyString, wxITEM_NORMAL );
135 mnuEdit->Append( mnuCopy );
137 wxMenuItem* mnuPaste;
138 mnuPaste = new wxMenuItem( mnuEdit, ID_MANAGE_PASTE, wxString( wxT("Paste") ) + wxT('\t') + wxT("CTRL+V"), wxEmptyString, wxITEM_NORMAL );
139 mnuEdit->Append( mnuPaste );
141 mnuMain->Append( mnuEdit, wxT("Edit") );
143 mnuWindow = new wxMenu();
144 mnuMain->Append( mnuWindow, wxT("Window") );
146 mnuHelp = new wxMenu();
147 wxMenuItem* showHelp;
148 showHelp = new wxMenuItem( mnuHelp, ID_HELP_SHOW, wxString( wxT("Show Help...") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL );
149 mnuHelp->Append( showHelp );
151 mnuHelp->AppendSeparator();
153 wxMenuItem* mnuHelpUpdates;
154 mnuHelpUpdates = new wxMenuItem( mnuHelp, ID_MANAGE_UPDATE, wxString( wxT("Check for updates...") ) , wxEmptyString, wxITEM_NORMAL );
155 mnuHelp->Append( mnuHelpUpdates );
157 mnuHelpAboutSep = mnuHelp->AppendSeparator();
159 wxMenuItem* mnuAbout;
160 mnuAbout = new wxMenuItem( mnuHelp, wxID_ABOUT, wxString( wxT("About") ) + wxT('\t') + wxT("SHIFT+CTRL+A"), wxEmptyString, wxITEM_NORMAL );
161 mnuHelp->Append( mnuAbout );
163 mnuMain->Append( mnuHelp, wxT("Help") );
165 this->SetMenuBar( mnuMain );
167 szrMain = new wxBoxSizer( wxVERTICAL );
169 wxBoxSizer* bSizer396;
170 bSizer396 = new wxBoxSizer( wxHORIZONTAL );
172 bmpIcon = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
173 bSizer396->Add( bmpIcon, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
175 AccCtrl = new wxComboCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxCB_READONLY|wxEXPAND);
176 bSizer396->Add( AccCtrl, 0, wxALL, 5 );
179 szrMain->Add( bSizer396, 0, wxEXPAND|wxLEFT, 5 );
181 m_splitter13 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
182 m_splitter13->Connect( wxEVT_IDLE, wxIdleEventHandler( frmMainADT::m_splitter13OnIdle ), NULL, this );
183 m_splitter13->SetMinimumPaneSize( 1 );
185 m_panel19 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
186 szrContactList = new wxBoxSizer( wxVERTICAL );
188 lstContacts = new wxListCtrl( m_panel19, wxID_ANY, wxDefaultPosition, wxSize( 50,-1 ), wxLC_NO_HEADER|wxLC_REPORT|wxSUNKEN_BORDER );
189 szrContactList->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
192 m_panel19->SetSizer( szrContactList );
194 szrContactList->Fit( m_panel19 );
195 m_panel20 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
196 wxBoxSizer* bSizer12;
197 bSizer12 = new wxBoxSizer( wxVERTICAL );
199 htmContactData = new wxHtmlWindow( m_panel20, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
200 bSizer12->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
203 m_panel20->SetSizer( bSizer12 );
205 bSizer12->Fit( m_panel20 );
206 m_splitter13->SplitVertically( m_panel19, m_panel20, 201 );
207 szrMain->Add( m_splitter13, 1, wxEXPAND, 5 );
210 this->SetSizer( szrMain );
212 stbBottom = this->CreateStatusBar( 1, 0, wxID_ANY );
213 tblMain = this->CreateToolBar( wxTB_HORIZONTAL, wxID_ANY );
214 tbtNewAccount = tblMain->AddTool( ID_MANAGE_NEWAB, wxT("New Address Book"), wxBitmap( 1, 1, wxBITMAP_SCREEN_DEPTH ), wxNullBitmap, wxITEM_NORMAL, wxT("New Address Book"), wxT("Setup a new local or remote address book"), NULL );
216 tblMain->AddSeparator();
218 tbtPreferences = tblMain->AddTool( wxID_PREFERENCES, wxT("Preferences"), wxBitmap( 1, 1, wxBITMAP_SCREEN_DEPTH ), wxNullBitmap, wxITEM_NORMAL, wxT("Preferences"), wxT("View or change application settings"), NULL );
220 tblMain->AddSeparator();
222 tbtSearch = tblMain->AddTool( ID_CONTACT_FIND, wxT("Search Contacts"), wxBitmap( 1, 1, wxBITMAP_SCREEN_DEPTH ), wxNullBitmap, wxITEM_NORMAL, wxT("Search Contacts"), wxT("Search for contacts in address books"), NULL );
224 tblMain->AddSeparator();
226 tbtAddContact = tblMain->AddTool( ID_CONTACT_ADD, wxT("Add Contact"), wxBitmap( 1, 1, wxBITMAP_SCREEN_DEPTH ), wxNullBitmap, wxITEM_NORMAL, wxT("Add Contact"), wxT("Add a new contact"), NULL );
228 tbtEditContact = tblMain->AddTool( ID_CONTACT_EDIT, wxT("Edit Contact"), wxBitmap( 1, 1, wxBITMAP_SCREEN_DEPTH ), wxNullBitmap, wxITEM_NORMAL, wxT("Edit Contact"), wxT("Edit a contact"), NULL );
230 tbtDeleteContact = tblMain->AddTool( ID_CONTACT_DELETE, wxT("Delete Contact"), wxBitmap( 1, 1, wxBITMAP_SCREEN_DEPTH ), wxNullBitmap, wxITEM_NORMAL, wxT("Delete Contact"), wxT("Delete a contact"), NULL );
235 this->Centre( wxBOTH );
238 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
239 this->Connect( mnuNewAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
240 this->Connect( mnuRefreshAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
241 this->Connect( mnuImport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
242 this->Connect( mnuExport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
243 this->Connect( mnuPreferences->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
244 this->Connect( mnuExit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
245 this->Connect( mnuNewContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
246 this->Connect( mnuEditContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
247 this->Connect( deleteContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
248 this->Connect( mnuFindContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
249 this->Connect( mnuViewFNLN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
250 this->Connect( mnuViewLNFN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
251 this->Connect( mnuViewNick->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
252 this->Connect( mnuViewDisplayAs->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
253 this->Connect( mnuViewAsc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
254 this->Connect( mnuViewDesc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
255 this->Connect( mnuViewStatusBar->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
256 this->Connect( mnuViewActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
257 this->Connect( mnuCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
258 this->Connect( mnuCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
259 this->Connect( mnuPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
260 this->Connect( showHelp->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
261 this->Connect( mnuHelpUpdates->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
262 this->Connect( mnuAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
263 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this );
264 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
265 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
266 lstContacts->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this );
267 htmContactData->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
268 stbBottom->Connect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
271 frmMainADT::~frmMainADT()
274 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
275 this->Disconnect( ID_MANAGE_NEWAB, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
276 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
277 this->Disconnect( ID_IMPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
278 this->Disconnect( ID_EXPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
279 this->Disconnect( wxID_PREFERENCES, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
280 this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
281 this->Disconnect( ID_CONTACT_ADD, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
282 this->Disconnect( ID_CONTACT_EDIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
283 this->Disconnect( ID_CONTACT_DELETE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
284 this->Disconnect( ID_CONTACT_FIND, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
285 this->Disconnect( ID_VIEW_FNLN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
286 this->Disconnect( ID_VIEW_LNFN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
287 this->Disconnect( ID_VIEW_NICK, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
288 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
289 this->Disconnect( ID_VIEW_ASC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
290 this->Disconnect( ID_VIEW_DESC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
291 this->Disconnect( ID_VIEW_STATUSBAR, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
292 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
293 this->Disconnect( ID_MANAGE_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
294 this->Disconnect( ID_MANAGE_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
295 this->Disconnect( ID_MANAGE_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
296 this->Disconnect( ID_HELP_SHOW, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
297 this->Disconnect( ID_MANAGE_UPDATE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
298 this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
299 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this );
300 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
301 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
302 lstContacts->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this );
303 htmContactData->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
304 stbBottom->Disconnect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
308 frmUpdateADT::frmUpdateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
310 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
312 wxBoxSizer* bSizer390;
313 bSizer390 = new wxBoxSizer( wxVERTICAL );
315 pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
316 wxBoxSizer* bSizer391;
317 bSizer391 = new wxBoxSizer( wxVERTICAL );
319 wxFlexGridSizer* fgSizer45;
320 fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 );
321 fgSizer45->SetFlexibleDirection( wxBOTH );
322 fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
324 lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 );
325 lblRunningText->Wrap( -1 );
326 fgSizer45->Add( lblRunningText, 0, wxALL, 5 );
328 lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 );
329 lblRunningVer->Wrap( -1 );
330 lblRunningVer->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
332 fgSizer45->Add( lblRunningVer, 0, wxALL, 5 );
334 lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 );
335 lblAvailableText->Wrap( -1 );
336 fgSizer45->Add( lblAvailableText, 0, wxALL, 5 );
338 lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 );
339 lblAvailableVer->Wrap( -1 );
340 fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 );
342 lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 );
343 lblBuildTypeText->Wrap( -1 );
344 fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 );
346 lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 );
347 lblBuildType->Wrap( -1 );
348 fgSizer45->Add( lblBuildType, 0, wxALL, 5 );
351 bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 );
353 lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 );
354 lblUpdateMessage->Wrap( -1 );
355 bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 );
358 pnlUpdateData->SetSizer( bSizer391 );
359 pnlUpdateData->Layout();
360 bSizer391->Fit( pnlUpdateData );
361 bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 );
363 statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
364 bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 );
366 wxBoxSizer* bSizer392;
367 bSizer392 = new wxBoxSizer( wxHORIZONTAL );
369 btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 );
370 bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
372 btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 );
373 bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 );
375 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
376 bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
379 bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 );
382 this->SetSizer( bSizer390 );
385 this->Centre( wxBOTH );
388 btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
389 btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
390 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
393 frmUpdateADT::~frmUpdateADT()
396 btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
397 btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
398 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
402 frmSearchADT::frmSearchADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
404 this->SetSizeHints( wxSize( 300,450 ), wxDefaultSize );
406 stbBottom = this->CreateStatusBar( 1, 0, wxID_ANY );
407 wxBoxSizer* bSizer368;
408 bSizer368 = new wxBoxSizer( wxVERTICAL );
410 m_splitter4 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
411 m_splitter4->Connect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this );
412 m_splitter4->SetMinimumPaneSize( 1 );
414 m_panel60 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
415 wxBoxSizer* bSizer382;
416 bSizer382 = new wxBoxSizer( wxVERTICAL );
418 wxBoxSizer* bSizer369;
419 bSizer369 = new wxBoxSizer( wxHORIZONTAL );
421 nbkSearch = new wxNotebook( m_panel60, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
422 tabSearch = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE|wxHSCROLL|wxVSCROLL );
423 tabSearch->SetScrollRate( 5, 5 );
424 szrSearch = new wxFlexGridSizer( 0, 1, 0, 0 );
425 szrSearch->AddGrowableCol( 0 );
426 szrSearch->SetFlexibleDirection( wxVERTICAL );
427 szrSearch->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
430 tabSearch->SetSizer( szrSearch );
432 szrSearch->Fit( tabSearch );
433 nbkSearch->AddPage( tabSearch, wxT("Search"), true );
434 tabAdvanced = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
435 tabAdvanced->SetScrollRate( 5, 5 );
436 wxBoxSizer* bSizer384;
437 bSizer384 = new wxBoxSizer( wxVERTICAL );
439 btnSelectAccounts = new wxButton( tabAdvanced, wxID_ANY, wxT("Select Accounts..."), wxDefaultPosition, wxDefaultSize, 0 );
440 bSizer384->Add( btnSelectAccounts, 0, wxALL, 5 );
443 tabAdvanced->SetSizer( bSizer384 );
444 tabAdvanced->Layout();
445 bSizer384->Fit( tabAdvanced );
446 nbkSearch->AddPage( tabAdvanced, wxT("Advanced"), false );
448 bSizer369->Add( nbkSearch, 1, wxEXPAND | wxALL, 5 );
450 wxBoxSizer* bSizer371;
451 bSizer371 = new wxBoxSizer( wxVERTICAL );
453 btnSearch = new wxButton( m_panel60, wxID_ANY, wxT("Search"), wxDefaultPosition, wxDefaultSize, 0 );
454 bSizer371->Add( btnSearch, 0, wxALL, 5 );
456 btnReset = new wxButton( m_panel60, wxID_ANY, wxT("Reset"), wxDefaultPosition, wxDefaultSize, 0 );
457 bSizer371->Add( btnReset, 0, wxALL, 5 );
460 bSizer369->Add( bSizer371, 0, wxEXPAND, 5 );
463 bSizer382->Add( bSizer369, 1, wxEXPAND, 5 );
466 m_panel60->SetSizer( bSizer382 );
468 bSizer382->Fit( m_panel60 );
469 m_panel61 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
470 wxBoxSizer* bSizer386;
471 bSizer386 = new wxBoxSizer( wxVERTICAL );
473 lstResults = new wxListCtrl( m_panel61, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
474 bSizer386->Add( lstResults, 1, wxALL|wxEXPAND, 5 );
477 m_panel61->SetSizer( bSizer386 );
479 bSizer386->Fit( m_panel61 );
480 m_splitter4->SplitHorizontally( m_panel60, m_panel61, 178 );
481 bSizer368->Add( m_splitter4, 1, wxEXPAND, 5 );
484 this->SetSizer( bSizer368 );
486 m_menubar5 = new wxMenuBar( 0 );
487 mnuContact = new wxMenu();
488 wxMenuItem* mnuContactOpen;
489 mnuContactOpen = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Open Contact...") ) + wxT('\t') + wxT("CTRL+O"), wxEmptyString, wxITEM_NORMAL );
490 mnuContact->Append( mnuContactOpen );
492 mnuContactEdit = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
493 mnuContact->Append( mnuContactEdit );
495 mnuContactReveal = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Reveal Contact") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
496 mnuContact->Append( mnuContactReveal );
498 mnuContact->AppendSeparator();
500 wxMenuItem* mnuContactClose;
501 mnuContactClose = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
502 mnuContact->Append( mnuContactClose );
504 m_menubar5->Append( mnuContact, wxT("Contact") );
506 this->SetMenuBar( m_menubar5 );
509 this->Centre( wxBOTH );
512 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
513 btnSelectAccounts->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
514 btnSearch->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
515 btnReset->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
516 lstResults->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this );
517 this->Connect( mnuContactOpen->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
518 this->Connect( mnuContactEdit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
519 this->Connect( mnuContactReveal->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
520 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
523 frmSearchADT::~frmSearchADT()
526 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
527 btnSelectAccounts->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
528 btnSearch->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
529 btnReset->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
530 lstResults->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this );
531 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
532 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
533 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
534 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
538 frmPreferencesADT::frmPreferencesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
540 this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) );
543 szrMain = new wxBoxSizer( wxVERTICAL );
546 szrTabs = new wxBoxSizer( wxVERTICAL );
548 NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
549 tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
550 wxFlexGridSizer* szrGeneral;
551 szrGeneral = new wxFlexGridSizer( 2, 2, 0, 0 );
552 szrGeneral->AddGrowableCol( 1 );
553 szrGeneral->SetFlexibleDirection( wxBOTH );
554 szrGeneral->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
556 bmpWindowPosition = new wxStaticBitmap( tabGeneral, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 32,32 ), 0 );
557 bmpWindowPosition->SetMinSize( wxSize( 32,32 ) );
558 bmpWindowPosition->SetMaxSize( wxSize( 32,32 ) );
560 szrGeneral->Add( bmpWindowPosition, 0, wxALL, 5 );
562 chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
563 szrGeneral->Add( chkSaveWindowPosition, 0, wxALL, 5 );
565 bmpLocalAddressBooks = new wxStaticBitmap( tabGeneral, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 32,32 ), 0 );
566 bmpLocalAddressBooks->SetMinSize( wxSize( 32,32 ) );
567 bmpLocalAddressBooks->SetMaxSize( wxSize( 32,32 ) );
569 szrGeneral->Add( bmpLocalAddressBooks, 0, wxALL, 5 );
571 chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 );
572 szrGeneral->Add( chkHideLocal, 0, wxALL, 5 );
575 tabGeneral->SetSizer( szrGeneral );
576 tabGeneral->Layout();
577 szrGeneral->Fit( tabGeneral );
578 NbtPreferences->AddPage( tabGeneral, wxT("General"), true );
579 tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
582 wxGridSizer* szrTheme;
583 szrTheme = new wxGridSizer( 1, 1, 0, 0 );
585 wxBoxSizer* bSizer161;
586 bSizer161 = new wxBoxSizer( wxVERTICAL );
588 lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
589 bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
591 wxBoxSizer* bSizer151;
592 bSizer151 = new wxBoxSizer( wxHORIZONTAL );
594 btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
595 bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
597 btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
598 btnThemeModify->Enable( false );
600 bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
602 btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
603 btnThemeDelete->Enable( false );
605 bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
608 bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
611 szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
614 tabTheme->SetSizer( szrTheme );
616 szrTheme->Fit( tabTheme );
617 NbtPreferences->AddPage( tabTheme, wxT("Themes"), false );
618 tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
619 wxGridSizer* szrAccounts;
620 szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
622 wxBoxSizer* bSizer16;
623 bSizer16 = new wxBoxSizer( wxVERTICAL );
625 lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
626 bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
628 wxBoxSizer* bSizer15;
629 bSizer15 = new wxBoxSizer( wxHORIZONTAL );
631 btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
632 bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
634 btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
635 btnAccountModify->Enable( false );
637 bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
639 btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
640 btnAccountDelete->Enable( false );
642 bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
645 bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
648 szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
651 tabAccounts->SetSizer( szrAccounts );
652 tabAccounts->Layout();
653 szrAccounts->Fit( tabAccounts );
654 NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false );
655 tabContacts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
656 wxFlexGridSizer* szrContacts;
657 szrContacts = new wxFlexGridSizer( 1, 2, 0, 0 );
658 szrContacts->AddGrowableCol( 0 );
659 szrContacts->SetFlexibleDirection( wxBOTH );
660 szrContacts->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
662 chkUseBackgroundColour = new wxCheckBox( tabContacts, wxID_ANY, wxT("Use different background colour"), wxDefaultPosition, wxDefaultSize, 0 );
663 szrContacts->Add( chkUseBackgroundColour, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
665 clpContactBackgroundColour = new wxColourPickerCtrl( tabContacts, wxID_ANY, wxColour( 255, 255, 255 ), wxDefaultPosition, wxDefaultSize, wxCLRP_DEFAULT_STYLE );
666 szrContacts->Add( clpContactBackgroundColour, 0, wxALL, 5 );
669 tabContacts->SetSizer( szrContacts );
670 tabContacts->Layout();
671 szrContacts->Fit( tabContacts );
672 NbtPreferences->AddPage( tabContacts, wxT("Contacts"), false );
674 szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
677 szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
679 wxBoxSizer* szrButtons;
680 szrButtons = new wxBoxSizer( wxHORIZONTAL );
683 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
685 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
686 btnSave->SetDefault();
687 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
690 szrButtons->Add( 5, 0, 0, 0, 0 );
692 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
693 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
696 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
699 szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
702 this->SetSizer( szrMain );
705 this->Centre( wxBOTH );
708 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
709 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
710 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
711 btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
712 btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
713 btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
714 lstAccounts->Connect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
715 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
716 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
717 btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
718 btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
719 btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
720 chkUseBackgroundColour->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmPreferencesADT::EnableBackgroundColourPicker ), NULL, this );
721 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
722 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
725 frmPreferencesADT::~frmPreferencesADT()
728 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
729 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
730 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
731 btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
732 btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
733 btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
734 lstAccounts->Disconnect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
735 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
736 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
737 btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
738 btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
739 btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
740 chkUseBackgroundColour->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmPreferencesADT::EnableBackgroundColourPicker ), NULL, this );
741 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
742 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
746 frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
748 this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
751 szrMain = new wxBoxSizer( wxVERTICAL );
754 szrLogo = new wxBoxSizer( wxVERTICAL );
756 szrLogo->SetMinSize( wxSize( 350,100 ) );
757 bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
758 szrLogo->Add( bmpLogo, 0, wxALL, 0 );
761 szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
763 wxBoxSizer* szrDetails;
764 szrDetails = new wxBoxSizer( wxVERTICAL );
766 lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
767 lblVersion->Wrap( -1 );
768 lblVersion->SetFont( wxFont( 14, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
770 szrDetails->Add( lblVersion, 0, wxALL, 5 );
772 lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
773 lblCompileTime->Wrap( -1 );
774 szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
776 lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
777 lblCopyright->Wrap( -1 );
778 szrDetails->Add( lblCopyright, 0, wxALL, 5 );
781 szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
783 wxBoxSizer* szrButtons;
784 szrButtons = new wxBoxSizer( wxVERTICAL );
786 szrButtons->SetMinSize( wxSize( -1,35 ) );
787 btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
788 szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
791 szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
794 this->SetSizer( szrMain );
797 this->Centre( wxBOTH );
800 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
803 frmAboutADT::~frmAboutADT()
806 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
810 frmContactADT::frmContactADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
812 this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize );
814 wxBoxSizer* bSizer13;
815 bSizer13 = new wxBoxSizer( wxVERTICAL );
817 htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
818 bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
821 this->SetSizer( bSizer13 );
823 m_menubar2 = new wxMenuBar( 0 );
824 contact = new wxMenu();
825 wxMenuItem* mnuContactClose;
826 mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL );
827 contact->Append( mnuContactClose );
829 m_menubar2->Append( contact, wxT("Contact") );
831 this->SetMenuBar( m_menubar2 );
834 this->Centre( wxBOTH );
837 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
838 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
841 frmContactADT::~frmContactADT()
844 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
845 this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
849 frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
851 this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
853 wxFlexGridSizer* fgSizer30;
854 fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
855 fgSizer30->AddGrowableCol( 0 );
856 fgSizer30->AddGrowableRow( 0 );
857 fgSizer30->SetFlexibleDirection( wxBOTH );
858 fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
860 szrNewAccount = new wxBoxSizer( wxVERTICAL );
862 tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
863 wxFlexGridSizer* fgSizer32;
864 fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
865 fgSizer32->AddGrowableCol( 0 );
866 fgSizer32->SetFlexibleDirection( wxBOTH );
867 fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
869 lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
870 lblEnterText->Wrap( -1 );
871 fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
873 wxFlexGridSizer* fgSizer33;
874 fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
875 fgSizer33->AddGrowableCol( 1 );
876 fgSizer33->AddGrowableRow( 0 );
877 fgSizer33->SetFlexibleDirection( wxBOTH );
878 fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
880 lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
882 fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
884 wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") };
885 int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
886 cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
887 cmbServerType->SetSelection( 1 );
888 fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
890 lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
891 lblServerAddress->Wrap( -1 );
892 fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
894 txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
895 fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
897 lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
898 lblServerPort->Wrap( -1 );
899 fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
901 txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
902 fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
904 lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
905 lblUsername->Wrap( -1 );
906 fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
908 txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
909 fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
911 lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
912 lblPassword->Wrap( -1 );
913 fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
915 txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
916 fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
918 lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
920 fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
922 wxBoxSizer* bSizer3221;
923 bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
925 chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
926 chkUseSSL->SetValue(true);
927 bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
930 fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
933 fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
936 tabType->SetSizer( fgSizer32 );
938 fgSizer32->Fit( tabType );
939 szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
941 tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
944 wxBoxSizer* bSizer323;
945 bSizer323 = new wxBoxSizer( wxVERTICAL );
947 lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
948 lblConnectionResult->Wrap( -1 );
949 lblConnectionResult->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxT("Sans") ) );
951 bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
953 wxFlexGridSizer* fgSizer34;
954 fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
955 fgSizer34->SetFlexibleDirection( wxBOTH );
956 fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
958 lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
959 lblServerConnected->Wrap( -1 );
960 fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
962 lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
963 lblServerConnResult->Wrap( -1 );
964 fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
966 lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
967 lblValidResponse->Wrap( -1 );
968 fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
970 lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
971 lblServerResponse->Wrap( -1 );
972 fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
974 lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
975 lblUseSSL->Wrap( -1 );
976 fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
978 lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
979 lblServerSSLResult->Wrap( -1 );
980 fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
982 lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
983 lblServerSSLCert->Wrap( -1 );
984 fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
986 lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
987 lblServerSSLValid->Wrap( -1 );
988 fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
990 lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
991 lblServerUsernamePassword->Wrap( -1 );
992 fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
994 lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
995 lblAbleToLoginResult->Wrap( -1 );
996 fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
998 lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
999 lblIsCalDAV->Wrap( -1 );
1000 fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
1002 lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
1003 lblCardDAVSupportResult->Wrap( -1 );
1004 fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 );
1007 bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
1009 m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
1010 bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
1012 lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
1013 lblConnectionResultText->Wrap( 360 );
1014 lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
1016 bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
1019 tabConn->SetSizer( bSizer323 );
1021 bSizer323->Fit( tabConn );
1022 szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
1024 tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1027 wxBoxSizer* bSizer3231;
1028 bSizer3231 = new wxBoxSizer( wxVERTICAL );
1030 lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
1031 lblFinishText->Wrap( -1 );
1032 bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
1034 wxFlexGridSizer* fgSizer341;
1035 fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
1036 fgSizer341->AddGrowableCol( 1 );
1037 fgSizer341->SetFlexibleDirection( wxBOTH );
1038 fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1040 lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
1041 lblAccountName->Wrap( -1 );
1042 fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1044 txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1045 fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
1048 bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
1051 tabFinish->SetSizer( bSizer3231 );
1052 tabFinish->Layout();
1053 bSizer3231->Fit( tabFinish );
1054 szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
1057 fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
1059 wxBoxSizer* bSizer322;
1060 bSizer322 = new wxBoxSizer( wxHORIZONTAL );
1062 btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
1063 bSizer322->Add( btnPrevious, 0, wxALL, 5 );
1065 btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
1066 btnNext->SetDefault();
1067 bSizer322->Add( btnNext, 0, wxALL, 5 );
1069 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
1070 bSizer322->Add( btnClose, 0, wxALL, 5 );
1073 fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
1076 this->SetSizer( fgSizer30 );
1079 this->Centre( wxBOTH );
1082 cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
1083 txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
1084 btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
1085 btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
1086 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
1089 frmNewAccountADT::~frmNewAccountADT()
1091 // Disconnect Events
1092 cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
1093 txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
1094 btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
1095 btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
1096 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
1100 frmContactEditorADT::frmContactEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
1102 this->SetSizeHints( wxSize( 800,500 ), wxDefaultSize );
1103 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
1105 wxBoxSizer* bSizer17;
1106 bSizer17 = new wxBoxSizer( wxVERTICAL );
1108 nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1109 tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
1110 tabGeneral->SetScrollRate( 5, 5 );
1111 wxBoxSizer* bSizer18;
1112 bSizer18 = new wxBoxSizer( wxVERTICAL );
1114 wxGridSizer* gSizer7;
1115 gSizer7 = new wxGridSizer( 0, 6, 0, 0 );
1117 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
1118 lblTitle->Wrap( -1 );
1119 gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1121 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1122 gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
1125 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1128 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1131 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1134 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1136 lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 );
1137 lblForename->Wrap( -1 );
1138 gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1140 txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1141 gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 );
1143 lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 );
1144 lblSurname->Wrap( -1 );
1145 gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1147 txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1148 gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 );
1150 lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 );
1151 lblOtherNames->Wrap( -1 );
1152 gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1154 txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1155 gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 );
1157 lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 );
1158 lblSuffix->Wrap( -1 );
1159 gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1161 txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1162 gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 );
1165 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1168 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1171 bSizer18->Add( gSizer7, 0, wxEXPAND, 5 );
1173 wxFlexGridSizer* fgSizer5;
1174 fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 );
1175 fgSizer5->AddGrowableCol( 1 );
1176 fgSizer5->SetFlexibleDirection( wxBOTH );
1177 fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1179 lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 );
1180 lblDisplayAs->Wrap( -1 );
1181 fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1183 cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
1184 fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 );
1186 lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 );
1187 lblBirthday->Wrap( -1 );
1188 fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1190 wxBoxSizer* bSizer318;
1191 bSizer318 = new wxBoxSizer( wxHORIZONTAL );
1193 dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
1194 dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
1195 dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
1196 dapBirthday->SetMinSize( wxSize( -1,25 ) );
1198 bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 );
1200 txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1201 bSizer318->Add( txtBirthday, 1, wxALL, 5 );
1204 fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 );
1206 lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 );
1207 lblAnniversary->Wrap( -1 );
1208 fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1210 wxBoxSizer* bSizer319;
1211 bSizer319 = new wxBoxSizer( wxHORIZONTAL );
1213 dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
1214 dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
1215 dapAnniversary->SetMinSize( wxSize( -1,25 ) );
1217 bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 );
1219 txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1220 bSizer319->Add( txtAnniversary, 1, wxALL, 5 );
1223 fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 );
1225 lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 );
1226 lblGender->Wrap( -1 );
1227 fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1229 wxBoxSizer* bSizer20;
1230 bSizer20 = new wxBoxSizer( wxHORIZONTAL );
1232 wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") };
1233 int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString );
1234 cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 );
1235 cmbGender->SetSelection( 0 );
1236 bSizer20->Add( cmbGender, 0, wxALL, 5 );
1238 txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1239 bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1242 fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 );
1244 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
1245 lblType->Wrap( -1 );
1246 fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1248 wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") };
1249 int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString );
1250 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 );
1251 cmbType->SetSelection( 0 );
1252 fgSizer5->Add( cmbType, 0, wxALL, 5 );
1254 lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
1255 lblNicknames->Wrap( -1 );
1256 fgSizer5->Add( lblNicknames, 0, wxALL, 5 );
1258 wxBoxSizer* szrNicknames;
1259 szrNicknames = new wxBoxSizer( wxHORIZONTAL );
1261 lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1262 szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 );
1264 wxBoxSizer* szrAddressesOuter3;
1265 szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL );
1267 wxBoxSizer* bSizer464;
1268 bSizer464 = new wxBoxSizer( wxHORIZONTAL );
1270 wxBoxSizer* bSizer474;
1271 bSizer474 = new wxBoxSizer( wxVERTICAL );
1273 btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1274 bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 );
1276 btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1277 bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 );
1279 btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1280 bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 );
1283 bSizer464->Add( bSizer474, 1, wxEXPAND, 5 );
1286 szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 );
1289 szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 );
1292 fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 );
1294 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
1295 lblAddress->Wrap( -1 );
1296 fgSizer5->Add( lblAddress, 0, wxALL, 5 );
1298 wxBoxSizer* szrAddresses;
1299 szrAddresses = new wxBoxSizer( wxHORIZONTAL );
1301 lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1302 szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 );
1304 wxBoxSizer* szrAddressesOuter;
1305 szrAddressesOuter = new wxBoxSizer( wxVERTICAL );
1307 wxBoxSizer* bSizer46;
1308 bSizer46 = new wxBoxSizer( wxHORIZONTAL );
1310 wxBoxSizer* bSizer47;
1311 bSizer47 = new wxBoxSizer( wxVERTICAL );
1313 btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1314 bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 );
1316 btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1317 bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 );
1319 btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1320 bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 );
1323 bSizer46->Add( bSizer47, 1, wxEXPAND, 5 );
1326 szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 );
1329 szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 );
1332 fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 );
1334 lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
1335 lblEmail->Wrap( -1 );
1336 fgSizer5->Add( lblEmail, 0, wxALL, 5 );
1338 wxBoxSizer* bSizer301;
1339 bSizer301 = new wxBoxSizer( wxHORIZONTAL );
1341 lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1342 bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 );
1344 wxBoxSizer* bSizer351;
1345 bSizer351 = new wxBoxSizer( wxVERTICAL );
1347 wxBoxSizer* bSizer461;
1348 bSizer461 = new wxBoxSizer( wxHORIZONTAL );
1350 wxBoxSizer* bSizer471;
1351 bSizer471 = new wxBoxSizer( wxVERTICAL );
1353 btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1354 bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 );
1356 btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1357 bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 );
1359 btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1360 bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 );
1363 bSizer461->Add( bSizer471, 1, wxEXPAND, 5 );
1366 bSizer351->Add( bSizer461, 1, wxEXPAND, 5 );
1369 bSizer301->Add( bSizer351, 0, wxEXPAND, 5 );
1372 fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 );
1374 lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
1376 fgSizer5->Add( lblIM, 0, wxALL, 5 );
1378 wxBoxSizer* bSizer3011;
1379 bSizer3011 = new wxBoxSizer( wxHORIZONTAL );
1381 lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1382 bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 );
1384 wxBoxSizer* bSizer3511;
1385 bSizer3511 = new wxBoxSizer( wxVERTICAL );
1387 wxBoxSizer* bSizer4611;
1388 bSizer4611 = new wxBoxSizer( wxHORIZONTAL );
1390 wxBoxSizer* bSizer4711;
1391 bSizer4711 = new wxBoxSizer( wxVERTICAL );
1393 btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1394 bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 );
1396 btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1397 bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 );
1399 btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1400 bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 );
1403 bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 );
1406 bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 );
1409 bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 );
1412 fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 );
1414 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
1415 lblTelephone->Wrap( 0 );
1416 fgSizer5->Add( lblTelephone, 0, wxALL, 5 );
1418 wxBoxSizer* bSizer30111;
1419 bSizer30111 = new wxBoxSizer( wxHORIZONTAL );
1421 lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1422 bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 );
1424 wxBoxSizer* bSizer35111;
1425 bSizer35111 = new wxBoxSizer( wxVERTICAL );
1427 wxBoxSizer* bSizer46111;
1428 bSizer46111 = new wxBoxSizer( wxHORIZONTAL );
1430 wxBoxSizer* bSizer47111;
1431 bSizer47111 = new wxBoxSizer( wxVERTICAL );
1433 btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1434 bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 );
1436 btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1437 bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 );
1439 btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1440 bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 );
1443 bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 );
1446 bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 );
1449 bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 );
1452 fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 );
1454 lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
1455 lblLanguages->Wrap( 0 );
1456 fgSizer5->Add( lblLanguages, 0, wxALL, 5 );
1458 wxBoxSizer* bSizer301111;
1459 bSizer301111 = new wxBoxSizer( wxHORIZONTAL );
1461 lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1462 bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 );
1464 wxBoxSizer* bSizer351111;
1465 bSizer351111 = new wxBoxSizer( wxVERTICAL );
1467 wxBoxSizer* bSizer461111;
1468 bSizer461111 = new wxBoxSizer( wxHORIZONTAL );
1470 wxBoxSizer* bSizer471111;
1471 bSizer471111 = new wxBoxSizer( wxVERTICAL );
1473 btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1474 bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 );
1476 btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1477 bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 );
1479 btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1480 bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 );
1483 bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 );
1486 bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 );
1489 bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 );
1492 fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 );
1494 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
1495 lblTimezone->Wrap( 0 );
1496 fgSizer5->Add( lblTimezone, 0, wxALL, 5 );
1498 wxBoxSizer* bSizer3011111;
1499 bSizer3011111 = new wxBoxSizer( wxHORIZONTAL );
1501 lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1502 bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 );
1504 wxBoxSizer* bSizer3511111;
1505 bSizer3511111 = new wxBoxSizer( wxVERTICAL );
1507 wxBoxSizer* bSizer4611111;
1508 bSizer4611111 = new wxBoxSizer( wxHORIZONTAL );
1510 wxBoxSizer* bSizer4711111;
1511 bSizer4711111 = new wxBoxSizer( wxVERTICAL );
1513 btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1514 bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 );
1516 btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1517 bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 );
1519 btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1520 bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 );
1523 bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 );
1526 bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 );
1529 bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 );
1532 fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 );
1534 lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
1535 lblGeopositioning->Wrap( -1 );
1536 fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 );
1538 wxBoxSizer* bSizer30111114;
1539 bSizer30111114 = new wxBoxSizer( wxHORIZONTAL );
1541 lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1542 bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 );
1544 wxBoxSizer* bSizer35111114;
1545 bSizer35111114 = new wxBoxSizer( wxVERTICAL );
1547 wxBoxSizer* bSizer46111114;
1548 bSizer46111114 = new wxBoxSizer( wxHORIZONTAL );
1550 wxBoxSizer* bSizer47111114;
1551 bSizer47111114 = new wxBoxSizer( wxVERTICAL );
1553 btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1554 bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 );
1556 btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1557 bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 );
1559 btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1560 bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 );
1563 bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 );
1566 bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 );
1569 bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 );
1572 fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 );
1574 lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 );
1575 lblRelated->Wrap( 1 );
1576 fgSizer5->Add( lblRelated, 0, wxALL, 5 );
1578 wxBoxSizer* bSizer30111111;
1579 bSizer30111111 = new wxBoxSizer( wxHORIZONTAL );
1581 lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1582 bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 );
1584 wxBoxSizer* bSizer35111111;
1585 bSizer35111111 = new wxBoxSizer( wxVERTICAL );
1587 wxBoxSizer* bSizer46111111;
1588 bSizer46111111 = new wxBoxSizer( wxHORIZONTAL );
1590 wxBoxSizer* bSizer47111111;
1591 bSizer47111111 = new wxBoxSizer( wxVERTICAL );
1593 btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1594 bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 );
1596 btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1597 bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 );
1599 btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1600 bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 );
1603 bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 );
1606 bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 );
1609 bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 );
1612 fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 );
1614 lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
1615 lblWebsites->Wrap( 1 );
1616 fgSizer5->Add( lblWebsites, 0, wxALL, 5 );
1618 wxBoxSizer* bSizer301111111;
1619 bSizer301111111 = new wxBoxSizer( wxHORIZONTAL );
1621 lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1622 bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 );
1624 wxBoxSizer* bSizer351111111;
1625 bSizer351111111 = new wxBoxSizer( wxVERTICAL );
1627 wxBoxSizer* bSizer461111111;
1628 bSizer461111111 = new wxBoxSizer( wxHORIZONTAL );
1630 wxBoxSizer* bSizer471111111;
1631 bSizer471111111 = new wxBoxSizer( wxVERTICAL );
1633 btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1634 bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 );
1636 btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1637 bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 );
1639 btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1640 bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 );
1643 bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 );
1646 bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 );
1649 bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 );
1652 fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 );
1654 lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
1655 lblTitles->Wrap( 1 );
1656 fgSizer5->Add( lblTitles, 0, wxALL, 5 );
1658 wxBoxSizer* bSizer3011111111;
1659 bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL );
1661 lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1662 bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 );
1664 wxBoxSizer* bSizer3511111111;
1665 bSizer3511111111 = new wxBoxSizer( wxVERTICAL );
1667 wxBoxSizer* bSizer4611111111;
1668 bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL );
1670 wxBoxSizer* bSizer4711111111;
1671 bSizer4711111111 = new wxBoxSizer( wxVERTICAL );
1673 btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1674 bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 );
1676 btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1677 bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 );
1679 btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1680 bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 );
1683 bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 );
1686 bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 );
1689 bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 );
1692 fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 );
1694 lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
1695 lblRoles->Wrap( 1 );
1696 fgSizer5->Add( lblRoles, 0, wxALL, 5 );
1698 wxBoxSizer* bSizer30111111111;
1699 bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL );
1701 lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1702 bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 );
1704 wxBoxSizer* bSizer35111111111;
1705 bSizer35111111111 = new wxBoxSizer( wxVERTICAL );
1707 wxBoxSizer* bSizer46111111111;
1708 bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL );
1710 wxBoxSizer* bSizer47111111111;
1711 bSizer47111111111 = new wxBoxSizer( wxVERTICAL );
1713 btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1714 bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 );
1716 btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1717 bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 );
1719 btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1720 bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 );
1723 bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 );
1726 bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 );
1729 bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 );
1732 fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 );
1734 lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
1735 lblOrganisations->Wrap( 1 );
1736 fgSizer5->Add( lblOrganisations, 0, wxALL, 5 );
1738 wxBoxSizer* bSizer301111111111;
1739 bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL );
1741 lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1742 bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 );
1744 wxBoxSizer* bSizer351111111111;
1745 bSizer351111111111 = new wxBoxSizer( wxVERTICAL );
1747 wxBoxSizer* bSizer461111111111;
1748 bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL );
1750 wxBoxSizer* bSizer471111111111;
1751 bSizer471111111111 = new wxBoxSizer( wxVERTICAL );
1753 btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1754 bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 );
1756 btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1757 bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 );
1759 btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1760 bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 );
1763 bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 );
1766 bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 );
1769 bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 );
1772 fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 );
1774 lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
1775 lblNotes->Wrap( 1 );
1776 fgSizer5->Add( lblNotes, 0, wxALL, 5 );
1778 wxBoxSizer* bSizer3011111111111;
1779 bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL );
1781 lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1782 bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 );
1784 wxBoxSizer* bSizer3511111111111;
1785 bSizer3511111111111 = new wxBoxSizer( wxVERTICAL );
1787 wxBoxSizer* bSizer4611111111111;
1788 bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL );
1790 wxBoxSizer* bSizer4711111111111;
1791 bSizer4711111111111 = new wxBoxSizer( wxVERTICAL );
1793 btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1794 bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 );
1796 btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1797 bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 );
1799 btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1800 bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 );
1803 bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 );
1806 bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 );
1809 bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 );
1812 fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 );
1815 bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 );
1818 tabGeneral->SetSizer( bSizer18 );
1819 tabGeneral->Layout();
1820 bSizer18->Fit( tabGeneral );
1821 nbkContact->AddPage( tabGeneral, wxT("General"), true );
1822 tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
1823 tabHome->SetScrollRate( 5, 5 );
1824 wxBoxSizer* bSizer181;
1825 bSizer181 = new wxBoxSizer( wxVERTICAL );
1827 wxGridSizer* gSizer71;
1828 gSizer71 = new wxGridSizer( 2, 6, 0, 0 );
1831 bSizer181->Add( gSizer71, 0, wxEXPAND, 5 );
1833 wxFlexGridSizer* fgSizer51;
1834 fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 );
1835 fgSizer51->AddGrowableCol( 1 );
1836 fgSizer51->SetFlexibleDirection( wxBOTH );
1837 fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1839 lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
1840 lblHomeNickname->Wrap( 0 );
1841 fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 );
1843 wxBoxSizer* szrAddresses12;
1844 szrAddresses12 = new wxBoxSizer( wxHORIZONTAL );
1846 lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1847 szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 );
1849 wxBoxSizer* szrAddressesOuter11;
1850 szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL );
1852 wxBoxSizer* bSizer4622;
1853 bSizer4622 = new wxBoxSizer( wxHORIZONTAL );
1855 wxBoxSizer* bSizer4722;
1856 bSizer4722 = new wxBoxSizer( wxVERTICAL );
1858 btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1859 bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 );
1861 btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1862 bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 );
1864 btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1865 bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 );
1868 bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 );
1871 szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 );
1874 szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 );
1877 fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 );
1879 lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
1880 lblHomeAddresses->Wrap( 1 );
1881 fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 );
1883 wxBoxSizer* szrAddresses1;
1884 szrAddresses1 = new wxBoxSizer( wxHORIZONTAL );
1886 lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1887 szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 );
1889 wxBoxSizer* szrAddressesOuter1;
1890 szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL );
1892 wxBoxSizer* bSizer462;
1893 bSizer462 = new wxBoxSizer( wxHORIZONTAL );
1895 wxBoxSizer* bSizer472;
1896 bSizer472 = new wxBoxSizer( wxVERTICAL );
1898 btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1899 bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 );
1901 btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1902 bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 );
1904 btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1905 bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 );
1908 bSizer462->Add( bSizer472, 1, wxEXPAND, 5 );
1911 szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 );
1914 szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 );
1917 fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 );
1919 lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 );
1920 lblHomeEmail->Wrap( 1 );
1921 fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 );
1923 wxBoxSizer* bSizer3012;
1924 bSizer3012 = new wxBoxSizer( wxHORIZONTAL );
1926 lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1927 bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 );
1929 wxBoxSizer* bSizer3512;
1930 bSizer3512 = new wxBoxSizer( wxVERTICAL );
1932 wxBoxSizer* bSizer4612;
1933 bSizer4612 = new wxBoxSizer( wxHORIZONTAL );
1935 wxBoxSizer* bSizer4712;
1936 bSizer4712 = new wxBoxSizer( wxVERTICAL );
1938 btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1939 bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 );
1941 btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1942 bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 );
1944 btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1945 bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 );
1948 bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 );
1951 bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 );
1954 bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 );
1957 fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 );
1959 lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
1960 lblHomeIM->Wrap( 0 );
1961 fgSizer51->Add( lblHomeIM, 0, wxALL, 5 );
1963 wxBoxSizer* bSizer30112;
1964 bSizer30112 = new wxBoxSizer( wxHORIZONTAL );
1966 lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1967 bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 );
1969 wxBoxSizer* bSizer35112;
1970 bSizer35112 = new wxBoxSizer( wxVERTICAL );
1972 wxBoxSizer* bSizer46112;
1973 bSizer46112 = new wxBoxSizer( wxHORIZONTAL );
1975 wxBoxSizer* bSizer47112;
1976 bSizer47112 = new wxBoxSizer( wxVERTICAL );
1978 btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1979 bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 );
1981 btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1982 bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 );
1984 btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1985 bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 );
1988 bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 );
1991 bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 );
1994 bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 );
1997 fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 );
1999 lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
2000 lblHomeTelephone->Wrap( 0 );
2001 fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 );
2003 wxBoxSizer* bSizer301112;
2004 bSizer301112 = new wxBoxSizer( wxHORIZONTAL );
2006 lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2007 bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 );
2009 wxBoxSizer* bSizer351112;
2010 bSizer351112 = new wxBoxSizer( wxVERTICAL );
2012 wxBoxSizer* bSizer461112;
2013 bSizer461112 = new wxBoxSizer( wxHORIZONTAL );
2015 wxBoxSizer* bSizer471112;
2016 bSizer471112 = new wxBoxSizer( wxVERTICAL );
2018 btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2019 bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 );
2021 btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2022 bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 );
2024 btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2025 bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 );
2028 bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 );
2031 bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 );
2034 bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 );
2037 fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 );
2039 lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
2040 lblHomeLanguages->Wrap( 0 );
2041 fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 );
2043 wxBoxSizer* bSizer3011112;
2044 bSizer3011112 = new wxBoxSizer( wxHORIZONTAL );
2046 lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2047 bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 );
2049 wxBoxSizer* bSizer3511112;
2050 bSizer3511112 = new wxBoxSizer( wxVERTICAL );
2052 wxBoxSizer* bSizer4611112;
2053 bSizer4611112 = new wxBoxSizer( wxHORIZONTAL );
2055 wxBoxSizer* bSizer4711112;
2056 bSizer4711112 = new wxBoxSizer( wxVERTICAL );
2058 btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2059 bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 );
2061 btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2062 bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 );
2064 btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2065 bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 );
2068 bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 );
2071 bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 );
2074 bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 );
2077 fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 );
2079 lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
2080 lblHomeTimezone->Wrap( 0 );
2081 fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 );
2083 wxBoxSizer* bSizer30111112;
2084 bSizer30111112 = new wxBoxSizer( wxHORIZONTAL );
2086 lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2087 bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 );
2089 wxBoxSizer* bSizer35111112;
2090 bSizer35111112 = new wxBoxSizer( wxVERTICAL );
2092 wxBoxSizer* bSizer46111112;
2093 bSizer46111112 = new wxBoxSizer( wxHORIZONTAL );
2095 wxBoxSizer* bSizer47111112;
2096 bSizer47111112 = new wxBoxSizer( wxVERTICAL );
2098 btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2099 bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 );
2101 btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2102 bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 );
2104 btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2105 bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 );
2108 bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 );
2111 bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 );
2114 bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 );
2117 fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 );
2119 lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
2120 lblHomeGeopositioning->Wrap( 0 );
2121 fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 );
2123 wxBoxSizer* bSizer301111141;
2124 bSizer301111141 = new wxBoxSizer( wxHORIZONTAL );
2126 lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2127 bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 );
2129 wxBoxSizer* bSizer351111141;
2130 bSizer351111141 = new wxBoxSizer( wxVERTICAL );
2132 wxBoxSizer* bSizer461111141;
2133 bSizer461111141 = new wxBoxSizer( wxHORIZONTAL );
2135 wxBoxSizer* bSizer471111141;
2136 bSizer471111141 = new wxBoxSizer( wxVERTICAL );
2138 btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2139 bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 );
2141 btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2142 bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 );
2144 btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2145 bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 );
2148 bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 );
2151 bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 );
2154 bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 );
2157 fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 );
2159 lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
2160 lblHomeWebsites->Wrap( 1 );
2161 fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 );
2163 wxBoxSizer* bSizer3011111112;
2164 bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL );
2166 lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2167 bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 );
2169 wxBoxSizer* bSizer3511111112;
2170 bSizer3511111112 = new wxBoxSizer( wxVERTICAL );
2172 wxBoxSizer* bSizer4611111112;
2173 bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL );
2175 wxBoxSizer* bSizer4711111112;
2176 bSizer4711111112 = new wxBoxSizer( wxVERTICAL );
2178 btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2179 bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 );
2181 btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2182 bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 );
2184 btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2185 bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 );
2188 bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 );
2191 bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 );
2194 bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 );
2197 fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 );
2199 lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
2200 lblHomeTitles->Wrap( 1 );
2201 fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 );
2203 wxBoxSizer* bSizer30111111112;
2204 bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL );
2206 lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2207 bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 );
2209 wxBoxSizer* bSizer35111111112;
2210 bSizer35111111112 = new wxBoxSizer( wxVERTICAL );
2212 wxBoxSizer* bSizer46111111112;
2213 bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL );
2215 wxBoxSizer* bSizer47111111112;
2216 bSizer47111111112 = new wxBoxSizer( wxVERTICAL );
2218 btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2219 bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 );
2221 btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2222 bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 );
2224 btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2225 bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 );
2228 bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 );
2231 bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 );
2234 bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 );
2237 fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 );
2239 lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
2240 lblHomeRoles->Wrap( 1 );
2241 fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 );
2243 wxBoxSizer* bSizer301111111112;
2244 bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL );
2246 lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2247 bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 );
2249 wxBoxSizer* bSizer351111111112;
2250 bSizer351111111112 = new wxBoxSizer( wxVERTICAL );
2252 wxBoxSizer* bSizer461111111112;
2253 bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL );
2255 wxBoxSizer* bSizer471111111112;
2256 bSizer471111111112 = new wxBoxSizer( wxVERTICAL );
2258 btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2259 bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 );
2261 btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2262 bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 );
2264 btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2265 bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 );
2268 bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 );
2271 bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 );
2274 bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 );
2277 fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 );
2279 lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
2280 lblHomeOrganisations->Wrap( 1 );
2281 fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 );
2283 wxBoxSizer* bSizer3011111111112;
2284 bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL );
2286 lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2287 bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 );
2289 wxBoxSizer* bSizer3511111111112;
2290 bSizer3511111111112 = new wxBoxSizer( wxVERTICAL );
2292 wxBoxSizer* bSizer4611111111112;
2293 bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL );
2295 wxBoxSizer* bSizer4711111111112;
2296 bSizer4711111111112 = new wxBoxSizer( wxVERTICAL );
2298 btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2299 bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 );
2301 btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2302 bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 );
2304 btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2305 bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 );
2308 bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 );
2311 bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 );
2314 bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 );
2317 fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 );
2319 lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
2320 lblHomeNotes->Wrap( 1 );
2321 fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 );
2323 wxBoxSizer* bSizer30111111111111;
2324 bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL );
2326 lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2327 bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 );
2329 wxBoxSizer* bSizer35111111111111;
2330 bSizer35111111111111 = new wxBoxSizer( wxVERTICAL );
2332 wxBoxSizer* bSizer46111111111111;
2333 bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL );
2335 wxBoxSizer* bSizer47111111111111;
2336 bSizer47111111111111 = new wxBoxSizer( wxVERTICAL );
2338 btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2339 bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 );
2341 btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2342 bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 );
2344 btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2345 bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 );
2348 bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 );
2351 bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 );
2354 bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 );
2357 fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 );
2360 bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 );
2363 tabHome->SetSizer( bSizer181 );
2365 bSizer181->Fit( tabHome );
2366 nbkContact->AddPage( tabHome, wxT("Home"), false );
2367 tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2368 tabBusiness->SetScrollRate( 5, 5 );
2369 wxBoxSizer* bSizer182;
2370 bSizer182 = new wxBoxSizer( wxVERTICAL );
2372 wxGridSizer* gSizer72;
2373 gSizer72 = new wxGridSizer( 2, 6, 0, 0 );
2376 bSizer182->Add( gSizer72, 0, wxEXPAND, 5 );
2378 wxFlexGridSizer* fgSizer52;
2379 fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 );
2380 fgSizer52->AddGrowableCol( 1 );
2381 fgSizer52->SetFlexibleDirection( wxBOTH );
2382 fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
2384 lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
2385 lblBusinessNickname->Wrap( 0 );
2386 fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 );
2388 wxBoxSizer* szrAddresses22;
2389 szrAddresses22 = new wxBoxSizer( wxHORIZONTAL );
2391 lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2392 szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 );
2394 wxBoxSizer* szrAddressesOuter22;
2395 szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL );
2397 wxBoxSizer* bSizer4632;
2398 bSizer4632 = new wxBoxSizer( wxHORIZONTAL );
2400 wxBoxSizer* bSizer4732;
2401 bSizer4732 = new wxBoxSizer( wxVERTICAL );
2403 btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2404 bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 );
2406 btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2407 bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 );
2409 btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2410 bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 );
2413 bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 );
2416 szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 );
2419 szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 );
2422 fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 );
2424 lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
2425 lblBusinessAddress->Wrap( 0 );
2426 fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 );
2428 wxBoxSizer* szrAddresses2;
2429 szrAddresses2 = new wxBoxSizer( wxHORIZONTAL );
2431 lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2432 szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 );
2434 wxBoxSizer* szrAddressesOuter2;
2435 szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL );
2437 wxBoxSizer* bSizer463;
2438 bSizer463 = new wxBoxSizer( wxHORIZONTAL );
2440 wxBoxSizer* bSizer473;
2441 bSizer473 = new wxBoxSizer( wxVERTICAL );
2443 btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2444 bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 );
2446 btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2447 bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 );
2449 btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2450 bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 );
2453 bSizer463->Add( bSizer473, 1, wxEXPAND, 5 );
2456 szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 );
2459 szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 );
2462 fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 );
2464 lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
2465 lblBusinessEmail->Wrap( 0 );
2466 fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 );
2468 wxBoxSizer* bSizer3013;
2469 bSizer3013 = new wxBoxSizer( wxHORIZONTAL );
2471 lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2472 bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 );
2474 wxBoxSizer* bSizer3513;
2475 bSizer3513 = new wxBoxSizer( wxVERTICAL );
2477 wxBoxSizer* bSizer4613;
2478 bSizer4613 = new wxBoxSizer( wxHORIZONTAL );
2480 wxBoxSizer* bSizer4713;
2481 bSizer4713 = new wxBoxSizer( wxVERTICAL );
2483 btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2484 bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 );
2486 btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2487 bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 );
2489 btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2490 bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 );
2493 bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 );
2496 bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 );
2499 bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 );
2502 fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 );
2504 lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
2505 lblBusinessIM->Wrap( 0 );
2506 fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 );
2508 wxBoxSizer* bSizer30113;
2509 bSizer30113 = new wxBoxSizer( wxHORIZONTAL );
2511 lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2512 bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 );
2514 wxBoxSizer* bSizer35113;
2515 bSizer35113 = new wxBoxSizer( wxVERTICAL );
2517 wxBoxSizer* bSizer46113;
2518 bSizer46113 = new wxBoxSizer( wxHORIZONTAL );
2520 wxBoxSizer* bSizer47113;
2521 bSizer47113 = new wxBoxSizer( wxVERTICAL );
2523 btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2524 bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 );
2526 btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2527 bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 );
2529 btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2530 bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 );
2533 bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 );
2536 bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 );
2539 bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 );
2542 fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 );
2544 lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
2545 lblBusinessTelephone->Wrap( 0 );
2546 fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 );
2548 wxBoxSizer* bSizer301113;
2549 bSizer301113 = new wxBoxSizer( wxHORIZONTAL );
2551 lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2552 bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 );
2554 wxBoxSizer* bSizer351113;
2555 bSizer351113 = new wxBoxSizer( wxVERTICAL );
2557 wxBoxSizer* bSizer461113;
2558 bSizer461113 = new wxBoxSizer( wxHORIZONTAL );
2560 wxBoxSizer* bSizer471113;
2561 bSizer471113 = new wxBoxSizer( wxVERTICAL );
2563 btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2564 bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 );
2566 btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2567 bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 );
2569 btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2570 bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 );
2573 bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 );
2576 bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 );
2579 bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 );
2582 fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 );
2584 lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
2585 lblBusinessLanguage->Wrap( 0 );
2586 fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 );
2588 wxBoxSizer* bSizer3011113;
2589 bSizer3011113 = new wxBoxSizer( wxHORIZONTAL );
2591 lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2592 bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 );
2594 wxBoxSizer* bSizer3511113;
2595 bSizer3511113 = new wxBoxSizer( wxVERTICAL );
2597 wxBoxSizer* bSizer4611113;
2598 bSizer4611113 = new wxBoxSizer( wxHORIZONTAL );
2600 wxBoxSizer* bSizer4711113;
2601 bSizer4711113 = new wxBoxSizer( wxVERTICAL );
2603 btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2604 bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 );
2606 btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2607 bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 );
2609 btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2610 bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 );
2613 bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 );
2616 bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 );
2619 bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 );
2622 fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 );
2624 lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
2625 lblBusinessTimezones->Wrap( 0 );
2626 fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 );
2628 wxBoxSizer* bSizer30111113;
2629 bSizer30111113 = new wxBoxSizer( wxHORIZONTAL );
2631 lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2632 bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 );
2634 wxBoxSizer* bSizer35111113;
2635 bSizer35111113 = new wxBoxSizer( wxVERTICAL );
2637 wxBoxSizer* bSizer46111113;
2638 bSizer46111113 = new wxBoxSizer( wxHORIZONTAL );
2640 wxBoxSizer* bSizer47111113;
2641 bSizer47111113 = new wxBoxSizer( wxVERTICAL );
2643 btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2644 bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 );
2646 btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2647 bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 );
2649 btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2650 bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 );
2653 bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 );
2656 bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 );
2659 bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 );
2662 fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 );
2664 lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
2665 lblBusinessGeopositioning->Wrap( 0 );
2666 fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 );
2668 wxBoxSizer* bSizer3011111411;
2669 bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL );
2671 lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2672 bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 );
2674 wxBoxSizer* bSizer3511111411;
2675 bSizer3511111411 = new wxBoxSizer( wxVERTICAL );
2677 wxBoxSizer* bSizer4611111411;
2678 bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL );
2680 wxBoxSizer* bSizer4711111411;
2681 bSizer4711111411 = new wxBoxSizer( wxVERTICAL );
2683 btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2684 bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 );
2686 btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2687 bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 );
2689 btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2690 bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 );
2693 bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 );
2696 bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 );
2699 bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 );
2702 fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 );
2704 lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
2705 lblBusinessWebsites->Wrap( 1 );
2706 fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 );
2708 wxBoxSizer* bSizer3011111113;
2709 bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL );
2711 lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2712 bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 );
2714 wxBoxSizer* bSizer3511111113;
2715 bSizer3511111113 = new wxBoxSizer( wxVERTICAL );
2717 wxBoxSizer* bSizer4611111113;
2718 bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL );
2720 wxBoxSizer* bSizer4711111113;
2721 bSizer4711111113 = new wxBoxSizer( wxVERTICAL );
2723 btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2724 bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 );
2726 btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2727 bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 );
2729 btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2730 bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 );
2733 bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 );
2736 bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 );
2739 bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 );
2742 fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 );
2744 lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
2745 lblBusinessTitles->Wrap( 1 );
2746 fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 );
2748 wxBoxSizer* bSizer30111111113;
2749 bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL );
2751 lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
2752 bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 );
2754 wxBoxSizer* bSizer35111111113;
2755 bSizer35111111113 = new wxBoxSizer( wxVERTICAL );
2757 wxBoxSizer* bSizer46111111113;
2758 bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL );
2760 wxBoxSizer* bSizer47111111113;
2761 bSizer47111111113 = new wxBoxSizer( wxVERTICAL );
2763 btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2764 bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 );
2766 btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2767 bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 );
2769 btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2770 bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 );
2773 bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 );
2776 bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 );
2779 bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 );
2782 fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 );
2784 lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
2785 lblBusinessRoles->Wrap( 1 );
2786 fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 );
2788 wxBoxSizer* bSizer301111111113;
2789 bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL );
2791 lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2792 bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 );
2794 wxBoxSizer* bSizer351111111113;
2795 bSizer351111111113 = new wxBoxSizer( wxVERTICAL );
2797 wxBoxSizer* bSizer461111111113;
2798 bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL );
2800 wxBoxSizer* bSizer471111111113;
2801 bSizer471111111113 = new wxBoxSizer( wxVERTICAL );
2803 btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2804 bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 );
2806 btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2807 bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 );
2809 btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2810 bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 );
2813 bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 );
2816 bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 );
2819 bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 );
2822 fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 );
2824 lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
2825 lblBusinessOrganisations->Wrap( 1 );
2826 fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 );
2828 wxBoxSizer* bSizer3011111111113;
2829 bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL );
2831 lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2832 bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 );
2834 wxBoxSizer* bSizer3511111111113;
2835 bSizer3511111111113 = new wxBoxSizer( wxVERTICAL );
2837 wxBoxSizer* bSizer4611111111113;
2838 bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL );
2840 wxBoxSizer* bSizer4711111111113;
2841 bSizer4711111111113 = new wxBoxSizer( wxVERTICAL );
2843 btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2844 bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 );
2846 btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2847 bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 );
2849 btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2850 bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 );
2853 bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 );
2856 bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 );
2859 bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 );
2862 fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 );
2864 lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
2865 lblBusinessNotes->Wrap( 1 );
2866 fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 );
2868 wxBoxSizer* bSizer30111111111112;
2869 bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL );
2871 lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2872 bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 );
2874 wxBoxSizer* bSizer35111111111112;
2875 bSizer35111111111112 = new wxBoxSizer( wxVERTICAL );
2877 wxBoxSizer* bSizer46111111111112;
2878 bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL );
2880 wxBoxSizer* bSizer47111111111112;
2881 bSizer47111111111112 = new wxBoxSizer( wxVERTICAL );
2883 btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2884 bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 );
2886 btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2887 bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 );
2889 btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2890 bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 );
2893 bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 );
2896 bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 );
2899 bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 );
2902 fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 );
2905 bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 );
2908 tabBusiness->SetSizer( bSizer182 );
2909 tabBusiness->Layout();
2910 bSizer182->Fit( tabBusiness );
2911 nbkContact->AddPage( tabBusiness, wxT("Business"), false );
2912 tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2913 tabCategories->SetScrollRate( 5, 5 );
2914 wxBoxSizer* szrAddresses11;
2915 szrAddresses11 = new wxBoxSizer( wxHORIZONTAL );
2917 lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2918 szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 );
2920 wxBoxSizer* szrCategoriesOuter;
2921 szrCategoriesOuter = new wxBoxSizer( wxVERTICAL );
2923 wxBoxSizer* bSizer4621;
2924 bSizer4621 = new wxBoxSizer( wxHORIZONTAL );
2926 wxBoxSizer* bSizer4721;
2927 bSizer4721 = new wxBoxSizer( wxVERTICAL );
2929 btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2930 bSizer4721->Add( btnAddCategory, 0, wxALL, 5 );
2932 btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2933 bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 );
2935 btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2936 bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 );
2939 bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 );
2942 szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 );
2945 szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 );
2948 tabCategories->SetSizer( szrAddresses11 );
2949 tabCategories->Layout();
2950 szrAddresses11->Fit( tabCategories );
2951 nbkContact->AddPage( tabCategories, wxT("Categories"), false );
2952 tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2953 tabMembers->SetScrollRate( 5, 5 );
2954 wxBoxSizer* szrAddresses111;
2955 szrAddresses111 = new wxBoxSizer( wxHORIZONTAL );
2957 lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2958 szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 );
2960 wxBoxSizer* szrCategoriesOuter1;
2961 szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL );
2963 wxBoxSizer* bSizer46211;
2964 bSizer46211 = new wxBoxSizer( wxHORIZONTAL );
2966 wxBoxSizer* bSizer47211;
2967 bSizer47211 = new wxBoxSizer( wxVERTICAL );
2969 btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2970 bSizer47211->Add( btnAddGroups, 0, wxALL, 5 );
2972 btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2973 bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 );
2975 btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2976 bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 );
2979 bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 );
2982 szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 );
2985 szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 );
2988 tabMembers->SetSizer( szrAddresses111 );
2989 tabMembers->Layout();
2990 szrAddresses111->Fit( tabMembers );
2991 nbkContact->AddPage( tabMembers, wxT("Members"), false );
2992 tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2993 tabPictures->SetScrollRate( 5, 5 );
2994 wxBoxSizer* bSizer210;
2995 bSizer210 = new wxBoxSizer( wxHORIZONTAL );
2997 imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
2998 bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 );
3000 wxBoxSizer* bSizer211;
3001 bSizer211 = new wxBoxSizer( wxVERTICAL );
3003 lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3004 bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 );
3006 wxBoxSizer* bSizer212;
3007 bSizer212 = new wxBoxSizer( wxVERTICAL );
3009 wxFlexGridSizer* fgSizer46;
3010 fgSizer46 = new wxFlexGridSizer( 2, 3, 0, 0 );
3011 fgSizer46->SetFlexibleDirection( wxBOTH );
3012 fgSizer46->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3014 btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3015 fgSizer46->Add( btnAddPicture, 0, wxALL, 5 );
3017 btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3018 fgSizer46->Add( btnModifyPicture, 0, wxALL, 5 );
3020 btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3021 fgSizer46->Add( btnDeletePicture, 0, wxALL, 5 );
3023 btnSavePicture = new wxButton( tabPictures, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
3024 fgSizer46->Add( btnSavePicture, 0, wxALL, 5 );
3027 bSizer212->Add( fgSizer46, 1, wxEXPAND, 5 );
3030 bSizer211->Add( bSizer212, 0, wxEXPAND, 5 );
3033 bSizer210->Add( bSizer211, 1, wxEXPAND, 5 );
3036 tabPictures->SetSizer( bSizer210 );
3037 tabPictures->Layout();
3038 bSizer210->Fit( tabPictures );
3039 nbkContact->AddPage( tabPictures, wxT("Pictures"), false );
3040 tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3041 tabLogo->SetScrollRate( 5, 5 );
3042 wxBoxSizer* bSizer2101;
3043 bSizer2101 = new wxBoxSizer( wxHORIZONTAL );
3045 imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
3046 bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 );
3048 wxBoxSizer* bSizer2111;
3049 bSizer2111 = new wxBoxSizer( wxVERTICAL );
3051 lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3052 bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 );
3054 wxBoxSizer* bSizer2121;
3055 bSizer2121 = new wxBoxSizer( wxVERTICAL );
3057 wxFlexGridSizer* fgSizer47;
3058 fgSizer47 = new wxFlexGridSizer( 2, 3, 0, 0 );
3059 fgSizer47->SetFlexibleDirection( wxBOTH );
3060 fgSizer47->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3062 btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3063 fgSizer47->Add( btnAddLogo, 0, wxALL, 5 );
3065 btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3066 fgSizer47->Add( btnModifyLogo, 0, wxALL, 5 );
3068 btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3069 fgSizer47->Add( btnDeleteLogo, 0, wxALL, 5 );
3071 btnSaveLogo = new wxButton( tabLogo, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
3072 fgSizer47->Add( btnSaveLogo, 0, wxALL, 5 );
3075 bSizer2121->Add( fgSizer47, 1, wxEXPAND, 5 );
3078 bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 );
3081 bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 );
3084 tabLogo->SetSizer( bSizer2101 );
3086 bSizer2101->Fit( tabLogo );
3087 nbkContact->AddPage( tabLogo, wxT("Logos"), false );
3088 tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3089 tabSounds->SetScrollRate( 5, 5 );
3090 wxBoxSizer* szrAddresses1111;
3091 szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL );
3093 lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3094 szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 );
3096 wxBoxSizer* szrCategoriesOuter11;
3097 szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL );
3099 wxBoxSizer* bSizer462111;
3100 bSizer462111 = new wxBoxSizer( wxHORIZONTAL );
3102 wxBoxSizer* bSizer472111;
3103 bSizer472111 = new wxBoxSizer( wxVERTICAL );
3105 btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3106 bSizer472111->Add( btnAddSound, 0, wxALL, 5 );
3108 btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3109 bSizer472111->Add( btnModifySound, 0, wxALL, 5 );
3111 btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3112 bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 );
3114 btnSaveSound = new wxButton( tabSounds, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
3115 bSizer472111->Add( btnSaveSound, 0, wxALL, 5 );
3117 m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
3118 bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
3120 wxBoxSizer* bSizer348;
3121 bSizer348 = new wxBoxSizer( wxHORIZONTAL );
3123 btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
3124 btnPlay->SetMinSize( wxSize( -1,32 ) );
3126 bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 );
3128 btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
3129 btnStop->SetMinSize( wxSize( -1,32 ) );
3131 bSizer348->Add( btnStop, 0, wxALL, 5 );
3134 bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 );
3137 bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 );
3140 szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 );
3143 szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 );
3146 tabSounds->SetSizer( szrAddresses1111 );
3147 tabSounds->Layout();
3148 szrAddresses1111->Fit( tabSounds );
3149 nbkContact->AddPage( tabSounds, wxT("Sounds"), false );
3150 tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3151 tabCalendaring->SetScrollRate( 5, 5 );
3152 wxBoxSizer* bSizer1821;
3153 bSizer1821 = new wxBoxSizer( wxVERTICAL );
3155 wxFlexGridSizer* fgSizer521;
3156 fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 );
3157 fgSizer521->AddGrowableCol( 1 );
3158 fgSizer521->SetFlexibleDirection( wxBOTH );
3159 fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3161 lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
3162 lblCalendarAddresses->Wrap( 0 );
3163 fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 );
3165 wxBoxSizer* szrAddresses21;
3166 szrAddresses21 = new wxBoxSizer( wxHORIZONTAL );
3168 lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3169 szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 );
3171 wxBoxSizer* szrAddressesOuter21;
3172 szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL );
3174 wxBoxSizer* bSizer4631;
3175 bSizer4631 = new wxBoxSizer( wxHORIZONTAL );
3177 wxBoxSizer* bSizer4731;
3178 bSizer4731 = new wxBoxSizer( wxVERTICAL );
3180 btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3181 bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 );
3183 btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3184 bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 );
3186 btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3187 bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 );
3190 bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 );
3193 szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 );
3196 szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 );
3199 fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 );
3201 lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 );
3202 lblCalendarRequestAddresses->Wrap( 0 );
3203 fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 );
3205 wxBoxSizer* bSizer30131;
3206 bSizer30131 = new wxBoxSizer( wxHORIZONTAL );
3208 lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3209 bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 );
3211 wxBoxSizer* bSizer35131;
3212 bSizer35131 = new wxBoxSizer( wxVERTICAL );
3214 wxBoxSizer* bSizer46131;
3215 bSizer46131 = new wxBoxSizer( wxHORIZONTAL );
3217 wxBoxSizer* bSizer47131;
3218 bSizer47131 = new wxBoxSizer( wxVERTICAL );
3220 btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3221 bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 );
3223 btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3224 bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 );
3226 btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3227 bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 );
3230 bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 );
3233 bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 );
3236 bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 );
3239 fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 );
3241 lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
3242 lblFreeBusyAddresses->Wrap( 0 );
3243 fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 );
3245 wxBoxSizer* bSizer301131;
3246 bSizer301131 = new wxBoxSizer( wxHORIZONTAL );
3248 lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3249 bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 );
3251 wxBoxSizer* bSizer351131;
3252 bSizer351131 = new wxBoxSizer( wxVERTICAL );
3254 wxBoxSizer* bSizer461131;
3255 bSizer461131 = new wxBoxSizer( wxHORIZONTAL );
3257 wxBoxSizer* bSizer471131;
3258 bSizer471131 = new wxBoxSizer( wxVERTICAL );
3260 btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3261 bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 );
3263 btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3264 bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 );
3266 btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3267 bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 );
3270 bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 );
3273 bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 );
3276 bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 );
3279 fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 );
3282 bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 );
3285 tabCalendaring->SetSizer( bSizer1821 );
3286 tabCalendaring->Layout();
3287 bSizer1821->Fit( tabCalendaring );
3288 nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false );
3289 tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3290 tabSecurity->SetScrollRate( 5, 5 );
3291 wxBoxSizer* szrAddresses1112;
3292 szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL );
3294 lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3295 szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 );
3297 wxBoxSizer* szrCategoriesOuter12;
3298 szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL );
3300 wxBoxSizer* bSizer462112;
3301 bSizer462112 = new wxBoxSizer( wxHORIZONTAL );
3303 wxBoxSizer* bSizer472112;
3304 bSizer472112 = new wxBoxSizer( wxVERTICAL );
3306 btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3307 bSizer472112->Add( btnAddKey, 0, wxALL, 5 );
3309 btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3310 bSizer472112->Add( btnModifyKey, 0, wxALL, 5 );
3312 btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3313 bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 );
3316 bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 );
3319 szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 );
3322 szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 );
3325 tabSecurity->SetSizer( szrAddresses1112 );
3326 tabSecurity->Layout();
3327 szrAddresses1112->Fit( tabSecurity );
3328 nbkContact->AddPage( tabSecurity, wxT("Security"), false );
3329 tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3330 tabOther->SetScrollRate( 5, 5 );
3331 wxFlexGridSizer* fgSizer5211;
3332 fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 );
3333 fgSizer5211->AddGrowableCol( 1 );
3334 fgSizer5211->SetFlexibleDirection( wxBOTH );
3335 fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3337 lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 );
3338 lblVendorNamespace->Wrap( 0 );
3339 fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 );
3341 wxBoxSizer* szrAddresses211;
3342 szrAddresses211 = new wxBoxSizer( wxHORIZONTAL );
3344 lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
3345 szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 );
3347 wxBoxSizer* szrAddressesOuter211;
3348 szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL );
3350 wxBoxSizer* bSizer46311;
3351 bSizer46311 = new wxBoxSizer( wxHORIZONTAL );
3353 wxBoxSizer* bSizer47311;
3354 bSizer47311 = new wxBoxSizer( wxVERTICAL );
3356 btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3357 bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 );
3359 btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3360 bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 );
3362 btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3363 bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 );
3366 bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 );
3369 szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 );
3372 szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 );
3375 fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 );
3377 lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 );
3378 lblXTokens->Wrap( 0 );
3379 fgSizer5211->Add( lblXTokens, 0, wxALL, 5 );
3381 wxBoxSizer* bSizer301311;
3382 bSizer301311 = new wxBoxSizer( wxHORIZONTAL );
3384 lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3385 bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 );
3387 wxBoxSizer* bSizer351311;
3388 bSizer351311 = new wxBoxSizer( wxVERTICAL );
3390 wxBoxSizer* bSizer461311;
3391 bSizer461311 = new wxBoxSizer( wxHORIZONTAL );
3393 wxBoxSizer* bSizer471311;
3394 bSizer471311 = new wxBoxSizer( wxVERTICAL );
3396 btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3397 bSizer471311->Add( btnAddXToken, 0, wxALL, 5 );
3399 btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3400 bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 );
3402 btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3403 bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 );
3406 bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 );
3409 bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 );
3412 bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 );
3415 fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 );
3418 tabOther->SetSizer( fgSizer5211 );
3420 fgSizer5211->Fit( tabOther );
3421 nbkContact->AddPage( tabOther, wxT("Other"), false );
3423 bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 );
3426 this->SetSizer( bSizer17 );
3428 m_menubar3 = new wxMenuBar( 0 );
3429 mnuContact = new wxMenu();
3430 wxMenuItem* mnuContactSave;
3431 mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL );
3432 mnuContact->Append( mnuContactSave );
3434 wxMenuItem* mnuContactSaveClose;
3435 mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL );
3436 mnuContact->Append( mnuContactSaveClose );
3438 mnuContact->AppendSeparator();
3440 wxMenuItem* mnuContactClose;
3441 mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
3442 mnuContact->Append( mnuContactClose );
3444 m_menubar3->Append( mnuContact, wxT("&Contact") );
3446 mnuEdit = new wxMenu();
3447 wxMenuItem* mnuEditCut;
3448 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL );
3449 mnuEdit->Append( mnuEditCut );
3451 wxMenuItem* mnuEditCopy;
3452 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL );
3453 mnuEdit->Append( mnuEditCopy );
3455 wxMenuItem* mnuEditPaste;
3456 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL );
3457 mnuEdit->Append( mnuEditPaste );
3459 m_menubar3->Append( mnuEdit, wxT("&Edit") );
3461 this->SetMenuBar( m_menubar3 );
3464 this->Centre( wxBOTH );
3467 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
3468 txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3469 txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3470 txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3471 txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3472 txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3473 cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3474 cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3475 cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
3476 btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
3477 btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
3478 btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
3479 btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
3480 btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
3481 btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
3482 btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
3483 btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
3484 btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
3485 btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
3486 btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
3487 btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
3488 btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
3489 btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
3490 btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
3491 btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
3492 btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
3493 btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
3494 btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
3495 btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
3496 btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
3497 btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
3498 btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
3499 btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
3500 btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
3501 btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
3502 btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
3503 btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
3504 btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
3505 btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
3506 btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
3507 btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
3508 btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
3509 btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
3510 btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
3511 btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
3512 btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
3513 btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
3514 btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
3515 btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
3516 btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
3517 btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
3518 btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
3519 btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
3520 btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
3521 btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
3522 btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
3523 btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
3524 btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
3525 btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
3526 btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
3527 btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
3528 btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
3529 btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
3530 btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
3531 btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
3532 btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
3533 btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
3534 btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
3535 btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
3536 btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
3537 btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
3538 btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
3539 btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
3540 btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
3541 btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
3542 btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
3543 btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
3544 btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
3545 btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
3546 btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
3547 btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
3548 btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
3549 btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
3550 btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
3551 btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
3552 btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
3553 btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
3554 btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
3555 btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
3556 btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
3557 btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
3558 btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
3559 btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
3560 btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
3561 btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
3562 btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
3563 btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
3564 btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
3565 btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
3566 btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
3567 btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
3568 btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
3569 btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
3570 btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
3571 btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
3572 btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
3573 btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
3574 btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
3575 btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
3576 btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
3577 btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
3578 btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
3579 btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
3580 btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
3581 btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
3582 btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
3583 btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
3584 btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
3585 btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
3586 btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
3587 btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
3588 btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
3589 btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
3590 btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
3591 btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
3592 btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
3593 btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
3594 btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
3595 btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
3596 btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
3597 btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
3598 btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
3599 btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
3600 btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
3601 btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
3602 lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
3603 btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
3604 btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
3605 btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
3606 btnSavePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this );
3607 lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
3608 btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
3609 btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
3610 btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
3611 btnSaveLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this );
3612 btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
3613 btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
3614 btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
3615 btnSaveSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this );
3616 btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
3617 btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
3618 btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
3619 btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
3620 btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3621 btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
3622 btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
3623 btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3624 btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
3625 btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
3626 btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
3627 btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
3628 btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
3629 btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
3630 btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
3631 btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
3632 btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
3633 btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
3634 btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
3635 btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
3636 this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
3637 this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
3638 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
3639 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
3640 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
3641 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
3644 frmContactEditorADT::~frmContactEditorADT()
3646 // Disconnect Events
3647 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
3648 txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3649 txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3650 txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3651 txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3652 txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3653 cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3654 cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3655 cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
3656 btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
3657 btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
3658 btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
3659 btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
3660 btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
3661 btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
3662 btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
3663 btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
3664 btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
3665 btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
3666 btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
3667 btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
3668 btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
3669 btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
3670 btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
3671 btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
3672 btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
3673 btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
3674 btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
3675 btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
3676 btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
3677 btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
3678 btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
3679 btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
3680 btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
3681 btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
3682 btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
3683 btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
3684 btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
3685 btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
3686 btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
3687 btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
3688 btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
3689 btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
3690 btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
3691 btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
3692 btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
3693 btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
3694 btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
3695 btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
3696 btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
3697 btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
3698 btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
3699 btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
3700 btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
3701 btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
3702 btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
3703 btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
3704 btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
3705 btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
3706 btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
3707 btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
3708 btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
3709 btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
3710 btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
3711 btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
3712 btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
3713 btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
3714 btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
3715 btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
3716 btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
3717 btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
3718 btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
3719 btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
3720 btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
3721 btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
3722 btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
3723 btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
3724 btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
3725 btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
3726 btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
3727 btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
3728 btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
3729 btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
3730 btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
3731 btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
3732 btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
3733 btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
3734 btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
3735 btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
3736 btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
3737 btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
3738 btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
3739 btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
3740 btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
3741 btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
3742 btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
3743 btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
3744 btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
3745 btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
3746 btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
3747 btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
3748 btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
3749 btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
3750 btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
3751 btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
3752 btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
3753 btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
3754 btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
3755 btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
3756 btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
3757 btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
3758 btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
3759 btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
3760 btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
3761 btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
3762 btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
3763 btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
3764 btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
3765 btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
3766 btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
3767 btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
3768 btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
3769 btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
3770 btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
3771 btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
3772 btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
3773 btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
3774 btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
3775 btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
3776 btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
3777 btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
3778 btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
3779 btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
3780 btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
3781 btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
3782 lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
3783 btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
3784 btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
3785 btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
3786 btnSavePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this );
3787 lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
3788 btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
3789 btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
3790 btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
3791 btnSaveLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this );
3792 btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
3793 btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
3794 btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
3795 btnSaveSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this );
3796 btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
3797 btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
3798 btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
3799 btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
3800 btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3801 btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
3802 btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
3803 btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3804 btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
3805 btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
3806 btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
3807 btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
3808 btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
3809 btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
3810 btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
3811 btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
3812 btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
3813 btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
3814 btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
3815 btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
3816 this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
3817 this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
3818 this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
3819 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
3820 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
3821 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
3825 frmContactEditorAddressADT::frmContactEditorAddressADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
3827 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
3829 wxBoxSizer* bSizer251;
3830 bSizer251 = new wxBoxSizer( wxVERTICAL );
3832 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
3833 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3834 wxFlexGridSizer* fgSizer6;
3835 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
3836 fgSizer6->AddGrowableCol( 1 );
3837 fgSizer6->SetFlexibleDirection( wxVERTICAL );
3838 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3840 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
3841 lblAddress->Wrap( -1 );
3842 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3844 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3845 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
3847 m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 );
3848 m_staticText61->Wrap( -1 );
3849 fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3851 txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3852 fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 );
3854 lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 );
3855 lblCountyState->Wrap( -1 );
3856 fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3858 txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3859 fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 );
3861 lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 );
3862 lblPostCode->Wrap( -1 );
3863 fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3865 txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3866 fgSizer6->Add( txtPostCode, 0, wxALL, 5 );
3868 lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 );
3869 lblCountry->Wrap( -1 );
3870 fgSizer6->Add( lblCountry, 0, wxALL, 5 );
3872 txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3873 fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 );
3875 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
3876 lblPriority->Wrap( -1 );
3877 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
3879 wxBoxSizer* bSizer260;
3880 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
3882 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
3883 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
3885 wxBoxSizer* bSizer254;
3886 bSizer254 = new wxBoxSizer( wxVERTICAL );
3888 wxBoxSizer* bSizer256;
3889 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
3891 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
3892 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
3895 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
3897 wxBoxSizer* bSizer255;
3898 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
3900 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
3901 lblHigh->Wrap( -1 );
3902 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
3905 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
3907 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
3909 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
3912 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
3915 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
3918 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
3921 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
3924 tabGeneral->SetSizer( fgSizer6 );
3925 tabGeneral->Layout();
3926 fgSizer6->Fit( tabGeneral );
3927 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
3928 tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3929 wxBoxSizer* bSizer253;
3930 bSizer253 = new wxBoxSizer( wxVERTICAL );
3932 btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 );
3933 bSizer253->Add( btnCopyMailing, 0, wxALL, 5 );
3935 txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
3936 bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 );
3939 tabLabel->SetSizer( bSizer253 );
3941 bSizer253->Fit( tabLabel );
3942 nbkAddress->AddPage( tabLabel, wxT("Label"), false );
3943 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3944 wxFlexGridSizer* fgSizer61;
3945 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
3946 fgSizer61->AddGrowableCol( 1 );
3947 fgSizer61->SetFlexibleDirection( wxVERTICAL );
3948 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3950 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
3951 lblLanguage->Wrap( -1 );
3952 fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3954 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
3955 fgSizer61->Add( cmbLanguage, 0, wxALL, 5 );
3957 lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
3958 lblGeography->Wrap( -1 );
3959 fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3961 txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3962 fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 );
3964 lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
3965 lblTimezone->Wrap( -1 );
3966 fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3968 txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3969 fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 );
3972 tabOther->SetSizer( fgSizer61 );
3974 fgSizer61->Fit( tabOther );
3975 nbkAddress->AddPage( tabOther, wxT("Other"), false );
3977 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
3979 wxBoxSizer* bSizer252;
3980 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
3982 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
3983 bSizer252->Add( btnAction, 0, wxALL, 5 );
3985 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
3986 bSizer252->Add( btnClose, 0, wxALL, 5 );
3989 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
3992 this->SetSizer( bSizer251 );
3995 this->Centre( wxBOTH );
3998 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
3999 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
4000 btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
4001 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
4002 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
4005 frmContactEditorAddressADT::~frmContactEditorAddressADT()
4007 // Disconnect Events
4008 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
4009 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
4010 btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
4011 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
4012 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
4016 frmConflictResolutionADT::frmConflictResolutionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4018 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4020 wxFlexGridSizer* fgSizer39;
4021 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
4022 fgSizer39->AddGrowableCol( 0 );
4023 fgSizer39->AddGrowableRow( 0 );
4024 fgSizer39->SetFlexibleDirection( wxBOTH );
4025 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4027 wxBoxSizer* bSizer363;
4028 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
4030 wxBoxSizer* bSizer364;
4031 bSizer364 = new wxBoxSizer( wxVERTICAL );
4033 lblText = new wxStaticText( this, wxID_ANY, wxT("An update for this contact has also taken place on the server.\nChoose which version to keep and either press Keep Local or Keep Server.\nTo decide later, click on Decide Later."), wxDefaultPosition, wxDefaultSize, 0 );
4034 lblText->Wrap( -1 );
4035 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
4037 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
4038 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
4040 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4041 wxBoxSizer* bSizer365;
4042 bSizer365 = new wxBoxSizer( wxVERTICAL );
4044 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
4045 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
4048 m_panel44->SetSizer( bSizer365 );
4049 m_panel44->Layout();
4050 bSizer365->Fit( m_panel44 );
4051 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4052 wxBoxSizer* bSizer366;
4053 bSizer366 = new wxBoxSizer( wxVERTICAL );
4055 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
4056 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
4059 m_panel45->SetSizer( bSizer366 );
4060 m_panel45->Layout();
4061 bSizer366->Fit( m_panel45 );
4062 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
4063 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
4065 wxBoxSizer* bSizer367;
4066 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
4069 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
4071 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
4072 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
4074 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
4075 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
4077 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
4078 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
4081 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
4084 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
4087 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
4090 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
4093 this->SetSizer( fgSizer39 );
4096 this->Centre( wxBOTH );
4099 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
4100 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
4101 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
4104 frmConflictResolutionADT::~frmConflictResolutionADT()
4106 // Disconnect Events
4107 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
4108 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
4109 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
4113 frmActivityMgrADT::frmActivityMgrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
4115 this->SetSizeHints( wxSize( 400,425 ), wxDefaultSize );
4117 mnuMenuBar = new wxMenuBar( 0 );
4118 mnuWindow = new wxMenu();
4119 wxMenuItem* mnuStopActivity;
4120 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
4121 mnuWindow->Append( mnuStopActivity );
4123 wxMenuItem* mnuActivityStopAll;
4124 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
4125 mnuWindow->Append( mnuActivityStopAll );
4127 wxMenuItem* mnuRetryActivity;
4128 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
4129 mnuWindow->Append( mnuRetryActivity );
4131 mnuWindow->AppendSeparator();
4133 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
4134 mnuWindow->Append( mnuSleepMode );
4136 mnuWindow->AppendSeparator();
4138 wxMenuItem* mnuWindowClose;
4139 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
4140 mnuWindow->Append( mnuWindowClose );
4142 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
4144 this->SetMenuBar( mnuMenuBar );
4146 wxFlexGridSizer* fgSizer38;
4147 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
4148 fgSizer38->AddGrowableCol( 0 );
4149 fgSizer38->AddGrowableRow( 1 );
4150 fgSizer38->SetFlexibleDirection( wxBOTH );
4151 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4153 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4154 wxBoxSizer* bSizer363;
4155 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
4157 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
4158 bmpActivity->SetMinSize( wxSize( 64,64 ) );
4160 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
4162 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4163 wxBoxSizer* bSizer364;
4164 bSizer364 = new wxBoxSizer( wxVERTICAL );
4167 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4169 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
4170 lblDetails->Wrap( -1 );
4171 bSizer364->Add( lblDetails, 0, wxALL|wxEXPAND, 0 );
4174 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4176 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
4177 GauProgress->SetValue( 0 );
4178 GauProgress->SetMinSize( wxSize( -1,20 ) );
4180 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
4183 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4186 m_panel46->SetSizer( bSizer364 );
4187 m_panel46->Layout();
4188 bSizer364->Fit( m_panel46 );
4189 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
4192 m_panel43->SetSizer( bSizer363 );
4193 m_panel43->Layout();
4194 bSizer363->Fit( m_panel43 );
4195 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
4197 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4198 wxBoxSizer* bSizer365;
4199 bSizer365 = new wxBoxSizer( wxVERTICAL );
4201 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
4202 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
4205 m_panel44->SetSizer( bSizer365 );
4206 m_panel44->Layout();
4207 bSizer365->Fit( m_panel44 );
4208 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
4211 this->SetSizer( fgSizer38 );
4214 this->Centre( wxBOTH );
4217 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
4218 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
4219 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
4220 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
4221 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
4222 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
4225 frmActivityMgrADT::~frmActivityMgrADT()
4227 // Disconnect Events
4228 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
4229 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
4230 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
4231 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
4232 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
4233 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
4237 frmContactEditorNicknameADT::frmContactEditorNicknameADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4239 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4241 wxBoxSizer* bSizer251;
4242 bSizer251 = new wxBoxSizer( wxVERTICAL );
4244 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4245 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4246 szrGeneral = new wxFlexGridSizer( 2, 2, 0, 0 );
4247 szrGeneral->AddGrowableCol( 1 );
4248 szrGeneral->SetFlexibleDirection( wxBOTH );
4249 szrGeneral->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4251 lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
4252 lblNickname->Wrap( -1 );
4253 szrGeneral->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4255 txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4256 szrGeneral->Add( txtNickname, 0, wxALL|wxEXPAND, 5 );
4258 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4259 lblPriority->Wrap( -1 );
4260 szrGeneral->Add( lblPriority, 0, wxALL, 5 );
4263 tabGeneral->SetSizer( szrGeneral );
4264 tabGeneral->Layout();
4265 szrGeneral->Fit( tabGeneral );
4266 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
4267 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4268 wxFlexGridSizer* fgSizer61;
4269 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
4270 fgSizer61->AddGrowableCol( 1 );
4271 fgSizer61->SetFlexibleDirection( wxBOTH );
4272 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4274 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
4275 lblLanguage->Wrap( -1 );
4276 fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4278 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4279 fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 );
4282 tabOther->SetSizer( fgSizer61 );
4284 fgSizer61->Fit( tabOther );
4285 nbkAddress->AddPage( tabOther, wxT("Other"), false );
4287 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
4289 wxBoxSizer* bSizer252;
4290 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4292 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4293 bSizer252->Add( btnAction, 0, wxALL, 5 );
4295 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4296 bSizer252->Add( btnClose, 0, wxALL, 5 );
4299 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4302 this->SetSizer( bSizer251 );
4305 this->Centre( wxBOTH );
4308 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
4309 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
4310 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
4313 frmContactEditorNicknameADT::~frmContactEditorNicknameADT()
4315 // Disconnect Events
4316 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
4317 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
4318 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
4322 frmContactEditorGroupsADT::frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4324 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
4326 wxBoxSizer* bSizer251;
4327 bSizer251 = new wxBoxSizer( wxVERTICAL );
4329 nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4330 tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4331 wxFlexGridSizer* fgSizer6;
4332 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4333 fgSizer6->AddGrowableCol( 1 );
4334 fgSizer6->AddGrowableRow( 0 );
4335 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4336 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4338 lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 );
4339 lblContacts->Wrap( -1 );
4340 fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 );
4342 wxArrayString chkContactsChoices;
4343 chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
4344 fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 );
4347 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4350 tabGeneral->SetSizer( fgSizer6 );
4351 tabGeneral->Layout();
4352 fgSizer6->Fit( tabGeneral );
4353 nbkGroup->AddPage( tabGeneral, wxT("General"), false );
4355 bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 );
4357 wxBoxSizer* bSizer252;
4358 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4360 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4361 bSizer252->Add( btnAction, 0, wxALL, 5 );
4363 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4364 bSizer252->Add( btnClose, 0, wxALL, 5 );
4367 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4370 this->SetSizer( bSizer251 );
4373 this->Centre( wxBOTH );
4376 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
4377 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
4378 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
4381 frmContactEditorGroupsADT::~frmContactEditorGroupsADT()
4383 // Disconnect Events
4384 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
4385 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
4386 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
4390 frmContactEditorRolesADT::frmContactEditorRolesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4392 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4394 wxBoxSizer* bSizer251;
4395 bSizer251 = new wxBoxSizer( wxVERTICAL );
4397 nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4398 tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4399 szrGeneral = new wxFlexGridSizer( 2, 2, 0, 0 );
4400 szrGeneral->AddGrowableCol( 1 );
4401 szrGeneral->SetFlexibleDirection( wxBOTH );
4402 szrGeneral->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4404 lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 );
4405 lblRole->Wrap( -1 );
4406 szrGeneral->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4408 txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4409 szrGeneral->Add( txtRole, 0, wxALL|wxEXPAND, 5 );
4411 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4412 lblPriority->Wrap( -1 );
4413 szrGeneral->Add( lblPriority, 0, wxALL, 5 );
4416 tabGeneral->SetSizer( szrGeneral );
4417 tabGeneral->Layout();
4418 szrGeneral->Fit( tabGeneral );
4419 nbkRole->AddPage( tabGeneral, wxT("General"), false );
4421 bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 );
4423 wxBoxSizer* bSizer252;
4424 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4426 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4427 bSizer252->Add( btnAction, 0, wxALL, 5 );
4429 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4430 bSizer252->Add( btnClose, 0, wxALL, 5 );
4433 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4436 this->SetSizer( bSizer251 );
4439 this->Centre( wxBOTH );
4442 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
4443 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
4446 frmContactEditorRolesADT::~frmContactEditorRolesADT()
4448 // Disconnect Events
4449 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
4450 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
4454 frmContactEditorOrganisationsADT::frmContactEditorOrganisationsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4456 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4458 wxBoxSizer* bSizer251;
4459 bSizer251 = new wxBoxSizer( wxVERTICAL );
4461 nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4462 tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4463 szrGeneral = new wxFlexGridSizer( 3, 2, 0, 0 );
4464 szrGeneral->AddGrowableCol( 1 );
4465 szrGeneral->SetFlexibleDirection( wxBOTH );
4466 szrGeneral->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4468 lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 );
4469 lblOrganisation->Wrap( -1 );
4470 szrGeneral->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4472 txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4473 szrGeneral->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 );
4475 lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 );
4476 lblSortAs->Wrap( -1 );
4477 szrGeneral->Add( lblSortAs, 0, wxALL, 5 );
4479 cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4480 szrGeneral->Add( cmbSortAs, 1, wxALL, 5 );
4482 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4483 lblPriority->Wrap( -1 );
4484 szrGeneral->Add( lblPriority, 0, wxALL, 5 );
4487 tabGeneral->SetSizer( szrGeneral );
4488 tabGeneral->Layout();
4489 szrGeneral->Fit( tabGeneral );
4490 nbkOrganisation->AddPage( tabGeneral, wxT("General"), false );
4492 bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 );
4494 wxBoxSizer* bSizer252;
4495 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4497 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4498 bSizer252->Add( btnAction, 0, wxALL, 5 );
4500 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4501 bSizer252->Add( btnClose, 0, wxALL, 5 );
4504 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4507 this->SetSizer( bSizer251 );
4510 this->Centre( wxBOTH );
4513 txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
4514 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
4515 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
4518 frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT()
4520 // Disconnect Events
4521 txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
4522 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
4523 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
4527 frmContactEditorNotesADT::frmContactEditorNotesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4529 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4531 wxBoxSizer* bSizer251;
4532 bSizer251 = new wxBoxSizer( wxVERTICAL );
4534 nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4535 tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4536 wxBoxSizer* bSizer353;
4537 bSizer353 = new wxBoxSizer( wxVERTICAL );
4539 txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
4540 bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 );
4543 tabGeneral->SetSizer( bSizer353 );
4544 tabGeneral->Layout();
4545 bSizer353->Fit( tabGeneral );
4546 nbkNotes->AddPage( tabGeneral, wxT("General"), false );
4547 tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4548 szrPriority = new wxFlexGridSizer( 1, 1, 0, 0 );
4549 szrPriority->SetFlexibleDirection( wxBOTH );
4550 szrPriority->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4553 tabPriority->SetSizer( szrPriority );
4554 tabPriority->Layout();
4555 szrPriority->Fit( tabPriority );
4556 nbkNotes->AddPage( tabPriority, wxT("Priority"), true );
4557 tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4558 wxFlexGridSizer* fgSizer611;
4559 fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 );
4560 fgSizer611->AddGrowableCol( 0 );
4561 fgSizer611->SetFlexibleDirection( wxBOTH );
4562 fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4564 lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
4565 lblLanguage->Wrap( -1 );
4566 fgSizer611->Add( lblLanguage, 1, wxALL, 5 );
4568 cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4569 fgSizer611->Add( cmbLanguage, 1, wxALL, 5 );
4572 tabLanguage->SetSizer( fgSizer611 );
4573 tabLanguage->Layout();
4574 fgSizer611->Fit( tabLanguage );
4575 nbkNotes->AddPage( tabLanguage, wxT("Language"), false );
4577 bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 );
4579 wxBoxSizer* bSizer252;
4580 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4582 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4583 bSizer252->Add( btnAction, 0, wxALL, 5 );
4585 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4586 bSizer252->Add( btnClose, 0, wxALL, 5 );
4589 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4592 this->SetSizer( bSizer251 );
4595 this->Centre( wxBOTH );
4598 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
4599 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
4602 frmContactEditorNotesADT::~frmContactEditorNotesADT()
4604 // Disconnect Events
4605 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
4606 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
4610 frmContactEditorTitlesADT::frmContactEditorTitlesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4612 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4614 wxBoxSizer* bSizer251;
4615 bSizer251 = new wxBoxSizer( wxVERTICAL );
4617 nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4618 tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4619 szrGeneral = new wxFlexGridSizer( 2, 2, 0, 0 );
4620 szrGeneral->AddGrowableCol( 1 );
4621 szrGeneral->SetFlexibleDirection( wxBOTH );
4622 szrGeneral->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4624 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
4625 lblTitle->Wrap( -1 );
4626 szrGeneral->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4628 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4629 szrGeneral->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
4631 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4632 lblPriority->Wrap( -1 );
4633 szrGeneral->Add( lblPriority, 0, wxALL, 5 );
4636 tabGeneral->SetSizer( szrGeneral );
4637 tabGeneral->Layout();
4638 szrGeneral->Fit( tabGeneral );
4639 nbkTitles->AddPage( tabGeneral, wxT("General"), false );
4641 bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 );
4643 wxBoxSizer* bSizer252;
4644 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4646 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4647 bSizer252->Add( btnAction, 0, wxALL, 5 );
4649 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4650 bSizer252->Add( btnClose, 0, wxALL, 5 );
4653 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4656 this->SetSizer( bSizer251 );
4659 this->Centre( wxBOTH );
4662 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
4663 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
4666 frmContactEditorTitlesADT::~frmContactEditorTitlesADT()
4668 // Disconnect Events
4669 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
4670 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
4674 frmContactEditorRelatedADT::frmContactEditorRelatedADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4676 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4678 wxBoxSizer* bSizer251;
4679 bSizer251 = new wxBoxSizer( wxVERTICAL );
4681 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4682 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4683 wxFlexGridSizer* fgSizer6;
4684 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4685 fgSizer6->AddGrowableCol( 0 );
4686 fgSizer6->SetFlexibleDirection( wxBOTH );
4687 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4689 lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 );
4690 lblRelation->Wrap( -1 );
4691 fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4693 txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4694 fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 );
4696 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
4697 lblType->Wrap( -1 );
4698 fgSizer6->Add( lblType, 0, wxALL, 5 );
4700 cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4701 fgSizer6->Add( cmbType, 0, wxALL, 5 );
4703 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4704 lblPriority->Wrap( -1 );
4705 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4707 wxBoxSizer* bSizer260;
4708 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4710 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4711 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4713 wxBoxSizer* bSizer254;
4714 bSizer254 = new wxBoxSizer( wxVERTICAL );
4716 wxBoxSizer* bSizer256;
4717 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4719 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4720 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4723 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4725 wxBoxSizer* bSizer255;
4726 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4728 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4729 lblHigh->Wrap( -1 );
4730 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4733 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4735 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4737 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4740 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4743 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4746 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4749 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4752 tabGeneral->SetSizer( fgSizer6 );
4753 tabGeneral->Layout();
4754 fgSizer6->Fit( tabGeneral );
4755 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
4757 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
4759 wxBoxSizer* bSizer252;
4760 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4762 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4763 bSizer252->Add( btnAction, 0, wxALL, 5 );
4765 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4766 bSizer252->Add( btnClose, 0, wxALL, 5 );
4769 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4772 this->SetSizer( bSizer251 );
4775 this->Centre( wxBOTH );
4778 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
4779 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
4780 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
4783 frmContactEditorRelatedADT::~frmContactEditorRelatedADT()
4785 // Disconnect Events
4786 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
4787 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
4788 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
4792 frmContactEditorSoundADT::frmContactEditorSoundADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4794 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4796 wxBoxSizer* bSizer251;
4797 bSizer251 = new wxBoxSizer( wxVERTICAL );
4799 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4800 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4801 wxFlexGridSizer* fgSizer6;
4802 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4803 fgSizer6->AddGrowableCol( 1 );
4804 fgSizer6->SetFlexibleDirection( wxBOTH );
4805 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4807 lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 );
4808 lblSoundFile->Wrap( -1 );
4809 fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4811 fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
4812 fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 );
4814 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
4815 lblType->Wrap( -1 );
4816 fgSizer6->Add( lblType, 0, wxALL, 5 );
4818 wxArrayString cmbTypeChoices;
4819 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
4820 cmbType->SetSelection( 0 );
4821 fgSizer6->Add( cmbType, 0, wxALL, 5 );
4823 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4824 lblPriority->Wrap( -1 );
4825 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4827 wxBoxSizer* bSizer260;
4828 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4830 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4831 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4833 wxBoxSizer* bSizer254;
4834 bSizer254 = new wxBoxSizer( wxVERTICAL );
4836 wxBoxSizer* bSizer256;
4837 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4839 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4840 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4843 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4845 wxBoxSizer* bSizer255;
4846 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4848 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4849 lblHigh->Wrap( -1 );
4850 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4853 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4855 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4857 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4860 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4863 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4866 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4869 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4872 tabGeneral->SetSizer( fgSizer6 );
4873 tabGeneral->Layout();
4874 fgSizer6->Fit( tabGeneral );
4875 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
4877 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
4879 wxBoxSizer* bSizer252;
4880 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4882 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4883 bSizer252->Add( btnAction, 0, wxALL, 5 );
4885 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4886 bSizer252->Add( btnClose, 0, wxALL, 5 );
4889 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4892 this->SetSizer( bSizer251 );
4895 this->Centre( wxBOTH );
4898 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
4899 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
4900 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
4903 frmContactEditorSoundADT::~frmContactEditorSoundADT()
4905 // Disconnect Events
4906 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
4907 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
4908 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
4912 frmContactEditorPictureADT::frmContactEditorPictureADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4914 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4916 wxBoxSizer* bSizer251;
4917 bSizer251 = new wxBoxSizer( wxVERTICAL );
4919 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4920 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4921 wxFlexGridSizer* fgSizer6;
4922 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4923 fgSizer6->AddGrowableCol( 1 );
4924 fgSizer6->SetFlexibleDirection( wxBOTH );
4925 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4927 lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 );
4928 lblPictureFile->Wrap( -1 );
4929 fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4931 fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
4932 fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 );
4934 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
4935 lblType->Wrap( -1 );
4936 fgSizer6->Add( lblType, 0, wxALL, 5 );
4938 wxArrayString cmbTypeChoices;
4939 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
4940 cmbType->SetSelection( 0 );
4941 fgSizer6->Add( cmbType, 0, wxALL, 5 );
4943 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4944 lblPriority->Wrap( -1 );
4945 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4947 wxBoxSizer* bSizer260;
4948 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4950 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4951 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4953 wxBoxSizer* bSizer254;
4954 bSizer254 = new wxBoxSizer( wxVERTICAL );
4956 wxBoxSizer* bSizer256;
4957 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4959 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4960 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4963 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4965 wxBoxSizer* bSizer255;
4966 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4968 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4969 lblHigh->Wrap( -1 );
4970 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4973 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4975 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4977 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4980 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4983 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4986 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4989 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4992 tabGeneral->SetSizer( fgSizer6 );
4993 tabGeneral->Layout();
4994 fgSizer6->Fit( tabGeneral );
4995 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
4997 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
4999 wxBoxSizer* bSizer252;
5000 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5002 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5003 bSizer252->Add( btnAction, 0, wxALL, 5 );
5005 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5006 bSizer252->Add( btnClose, 0, wxALL, 5 );
5009 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5012 this->SetSizer( bSizer251 );
5015 this->Centre( wxBOTH );
5018 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
5019 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
5020 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
5023 frmContactEditorPictureADT::~frmContactEditorPictureADT()
5025 // Disconnect Events
5026 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
5027 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
5028 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
5032 frmContactEditorWebsitesADT::frmContactEditorWebsitesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5034 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5036 wxBoxSizer* bSizer251;
5037 bSizer251 = new wxBoxSizer( wxVERTICAL );
5039 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5040 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5041 wxFlexGridSizer* fgSizer6;
5042 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5043 fgSizer6->AddGrowableCol( 1 );
5044 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5045 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5047 lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 );
5048 lblWebsite->Wrap( -1 );
5049 fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5051 txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5052 fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 );
5054 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5055 lblPriority->Wrap( -1 );
5056 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5058 wxBoxSizer* bSizer260;
5059 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5061 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5062 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5064 wxBoxSizer* bSizer254;
5065 bSizer254 = new wxBoxSizer( wxVERTICAL );
5067 wxBoxSizer* bSizer256;
5068 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5070 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5071 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5074 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5076 wxBoxSizer* bSizer255;
5077 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5079 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5080 lblHigh->Wrap( -1 );
5081 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5084 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5086 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5088 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5091 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5094 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5097 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5100 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5103 tabGeneral->SetSizer( fgSizer6 );
5104 tabGeneral->Layout();
5105 fgSizer6->Fit( tabGeneral );
5106 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5108 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5110 wxBoxSizer* bSizer252;
5111 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5113 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5114 bSizer252->Add( btnAction, 0, wxALL, 5 );
5116 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5117 bSizer252->Add( btnClose, 0, wxALL, 5 );
5120 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5123 this->SetSizer( bSizer251 );
5126 this->Centre( wxBOTH );
5129 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
5130 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
5131 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
5134 frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT()
5136 // Disconnect Events
5137 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
5138 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
5139 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
5143 frmContactEditorGeopositionADT::frmContactEditorGeopositionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5145 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5147 wxBoxSizer* bSizer251;
5148 bSizer251 = new wxBoxSizer( wxVERTICAL );
5150 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5151 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5152 wxFlexGridSizer* fgSizer6;
5153 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5154 fgSizer6->AddGrowableCol( 1 );
5155 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5156 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5158 lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 );
5159 lblGeoposition->Wrap( -1 );
5160 fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5162 txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5163 fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 );
5165 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5166 lblPriority->Wrap( -1 );
5167 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5169 wxBoxSizer* bSizer260;
5170 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5172 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5173 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5175 wxBoxSizer* bSizer254;
5176 bSizer254 = new wxBoxSizer( wxVERTICAL );
5178 wxBoxSizer* bSizer256;
5179 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5181 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5182 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5185 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5187 wxBoxSizer* bSizer255;
5188 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5190 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5191 lblHigh->Wrap( -1 );
5192 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5195 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5197 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5199 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5202 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5205 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5208 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5211 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5214 tabGeneral->SetSizer( fgSizer6 );
5215 tabGeneral->Layout();
5216 fgSizer6->Fit( tabGeneral );
5217 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5219 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5221 wxBoxSizer* bSizer252;
5222 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5224 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5225 bSizer252->Add( btnAction, 0, wxALL, 5 );
5227 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5228 bSizer252->Add( btnClose, 0, wxALL, 5 );
5231 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5234 this->SetSizer( bSizer251 );
5237 this->Centre( wxBOTH );
5240 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
5241 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
5242 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
5245 frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT()
5247 // Disconnect Events
5248 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
5249 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
5250 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
5254 frmContactEditorCalAdrADT::frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5256 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5258 wxBoxSizer* bSizer251;
5259 bSizer251 = new wxBoxSizer( wxVERTICAL );
5261 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5262 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5263 wxFlexGridSizer* fgSizer6;
5264 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5265 fgSizer6->AddGrowableCol( 1 );
5266 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5267 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5269 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5270 lblAddress->Wrap( -1 );
5271 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5273 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5274 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
5276 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5277 lblType->Wrap( -1 );
5278 fgSizer6->Add( lblType, 0, wxALL, 5 );
5280 wxArrayString cmbTypeChoices;
5281 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5282 cmbType->SetSelection( 0 );
5283 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5285 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5286 lblPriority->Wrap( -1 );
5287 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5289 wxBoxSizer* bSizer260;
5290 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5292 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5293 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5295 wxBoxSizer* bSizer254;
5296 bSizer254 = new wxBoxSizer( wxVERTICAL );
5298 wxBoxSizer* bSizer256;
5299 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5301 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5302 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5305 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5307 wxBoxSizer* bSizer255;
5308 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5310 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5311 lblHigh->Wrap( -1 );
5312 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5315 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5317 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5319 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5322 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5325 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5328 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5331 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5334 tabGeneral->SetSizer( fgSizer6 );
5335 tabGeneral->Layout();
5336 fgSizer6->Fit( tabGeneral );
5337 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5339 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5341 wxBoxSizer* bSizer252;
5342 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5344 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5345 bSizer252->Add( btnAction, 0, wxALL, 5 );
5347 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5348 bSizer252->Add( btnClose, 0, wxALL, 5 );
5351 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5354 this->SetSizer( bSizer251 );
5357 this->Centre( wxBOTH );
5360 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
5361 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
5362 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
5365 frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT()
5367 // Disconnect Events
5368 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
5369 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
5370 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
5374 frmContactEditorVendorADT::frmContactEditorVendorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5376 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5378 wxBoxSizer* bSizer251;
5379 bSizer251 = new wxBoxSizer( wxVERTICAL );
5381 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5382 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5383 wxFlexGridSizer* fgSizer6;
5384 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5385 fgSizer6->AddGrowableCol( 1 );
5386 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5387 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5389 lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 );
5390 lblVendorPEN->Wrap( -1 );
5391 fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5393 txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5394 fgSizer6->Add( txtPEN, 0, wxALL, 5 );
5396 lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 );
5397 lblElement->Wrap( -1 );
5398 fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5400 txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5401 fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 );
5403 lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
5404 lblValue->Wrap( -1 );
5405 fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5407 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5408 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
5411 tabGeneral->SetSizer( fgSizer6 );
5412 tabGeneral->Layout();
5413 fgSizer6->Fit( tabGeneral );
5414 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5416 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5418 wxBoxSizer* bSizer252;
5419 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5421 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5422 bSizer252->Add( btnAction, 0, wxALL, 5 );
5424 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5425 bSizer252->Add( btnClose, 0, wxALL, 5 );
5428 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5431 this->SetSizer( bSizer251 );
5434 this->Centre( wxBOTH );
5437 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
5438 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
5441 frmContactEditorVendorADT::~frmContactEditorVendorADT()
5443 // Disconnect Events
5444 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
5445 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
5449 frmContactEditorXTokenADT::frmContactEditorXTokenADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5451 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5453 wxBoxSizer* bSizer251;
5454 bSizer251 = new wxBoxSizer( wxVERTICAL );
5456 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5457 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5458 wxFlexGridSizer* fgSizer6;
5459 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5460 fgSizer6->AddGrowableCol( 1 );
5461 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5462 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5464 lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
5465 lblTokenName->Wrap( -1 );
5466 fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5468 txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5469 fgSizer6->Add( txtTokenName, 0, wxALL, 5 );
5471 lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
5473 fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5475 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5476 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
5479 tabGeneral->SetSizer( fgSizer6 );
5480 tabGeneral->Layout();
5481 fgSizer6->Fit( tabGeneral );
5482 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5484 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5486 wxBoxSizer* bSizer252;
5487 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5489 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5490 bSizer252->Add( btnAction, 0, wxALL, 5 );
5492 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5493 bSizer252->Add( btnClose, 0, wxALL, 5 );
5496 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5499 this->SetSizer( bSizer251 );
5502 this->Centre( wxBOTH );
5505 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
5506 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
5509 frmContactEditorXTokenADT::~frmContactEditorXTokenADT()
5511 // Disconnect Events
5512 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
5513 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
5517 frmContactEditorKeyADT::frmContactEditorKeyADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5519 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5521 wxBoxSizer* bSizer251;
5522 bSizer251 = new wxBoxSizer( wxVERTICAL );
5524 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5525 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5526 wxFlexGridSizer* fgSizer6;
5527 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5528 fgSizer6->AddGrowableCol( 1 );
5529 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5530 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5532 lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5533 lblKeyType->Wrap( -1 );
5534 fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5536 wxArrayString cmbKeyMainTypeChoices;
5537 cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 );
5538 cmbKeyMainType->SetSelection( 0 );
5539 fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 );
5541 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5542 lblType->Wrap( -1 );
5543 fgSizer6->Add( lblType, 0, wxALL, 5 );
5545 wxArrayString cmbTypeChoices;
5546 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5547 cmbType->SetSelection( 0 );
5548 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5550 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5551 lblPriority->Wrap( -1 );
5552 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5554 wxBoxSizer* bSizer260;
5555 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5557 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5558 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5560 wxBoxSizer* bSizer254;
5561 bSizer254 = new wxBoxSizer( wxVERTICAL );
5563 wxBoxSizer* bSizer256;
5564 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5566 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5567 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5570 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5572 wxBoxSizer* bSizer255;
5573 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5575 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5576 lblHigh->Wrap( -1 );
5577 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5580 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5582 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5584 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5587 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5590 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5593 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5596 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5599 tabGeneral->SetSizer( fgSizer6 );
5600 tabGeneral->Layout();
5601 fgSizer6->Fit( tabGeneral );
5602 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5603 tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5604 wxFlexGridSizer* fgSizer61;
5605 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
5606 fgSizer61->AddGrowableCol( 1 );
5607 fgSizer61->SetFlexibleDirection( wxHORIZONTAL );
5608 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5610 lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
5611 lblKeyFormat->Wrap( -1 );
5612 fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5614 cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
5615 fgSizer61->Add( cmbURL, 0, wxALL, 5 );
5617 lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5618 lblAddress->Wrap( -1 );
5619 fgSizer61->Add( lblAddress, 0, wxALL, 5 );
5621 txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5622 fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 );
5625 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
5628 tabURL->SetSizer( fgSizer61 );
5630 fgSizer61->Fit( tabURL );
5631 nbkWebsite->AddPage( tabURL, wxT("URL"), false );
5632 tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5633 wxFlexGridSizer* fgSizer62;
5634 fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 );
5635 fgSizer62->AddGrowableCol( 1 );
5636 fgSizer62->AddGrowableRow( 1 );
5637 fgSizer62->SetFlexibleDirection( wxBOTH );
5638 fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5640 lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
5641 lblKeyFormatData->Wrap( -1 );
5642 fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 );
5644 cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
5645 fgSizer62->Add( cmbKeyType, 0, wxALL, 5 );
5647 lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 );
5648 lblKeyData->Wrap( -1 );
5649 fgSizer62->Add( lblKeyData, 0, wxALL, 5 );
5651 txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
5652 fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 );
5655 tabKey->SetSizer( fgSizer62 );
5657 fgSizer62->Fit( tabKey );
5658 nbkWebsite->AddPage( tabKey, wxT("Key"), true );
5660 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5662 wxBoxSizer* bSizer252;
5663 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5665 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5666 bSizer252->Add( btnAction, 0, wxALL, 5 );
5668 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5669 bSizer252->Add( btnClose, 0, wxALL, 5 );
5672 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5675 this->SetSizer( bSizer251 );
5678 this->Centre( wxBOTH );
5681 cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
5682 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
5683 cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
5684 cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
5685 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
5686 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
5689 frmContactEditorKeyADT::~frmContactEditorKeyADT()
5691 // Disconnect Events
5692 cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
5693 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
5694 cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
5695 cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
5696 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
5697 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
5701 frmContactEditorEmailADT::frmContactEditorEmailADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5703 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5705 wxBoxSizer* bSizer251;
5706 bSizer251 = new wxBoxSizer( wxVERTICAL );
5708 nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5709 tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5710 wxFlexGridSizer* fgSizer6;
5711 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5712 fgSizer6->AddGrowableCol( 1 );
5713 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5714 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5716 lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5717 lblEmailAddress->Wrap( -1 );
5718 fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5720 txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5721 fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 );
5723 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5724 lblPriority->Wrap( -1 );
5725 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5727 wxBoxSizer* bSizer260;
5728 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5730 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5731 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5733 wxBoxSizer* bSizer254;
5734 bSizer254 = new wxBoxSizer( wxVERTICAL );
5736 wxBoxSizer* bSizer256;
5737 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5739 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5740 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5743 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5745 wxBoxSizer* bSizer255;
5746 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5748 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5749 lblHigh->Wrap( -1 );
5750 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5753 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5755 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5757 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5760 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5763 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5766 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5769 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5772 tabGeneral->SetSizer( fgSizer6 );
5773 tabGeneral->Layout();
5774 fgSizer6->Fit( tabGeneral );
5775 nbkEmail->AddPage( tabGeneral, wxT("General"), false );
5777 bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 );
5779 wxBoxSizer* bSizer252;
5780 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5782 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5783 bSizer252->Add( btnAction, 0, wxALL, 5 );
5785 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5786 bSizer252->Add( btnClose, 0, wxALL, 5 );
5789 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5792 this->SetSizer( bSizer251 );
5795 this->Centre( wxBOTH );
5798 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
5799 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
5800 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
5803 frmContactEditorEmailADT::~frmContactEditorEmailADT()
5805 // Disconnect Events
5806 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
5807 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
5808 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
5812 frmContactEditorIMADT::frmContactEditorIMADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5814 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5816 wxBoxSizer* bSizer251;
5817 bSizer251 = new wxBoxSizer( wxVERTICAL );
5819 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5820 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5821 wxFlexGridSizer* fgSizer6;
5822 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5823 fgSizer6->AddGrowableCol( 1 );
5824 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5825 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5827 lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5828 lblIMType->Wrap( -1 );
5829 fgSizer6->Add( lblIMType, 0, wxALL, 5 );
5831 cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN );
5832 fgSizer6->Add( cmbIMType, 0, wxALL, 5 );
5834 lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 );
5835 lblUsername->Wrap( 0 );
5836 fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5838 txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5839 fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
5841 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5842 lblPriority->Wrap( -1 );
5843 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5845 wxBoxSizer* bSizer260;
5846 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5848 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5849 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5851 wxBoxSizer* bSizer254;
5852 bSizer254 = new wxBoxSizer( wxVERTICAL );
5854 wxBoxSizer* bSizer256;
5855 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5857 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5858 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5861 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5863 wxBoxSizer* bSizer255;
5864 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5866 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5867 lblHigh->Wrap( -1 );
5868 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5871 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5873 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5875 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5878 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5881 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5884 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5887 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5890 tabGeneral->SetSizer( fgSizer6 );
5891 tabGeneral->Layout();
5892 fgSizer6->Fit( tabGeneral );
5893 nbkIM->AddPage( tabGeneral, wxT("General"), false );
5895 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
5897 wxBoxSizer* bSizer252;
5898 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5900 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5901 bSizer252->Add( btnAction, 0, wxALL, 5 );
5903 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5904 bSizer252->Add( btnClose, 0, wxALL, 5 );
5907 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5910 this->SetSizer( bSizer251 );
5913 this->Centre( wxBOTH );
5916 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
5917 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
5918 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
5921 frmContactEditorIMADT::~frmContactEditorIMADT()
5923 // Disconnect Events
5924 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
5925 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
5926 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
5930 frmContactEditorCategoryADT::frmContactEditorCategoryADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5932 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5934 wxBoxSizer* bSizer251;
5935 bSizer251 = new wxBoxSizer( wxVERTICAL );
5937 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5938 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5939 wxFlexGridSizer* fgSizer6;
5940 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5941 fgSizer6->AddGrowableCol( 1 );
5942 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5943 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5945 lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 );
5946 lblCategory->Wrap( 0 );
5947 fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5949 txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5950 fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 );
5952 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5953 lblType->Wrap( -1 );
5954 fgSizer6->Add( lblType, 0, wxALL, 5 );
5956 wxArrayString cmbTypeChoices;
5957 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5958 cmbType->SetSelection( 0 );
5959 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5961 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5962 lblPriority->Wrap( -1 );
5963 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5965 wxBoxSizer* bSizer260;
5966 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5968 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5969 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5971 wxBoxSizer* bSizer254;
5972 bSizer254 = new wxBoxSizer( wxVERTICAL );
5974 wxBoxSizer* bSizer256;
5975 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5977 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5978 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5981 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5983 wxBoxSizer* bSizer255;
5984 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5986 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5987 lblHigh->Wrap( -1 );
5988 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5991 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5993 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5995 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5998 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6001 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6004 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6007 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6010 tabGeneral->SetSizer( fgSizer6 );
6011 tabGeneral->Layout();
6012 fgSizer6->Fit( tabGeneral );
6013 nbkIM->AddPage( tabGeneral, wxT("General"), false );
6015 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
6017 wxBoxSizer* bSizer252;
6018 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6020 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6021 bSizer252->Add( btnAction, 0, wxALL, 5 );
6023 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6024 bSizer252->Add( btnClose, 0, wxALL, 5 );
6027 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6030 this->SetSizer( bSizer251 );
6033 this->Centre( wxBOTH );
6036 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
6037 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
6038 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
6041 frmContactEditorCategoryADT::~frmContactEditorCategoryADT()
6043 // Disconnect Events
6044 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
6045 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
6046 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
6050 frmContactEditorTelephoneADT::frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6052 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6054 wxBoxSizer* bSizer251;
6055 bSizer251 = new wxBoxSizer( wxVERTICAL );
6057 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6058 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6059 wxFlexGridSizer* fgSizer6;
6060 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6061 fgSizer6->AddGrowableCol( 1 );
6062 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6063 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6065 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
6066 lblTelephone->Wrap( -1 );
6067 fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6069 txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6070 fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 );
6072 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6073 lblPriority->Wrap( -1 );
6074 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6076 wxBoxSizer* bSizer260;
6077 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6079 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6080 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6082 wxBoxSizer* bSizer254;
6083 bSizer254 = new wxBoxSizer( wxVERTICAL );
6085 wxBoxSizer* bSizer256;
6086 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6088 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6089 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6092 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6094 wxBoxSizer* bSizer255;
6095 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6097 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6098 lblHigh->Wrap( -1 );
6099 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6102 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6104 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6106 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6109 bSizer254->Add( bSizer255, 0, wxEXPAND, 0 );
6112 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6115 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6117 lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
6118 lblTelephoneType->Wrap( 0 );
6119 fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 );
6121 wxGridSizer* gSizer5;
6122 gSizer5 = new wxGridSizer( 0, 2, 0, 0 );
6124 chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 );
6125 gSizer5->Add( chkVoice, 0, wxALL, 2 );
6127 chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
6128 gSizer5->Add( chkText, 0, wxALL, 2 );
6130 chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 );
6131 gSizer5->Add( chkFax, 0, wxALL, 2 );
6133 chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 );
6134 gSizer5->Add( chkMobile, 0, wxALL, 2 );
6136 chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 );
6137 gSizer5->Add( chkVideo, 0, wxALL, 2 );
6139 chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 );
6140 gSizer5->Add( chkTextphone, 0, wxALL, 2 );
6142 chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 );
6143 gSizer5->Add( chkPager, 0, wxALL, 2 );
6146 fgSizer6->Add( gSizer5, 1, 0, 5 );
6149 tabGeneral->SetSizer( fgSizer6 );
6150 tabGeneral->Layout();
6151 fgSizer6->Fit( tabGeneral );
6152 nbkAddress->AddPage( tabGeneral, wxT("General"), false );
6154 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
6156 wxBoxSizer* bSizer252;
6157 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6159 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6160 bSizer252->Add( btnAction, 0, wxALL, 5 );
6162 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6163 bSizer252->Add( btnClose, 0, wxALL, 5 );
6166 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6169 this->SetSizer( bSizer251 );
6172 this->Centre( wxBOTH );
6175 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
6176 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
6177 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
6180 frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT()
6182 // Disconnect Events
6183 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
6184 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
6185 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
6189 frmContactEditorLanguagesADT::frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6191 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6193 wxBoxSizer* bSizer251;
6194 bSizer251 = new wxBoxSizer( wxVERTICAL );
6196 nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6197 tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6198 wxFlexGridSizer* fgSizer6;
6199 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6200 fgSizer6->AddGrowableCol( 1 );
6201 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6202 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6204 lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
6205 lblLanguage->Wrap( -1 );
6206 fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6208 txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6209 fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 );
6211 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6212 lblPriority->Wrap( -1 );
6213 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6215 wxBoxSizer* bSizer260;
6216 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6218 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6219 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6221 wxBoxSizer* bSizer254;
6222 bSizer254 = new wxBoxSizer( wxVERTICAL );
6224 wxBoxSizer* bSizer256;
6225 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6227 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6228 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6231 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6233 wxBoxSizer* bSizer255;
6234 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6236 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6237 lblHigh->Wrap( -1 );
6238 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6241 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6243 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6245 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6248 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6251 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6254 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6257 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6260 tabGeneral->SetSizer( fgSizer6 );
6261 tabGeneral->Layout();
6262 fgSizer6->Fit( tabGeneral );
6263 nbkLanguages->AddPage( tabGeneral, wxT("General"), false );
6265 bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 );
6267 wxBoxSizer* bSizer252;
6268 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6270 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6271 bSizer252->Add( btnAction, 0, wxALL, 5 );
6273 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6274 bSizer252->Add( btnClose, 0, wxALL, 5 );
6277 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6280 this->SetSizer( bSizer251 );
6283 this->Centre( wxBOTH );
6286 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
6287 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
6288 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
6291 frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT()
6293 // Disconnect Events
6294 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
6295 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
6296 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
6300 frmContactEditorTimezonesADT::frmContactEditorTimezonesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6302 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6304 wxBoxSizer* bSizer251;
6305 bSizer251 = new wxBoxSizer( wxVERTICAL );
6307 nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6308 tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6309 wxFlexGridSizer* fgSizer6;
6310 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6311 fgSizer6->AddGrowableCol( 1 );
6312 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6313 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6315 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
6316 lblTimezone->Wrap( -1 );
6317 fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6319 cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
6320 fgSizer6->Add( cmbTimezone, 0, wxALL, 5 );
6322 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6323 lblPriority->Wrap( -1 );
6324 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6326 wxBoxSizer* bSizer260;
6327 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6329 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6330 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6332 wxBoxSizer* bSizer254;
6333 bSizer254 = new wxBoxSizer( wxVERTICAL );
6335 wxBoxSizer* bSizer256;
6336 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6338 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6339 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6342 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6344 wxBoxSizer* bSizer255;
6345 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6347 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6348 lblHigh->Wrap( -1 );
6349 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6352 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6354 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6356 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6359 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6362 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6365 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6368 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6371 tabGeneral->SetSizer( fgSizer6 );
6372 tabGeneral->Layout();
6373 fgSizer6->Fit( tabGeneral );
6374 nbkTimezone->AddPage( tabGeneral, wxT("General"), false );
6376 bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 );
6378 wxBoxSizer* bSizer252;
6379 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6381 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6382 bSizer252->Add( btnAction, 0, wxALL, 5 );
6384 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6385 bSizer252->Add( btnClose, 0, wxALL, 5 );
6388 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6391 this->SetSizer( bSizer251 );
6394 this->Centre( wxBOTH );
6397 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
6398 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
6399 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
6402 frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT()
6404 // Disconnect Events
6405 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
6406 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
6407 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
6411 XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
6413 this->SetMinSize( wxSize( -1,40 ) );
6414 this->SetMaxSize( wxSize( -1,40 ) );
6416 wxFlexGridSizer* fgSizer40;
6417 fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 );
6418 fgSizer40->AddGrowableCol( 1 );
6419 fgSizer40->SetFlexibleDirection( wxBOTH );
6420 fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6422 wxArrayString choOptionChoices;
6423 choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 );
6424 choOption->SetSelection( 0 );
6425 fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 );
6427 szrSSet = new wxBoxSizer( wxHORIZONTAL );
6429 chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 );
6430 szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6432 txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6433 szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6436 fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 );
6438 wxBoxSizer* bSizer376;
6439 bSizer376 = new wxBoxSizer( wxHORIZONTAL );
6441 btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
6442 btnAdd->SetMinSize( wxSize( 28,28 ) );
6443 btnAdd->SetMaxSize( wxSize( 28,28 ) );
6445 bSizer376->Add( btnAdd, 0, wxALL, 5 );
6447 btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
6448 btnDelete->SetMinSize( wxSize( 28,28 ) );
6449 btnDelete->SetMaxSize( wxSize( 28,28 ) );
6451 bSizer376->Add( btnDelete, 0, wxALL, 5 );
6454 fgSizer40->Add( bSizer376, 0, 0, 5 );
6457 this->SetSizer( fgSizer40 );
6461 choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
6462 btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
6463 btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
6466 XABSearchPanelADT::~XABSearchPanelADT()
6468 // Disconnect Events
6469 choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
6470 btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
6471 btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
6475 frmSearchAccountsADT::frmSearchAccountsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6477 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6479 wxBoxSizer* bSizer376;
6480 bSizer376 = new wxBoxSizer( wxVERTICAL );
6482 wxArrayString chlAccountsChoices;
6483 chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
6484 bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 );
6486 wxBoxSizer* bSizer377;
6487 bSizer377 = new wxBoxSizer( wxHORIZONTAL );
6490 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
6492 btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 );
6493 bSizer377->Add( btnSelect, 0, wxALL, 5 );
6495 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
6496 bSizer377->Add( btnCancel, 0, wxALL, 5 );
6499 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
6502 bSizer376->Add( bSizer377, 0, wxEXPAND, 5 );
6505 this->SetSizer( bSizer376 );
6508 this->Centre( wxBOTH );
6511 btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
6512 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
6515 frmSearchAccountsADT::~frmSearchAccountsADT()
6517 // Disconnect Events
6518 btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
6519 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
6523 frmEditAccountADT::frmEditAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6525 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6527 wxBoxSizer* bSizer384;
6528 bSizer384 = new wxBoxSizer( wxVERTICAL );
6530 wxBoxSizer* szrTabs;
6531 szrTabs = new wxBoxSizer( wxVERTICAL );
6533 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6534 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6535 wxFlexGridSizer* fgSizer43;
6536 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
6537 fgSizer43->AddGrowableCol( 1 );
6538 fgSizer43->SetFlexibleDirection( wxBOTH );
6539 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
6541 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
6542 lblAccName->Wrap( -1 );
6543 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6545 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6546 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
6548 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
6549 lblAccAdr->Wrap( -1 );
6550 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6552 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6553 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
6555 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
6556 m_staticText193->Wrap( -1 );
6557 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6559 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6561 if ( !txtPort->HasFlag( wxTE_MULTILINE ) )
6563 txtPort->SetMaxLength( 5 );
6566 txtPort->SetMaxLength( 5 );
6568 fgSizer43->Add( txtPort, 0, wxALL, 5 );
6570 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
6571 lblPort->Wrap( -1 );
6572 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6574 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6575 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
6577 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
6578 lblPassword->Wrap( -1 );
6579 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6581 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
6582 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
6584 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
6585 lblPrefix->Wrap( -1 );
6586 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6588 wxBoxSizer* bSizer391;
6589 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
6591 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6592 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
6594 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
6595 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
6598 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
6600 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
6602 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6604 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
6605 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
6608 tabProperties->SetSizer( fgSizer43 );
6609 tabProperties->Layout();
6610 fgSizer43->Fit( tabProperties );
6611 tabAccount->AddPage( tabProperties, wxT("General"), true );
6612 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6613 wxFlexGridSizer* fgSizer431;
6614 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
6615 fgSizer431->AddGrowableCol( 1 );
6616 fgSizer431->SetFlexibleDirection( wxBOTH );
6617 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
6619 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
6620 lblRefresh->Wrap( -1 );
6621 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6623 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6625 if ( !txtRefresh->HasFlag( wxTE_MULTILINE ) )
6627 txtRefresh->SetMaxLength( 5 );
6630 txtRefresh->SetMaxLength( 5 );
6632 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
6635 tabRefresh->SetSizer( fgSizer431 );
6636 tabRefresh->Layout();
6637 fgSizer431->Fit( tabRefresh );
6638 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
6640 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
6643 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
6645 wxBoxSizer* szrButtons;
6646 szrButtons = new wxBoxSizer( wxHORIZONTAL );
6649 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
6651 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
6652 btnSave->SetDefault();
6653 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
6656 szrButtons->Add( 5, 0, 0, 0, 0 );
6658 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
6659 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
6662 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
6665 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
6668 this->SetSizer( bSizer384 );
6671 this->Centre( wxBOTH );
6674 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
6675 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
6676 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
6679 frmEditAccountADT::~frmEditAccountADT()
6681 // Disconnect Events
6682 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
6683 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
6684 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
6688 frmSSLCertificateADT::frmSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6690 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6692 wxBoxSizer* bSizer384;
6693 bSizer384 = new wxBoxSizer( wxVERTICAL );
6695 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6696 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6697 wxBoxSizer* bSizer386;
6698 bSizer386 = new wxBoxSizer( wxVERTICAL );
6700 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6701 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
6703 wxBoxSizer* bSizer389;
6704 bSizer389 = new wxBoxSizer( wxVERTICAL );
6706 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
6707 lblCertName->Wrap( -1 );
6708 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
6710 bSizer389->Add( lblCertName, 0, wxALL, 5 );
6712 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
6713 lblValidityStatus->Wrap( -1 );
6714 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
6717 pnlTop->SetSizer( bSizer389 );
6719 bSizer389->Fit( pnlTop );
6720 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
6722 wxBoxSizer* bSizer392;
6723 bSizer392 = new wxBoxSizer( wxVERTICAL );
6725 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6726 wxFlexGridSizer* fgSizer44;
6727 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
6728 fgSizer44->AddGrowableCol( 1 );
6729 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
6730 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6732 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
6733 lblIssuedTo->Wrap( -1 );
6734 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
6736 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
6737 lblIssuedToData->Wrap( -1 );
6738 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
6740 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
6741 lblValidFrom->Wrap( -1 );
6742 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
6744 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
6745 lblValidFromData->Wrap( -1 );
6746 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
6748 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
6749 lblValidUntil->Wrap( -1 );
6750 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
6752 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
6753 lblValidUntilData->Wrap( -1 );
6754 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
6757 m_panel54->SetSizer( fgSizer44 );
6758 m_panel54->Layout();
6759 fgSizer44->Fit( m_panel54 );
6760 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
6763 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
6766 tabSummary->SetSizer( bSizer386 );
6767 tabSummary->Layout();
6768 bSizer386->Fit( tabSummary );
6769 m_notebook28->AddPage( tabSummary, wxT("Summary"), true );
6770 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6771 wxBoxSizer* bSizer3891;
6772 bSizer3891 = new wxBoxSizer( wxVERTICAL );
6774 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
6775 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
6777 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
6778 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
6780 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
6783 tabDetail->SetSizer( bSizer3891 );
6784 tabDetail->Layout();
6785 bSizer3891->Fit( tabDetail );
6786 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
6787 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6788 wxBoxSizer* bSizer390;
6789 bSizer390 = new wxBoxSizer( wxVERTICAL );
6791 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
6792 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
6794 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6795 wxBoxSizer* bSizer393;
6796 bSizer393 = new wxBoxSizer( wxVERTICAL );
6798 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
6799 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
6802 m_panel57->SetSizer( bSizer393 );
6803 m_panel57->Layout();
6804 bSizer393->Fit( m_panel57 );
6805 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
6808 tabHierarchy->SetSizer( bSizer390 );
6809 tabHierarchy->Layout();
6810 bSizer390->Fit( tabHierarchy );
6811 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false );
6813 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
6815 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6816 wxBoxSizer* bSizer385;
6817 bSizer385 = new wxBoxSizer( wxVERTICAL );
6819 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6820 btnClose->SetDefault();
6821 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
6824 pnlButtons->SetSizer( bSizer385 );
6825 pnlButtons->Layout();
6826 bSizer385->Fit( pnlButtons );
6827 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
6830 this->SetSizer( bSizer384 );
6833 this->Centre( wxBOTH );
6836 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
6837 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
6838 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
6839 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
6842 frmSSLCertificateADT::~frmSSLCertificateADT()
6844 // Disconnect Events
6845 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
6846 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
6847 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
6848 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
6852 frmInvalidSSLCertificateADT::frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6854 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6856 wxBoxSizer* bSizer387;
6857 bSizer387 = new wxBoxSizer( wxVERTICAL );
6859 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
6860 lblSSLText->Wrap( -1 );
6861 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
6863 wxBoxSizer* bSizer388;
6864 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
6866 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
6867 bSizer388->Add( btnAccept, 0, wxALL, 5 );
6869 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
6870 btnReject->SetDefault();
6871 bSizer388->Add( btnReject, 0, wxALL, 5 );
6873 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
6874 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
6877 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
6880 this->SetSizer( bSizer387 );
6883 this->Centre( wxBOTH );
6886 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
6887 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
6888 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
6891 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
6893 // Disconnect Events
6894 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
6895 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
6896 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
6900 frmImportContactsADT::frmImportContactsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6902 this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) );
6904 wxBoxSizer* bSizer393;
6905 bSizer393 = new wxBoxSizer( wxVERTICAL );
6907 lblImportText = new wxStaticText( this, wxID_ANY, wxT("Select the contacts you want to import and the account to import into. Click on Import to finish."), wxDefaultPosition, wxDefaultSize, 0 );
6908 lblImportText->Wrap( 300 );
6909 bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 );
6911 wxArrayString lstContactsChoices;
6912 lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
6913 bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
6915 szrAccount = new wxBoxSizer( wxHORIZONTAL );
6917 lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
6918 lblAccountText->Wrap( -1 );
6919 szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6922 bSizer393->Add( szrAccount, 0, wxEXPAND, 5 );
6924 wxBoxSizer* bSizer394;
6925 bSizer394 = new wxBoxSizer( wxHORIZONTAL );
6927 btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
6928 btnImport->SetDefault();
6929 bSizer394->Add( btnImport, 0, wxALL, 5 );
6931 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
6932 bSizer394->Add( btnCancel, 0, wxALL, 5 );
6935 bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 );
6938 this->SetSizer( bSizer393 );
6941 this->Centre( wxBOTH );
6944 btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
6945 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
6948 frmImportContactsADT::~frmImportContactsADT()
6950 // Disconnect Events
6951 btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
6952 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
6956 frmImportResultsADT::frmImportResultsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6958 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6960 wxBoxSizer* bSizer396;
6961 bSizer396 = new wxBoxSizer( wxVERTICAL );
6963 lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 );
6964 lblText->Wrap( -1 );
6965 bSizer396->Add( lblText, 0, wxALL, 5 );
6967 txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
6968 bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 );
6970 wxBoxSizer* bSizer397;
6971 bSizer397 = new wxBoxSizer( wxHORIZONTAL );
6973 btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 );
6974 btnCopyClipboard->Hide();
6976 bSizer397->Add( btnCopyClipboard, 0, 0, 5 );
6978 btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 );
6979 bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
6982 bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
6985 this->SetSizer( bSizer396 );
6988 this->Centre( wxBOTH );
6991 btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
6992 btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
6995 frmImportResultsADT::~frmImportResultsADT()
6997 // Disconnect Events
6998 btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
6999 btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );