1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Nov 13 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 wxBoxSizer* szrChecks;
551 szrChecks = new wxBoxSizer( wxVERTICAL );
553 chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
554 szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 );
556 chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 );
557 szrChecks->Add( chkHideLocal, 0, wxALL, 5 );
560 tabGeneral->SetSizer( szrChecks );
561 tabGeneral->Layout();
562 szrChecks->Fit( tabGeneral );
563 NbtPreferences->AddPage( tabGeneral, wxT("General"), true );
564 tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
567 wxGridSizer* szrTheme;
568 szrTheme = new wxGridSizer( 1, 1, 0, 0 );
570 wxBoxSizer* bSizer161;
571 bSizer161 = new wxBoxSizer( wxVERTICAL );
573 lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
574 bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
576 wxBoxSizer* bSizer151;
577 bSizer151 = new wxBoxSizer( wxHORIZONTAL );
579 btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
580 bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
582 btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
583 btnThemeModify->Enable( false );
585 bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
587 btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
588 btnThemeDelete->Enable( false );
590 bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
593 bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
596 szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
599 tabTheme->SetSizer( szrTheme );
601 szrTheme->Fit( tabTheme );
602 NbtPreferences->AddPage( tabTheme, wxT("Themes"), false );
603 tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
604 wxGridSizer* szrAccounts;
605 szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
607 wxBoxSizer* bSizer16;
608 bSizer16 = new wxBoxSizer( wxVERTICAL );
610 lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
611 bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
613 wxBoxSizer* bSizer15;
614 bSizer15 = new wxBoxSizer( wxHORIZONTAL );
616 btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
617 bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
619 btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
620 btnAccountModify->Enable( false );
622 bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
624 btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
625 btnAccountDelete->Enable( false );
627 bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
630 bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
633 szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
636 tabAccounts->SetSizer( szrAccounts );
637 tabAccounts->Layout();
638 szrAccounts->Fit( tabAccounts );
639 NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false );
641 szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
644 szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
646 wxBoxSizer* szrButtons;
647 szrButtons = new wxBoxSizer( wxHORIZONTAL );
650 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
652 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
653 btnSave->SetDefault();
654 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
657 szrButtons->Add( 5, 0, 0, 0, 0 );
659 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
660 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
663 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
666 szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
669 this->SetSizer( szrMain );
672 this->Centre( wxBOTH );
675 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
676 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
677 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
678 btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
679 btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
680 btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
681 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
682 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
683 btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
684 btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
685 btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
686 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
687 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
690 frmPreferencesADT::~frmPreferencesADT()
693 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
694 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
695 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
696 btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
697 btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
698 btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
699 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
700 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
701 btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
702 btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
703 btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
704 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
705 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
709 frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
711 this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
714 szrMain = new wxBoxSizer( wxVERTICAL );
717 szrLogo = new wxBoxSizer( wxVERTICAL );
719 szrLogo->SetMinSize( wxSize( 350,100 ) );
720 bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
721 szrLogo->Add( bmpLogo, 0, wxALL, 0 );
724 szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
726 wxBoxSizer* szrDetails;
727 szrDetails = new wxBoxSizer( wxVERTICAL );
729 lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
730 lblVersion->Wrap( -1 );
731 lblVersion->SetFont( wxFont( 14, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
733 szrDetails->Add( lblVersion, 0, wxALL, 5 );
735 lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
736 lblCompileTime->Wrap( -1 );
737 szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
739 lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
740 lblCopyright->Wrap( -1 );
741 szrDetails->Add( lblCopyright, 0, wxALL, 5 );
744 szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
746 wxBoxSizer* szrButtons;
747 szrButtons = new wxBoxSizer( wxVERTICAL );
749 szrButtons->SetMinSize( wxSize( -1,35 ) );
750 btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
751 szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
754 szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
757 this->SetSizer( szrMain );
760 this->Centre( wxBOTH );
763 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
766 frmAboutADT::~frmAboutADT()
769 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
773 frmContactADT::frmContactADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
775 this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize );
777 wxBoxSizer* bSizer13;
778 bSizer13 = new wxBoxSizer( wxVERTICAL );
780 htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
781 bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
784 this->SetSizer( bSizer13 );
786 m_menubar2 = new wxMenuBar( 0 );
787 contact = new wxMenu();
788 wxMenuItem* mnuContactClose;
789 mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL );
790 contact->Append( mnuContactClose );
792 m_menubar2->Append( contact, wxT("Contact") );
794 this->SetMenuBar( m_menubar2 );
797 this->Centre( wxBOTH );
800 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
801 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
804 frmContactADT::~frmContactADT()
807 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
808 this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
812 frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
814 this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
816 wxFlexGridSizer* fgSizer30;
817 fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
818 fgSizer30->AddGrowableCol( 0 );
819 fgSizer30->AddGrowableRow( 0 );
820 fgSizer30->SetFlexibleDirection( wxBOTH );
821 fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
823 szrNewAccount = new wxBoxSizer( wxVERTICAL );
825 tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
826 wxFlexGridSizer* fgSizer32;
827 fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
828 fgSizer32->AddGrowableCol( 0 );
829 fgSizer32->SetFlexibleDirection( wxBOTH );
830 fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
832 lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
833 lblEnterText->Wrap( -1 );
834 fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
836 wxFlexGridSizer* fgSizer33;
837 fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
838 fgSizer33->AddGrowableCol( 1 );
839 fgSizer33->AddGrowableRow( 0 );
840 fgSizer33->SetFlexibleDirection( wxBOTH );
841 fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
843 lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
845 fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
847 wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") };
848 int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
849 cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
850 cmbServerType->SetSelection( 1 );
851 fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
853 lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
854 lblServerAddress->Wrap( -1 );
855 fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
857 txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
858 fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
860 lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
861 lblServerPort->Wrap( -1 );
862 fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
864 txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
865 fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
867 lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
868 lblUsername->Wrap( -1 );
869 fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
871 txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
872 fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
874 lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
875 lblPassword->Wrap( -1 );
876 fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
878 txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
879 fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
881 lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
883 fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
885 wxBoxSizer* bSizer3221;
886 bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
888 chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
889 chkUseSSL->SetValue(true);
890 bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
893 fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
896 fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
899 tabType->SetSizer( fgSizer32 );
901 fgSizer32->Fit( tabType );
902 szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
904 tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
907 wxBoxSizer* bSizer323;
908 bSizer323 = new wxBoxSizer( wxVERTICAL );
910 lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
911 lblConnectionResult->Wrap( -1 );
912 lblConnectionResult->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxT("Sans") ) );
914 bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
916 wxFlexGridSizer* fgSizer34;
917 fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
918 fgSizer34->SetFlexibleDirection( wxBOTH );
919 fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
921 lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
922 lblServerConnected->Wrap( -1 );
923 fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
925 lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
926 lblServerConnResult->Wrap( -1 );
927 fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
929 lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
930 lblValidResponse->Wrap( -1 );
931 fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
933 lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
934 lblServerResponse->Wrap( -1 );
935 fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
937 lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
938 lblUseSSL->Wrap( -1 );
939 fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
941 lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
942 lblServerSSLResult->Wrap( -1 );
943 fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
945 lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
946 lblServerSSLCert->Wrap( -1 );
947 fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
949 lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
950 lblServerSSLValid->Wrap( -1 );
951 fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
953 lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
954 lblServerUsernamePassword->Wrap( -1 );
955 fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
957 lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
958 lblAbleToLoginResult->Wrap( -1 );
959 fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
961 lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
962 lblIsCalDAV->Wrap( -1 );
963 fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
965 lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
966 lblCardDAVSupportResult->Wrap( -1 );
967 fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 );
970 bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
972 m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
973 bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
975 lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
976 lblConnectionResultText->Wrap( 360 );
977 lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
979 bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
982 tabConn->SetSizer( bSizer323 );
984 bSizer323->Fit( tabConn );
985 szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
987 tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
990 wxBoxSizer* bSizer3231;
991 bSizer3231 = new wxBoxSizer( wxVERTICAL );
993 lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
994 lblFinishText->Wrap( -1 );
995 bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
997 wxFlexGridSizer* fgSizer341;
998 fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
999 fgSizer341->AddGrowableCol( 1 );
1000 fgSizer341->SetFlexibleDirection( wxBOTH );
1001 fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1003 lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
1004 lblAccountName->Wrap( -1 );
1005 fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1007 txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1008 fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
1011 bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
1014 tabFinish->SetSizer( bSizer3231 );
1015 tabFinish->Layout();
1016 bSizer3231->Fit( tabFinish );
1017 szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
1020 fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
1022 wxBoxSizer* bSizer322;
1023 bSizer322 = new wxBoxSizer( wxHORIZONTAL );
1025 btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
1026 bSizer322->Add( btnPrevious, 0, wxALL, 5 );
1028 btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
1029 btnNext->SetDefault();
1030 bSizer322->Add( btnNext, 0, wxALL, 5 );
1032 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
1033 bSizer322->Add( btnClose, 0, wxALL, 5 );
1036 fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
1039 this->SetSizer( fgSizer30 );
1042 this->Centre( wxBOTH );
1045 cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
1046 txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
1047 btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
1048 btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
1049 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
1052 frmNewAccountADT::~frmNewAccountADT()
1054 // Disconnect Events
1055 cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
1056 txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
1057 btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
1058 btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
1059 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
1063 frmContactEditorADT::frmContactEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
1065 this->SetSizeHints( wxSize( 800,500 ), wxDefaultSize );
1066 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
1068 wxBoxSizer* bSizer17;
1069 bSizer17 = new wxBoxSizer( wxVERTICAL );
1071 nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1072 tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
1073 tabGeneral->SetScrollRate( 5, 5 );
1074 wxBoxSizer* bSizer18;
1075 bSizer18 = new wxBoxSizer( wxVERTICAL );
1077 wxGridSizer* gSizer7;
1078 gSizer7 = new wxGridSizer( 0, 6, 0, 0 );
1080 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
1081 lblTitle->Wrap( -1 );
1082 gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1084 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1085 gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
1088 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1091 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1094 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1097 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1099 lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 );
1100 lblForename->Wrap( -1 );
1101 gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1103 txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1104 gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 );
1106 lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 );
1107 lblSurname->Wrap( -1 );
1108 gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1110 txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1111 gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 );
1113 lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 );
1114 lblOtherNames->Wrap( -1 );
1115 gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1117 txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1118 gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 );
1120 lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 );
1121 lblSuffix->Wrap( -1 );
1122 gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1124 txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1125 gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 );
1128 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1131 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1134 bSizer18->Add( gSizer7, 0, wxEXPAND, 5 );
1136 wxFlexGridSizer* fgSizer5;
1137 fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 );
1138 fgSizer5->AddGrowableCol( 1 );
1139 fgSizer5->SetFlexibleDirection( wxBOTH );
1140 fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1142 lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 );
1143 lblDisplayAs->Wrap( -1 );
1144 fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1146 cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
1147 fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 );
1149 lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 );
1150 lblBirthday->Wrap( -1 );
1151 fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1153 wxBoxSizer* bSizer318;
1154 bSizer318 = new wxBoxSizer( wxHORIZONTAL );
1156 dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
1157 dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
1158 dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
1159 dapBirthday->SetMinSize( wxSize( -1,25 ) );
1161 bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 );
1163 txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1164 bSizer318->Add( txtBirthday, 1, wxALL, 5 );
1167 fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 );
1169 lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 );
1170 lblAnniversary->Wrap( -1 );
1171 fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1173 wxBoxSizer* bSizer319;
1174 bSizer319 = new wxBoxSizer( wxHORIZONTAL );
1176 dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
1177 dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
1178 dapAnniversary->SetMinSize( wxSize( -1,25 ) );
1180 bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 );
1182 txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1183 bSizer319->Add( txtAnniversary, 1, wxALL, 5 );
1186 fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 );
1188 lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 );
1189 lblGender->Wrap( -1 );
1190 fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1192 wxBoxSizer* bSizer20;
1193 bSizer20 = new wxBoxSizer( wxHORIZONTAL );
1195 wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") };
1196 int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString );
1197 cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 );
1198 cmbGender->SetSelection( 0 );
1199 bSizer20->Add( cmbGender, 0, wxALL, 5 );
1201 txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1202 bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1205 fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 );
1207 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
1208 lblType->Wrap( -1 );
1209 fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1211 wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") };
1212 int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString );
1213 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 );
1214 cmbType->SetSelection( 0 );
1215 fgSizer5->Add( cmbType, 0, wxALL, 5 );
1217 lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
1218 lblNicknames->Wrap( -1 );
1219 fgSizer5->Add( lblNicknames, 0, wxALL, 5 );
1221 wxBoxSizer* szrNicknames;
1222 szrNicknames = new wxBoxSizer( wxHORIZONTAL );
1224 lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1225 szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 );
1227 wxBoxSizer* szrAddressesOuter3;
1228 szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL );
1230 wxBoxSizer* bSizer464;
1231 bSizer464 = new wxBoxSizer( wxHORIZONTAL );
1233 wxBoxSizer* bSizer474;
1234 bSizer474 = new wxBoxSizer( wxVERTICAL );
1236 btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1237 bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 );
1239 btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1240 bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 );
1242 btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1243 bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 );
1246 bSizer464->Add( bSizer474, 1, wxEXPAND, 5 );
1249 szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 );
1252 szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 );
1255 fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 );
1257 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
1258 lblAddress->Wrap( -1 );
1259 fgSizer5->Add( lblAddress, 0, wxALL, 5 );
1261 wxBoxSizer* szrAddresses;
1262 szrAddresses = new wxBoxSizer( wxHORIZONTAL );
1264 lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1265 szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 );
1267 wxBoxSizer* szrAddressesOuter;
1268 szrAddressesOuter = new wxBoxSizer( wxVERTICAL );
1270 wxBoxSizer* bSizer46;
1271 bSizer46 = new wxBoxSizer( wxHORIZONTAL );
1273 wxBoxSizer* bSizer47;
1274 bSizer47 = new wxBoxSizer( wxVERTICAL );
1276 btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1277 bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 );
1279 btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1280 bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 );
1282 btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1283 bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 );
1286 bSizer46->Add( bSizer47, 1, wxEXPAND, 5 );
1289 szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 );
1292 szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 );
1295 fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 );
1297 lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
1298 lblEmail->Wrap( -1 );
1299 fgSizer5->Add( lblEmail, 0, wxALL, 5 );
1301 wxBoxSizer* bSizer301;
1302 bSizer301 = new wxBoxSizer( wxHORIZONTAL );
1304 lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1305 bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 );
1307 wxBoxSizer* bSizer351;
1308 bSizer351 = new wxBoxSizer( wxVERTICAL );
1310 wxBoxSizer* bSizer461;
1311 bSizer461 = new wxBoxSizer( wxHORIZONTAL );
1313 wxBoxSizer* bSizer471;
1314 bSizer471 = new wxBoxSizer( wxVERTICAL );
1316 btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1317 bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 );
1319 btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1320 bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 );
1322 btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1323 bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 );
1326 bSizer461->Add( bSizer471, 1, wxEXPAND, 5 );
1329 bSizer351->Add( bSizer461, 1, wxEXPAND, 5 );
1332 bSizer301->Add( bSizer351, 0, wxEXPAND, 5 );
1335 fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 );
1337 lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
1339 fgSizer5->Add( lblIM, 0, wxALL, 5 );
1341 wxBoxSizer* bSizer3011;
1342 bSizer3011 = new wxBoxSizer( wxHORIZONTAL );
1344 lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1345 bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 );
1347 wxBoxSizer* bSizer3511;
1348 bSizer3511 = new wxBoxSizer( wxVERTICAL );
1350 wxBoxSizer* bSizer4611;
1351 bSizer4611 = new wxBoxSizer( wxHORIZONTAL );
1353 wxBoxSizer* bSizer4711;
1354 bSizer4711 = new wxBoxSizer( wxVERTICAL );
1356 btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1357 bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 );
1359 btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1360 bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 );
1362 btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1363 bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 );
1366 bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 );
1369 bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 );
1372 bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 );
1375 fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 );
1377 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
1378 lblTelephone->Wrap( 0 );
1379 fgSizer5->Add( lblTelephone, 0, wxALL, 5 );
1381 wxBoxSizer* bSizer30111;
1382 bSizer30111 = new wxBoxSizer( wxHORIZONTAL );
1384 lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1385 bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 );
1387 wxBoxSizer* bSizer35111;
1388 bSizer35111 = new wxBoxSizer( wxVERTICAL );
1390 wxBoxSizer* bSizer46111;
1391 bSizer46111 = new wxBoxSizer( wxHORIZONTAL );
1393 wxBoxSizer* bSizer47111;
1394 bSizer47111 = new wxBoxSizer( wxVERTICAL );
1396 btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1397 bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 );
1399 btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1400 bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 );
1402 btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1403 bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 );
1406 bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 );
1409 bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 );
1412 bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 );
1415 fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 );
1417 lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
1418 lblLanguages->Wrap( 0 );
1419 fgSizer5->Add( lblLanguages, 0, wxALL, 5 );
1421 wxBoxSizer* bSizer301111;
1422 bSizer301111 = new wxBoxSizer( wxHORIZONTAL );
1424 lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1425 bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 );
1427 wxBoxSizer* bSizer351111;
1428 bSizer351111 = new wxBoxSizer( wxVERTICAL );
1430 wxBoxSizer* bSizer461111;
1431 bSizer461111 = new wxBoxSizer( wxHORIZONTAL );
1433 wxBoxSizer* bSizer471111;
1434 bSizer471111 = new wxBoxSizer( wxVERTICAL );
1436 btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1437 bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 );
1439 btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1440 bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 );
1442 btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1443 bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 );
1446 bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 );
1449 bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 );
1452 bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 );
1455 fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 );
1457 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
1458 lblTimezone->Wrap( 0 );
1459 fgSizer5->Add( lblTimezone, 0, wxALL, 5 );
1461 wxBoxSizer* bSizer3011111;
1462 bSizer3011111 = new wxBoxSizer( wxHORIZONTAL );
1464 lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1465 bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 );
1467 wxBoxSizer* bSizer3511111;
1468 bSizer3511111 = new wxBoxSizer( wxVERTICAL );
1470 wxBoxSizer* bSizer4611111;
1471 bSizer4611111 = new wxBoxSizer( wxHORIZONTAL );
1473 wxBoxSizer* bSizer4711111;
1474 bSizer4711111 = new wxBoxSizer( wxVERTICAL );
1476 btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1477 bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 );
1479 btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1480 bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 );
1482 btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1483 bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 );
1486 bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 );
1489 bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 );
1492 bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 );
1495 fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 );
1497 lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
1498 lblGeopositioning->Wrap( -1 );
1499 fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 );
1501 wxBoxSizer* bSizer30111114;
1502 bSizer30111114 = new wxBoxSizer( wxHORIZONTAL );
1504 lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1505 bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 );
1507 wxBoxSizer* bSizer35111114;
1508 bSizer35111114 = new wxBoxSizer( wxVERTICAL );
1510 wxBoxSizer* bSizer46111114;
1511 bSizer46111114 = new wxBoxSizer( wxHORIZONTAL );
1513 wxBoxSizer* bSizer47111114;
1514 bSizer47111114 = new wxBoxSizer( wxVERTICAL );
1516 btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1517 bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 );
1519 btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1520 bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 );
1522 btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1523 bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 );
1526 bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 );
1529 bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 );
1532 bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 );
1535 fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 );
1537 lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 );
1538 lblRelated->Wrap( 1 );
1539 fgSizer5->Add( lblRelated, 0, wxALL, 5 );
1541 wxBoxSizer* bSizer30111111;
1542 bSizer30111111 = new wxBoxSizer( wxHORIZONTAL );
1544 lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1545 bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 );
1547 wxBoxSizer* bSizer35111111;
1548 bSizer35111111 = new wxBoxSizer( wxVERTICAL );
1550 wxBoxSizer* bSizer46111111;
1551 bSizer46111111 = new wxBoxSizer( wxHORIZONTAL );
1553 wxBoxSizer* bSizer47111111;
1554 bSizer47111111 = new wxBoxSizer( wxVERTICAL );
1556 btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1557 bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 );
1559 btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1560 bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 );
1562 btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1563 bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 );
1566 bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 );
1569 bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 );
1572 bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 );
1575 fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 );
1577 lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
1578 lblWebsites->Wrap( 1 );
1579 fgSizer5->Add( lblWebsites, 0, wxALL, 5 );
1581 wxBoxSizer* bSizer301111111;
1582 bSizer301111111 = new wxBoxSizer( wxHORIZONTAL );
1584 lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1585 bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 );
1587 wxBoxSizer* bSizer351111111;
1588 bSizer351111111 = new wxBoxSizer( wxVERTICAL );
1590 wxBoxSizer* bSizer461111111;
1591 bSizer461111111 = new wxBoxSizer( wxHORIZONTAL );
1593 wxBoxSizer* bSizer471111111;
1594 bSizer471111111 = new wxBoxSizer( wxVERTICAL );
1596 btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1597 bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 );
1599 btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1600 bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 );
1602 btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1603 bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 );
1606 bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 );
1609 bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 );
1612 bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 );
1615 fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 );
1617 lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
1618 lblTitles->Wrap( 1 );
1619 fgSizer5->Add( lblTitles, 0, wxALL, 5 );
1621 wxBoxSizer* bSizer3011111111;
1622 bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL );
1624 lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1625 bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 );
1627 wxBoxSizer* bSizer3511111111;
1628 bSizer3511111111 = new wxBoxSizer( wxVERTICAL );
1630 wxBoxSizer* bSizer4611111111;
1631 bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL );
1633 wxBoxSizer* bSizer4711111111;
1634 bSizer4711111111 = new wxBoxSizer( wxVERTICAL );
1636 btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1637 bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 );
1639 btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1640 bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 );
1642 btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1643 bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 );
1646 bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 );
1649 bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 );
1652 bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 );
1655 fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 );
1657 lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
1658 lblRoles->Wrap( 1 );
1659 fgSizer5->Add( lblRoles, 0, wxALL, 5 );
1661 wxBoxSizer* bSizer30111111111;
1662 bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL );
1664 lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1665 bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 );
1667 wxBoxSizer* bSizer35111111111;
1668 bSizer35111111111 = new wxBoxSizer( wxVERTICAL );
1670 wxBoxSizer* bSizer46111111111;
1671 bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL );
1673 wxBoxSizer* bSizer47111111111;
1674 bSizer47111111111 = new wxBoxSizer( wxVERTICAL );
1676 btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1677 bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 );
1679 btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1680 bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 );
1682 btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1683 bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 );
1686 bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 );
1689 bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 );
1692 bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 );
1695 fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 );
1697 lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
1698 lblOrganisations->Wrap( 1 );
1699 fgSizer5->Add( lblOrganisations, 0, wxALL, 5 );
1701 wxBoxSizer* bSizer301111111111;
1702 bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL );
1704 lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1705 bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 );
1707 wxBoxSizer* bSizer351111111111;
1708 bSizer351111111111 = new wxBoxSizer( wxVERTICAL );
1710 wxBoxSizer* bSizer461111111111;
1711 bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL );
1713 wxBoxSizer* bSizer471111111111;
1714 bSizer471111111111 = new wxBoxSizer( wxVERTICAL );
1716 btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1717 bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 );
1719 btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1720 bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 );
1722 btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1723 bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 );
1726 bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 );
1729 bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 );
1732 bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 );
1735 fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 );
1737 lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
1738 lblNotes->Wrap( 1 );
1739 fgSizer5->Add( lblNotes, 0, wxALL, 5 );
1741 wxBoxSizer* bSizer3011111111111;
1742 bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL );
1744 lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1745 bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 );
1747 wxBoxSizer* bSizer3511111111111;
1748 bSizer3511111111111 = new wxBoxSizer( wxVERTICAL );
1750 wxBoxSizer* bSizer4611111111111;
1751 bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL );
1753 wxBoxSizer* bSizer4711111111111;
1754 bSizer4711111111111 = new wxBoxSizer( wxVERTICAL );
1756 btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1757 bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 );
1759 btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1760 bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 );
1762 btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1763 bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 );
1766 bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 );
1769 bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 );
1772 bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 );
1775 fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 );
1778 bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 );
1781 tabGeneral->SetSizer( bSizer18 );
1782 tabGeneral->Layout();
1783 bSizer18->Fit( tabGeneral );
1784 nbkContact->AddPage( tabGeneral, wxT("General"), true );
1785 tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
1786 tabHome->SetScrollRate( 5, 5 );
1787 wxBoxSizer* bSizer181;
1788 bSizer181 = new wxBoxSizer( wxVERTICAL );
1790 wxGridSizer* gSizer71;
1791 gSizer71 = new wxGridSizer( 2, 6, 0, 0 );
1794 bSizer181->Add( gSizer71, 0, wxEXPAND, 5 );
1796 wxFlexGridSizer* fgSizer51;
1797 fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 );
1798 fgSizer51->AddGrowableCol( 1 );
1799 fgSizer51->SetFlexibleDirection( wxBOTH );
1800 fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1802 lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
1803 lblHomeNickname->Wrap( 0 );
1804 fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 );
1806 wxBoxSizer* szrAddresses12;
1807 szrAddresses12 = new wxBoxSizer( wxHORIZONTAL );
1809 lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1810 szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 );
1812 wxBoxSizer* szrAddressesOuter11;
1813 szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL );
1815 wxBoxSizer* bSizer4622;
1816 bSizer4622 = new wxBoxSizer( wxHORIZONTAL );
1818 wxBoxSizer* bSizer4722;
1819 bSizer4722 = new wxBoxSizer( wxVERTICAL );
1821 btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1822 bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 );
1824 btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1825 bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 );
1827 btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1828 bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 );
1831 bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 );
1834 szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 );
1837 szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 );
1840 fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 );
1842 lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
1843 lblHomeAddresses->Wrap( 1 );
1844 fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 );
1846 wxBoxSizer* szrAddresses1;
1847 szrAddresses1 = new wxBoxSizer( wxHORIZONTAL );
1849 lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1850 szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 );
1852 wxBoxSizer* szrAddressesOuter1;
1853 szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL );
1855 wxBoxSizer* bSizer462;
1856 bSizer462 = new wxBoxSizer( wxHORIZONTAL );
1858 wxBoxSizer* bSizer472;
1859 bSizer472 = new wxBoxSizer( wxVERTICAL );
1861 btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1862 bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 );
1864 btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1865 bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 );
1867 btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1868 bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 );
1871 bSizer462->Add( bSizer472, 1, wxEXPAND, 5 );
1874 szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 );
1877 szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 );
1880 fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 );
1882 lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 );
1883 lblHomeEmail->Wrap( 1 );
1884 fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 );
1886 wxBoxSizer* bSizer3012;
1887 bSizer3012 = new wxBoxSizer( wxHORIZONTAL );
1889 lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1890 bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 );
1892 wxBoxSizer* bSizer3512;
1893 bSizer3512 = new wxBoxSizer( wxVERTICAL );
1895 wxBoxSizer* bSizer4612;
1896 bSizer4612 = new wxBoxSizer( wxHORIZONTAL );
1898 wxBoxSizer* bSizer4712;
1899 bSizer4712 = new wxBoxSizer( wxVERTICAL );
1901 btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1902 bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 );
1904 btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1905 bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 );
1907 btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1908 bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 );
1911 bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 );
1914 bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 );
1917 bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 );
1920 fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 );
1922 lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
1923 lblHomeIM->Wrap( 0 );
1924 fgSizer51->Add( lblHomeIM, 0, wxALL, 5 );
1926 wxBoxSizer* bSizer30112;
1927 bSizer30112 = new wxBoxSizer( wxHORIZONTAL );
1929 lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1930 bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 );
1932 wxBoxSizer* bSizer35112;
1933 bSizer35112 = new wxBoxSizer( wxVERTICAL );
1935 wxBoxSizer* bSizer46112;
1936 bSizer46112 = new wxBoxSizer( wxHORIZONTAL );
1938 wxBoxSizer* bSizer47112;
1939 bSizer47112 = new wxBoxSizer( wxVERTICAL );
1941 btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1942 bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 );
1944 btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1945 bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 );
1947 btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1948 bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 );
1951 bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 );
1954 bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 );
1957 bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 );
1960 fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 );
1962 lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
1963 lblHomeTelephone->Wrap( 0 );
1964 fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 );
1966 wxBoxSizer* bSizer301112;
1967 bSizer301112 = new wxBoxSizer( wxHORIZONTAL );
1969 lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1970 bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 );
1972 wxBoxSizer* bSizer351112;
1973 bSizer351112 = new wxBoxSizer( wxVERTICAL );
1975 wxBoxSizer* bSizer461112;
1976 bSizer461112 = new wxBoxSizer( wxHORIZONTAL );
1978 wxBoxSizer* bSizer471112;
1979 bSizer471112 = new wxBoxSizer( wxVERTICAL );
1981 btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1982 bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 );
1984 btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1985 bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 );
1987 btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1988 bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 );
1991 bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 );
1994 bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 );
1997 bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 );
2000 fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 );
2002 lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
2003 lblHomeLanguages->Wrap( 0 );
2004 fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 );
2006 wxBoxSizer* bSizer3011112;
2007 bSizer3011112 = new wxBoxSizer( wxHORIZONTAL );
2009 lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2010 bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 );
2012 wxBoxSizer* bSizer3511112;
2013 bSizer3511112 = new wxBoxSizer( wxVERTICAL );
2015 wxBoxSizer* bSizer4611112;
2016 bSizer4611112 = new wxBoxSizer( wxHORIZONTAL );
2018 wxBoxSizer* bSizer4711112;
2019 bSizer4711112 = new wxBoxSizer( wxVERTICAL );
2021 btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2022 bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 );
2024 btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2025 bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 );
2027 btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2028 bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 );
2031 bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 );
2034 bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 );
2037 bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 );
2040 fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 );
2042 lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
2043 lblHomeTimezone->Wrap( 0 );
2044 fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 );
2046 wxBoxSizer* bSizer30111112;
2047 bSizer30111112 = new wxBoxSizer( wxHORIZONTAL );
2049 lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2050 bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 );
2052 wxBoxSizer* bSizer35111112;
2053 bSizer35111112 = new wxBoxSizer( wxVERTICAL );
2055 wxBoxSizer* bSizer46111112;
2056 bSizer46111112 = new wxBoxSizer( wxHORIZONTAL );
2058 wxBoxSizer* bSizer47111112;
2059 bSizer47111112 = new wxBoxSizer( wxVERTICAL );
2061 btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2062 bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 );
2064 btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2065 bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 );
2067 btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2068 bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 );
2071 bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 );
2074 bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 );
2077 bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 );
2080 fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 );
2082 lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
2083 lblHomeGeopositioning->Wrap( 0 );
2084 fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 );
2086 wxBoxSizer* bSizer301111141;
2087 bSizer301111141 = new wxBoxSizer( wxHORIZONTAL );
2089 lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2090 bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 );
2092 wxBoxSizer* bSizer351111141;
2093 bSizer351111141 = new wxBoxSizer( wxVERTICAL );
2095 wxBoxSizer* bSizer461111141;
2096 bSizer461111141 = new wxBoxSizer( wxHORIZONTAL );
2098 wxBoxSizer* bSizer471111141;
2099 bSizer471111141 = new wxBoxSizer( wxVERTICAL );
2101 btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2102 bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 );
2104 btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2105 bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 );
2107 btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2108 bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 );
2111 bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 );
2114 bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 );
2117 bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 );
2120 fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 );
2122 lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
2123 lblHomeWebsites->Wrap( 1 );
2124 fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 );
2126 wxBoxSizer* bSizer3011111112;
2127 bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL );
2129 lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2130 bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 );
2132 wxBoxSizer* bSizer3511111112;
2133 bSizer3511111112 = new wxBoxSizer( wxVERTICAL );
2135 wxBoxSizer* bSizer4611111112;
2136 bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL );
2138 wxBoxSizer* bSizer4711111112;
2139 bSizer4711111112 = new wxBoxSizer( wxVERTICAL );
2141 btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2142 bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 );
2144 btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2145 bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 );
2147 btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2148 bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 );
2151 bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 );
2154 bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 );
2157 bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 );
2160 fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 );
2162 lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
2163 lblHomeTitles->Wrap( 1 );
2164 fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 );
2166 wxBoxSizer* bSizer30111111112;
2167 bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL );
2169 lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2170 bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 );
2172 wxBoxSizer* bSizer35111111112;
2173 bSizer35111111112 = new wxBoxSizer( wxVERTICAL );
2175 wxBoxSizer* bSizer46111111112;
2176 bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL );
2178 wxBoxSizer* bSizer47111111112;
2179 bSizer47111111112 = new wxBoxSizer( wxVERTICAL );
2181 btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2182 bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 );
2184 btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2185 bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 );
2187 btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2188 bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 );
2191 bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 );
2194 bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 );
2197 bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 );
2200 fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 );
2202 lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
2203 lblHomeRoles->Wrap( 1 );
2204 fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 );
2206 wxBoxSizer* bSizer301111111112;
2207 bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL );
2209 lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2210 bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 );
2212 wxBoxSizer* bSizer351111111112;
2213 bSizer351111111112 = new wxBoxSizer( wxVERTICAL );
2215 wxBoxSizer* bSizer461111111112;
2216 bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL );
2218 wxBoxSizer* bSizer471111111112;
2219 bSizer471111111112 = new wxBoxSizer( wxVERTICAL );
2221 btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2222 bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 );
2224 btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2225 bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 );
2227 btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2228 bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 );
2231 bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 );
2234 bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 );
2237 bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 );
2240 fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 );
2242 lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
2243 lblHomeOrganisations->Wrap( 1 );
2244 fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 );
2246 wxBoxSizer* bSizer3011111111112;
2247 bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL );
2249 lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2250 bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 );
2252 wxBoxSizer* bSizer3511111111112;
2253 bSizer3511111111112 = new wxBoxSizer( wxVERTICAL );
2255 wxBoxSizer* bSizer4611111111112;
2256 bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL );
2258 wxBoxSizer* bSizer4711111111112;
2259 bSizer4711111111112 = new wxBoxSizer( wxVERTICAL );
2261 btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2262 bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 );
2264 btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2265 bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 );
2267 btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2268 bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 );
2271 bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 );
2274 bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 );
2277 bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 );
2280 fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 );
2282 lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
2283 lblHomeNotes->Wrap( 1 );
2284 fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 );
2286 wxBoxSizer* bSizer30111111111111;
2287 bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL );
2289 lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2290 bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 );
2292 wxBoxSizer* bSizer35111111111111;
2293 bSizer35111111111111 = new wxBoxSizer( wxVERTICAL );
2295 wxBoxSizer* bSizer46111111111111;
2296 bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL );
2298 wxBoxSizer* bSizer47111111111111;
2299 bSizer47111111111111 = new wxBoxSizer( wxVERTICAL );
2301 btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2302 bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 );
2304 btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2305 bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 );
2307 btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2308 bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 );
2311 bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 );
2314 bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 );
2317 bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 );
2320 fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 );
2323 bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 );
2326 tabHome->SetSizer( bSizer181 );
2328 bSizer181->Fit( tabHome );
2329 nbkContact->AddPage( tabHome, wxT("Home"), false );
2330 tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2331 tabBusiness->SetScrollRate( 5, 5 );
2332 wxBoxSizer* bSizer182;
2333 bSizer182 = new wxBoxSizer( wxVERTICAL );
2335 wxGridSizer* gSizer72;
2336 gSizer72 = new wxGridSizer( 2, 6, 0, 0 );
2339 bSizer182->Add( gSizer72, 0, wxEXPAND, 5 );
2341 wxFlexGridSizer* fgSizer52;
2342 fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 );
2343 fgSizer52->AddGrowableCol( 1 );
2344 fgSizer52->SetFlexibleDirection( wxBOTH );
2345 fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
2347 lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
2348 lblBusinessNickname->Wrap( 0 );
2349 fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 );
2351 wxBoxSizer* szrAddresses22;
2352 szrAddresses22 = new wxBoxSizer( wxHORIZONTAL );
2354 lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2355 szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 );
2357 wxBoxSizer* szrAddressesOuter22;
2358 szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL );
2360 wxBoxSizer* bSizer4632;
2361 bSizer4632 = new wxBoxSizer( wxHORIZONTAL );
2363 wxBoxSizer* bSizer4732;
2364 bSizer4732 = new wxBoxSizer( wxVERTICAL );
2366 btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2367 bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 );
2369 btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2370 bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 );
2372 btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2373 bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 );
2376 bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 );
2379 szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 );
2382 szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 );
2385 fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 );
2387 lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
2388 lblBusinessAddress->Wrap( 0 );
2389 fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 );
2391 wxBoxSizer* szrAddresses2;
2392 szrAddresses2 = new wxBoxSizer( wxHORIZONTAL );
2394 lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2395 szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 );
2397 wxBoxSizer* szrAddressesOuter2;
2398 szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL );
2400 wxBoxSizer* bSizer463;
2401 bSizer463 = new wxBoxSizer( wxHORIZONTAL );
2403 wxBoxSizer* bSizer473;
2404 bSizer473 = new wxBoxSizer( wxVERTICAL );
2406 btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2407 bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 );
2409 btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2410 bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 );
2412 btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2413 bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 );
2416 bSizer463->Add( bSizer473, 1, wxEXPAND, 5 );
2419 szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 );
2422 szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 );
2425 fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 );
2427 lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
2428 lblBusinessEmail->Wrap( 0 );
2429 fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 );
2431 wxBoxSizer* bSizer3013;
2432 bSizer3013 = new wxBoxSizer( wxHORIZONTAL );
2434 lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2435 bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 );
2437 wxBoxSizer* bSizer3513;
2438 bSizer3513 = new wxBoxSizer( wxVERTICAL );
2440 wxBoxSizer* bSizer4613;
2441 bSizer4613 = new wxBoxSizer( wxHORIZONTAL );
2443 wxBoxSizer* bSizer4713;
2444 bSizer4713 = new wxBoxSizer( wxVERTICAL );
2446 btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2447 bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 );
2449 btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2450 bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 );
2452 btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2453 bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 );
2456 bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 );
2459 bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 );
2462 bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 );
2465 fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 );
2467 lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
2468 lblBusinessIM->Wrap( 0 );
2469 fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 );
2471 wxBoxSizer* bSizer30113;
2472 bSizer30113 = new wxBoxSizer( wxHORIZONTAL );
2474 lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2475 bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 );
2477 wxBoxSizer* bSizer35113;
2478 bSizer35113 = new wxBoxSizer( wxVERTICAL );
2480 wxBoxSizer* bSizer46113;
2481 bSizer46113 = new wxBoxSizer( wxHORIZONTAL );
2483 wxBoxSizer* bSizer47113;
2484 bSizer47113 = new wxBoxSizer( wxVERTICAL );
2486 btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2487 bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 );
2489 btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2490 bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 );
2492 btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2493 bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 );
2496 bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 );
2499 bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 );
2502 bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 );
2505 fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 );
2507 lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
2508 lblBusinessTelephone->Wrap( 0 );
2509 fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 );
2511 wxBoxSizer* bSizer301113;
2512 bSizer301113 = new wxBoxSizer( wxHORIZONTAL );
2514 lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2515 bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 );
2517 wxBoxSizer* bSizer351113;
2518 bSizer351113 = new wxBoxSizer( wxVERTICAL );
2520 wxBoxSizer* bSizer461113;
2521 bSizer461113 = new wxBoxSizer( wxHORIZONTAL );
2523 wxBoxSizer* bSizer471113;
2524 bSizer471113 = new wxBoxSizer( wxVERTICAL );
2526 btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2527 bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 );
2529 btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2530 bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 );
2532 btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2533 bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 );
2536 bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 );
2539 bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 );
2542 bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 );
2545 fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 );
2547 lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
2548 lblBusinessLanguage->Wrap( 0 );
2549 fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 );
2551 wxBoxSizer* bSizer3011113;
2552 bSizer3011113 = new wxBoxSizer( wxHORIZONTAL );
2554 lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2555 bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 );
2557 wxBoxSizer* bSizer3511113;
2558 bSizer3511113 = new wxBoxSizer( wxVERTICAL );
2560 wxBoxSizer* bSizer4611113;
2561 bSizer4611113 = new wxBoxSizer( wxHORIZONTAL );
2563 wxBoxSizer* bSizer4711113;
2564 bSizer4711113 = new wxBoxSizer( wxVERTICAL );
2566 btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2567 bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 );
2569 btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2570 bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 );
2572 btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2573 bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 );
2576 bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 );
2579 bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 );
2582 bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 );
2585 fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 );
2587 lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
2588 lblBusinessTimezones->Wrap( 0 );
2589 fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 );
2591 wxBoxSizer* bSizer30111113;
2592 bSizer30111113 = new wxBoxSizer( wxHORIZONTAL );
2594 lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2595 bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 );
2597 wxBoxSizer* bSizer35111113;
2598 bSizer35111113 = new wxBoxSizer( wxVERTICAL );
2600 wxBoxSizer* bSizer46111113;
2601 bSizer46111113 = new wxBoxSizer( wxHORIZONTAL );
2603 wxBoxSizer* bSizer47111113;
2604 bSizer47111113 = new wxBoxSizer( wxVERTICAL );
2606 btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2607 bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 );
2609 btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2610 bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 );
2612 btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2613 bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 );
2616 bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 );
2619 bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 );
2622 bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 );
2625 fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 );
2627 lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
2628 lblBusinessGeopositioning->Wrap( 0 );
2629 fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 );
2631 wxBoxSizer* bSizer3011111411;
2632 bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL );
2634 lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2635 bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 );
2637 wxBoxSizer* bSizer3511111411;
2638 bSizer3511111411 = new wxBoxSizer( wxVERTICAL );
2640 wxBoxSizer* bSizer4611111411;
2641 bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL );
2643 wxBoxSizer* bSizer4711111411;
2644 bSizer4711111411 = new wxBoxSizer( wxVERTICAL );
2646 btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2647 bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 );
2649 btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2650 bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 );
2652 btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2653 bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 );
2656 bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 );
2659 bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 );
2662 bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 );
2665 fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 );
2667 lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
2668 lblBusinessWebsites->Wrap( 1 );
2669 fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 );
2671 wxBoxSizer* bSizer3011111113;
2672 bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL );
2674 lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2675 bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 );
2677 wxBoxSizer* bSizer3511111113;
2678 bSizer3511111113 = new wxBoxSizer( wxVERTICAL );
2680 wxBoxSizer* bSizer4611111113;
2681 bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL );
2683 wxBoxSizer* bSizer4711111113;
2684 bSizer4711111113 = new wxBoxSizer( wxVERTICAL );
2686 btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2687 bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 );
2689 btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2690 bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 );
2692 btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2693 bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 );
2696 bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 );
2699 bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 );
2702 bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 );
2705 fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 );
2707 lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
2708 lblBusinessTitles->Wrap( 1 );
2709 fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 );
2711 wxBoxSizer* bSizer30111111113;
2712 bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL );
2714 lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
2715 bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 );
2717 wxBoxSizer* bSizer35111111113;
2718 bSizer35111111113 = new wxBoxSizer( wxVERTICAL );
2720 wxBoxSizer* bSizer46111111113;
2721 bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL );
2723 wxBoxSizer* bSizer47111111113;
2724 bSizer47111111113 = new wxBoxSizer( wxVERTICAL );
2726 btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2727 bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 );
2729 btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2730 bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 );
2732 btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2733 bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 );
2736 bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 );
2739 bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 );
2742 bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 );
2745 fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 );
2747 lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
2748 lblBusinessRoles->Wrap( 1 );
2749 fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 );
2751 wxBoxSizer* bSizer301111111113;
2752 bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL );
2754 lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2755 bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 );
2757 wxBoxSizer* bSizer351111111113;
2758 bSizer351111111113 = new wxBoxSizer( wxVERTICAL );
2760 wxBoxSizer* bSizer461111111113;
2761 bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL );
2763 wxBoxSizer* bSizer471111111113;
2764 bSizer471111111113 = new wxBoxSizer( wxVERTICAL );
2766 btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2767 bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 );
2769 btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2770 bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 );
2772 btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2773 bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 );
2776 bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 );
2779 bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 );
2782 bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 );
2785 fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 );
2787 lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
2788 lblBusinessOrganisations->Wrap( 1 );
2789 fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 );
2791 wxBoxSizer* bSizer3011111111113;
2792 bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL );
2794 lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2795 bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 );
2797 wxBoxSizer* bSizer3511111111113;
2798 bSizer3511111111113 = new wxBoxSizer( wxVERTICAL );
2800 wxBoxSizer* bSizer4611111111113;
2801 bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL );
2803 wxBoxSizer* bSizer4711111111113;
2804 bSizer4711111111113 = new wxBoxSizer( wxVERTICAL );
2806 btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2807 bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 );
2809 btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2810 bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 );
2812 btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2813 bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 );
2816 bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 );
2819 bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 );
2822 bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 );
2825 fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 );
2827 lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
2828 lblBusinessNotes->Wrap( 1 );
2829 fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 );
2831 wxBoxSizer* bSizer30111111111112;
2832 bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL );
2834 lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2835 bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 );
2837 wxBoxSizer* bSizer35111111111112;
2838 bSizer35111111111112 = new wxBoxSizer( wxVERTICAL );
2840 wxBoxSizer* bSizer46111111111112;
2841 bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL );
2843 wxBoxSizer* bSizer47111111111112;
2844 bSizer47111111111112 = new wxBoxSizer( wxVERTICAL );
2846 btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2847 bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 );
2849 btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2850 bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 );
2852 btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2853 bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 );
2856 bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 );
2859 bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 );
2862 bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 );
2865 fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 );
2868 bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 );
2871 tabBusiness->SetSizer( bSizer182 );
2872 tabBusiness->Layout();
2873 bSizer182->Fit( tabBusiness );
2874 nbkContact->AddPage( tabBusiness, wxT("Business"), false );
2875 tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2876 tabCategories->SetScrollRate( 5, 5 );
2877 wxBoxSizer* szrAddresses11;
2878 szrAddresses11 = new wxBoxSizer( wxHORIZONTAL );
2880 lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2881 szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 );
2883 wxBoxSizer* szrCategoriesOuter;
2884 szrCategoriesOuter = new wxBoxSizer( wxVERTICAL );
2886 wxBoxSizer* bSizer4621;
2887 bSizer4621 = new wxBoxSizer( wxHORIZONTAL );
2889 wxBoxSizer* bSizer4721;
2890 bSizer4721 = new wxBoxSizer( wxVERTICAL );
2892 btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2893 bSizer4721->Add( btnAddCategory, 0, wxALL, 5 );
2895 btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2896 bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 );
2898 btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2899 bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 );
2902 bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 );
2905 szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 );
2908 szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 );
2911 tabCategories->SetSizer( szrAddresses11 );
2912 tabCategories->Layout();
2913 szrAddresses11->Fit( tabCategories );
2914 nbkContact->AddPage( tabCategories, wxT("Categories"), false );
2915 tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2916 tabMembers->SetScrollRate( 5, 5 );
2917 wxBoxSizer* szrAddresses111;
2918 szrAddresses111 = new wxBoxSizer( wxHORIZONTAL );
2920 lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2921 szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 );
2923 wxBoxSizer* szrCategoriesOuter1;
2924 szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL );
2926 wxBoxSizer* bSizer46211;
2927 bSizer46211 = new wxBoxSizer( wxHORIZONTAL );
2929 wxBoxSizer* bSizer47211;
2930 bSizer47211 = new wxBoxSizer( wxVERTICAL );
2932 btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2933 bSizer47211->Add( btnAddGroups, 0, wxALL, 5 );
2935 btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2936 bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 );
2938 btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2939 bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 );
2942 bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 );
2945 szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 );
2948 szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 );
2951 tabMembers->SetSizer( szrAddresses111 );
2952 tabMembers->Layout();
2953 szrAddresses111->Fit( tabMembers );
2954 nbkContact->AddPage( tabMembers, wxT("Members"), false );
2955 tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2956 tabPictures->SetScrollRate( 5, 5 );
2957 wxBoxSizer* bSizer210;
2958 bSizer210 = new wxBoxSizer( wxHORIZONTAL );
2960 imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
2961 bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 );
2963 wxBoxSizer* bSizer211;
2964 bSizer211 = new wxBoxSizer( wxVERTICAL );
2966 lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2967 bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 );
2969 wxBoxSizer* bSizer212;
2970 bSizer212 = new wxBoxSizer( wxVERTICAL );
2972 wxFlexGridSizer* fgSizer46;
2973 fgSizer46 = new wxFlexGridSizer( 2, 3, 0, 0 );
2974 fgSizer46->SetFlexibleDirection( wxBOTH );
2975 fgSizer46->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
2977 btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2978 fgSizer46->Add( btnAddPicture, 0, wxALL, 5 );
2980 btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2981 fgSizer46->Add( btnModifyPicture, 0, wxALL, 5 );
2983 btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2984 fgSizer46->Add( btnDeletePicture, 0, wxALL, 5 );
2986 btnSavePicture = new wxButton( tabPictures, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
2987 fgSizer46->Add( btnSavePicture, 0, wxALL, 5 );
2990 bSizer212->Add( fgSizer46, 1, wxEXPAND, 5 );
2993 bSizer211->Add( bSizer212, 0, wxEXPAND, 5 );
2996 bSizer210->Add( bSizer211, 1, wxEXPAND, 5 );
2999 tabPictures->SetSizer( bSizer210 );
3000 tabPictures->Layout();
3001 bSizer210->Fit( tabPictures );
3002 nbkContact->AddPage( tabPictures, wxT("Pictures"), false );
3003 tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3004 tabLogo->SetScrollRate( 5, 5 );
3005 wxBoxSizer* bSizer2101;
3006 bSizer2101 = new wxBoxSizer( wxHORIZONTAL );
3008 imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
3009 bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 );
3011 wxBoxSizer* bSizer2111;
3012 bSizer2111 = new wxBoxSizer( wxVERTICAL );
3014 lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3015 bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 );
3017 wxBoxSizer* bSizer2121;
3018 bSizer2121 = new wxBoxSizer( wxVERTICAL );
3020 wxFlexGridSizer* fgSizer47;
3021 fgSizer47 = new wxFlexGridSizer( 2, 3, 0, 0 );
3022 fgSizer47->SetFlexibleDirection( wxBOTH );
3023 fgSizer47->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3025 btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3026 fgSizer47->Add( btnAddLogo, 0, wxALL, 5 );
3028 btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3029 fgSizer47->Add( btnModifyLogo, 0, wxALL, 5 );
3031 btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3032 fgSizer47->Add( btnDeleteLogo, 0, wxALL, 5 );
3034 btnSaveLogo = new wxButton( tabLogo, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
3035 fgSizer47->Add( btnSaveLogo, 0, wxALL, 5 );
3038 bSizer2121->Add( fgSizer47, 1, wxEXPAND, 5 );
3041 bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 );
3044 bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 );
3047 tabLogo->SetSizer( bSizer2101 );
3049 bSizer2101->Fit( tabLogo );
3050 nbkContact->AddPage( tabLogo, wxT("Logos"), false );
3051 tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3052 tabSounds->SetScrollRate( 5, 5 );
3053 wxBoxSizer* szrAddresses1111;
3054 szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL );
3056 lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3057 szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 );
3059 wxBoxSizer* szrCategoriesOuter11;
3060 szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL );
3062 wxBoxSizer* bSizer462111;
3063 bSizer462111 = new wxBoxSizer( wxHORIZONTAL );
3065 wxBoxSizer* bSizer472111;
3066 bSizer472111 = new wxBoxSizer( wxVERTICAL );
3068 btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3069 bSizer472111->Add( btnAddSound, 0, wxALL, 5 );
3071 btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3072 bSizer472111->Add( btnModifySound, 0, wxALL, 5 );
3074 btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3075 bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 );
3077 btnSaveSound = new wxButton( tabSounds, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
3078 bSizer472111->Add( btnSaveSound, 0, wxALL, 5 );
3080 m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
3081 bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
3083 wxBoxSizer* bSizer348;
3084 bSizer348 = new wxBoxSizer( wxHORIZONTAL );
3086 btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
3087 btnPlay->SetMinSize( wxSize( -1,32 ) );
3089 bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 );
3091 btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
3092 btnStop->SetMinSize( wxSize( -1,32 ) );
3094 bSizer348->Add( btnStop, 0, wxALL, 5 );
3097 bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 );
3100 bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 );
3103 szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 );
3106 szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 );
3109 tabSounds->SetSizer( szrAddresses1111 );
3110 tabSounds->Layout();
3111 szrAddresses1111->Fit( tabSounds );
3112 nbkContact->AddPage( tabSounds, wxT("Sounds"), false );
3113 tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3114 tabCalendaring->SetScrollRate( 5, 5 );
3115 wxBoxSizer* bSizer1821;
3116 bSizer1821 = new wxBoxSizer( wxVERTICAL );
3118 wxFlexGridSizer* fgSizer521;
3119 fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 );
3120 fgSizer521->AddGrowableCol( 1 );
3121 fgSizer521->SetFlexibleDirection( wxBOTH );
3122 fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3124 lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
3125 lblCalendarAddresses->Wrap( 0 );
3126 fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 );
3128 wxBoxSizer* szrAddresses21;
3129 szrAddresses21 = new wxBoxSizer( wxHORIZONTAL );
3131 lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3132 szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 );
3134 wxBoxSizer* szrAddressesOuter21;
3135 szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL );
3137 wxBoxSizer* bSizer4631;
3138 bSizer4631 = new wxBoxSizer( wxHORIZONTAL );
3140 wxBoxSizer* bSizer4731;
3141 bSizer4731 = new wxBoxSizer( wxVERTICAL );
3143 btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3144 bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 );
3146 btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3147 bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 );
3149 btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3150 bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 );
3153 bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 );
3156 szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 );
3159 szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 );
3162 fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 );
3164 lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 );
3165 lblCalendarRequestAddresses->Wrap( 0 );
3166 fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 );
3168 wxBoxSizer* bSizer30131;
3169 bSizer30131 = new wxBoxSizer( wxHORIZONTAL );
3171 lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3172 bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 );
3174 wxBoxSizer* bSizer35131;
3175 bSizer35131 = new wxBoxSizer( wxVERTICAL );
3177 wxBoxSizer* bSizer46131;
3178 bSizer46131 = new wxBoxSizer( wxHORIZONTAL );
3180 wxBoxSizer* bSizer47131;
3181 bSizer47131 = new wxBoxSizer( wxVERTICAL );
3183 btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3184 bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 );
3186 btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3187 bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 );
3189 btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3190 bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 );
3193 bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 );
3196 bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 );
3199 bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 );
3202 fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 );
3204 lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
3205 lblFreeBusyAddresses->Wrap( 0 );
3206 fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 );
3208 wxBoxSizer* bSizer301131;
3209 bSizer301131 = new wxBoxSizer( wxHORIZONTAL );
3211 lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3212 bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 );
3214 wxBoxSizer* bSizer351131;
3215 bSizer351131 = new wxBoxSizer( wxVERTICAL );
3217 wxBoxSizer* bSizer461131;
3218 bSizer461131 = new wxBoxSizer( wxHORIZONTAL );
3220 wxBoxSizer* bSizer471131;
3221 bSizer471131 = new wxBoxSizer( wxVERTICAL );
3223 btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3224 bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 );
3226 btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3227 bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 );
3229 btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3230 bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 );
3233 bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 );
3236 bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 );
3239 bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 );
3242 fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 );
3245 bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 );
3248 tabCalendaring->SetSizer( bSizer1821 );
3249 tabCalendaring->Layout();
3250 bSizer1821->Fit( tabCalendaring );
3251 nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false );
3252 tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3253 tabSecurity->SetScrollRate( 5, 5 );
3254 wxBoxSizer* szrAddresses1112;
3255 szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL );
3257 lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3258 szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 );
3260 wxBoxSizer* szrCategoriesOuter12;
3261 szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL );
3263 wxBoxSizer* bSizer462112;
3264 bSizer462112 = new wxBoxSizer( wxHORIZONTAL );
3266 wxBoxSizer* bSizer472112;
3267 bSizer472112 = new wxBoxSizer( wxVERTICAL );
3269 btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3270 bSizer472112->Add( btnAddKey, 0, wxALL, 5 );
3272 btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3273 bSizer472112->Add( btnModifyKey, 0, wxALL, 5 );
3275 btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3276 bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 );
3279 bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 );
3282 szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 );
3285 szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 );
3288 tabSecurity->SetSizer( szrAddresses1112 );
3289 tabSecurity->Layout();
3290 szrAddresses1112->Fit( tabSecurity );
3291 nbkContact->AddPage( tabSecurity, wxT("Security"), false );
3292 tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3293 tabOther->SetScrollRate( 5, 5 );
3294 wxFlexGridSizer* fgSizer5211;
3295 fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 );
3296 fgSizer5211->AddGrowableCol( 1 );
3297 fgSizer5211->SetFlexibleDirection( wxBOTH );
3298 fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3300 lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 );
3301 lblVendorNamespace->Wrap( 0 );
3302 fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 );
3304 wxBoxSizer* szrAddresses211;
3305 szrAddresses211 = new wxBoxSizer( wxHORIZONTAL );
3307 lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
3308 szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 );
3310 wxBoxSizer* szrAddressesOuter211;
3311 szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL );
3313 wxBoxSizer* bSizer46311;
3314 bSizer46311 = new wxBoxSizer( wxHORIZONTAL );
3316 wxBoxSizer* bSizer47311;
3317 bSizer47311 = new wxBoxSizer( wxVERTICAL );
3319 btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3320 bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 );
3322 btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3323 bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 );
3325 btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3326 bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 );
3329 bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 );
3332 szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 );
3335 szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 );
3338 fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 );
3340 lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 );
3341 lblXTokens->Wrap( 0 );
3342 fgSizer5211->Add( lblXTokens, 0, wxALL, 5 );
3344 wxBoxSizer* bSizer301311;
3345 bSizer301311 = new wxBoxSizer( wxHORIZONTAL );
3347 lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3348 bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 );
3350 wxBoxSizer* bSizer351311;
3351 bSizer351311 = new wxBoxSizer( wxVERTICAL );
3353 wxBoxSizer* bSizer461311;
3354 bSizer461311 = new wxBoxSizer( wxHORIZONTAL );
3356 wxBoxSizer* bSizer471311;
3357 bSizer471311 = new wxBoxSizer( wxVERTICAL );
3359 btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3360 bSizer471311->Add( btnAddXToken, 0, wxALL, 5 );
3362 btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3363 bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 );
3365 btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3366 bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 );
3369 bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 );
3372 bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 );
3375 bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 );
3378 fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 );
3381 tabOther->SetSizer( fgSizer5211 );
3383 fgSizer5211->Fit( tabOther );
3384 nbkContact->AddPage( tabOther, wxT("Other"), false );
3386 bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 );
3389 this->SetSizer( bSizer17 );
3391 m_menubar3 = new wxMenuBar( 0 );
3392 mnuContact = new wxMenu();
3393 wxMenuItem* mnuContactSave;
3394 mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL );
3395 mnuContact->Append( mnuContactSave );
3397 wxMenuItem* mnuContactSaveClose;
3398 mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL );
3399 mnuContact->Append( mnuContactSaveClose );
3401 mnuContact->AppendSeparator();
3403 wxMenuItem* mnuContactClose;
3404 mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
3405 mnuContact->Append( mnuContactClose );
3407 m_menubar3->Append( mnuContact, wxT("&Contact") );
3409 mnuEdit = new wxMenu();
3410 wxMenuItem* mnuEditCut;
3411 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL );
3412 mnuEdit->Append( mnuEditCut );
3414 wxMenuItem* mnuEditCopy;
3415 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL );
3416 mnuEdit->Append( mnuEditCopy );
3418 wxMenuItem* mnuEditPaste;
3419 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL );
3420 mnuEdit->Append( mnuEditPaste );
3422 m_menubar3->Append( mnuEdit, wxT("&Edit") );
3424 this->SetMenuBar( m_menubar3 );
3427 this->Centre( wxBOTH );
3430 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
3431 txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3432 txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3433 txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3434 txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3435 txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3436 cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3437 cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3438 cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
3439 btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
3440 btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
3441 btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
3442 btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
3443 btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
3444 btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
3445 btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
3446 btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
3447 btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
3448 btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
3449 btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
3450 btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
3451 btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
3452 btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
3453 btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
3454 btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
3455 btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
3456 btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
3457 btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
3458 btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
3459 btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
3460 btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
3461 btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
3462 btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
3463 btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
3464 btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
3465 btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
3466 btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
3467 btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
3468 btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
3469 btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
3470 btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
3471 btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
3472 btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
3473 btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
3474 btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
3475 btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
3476 btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
3477 btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
3478 btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
3479 btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
3480 btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
3481 btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
3482 btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
3483 btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
3484 btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
3485 btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
3486 btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
3487 btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
3488 btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
3489 btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
3490 btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
3491 btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
3492 btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
3493 btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
3494 btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
3495 btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
3496 btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
3497 btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
3498 btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
3499 btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
3500 btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
3501 btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
3502 btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
3503 btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
3504 btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
3505 btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
3506 btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
3507 btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
3508 btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
3509 btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
3510 btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
3511 btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
3512 btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
3513 btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
3514 btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
3515 btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
3516 btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
3517 btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
3518 btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
3519 btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
3520 btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
3521 btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
3522 btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
3523 btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
3524 btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
3525 btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
3526 btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
3527 btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
3528 btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
3529 btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
3530 btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
3531 btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
3532 btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
3533 btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
3534 btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
3535 btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
3536 btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
3537 btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
3538 btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
3539 btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
3540 btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
3541 btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
3542 btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
3543 btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
3544 btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
3545 btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
3546 btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
3547 btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
3548 btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
3549 btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
3550 btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
3551 btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
3552 btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
3553 btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
3554 btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
3555 btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
3556 btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
3557 btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
3558 btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
3559 btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
3560 btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
3561 btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
3562 btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
3563 btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
3564 btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
3565 lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
3566 btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
3567 btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
3568 btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
3569 btnSavePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this );
3570 lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
3571 btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
3572 btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
3573 btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
3574 btnSaveLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this );
3575 btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
3576 btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
3577 btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
3578 btnSaveSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this );
3579 btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
3580 btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
3581 btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
3582 btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
3583 btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3584 btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
3585 btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
3586 btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3587 btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
3588 btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
3589 btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
3590 btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
3591 btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
3592 btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
3593 btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
3594 btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
3595 btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
3596 btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
3597 btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
3598 btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
3599 this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
3600 this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
3601 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
3602 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
3603 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
3604 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
3607 frmContactEditorADT::~frmContactEditorADT()
3609 // Disconnect Events
3610 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
3611 txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3612 txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3613 txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3614 txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3615 txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3616 cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3617 cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3618 cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
3619 btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
3620 btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
3621 btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
3622 btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
3623 btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
3624 btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
3625 btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
3626 btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
3627 btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
3628 btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
3629 btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
3630 btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
3631 btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
3632 btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
3633 btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
3634 btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
3635 btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
3636 btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
3637 btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
3638 btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
3639 btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
3640 btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
3641 btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
3642 btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
3643 btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
3644 btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
3645 btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
3646 btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
3647 btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
3648 btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
3649 btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
3650 btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
3651 btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
3652 btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
3653 btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
3654 btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
3655 btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
3656 btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
3657 btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
3658 btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
3659 btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
3660 btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
3661 btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
3662 btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
3663 btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
3664 btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
3665 btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
3666 btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
3667 btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
3668 btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
3669 btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
3670 btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
3671 btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
3672 btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
3673 btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
3674 btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
3675 btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
3676 btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
3677 btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
3678 btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
3679 btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
3680 btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
3681 btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
3682 btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
3683 btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
3684 btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
3685 btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
3686 btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
3687 btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
3688 btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
3689 btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
3690 btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
3691 btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
3692 btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
3693 btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
3694 btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
3695 btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
3696 btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
3697 btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
3698 btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
3699 btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
3700 btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
3701 btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
3702 btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
3703 btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
3704 btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
3705 btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
3706 btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
3707 btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
3708 btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
3709 btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
3710 btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
3711 btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
3712 btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
3713 btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
3714 btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
3715 btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
3716 btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
3717 btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
3718 btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
3719 btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
3720 btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
3721 btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
3722 btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
3723 btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
3724 btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
3725 btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
3726 btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
3727 btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
3728 btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
3729 btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
3730 btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
3731 btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
3732 btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
3733 btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
3734 btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
3735 btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
3736 btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
3737 btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
3738 btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
3739 btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
3740 btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
3741 btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
3742 btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
3743 btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
3744 btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
3745 lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
3746 btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
3747 btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
3748 btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
3749 btnSavePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this );
3750 lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
3751 btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
3752 btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
3753 btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
3754 btnSaveLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this );
3755 btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
3756 btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
3757 btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
3758 btnSaveSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this );
3759 btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
3760 btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
3761 btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
3762 btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
3763 btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3764 btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
3765 btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
3766 btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3767 btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
3768 btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
3769 btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
3770 btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
3771 btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
3772 btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
3773 btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
3774 btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
3775 btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
3776 btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
3777 btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
3778 btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
3779 this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
3780 this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
3781 this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
3782 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
3783 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
3784 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
3788 frmContactEditorAddressADT::frmContactEditorAddressADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
3790 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
3792 wxBoxSizer* bSizer251;
3793 bSizer251 = new wxBoxSizer( wxVERTICAL );
3795 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
3796 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3797 wxFlexGridSizer* fgSizer6;
3798 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
3799 fgSizer6->AddGrowableCol( 1 );
3800 fgSizer6->SetFlexibleDirection( wxVERTICAL );
3801 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3803 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
3804 lblAddress->Wrap( -1 );
3805 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3807 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3808 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
3810 m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 );
3811 m_staticText61->Wrap( -1 );
3812 fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3814 txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3815 fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 );
3817 lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 );
3818 lblCountyState->Wrap( -1 );
3819 fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3821 txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3822 fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 );
3824 lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 );
3825 lblPostCode->Wrap( -1 );
3826 fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3828 txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3829 fgSizer6->Add( txtPostCode, 0, wxALL, 5 );
3831 lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 );
3832 lblCountry->Wrap( -1 );
3833 fgSizer6->Add( lblCountry, 0, wxALL, 5 );
3835 txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3836 fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 );
3838 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
3839 lblPriority->Wrap( -1 );
3840 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
3842 wxBoxSizer* bSizer260;
3843 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
3845 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
3846 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
3848 wxBoxSizer* bSizer254;
3849 bSizer254 = new wxBoxSizer( wxVERTICAL );
3851 wxBoxSizer* bSizer256;
3852 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
3854 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
3855 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
3858 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
3860 wxBoxSizer* bSizer255;
3861 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
3863 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
3864 lblHigh->Wrap( -1 );
3865 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
3868 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
3870 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
3872 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
3875 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
3878 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
3881 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
3884 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
3887 tabGeneral->SetSizer( fgSizer6 );
3888 tabGeneral->Layout();
3889 fgSizer6->Fit( tabGeneral );
3890 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
3891 tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3892 wxBoxSizer* bSizer253;
3893 bSizer253 = new wxBoxSizer( wxVERTICAL );
3895 btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 );
3896 bSizer253->Add( btnCopyMailing, 0, wxALL, 5 );
3898 txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
3899 bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 );
3902 tabLabel->SetSizer( bSizer253 );
3904 bSizer253->Fit( tabLabel );
3905 nbkAddress->AddPage( tabLabel, wxT("Label"), false );
3906 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3907 wxFlexGridSizer* fgSizer61;
3908 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
3909 fgSizer61->AddGrowableCol( 1 );
3910 fgSizer61->SetFlexibleDirection( wxVERTICAL );
3911 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3913 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
3914 lblLanguage->Wrap( -1 );
3915 fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3917 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
3918 fgSizer61->Add( cmbLanguage, 0, wxALL, 5 );
3920 lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
3921 lblGeography->Wrap( -1 );
3922 fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3924 txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3925 fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 );
3927 lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
3928 lblTimezone->Wrap( -1 );
3929 fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3931 txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3932 fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 );
3935 tabOther->SetSizer( fgSizer61 );
3937 fgSizer61->Fit( tabOther );
3938 nbkAddress->AddPage( tabOther, wxT("Other"), false );
3940 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
3942 wxBoxSizer* bSizer252;
3943 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
3945 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
3946 bSizer252->Add( btnAction, 0, wxALL, 5 );
3948 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
3949 bSizer252->Add( btnClose, 0, wxALL, 5 );
3952 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
3955 this->SetSizer( bSizer251 );
3958 this->Centre( wxBOTH );
3961 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
3962 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
3963 btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
3964 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
3965 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
3968 frmContactEditorAddressADT::~frmContactEditorAddressADT()
3970 // Disconnect Events
3971 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
3972 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
3973 btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
3974 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
3975 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
3979 frmConflictResolutionADT::frmConflictResolutionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
3981 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
3983 wxFlexGridSizer* fgSizer39;
3984 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
3985 fgSizer39->AddGrowableCol( 0 );
3986 fgSizer39->AddGrowableRow( 0 );
3987 fgSizer39->SetFlexibleDirection( wxBOTH );
3988 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3990 wxBoxSizer* bSizer363;
3991 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
3993 wxBoxSizer* bSizer364;
3994 bSizer364 = new wxBoxSizer( wxVERTICAL );
3996 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 );
3997 lblText->Wrap( -1 );
3998 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
4000 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
4001 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
4003 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4004 wxBoxSizer* bSizer365;
4005 bSizer365 = new wxBoxSizer( wxVERTICAL );
4007 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
4008 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
4011 m_panel44->SetSizer( bSizer365 );
4012 m_panel44->Layout();
4013 bSizer365->Fit( m_panel44 );
4014 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4015 wxBoxSizer* bSizer366;
4016 bSizer366 = new wxBoxSizer( wxVERTICAL );
4018 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
4019 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
4022 m_panel45->SetSizer( bSizer366 );
4023 m_panel45->Layout();
4024 bSizer366->Fit( m_panel45 );
4025 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
4026 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
4028 wxBoxSizer* bSizer367;
4029 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
4032 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
4034 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
4035 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
4037 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
4038 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
4040 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
4041 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
4044 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
4047 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
4050 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
4053 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
4056 this->SetSizer( fgSizer39 );
4059 this->Centre( wxBOTH );
4062 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
4063 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
4064 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
4067 frmConflictResolutionADT::~frmConflictResolutionADT()
4069 // Disconnect Events
4070 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
4071 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
4072 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
4076 frmActivityMgrADT::frmActivityMgrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
4078 this->SetSizeHints( wxSize( 400,425 ), wxDefaultSize );
4080 mnuMenuBar = new wxMenuBar( 0 );
4081 mnuWindow = new wxMenu();
4082 wxMenuItem* mnuStopActivity;
4083 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
4084 mnuWindow->Append( mnuStopActivity );
4086 wxMenuItem* mnuActivityStopAll;
4087 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
4088 mnuWindow->Append( mnuActivityStopAll );
4090 wxMenuItem* mnuRetryActivity;
4091 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
4092 mnuWindow->Append( mnuRetryActivity );
4094 mnuWindow->AppendSeparator();
4096 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
4097 mnuWindow->Append( mnuSleepMode );
4099 mnuWindow->AppendSeparator();
4101 wxMenuItem* mnuWindowClose;
4102 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
4103 mnuWindow->Append( mnuWindowClose );
4105 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
4107 this->SetMenuBar( mnuMenuBar );
4109 wxFlexGridSizer* fgSizer38;
4110 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
4111 fgSizer38->AddGrowableCol( 0 );
4112 fgSizer38->AddGrowableRow( 1 );
4113 fgSizer38->SetFlexibleDirection( wxBOTH );
4114 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4116 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4117 wxBoxSizer* bSizer363;
4118 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
4120 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
4121 bmpActivity->SetMinSize( wxSize( 64,64 ) );
4123 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
4125 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4126 wxBoxSizer* bSizer364;
4127 bSizer364 = new wxBoxSizer( wxVERTICAL );
4130 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4132 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
4133 lblDetails->Wrap( -1 );
4134 bSizer364->Add( lblDetails, 0, wxALL|wxEXPAND, 0 );
4137 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4139 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
4140 GauProgress->SetValue( 0 );
4141 GauProgress->SetMinSize( wxSize( -1,20 ) );
4143 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
4146 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4149 m_panel46->SetSizer( bSizer364 );
4150 m_panel46->Layout();
4151 bSizer364->Fit( m_panel46 );
4152 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
4155 m_panel43->SetSizer( bSizer363 );
4156 m_panel43->Layout();
4157 bSizer363->Fit( m_panel43 );
4158 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
4160 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4161 wxBoxSizer* bSizer365;
4162 bSizer365 = new wxBoxSizer( wxVERTICAL );
4164 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
4165 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
4168 m_panel44->SetSizer( bSizer365 );
4169 m_panel44->Layout();
4170 bSizer365->Fit( m_panel44 );
4171 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
4174 this->SetSizer( fgSizer38 );
4177 this->Centre( wxBOTH );
4180 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
4181 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
4182 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
4183 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
4184 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
4185 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
4188 frmActivityMgrADT::~frmActivityMgrADT()
4190 // Disconnect Events
4191 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
4192 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
4193 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
4194 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
4195 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
4196 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
4200 frmContactEditorNicknameADT::frmContactEditorNicknameADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4202 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4204 wxBoxSizer* bSizer251;
4205 bSizer251 = new wxBoxSizer( wxVERTICAL );
4207 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4208 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4209 wxFlexGridSizer* fgSizer6;
4210 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4211 fgSizer6->AddGrowableCol( 1 );
4212 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4213 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4215 lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
4216 lblNickname->Wrap( -1 );
4217 fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4219 txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4220 fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 );
4222 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4223 lblPriority->Wrap( -1 );
4224 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4226 wxBoxSizer* bSizer260;
4227 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4229 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4230 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4232 wxBoxSizer* bSizer254;
4233 bSizer254 = new wxBoxSizer( wxVERTICAL );
4235 wxBoxSizer* bSizer256;
4236 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4238 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4239 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4242 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4244 wxBoxSizer* bSizer255;
4245 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4247 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4248 lblHigh->Wrap( -1 );
4249 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4252 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4254 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4256 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4259 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4262 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4265 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4268 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4271 tabGeneral->SetSizer( fgSizer6 );
4272 tabGeneral->Layout();
4273 fgSizer6->Fit( tabGeneral );
4274 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
4275 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4276 wxFlexGridSizer* fgSizer61;
4277 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
4278 fgSizer61->AddGrowableCol( 1 );
4279 fgSizer61->SetFlexibleDirection( wxBOTH );
4280 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4282 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
4283 lblLanguage->Wrap( -1 );
4284 fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4286 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4287 fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 );
4290 tabOther->SetSizer( fgSizer61 );
4292 fgSizer61->Fit( tabOther );
4293 nbkAddress->AddPage( tabOther, wxT("Other"), false );
4295 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
4297 wxBoxSizer* bSizer252;
4298 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4300 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4301 bSizer252->Add( btnAction, 0, wxALL, 5 );
4303 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4304 bSizer252->Add( btnClose, 0, wxALL, 5 );
4307 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4310 this->SetSizer( bSizer251 );
4313 this->Centre( wxBOTH );
4316 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
4317 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
4318 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
4319 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
4322 frmContactEditorNicknameADT::~frmContactEditorNicknameADT()
4324 // Disconnect Events
4325 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
4326 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
4327 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
4328 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
4332 frmContactEditorGroupsADT::frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4334 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
4336 wxBoxSizer* bSizer251;
4337 bSizer251 = new wxBoxSizer( wxVERTICAL );
4339 nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4340 tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4341 wxFlexGridSizer* fgSizer6;
4342 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4343 fgSizer6->AddGrowableCol( 1 );
4344 fgSizer6->AddGrowableRow( 0 );
4345 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4346 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4348 lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 );
4349 lblContacts->Wrap( -1 );
4350 fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 );
4352 wxArrayString chkContactsChoices;
4353 chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
4354 fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 );
4357 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4360 tabGeneral->SetSizer( fgSizer6 );
4361 tabGeneral->Layout();
4362 fgSizer6->Fit( tabGeneral );
4363 nbkGroup->AddPage( tabGeneral, wxT("General"), false );
4365 bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 );
4367 wxBoxSizer* bSizer252;
4368 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4370 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4371 bSizer252->Add( btnAction, 0, wxALL, 5 );
4373 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4374 bSizer252->Add( btnClose, 0, wxALL, 5 );
4377 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4380 this->SetSizer( bSizer251 );
4383 this->Centre( wxBOTH );
4386 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
4387 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
4388 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
4391 frmContactEditorGroupsADT::~frmContactEditorGroupsADT()
4393 // Disconnect Events
4394 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
4395 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
4396 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
4400 frmContactEditorRolesADT::frmContactEditorRolesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4402 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4404 wxBoxSizer* bSizer251;
4405 bSizer251 = new wxBoxSizer( wxVERTICAL );
4407 nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4408 tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4409 wxFlexGridSizer* fgSizer6;
4410 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4411 fgSizer6->AddGrowableCol( 1 );
4412 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4413 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4415 lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 );
4416 lblRole->Wrap( -1 );
4417 fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4419 txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4420 fgSizer6->Add( txtRole, 0, wxALL|wxEXPAND, 5 );
4422 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4423 lblPriority->Wrap( -1 );
4424 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4426 wxBoxSizer* bSizer260;
4427 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4429 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4430 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4432 wxBoxSizer* bSizer254;
4433 bSizer254 = new wxBoxSizer( wxVERTICAL );
4435 wxBoxSizer* bSizer256;
4436 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4438 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4439 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4442 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4444 wxBoxSizer* bSizer255;
4445 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4447 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4448 lblHigh->Wrap( -1 );
4449 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4452 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4454 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4456 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4459 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4462 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4465 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4468 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4471 tabGeneral->SetSizer( fgSizer6 );
4472 tabGeneral->Layout();
4473 fgSizer6->Fit( tabGeneral );
4474 nbkRole->AddPage( tabGeneral, wxT("General"), false );
4476 bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 );
4478 wxBoxSizer* bSizer252;
4479 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4481 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4482 bSizer252->Add( btnAction, 0, wxALL, 5 );
4484 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4485 bSizer252->Add( btnClose, 0, wxALL, 5 );
4488 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4491 this->SetSizer( bSizer251 );
4494 this->Centre( wxBOTH );
4497 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
4498 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
4499 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
4502 frmContactEditorRolesADT::~frmContactEditorRolesADT()
4504 // Disconnect Events
4505 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
4506 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
4507 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
4511 frmContactEditorOrganisationsADT::frmContactEditorOrganisationsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4513 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4515 wxBoxSizer* bSizer251;
4516 bSizer251 = new wxBoxSizer( wxVERTICAL );
4518 nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4519 tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4520 wxFlexGridSizer* fgSizer6;
4521 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4522 fgSizer6->AddGrowableCol( 1 );
4523 fgSizer6->SetFlexibleDirection( wxBOTH );
4524 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4526 lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 );
4527 lblOrganisation->Wrap( -1 );
4528 fgSizer6->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4530 txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4531 fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 );
4533 lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 );
4534 lblSortAs->Wrap( -1 );
4535 fgSizer6->Add( lblSortAs, 0, wxALL, 5 );
4537 cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4538 fgSizer6->Add( cmbSortAs, 1, wxALL, 5 );
4540 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4541 lblPriority->Wrap( -1 );
4542 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4544 wxBoxSizer* bSizer260;
4545 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4547 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4548 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4550 wxBoxSizer* bSizer254;
4551 bSizer254 = new wxBoxSizer( wxVERTICAL );
4553 wxBoxSizer* bSizer256;
4554 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4556 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4557 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4560 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4562 wxBoxSizer* bSizer255;
4563 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4565 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4566 lblHigh->Wrap( -1 );
4567 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4570 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4572 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4574 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4577 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4580 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4583 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4586 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4589 tabGeneral->SetSizer( fgSizer6 );
4590 tabGeneral->Layout();
4591 fgSizer6->Fit( tabGeneral );
4592 nbkOrganisation->AddPage( tabGeneral, wxT("General"), false );
4594 bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 );
4596 wxBoxSizer* bSizer252;
4597 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4599 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4600 bSizer252->Add( btnAction, 0, wxALL, 5 );
4602 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4603 bSizer252->Add( btnClose, 0, wxALL, 5 );
4606 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4609 this->SetSizer( bSizer251 );
4612 this->Centre( wxBOTH );
4615 txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
4616 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
4617 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
4618 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
4621 frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT()
4623 // Disconnect Events
4624 txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
4625 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
4626 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
4627 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
4631 frmContactEditorNotesADT::frmContactEditorNotesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4633 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4635 wxBoxSizer* bSizer251;
4636 bSizer251 = new wxBoxSizer( wxVERTICAL );
4638 nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4639 tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4640 wxBoxSizer* bSizer353;
4641 bSizer353 = new wxBoxSizer( wxVERTICAL );
4643 txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
4644 bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 );
4647 tabGeneral->SetSizer( bSizer353 );
4648 tabGeneral->Layout();
4649 bSizer353->Fit( tabGeneral );
4650 nbkNotes->AddPage( tabGeneral, wxT("General"), true );
4651 tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4652 wxFlexGridSizer* fgSizer61;
4653 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
4654 fgSizer61->AddGrowableCol( 1 );
4655 fgSizer61->SetFlexibleDirection( wxVERTICAL );
4656 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4658 lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4659 lblPriority->Wrap( -1 );
4660 fgSizer61->Add( lblPriority, 0, wxALL, 5 );
4662 wxBoxSizer* bSizer2601;
4663 bSizer2601 = new wxBoxSizer( wxHORIZONTAL );
4665 chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4666 bSizer2601->Add( chkUsePref, 0, wxALL, 5 );
4668 wxBoxSizer* bSizer2541;
4669 bSizer2541 = new wxBoxSizer( wxVERTICAL );
4671 wxBoxSizer* bSizer2561;
4672 bSizer2561 = new wxBoxSizer( wxHORIZONTAL );
4674 sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4675 bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4678 bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 );
4680 wxBoxSizer* bSizer2551;
4681 bSizer2551 = new wxBoxSizer( wxHORIZONTAL );
4683 lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4684 lblHigh->Wrap( -1 );
4685 bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4688 bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 );
4690 lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4692 bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4695 bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 );
4698 bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 );
4701 fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 );
4704 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
4707 tabPriority->SetSizer( fgSizer61 );
4708 tabPriority->Layout();
4709 fgSizer61->Fit( tabPriority );
4710 nbkNotes->AddPage( tabPriority, wxT("Priority"), false );
4711 tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4712 wxFlexGridSizer* fgSizer611;
4713 fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 );
4714 fgSizer611->AddGrowableCol( 0 );
4715 fgSizer611->SetFlexibleDirection( wxBOTH );
4716 fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4718 lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
4719 lblLanguage->Wrap( -1 );
4720 fgSizer611->Add( lblLanguage, 1, wxALL, 5 );
4722 cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4723 fgSizer611->Add( cmbLanguage, 1, wxALL, 5 );
4726 tabLanguage->SetSizer( fgSizer611 );
4727 tabLanguage->Layout();
4728 fgSizer611->Fit( tabLanguage );
4729 nbkNotes->AddPage( tabLanguage, wxT("Language"), false );
4731 bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 );
4733 wxBoxSizer* bSizer252;
4734 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4736 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4737 bSizer252->Add( btnAction, 0, wxALL, 5 );
4739 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4740 bSizer252->Add( btnClose, 0, wxALL, 5 );
4743 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4746 this->SetSizer( bSizer251 );
4749 this->Centre( wxBOTH );
4752 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
4753 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
4754 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
4757 frmContactEditorNotesADT::~frmContactEditorNotesADT()
4759 // Disconnect Events
4760 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
4761 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
4762 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
4766 frmContactEditorTitlesADT::frmContactEditorTitlesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4768 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4770 wxBoxSizer* bSizer251;
4771 bSizer251 = new wxBoxSizer( wxVERTICAL );
4773 nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4774 tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4775 wxFlexGridSizer* fgSizer6;
4776 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4777 fgSizer6->AddGrowableCol( 1 );
4778 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4779 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4781 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
4782 lblTitle->Wrap( -1 );
4783 fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4785 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4786 fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
4788 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4789 lblPriority->Wrap( -1 );
4790 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4792 wxBoxSizer* bSizer260;
4793 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4795 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4796 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4798 wxBoxSizer* bSizer254;
4799 bSizer254 = new wxBoxSizer( wxVERTICAL );
4801 wxBoxSizer* bSizer256;
4802 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4804 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4805 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4808 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4810 wxBoxSizer* bSizer255;
4811 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4813 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4814 lblHigh->Wrap( -1 );
4815 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4818 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4820 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4822 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4825 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4828 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4831 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4834 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4837 tabGeneral->SetSizer( fgSizer6 );
4838 tabGeneral->Layout();
4839 fgSizer6->Fit( tabGeneral );
4840 nbkTitles->AddPage( tabGeneral, wxT("General"), false );
4842 bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 );
4844 wxBoxSizer* bSizer252;
4845 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4847 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4848 bSizer252->Add( btnAction, 0, wxALL, 5 );
4850 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4851 bSizer252->Add( btnClose, 0, wxALL, 5 );
4854 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4857 this->SetSizer( bSizer251 );
4860 this->Centre( wxBOTH );
4863 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
4864 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
4865 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
4868 frmContactEditorTitlesADT::~frmContactEditorTitlesADT()
4870 // Disconnect Events
4871 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
4872 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
4873 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
4877 frmContactEditorRelatedADT::frmContactEditorRelatedADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4879 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4881 wxBoxSizer* bSizer251;
4882 bSizer251 = new wxBoxSizer( wxVERTICAL );
4884 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4885 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4886 wxFlexGridSizer* fgSizer6;
4887 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4888 fgSizer6->AddGrowableCol( 0 );
4889 fgSizer6->SetFlexibleDirection( wxBOTH );
4890 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4892 lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 );
4893 lblRelation->Wrap( -1 );
4894 fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4896 txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4897 fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 );
4899 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
4900 lblType->Wrap( -1 );
4901 fgSizer6->Add( lblType, 0, wxALL, 5 );
4903 cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4904 fgSizer6->Add( cmbType, 0, wxALL, 5 );
4906 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4907 lblPriority->Wrap( -1 );
4908 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4910 wxBoxSizer* bSizer260;
4911 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4913 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4914 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4916 wxBoxSizer* bSizer254;
4917 bSizer254 = new wxBoxSizer( wxVERTICAL );
4919 wxBoxSizer* bSizer256;
4920 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4922 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4923 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4926 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4928 wxBoxSizer* bSizer255;
4929 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4931 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4932 lblHigh->Wrap( -1 );
4933 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4936 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4938 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4940 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4943 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4946 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4949 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4952 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4955 tabGeneral->SetSizer( fgSizer6 );
4956 tabGeneral->Layout();
4957 fgSizer6->Fit( tabGeneral );
4958 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
4960 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
4962 wxBoxSizer* bSizer252;
4963 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4965 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4966 bSizer252->Add( btnAction, 0, wxALL, 5 );
4968 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4969 bSizer252->Add( btnClose, 0, wxALL, 5 );
4972 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4975 this->SetSizer( bSizer251 );
4978 this->Centre( wxBOTH );
4981 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
4982 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
4983 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
4986 frmContactEditorRelatedADT::~frmContactEditorRelatedADT()
4988 // Disconnect Events
4989 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
4990 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
4991 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
4995 frmContactEditorSoundADT::frmContactEditorSoundADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4997 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4999 wxBoxSizer* bSizer251;
5000 bSizer251 = new wxBoxSizer( wxVERTICAL );
5002 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5003 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5004 wxFlexGridSizer* fgSizer6;
5005 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5006 fgSizer6->AddGrowableCol( 1 );
5007 fgSizer6->SetFlexibleDirection( wxBOTH );
5008 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5010 lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 );
5011 lblSoundFile->Wrap( -1 );
5012 fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5014 fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
5015 fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 );
5017 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5018 lblType->Wrap( -1 );
5019 fgSizer6->Add( lblType, 0, wxALL, 5 );
5021 wxArrayString cmbTypeChoices;
5022 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5023 cmbType->SetSelection( 0 );
5024 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5026 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5027 lblPriority->Wrap( -1 );
5028 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5030 wxBoxSizer* bSizer260;
5031 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5033 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5034 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5036 wxBoxSizer* bSizer254;
5037 bSizer254 = new wxBoxSizer( wxVERTICAL );
5039 wxBoxSizer* bSizer256;
5040 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5042 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5043 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5046 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5048 wxBoxSizer* bSizer255;
5049 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5051 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5052 lblHigh->Wrap( -1 );
5053 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5056 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5058 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5060 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5063 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5066 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5069 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5072 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5075 tabGeneral->SetSizer( fgSizer6 );
5076 tabGeneral->Layout();
5077 fgSizer6->Fit( tabGeneral );
5078 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
5080 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
5082 wxBoxSizer* bSizer252;
5083 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5085 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5086 bSizer252->Add( btnAction, 0, wxALL, 5 );
5088 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5089 bSizer252->Add( btnClose, 0, wxALL, 5 );
5092 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5095 this->SetSizer( bSizer251 );
5098 this->Centre( wxBOTH );
5101 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
5102 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
5103 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
5106 frmContactEditorSoundADT::~frmContactEditorSoundADT()
5108 // Disconnect Events
5109 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
5110 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
5111 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
5115 frmContactEditorPictureADT::frmContactEditorPictureADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5117 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5119 wxBoxSizer* bSizer251;
5120 bSizer251 = new wxBoxSizer( wxVERTICAL );
5122 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5123 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5124 wxFlexGridSizer* fgSizer6;
5125 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5126 fgSizer6->AddGrowableCol( 1 );
5127 fgSizer6->SetFlexibleDirection( wxBOTH );
5128 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5130 lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 );
5131 lblPictureFile->Wrap( -1 );
5132 fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5134 fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
5135 fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 );
5137 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5138 lblType->Wrap( -1 );
5139 fgSizer6->Add( lblType, 0, wxALL, 5 );
5141 wxArrayString cmbTypeChoices;
5142 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5143 cmbType->SetSelection( 0 );
5144 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5146 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5147 lblPriority->Wrap( -1 );
5148 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5150 wxBoxSizer* bSizer260;
5151 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5153 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5154 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5156 wxBoxSizer* bSizer254;
5157 bSizer254 = new wxBoxSizer( wxVERTICAL );
5159 wxBoxSizer* bSizer256;
5160 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5162 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5163 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5166 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5168 wxBoxSizer* bSizer255;
5169 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5171 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5172 lblHigh->Wrap( -1 );
5173 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5176 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5178 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5180 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5183 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5186 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5189 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5192 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5195 tabGeneral->SetSizer( fgSizer6 );
5196 tabGeneral->Layout();
5197 fgSizer6->Fit( tabGeneral );
5198 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
5200 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
5202 wxBoxSizer* bSizer252;
5203 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5205 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5206 bSizer252->Add( btnAction, 0, wxALL, 5 );
5208 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5209 bSizer252->Add( btnClose, 0, wxALL, 5 );
5212 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5215 this->SetSizer( bSizer251 );
5218 this->Centre( wxBOTH );
5221 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
5222 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
5223 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
5226 frmContactEditorPictureADT::~frmContactEditorPictureADT()
5228 // Disconnect Events
5229 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
5230 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
5231 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
5235 frmContactEditorWebsitesADT::frmContactEditorWebsitesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5237 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5239 wxBoxSizer* bSizer251;
5240 bSizer251 = new wxBoxSizer( wxVERTICAL );
5242 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5243 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5244 wxFlexGridSizer* fgSizer6;
5245 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5246 fgSizer6->AddGrowableCol( 1 );
5247 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5248 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5250 lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 );
5251 lblWebsite->Wrap( -1 );
5252 fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5254 txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5255 fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 );
5257 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5258 lblPriority->Wrap( -1 );
5259 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5261 wxBoxSizer* bSizer260;
5262 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5264 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5265 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5267 wxBoxSizer* bSizer254;
5268 bSizer254 = new wxBoxSizer( wxVERTICAL );
5270 wxBoxSizer* bSizer256;
5271 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5273 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5274 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5277 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5279 wxBoxSizer* bSizer255;
5280 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5282 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5283 lblHigh->Wrap( -1 );
5284 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5287 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5289 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5291 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5294 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5297 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5300 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5303 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5306 tabGeneral->SetSizer( fgSizer6 );
5307 tabGeneral->Layout();
5308 fgSizer6->Fit( tabGeneral );
5309 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5311 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5313 wxBoxSizer* bSizer252;
5314 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5316 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5317 bSizer252->Add( btnAction, 0, wxALL, 5 );
5319 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5320 bSizer252->Add( btnClose, 0, wxALL, 5 );
5323 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5326 this->SetSizer( bSizer251 );
5329 this->Centre( wxBOTH );
5332 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
5333 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
5334 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
5337 frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT()
5339 // Disconnect Events
5340 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
5341 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
5342 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
5346 frmContactEditorGeopositionADT::frmContactEditorGeopositionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5348 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5350 wxBoxSizer* bSizer251;
5351 bSizer251 = new wxBoxSizer( wxVERTICAL );
5353 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5354 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5355 wxFlexGridSizer* fgSizer6;
5356 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5357 fgSizer6->AddGrowableCol( 1 );
5358 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5359 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5361 lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 );
5362 lblGeoposition->Wrap( -1 );
5363 fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5365 txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5366 fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 );
5368 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5369 lblPriority->Wrap( -1 );
5370 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5372 wxBoxSizer* bSizer260;
5373 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5375 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5376 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5378 wxBoxSizer* bSizer254;
5379 bSizer254 = new wxBoxSizer( wxVERTICAL );
5381 wxBoxSizer* bSizer256;
5382 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5384 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5385 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5388 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5390 wxBoxSizer* bSizer255;
5391 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5393 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5394 lblHigh->Wrap( -1 );
5395 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5398 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5400 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5402 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5405 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5408 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5411 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5414 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5417 tabGeneral->SetSizer( fgSizer6 );
5418 tabGeneral->Layout();
5419 fgSizer6->Fit( tabGeneral );
5420 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5422 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5424 wxBoxSizer* bSizer252;
5425 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5427 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5428 bSizer252->Add( btnAction, 0, wxALL, 5 );
5430 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5431 bSizer252->Add( btnClose, 0, wxALL, 5 );
5434 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5437 this->SetSizer( bSizer251 );
5440 this->Centre( wxBOTH );
5443 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
5444 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
5445 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
5448 frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT()
5450 // Disconnect Events
5451 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
5452 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
5453 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
5457 frmContactEditorCalAdrADT::frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5459 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5461 wxBoxSizer* bSizer251;
5462 bSizer251 = new wxBoxSizer( wxVERTICAL );
5464 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5465 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5466 wxFlexGridSizer* fgSizer6;
5467 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5468 fgSizer6->AddGrowableCol( 1 );
5469 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5470 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5472 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5473 lblAddress->Wrap( -1 );
5474 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5476 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5477 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
5479 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5480 lblType->Wrap( -1 );
5481 fgSizer6->Add( lblType, 0, wxALL, 5 );
5483 wxArrayString cmbTypeChoices;
5484 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5485 cmbType->SetSelection( 0 );
5486 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5488 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5489 lblPriority->Wrap( -1 );
5490 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5492 wxBoxSizer* bSizer260;
5493 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5495 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5496 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5498 wxBoxSizer* bSizer254;
5499 bSizer254 = new wxBoxSizer( wxVERTICAL );
5501 wxBoxSizer* bSizer256;
5502 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5504 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5505 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5508 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5510 wxBoxSizer* bSizer255;
5511 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5513 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5514 lblHigh->Wrap( -1 );
5515 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5518 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5520 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5522 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5525 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5528 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5531 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5534 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5537 tabGeneral->SetSizer( fgSizer6 );
5538 tabGeneral->Layout();
5539 fgSizer6->Fit( tabGeneral );
5540 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5542 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5544 wxBoxSizer* bSizer252;
5545 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5547 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5548 bSizer252->Add( btnAction, 0, wxALL, 5 );
5550 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5551 bSizer252->Add( btnClose, 0, wxALL, 5 );
5554 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5557 this->SetSizer( bSizer251 );
5560 this->Centre( wxBOTH );
5563 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
5564 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
5565 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
5568 frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT()
5570 // Disconnect Events
5571 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
5572 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
5573 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
5577 frmContactEditorVendorADT::frmContactEditorVendorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5579 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5581 wxBoxSizer* bSizer251;
5582 bSizer251 = new wxBoxSizer( wxVERTICAL );
5584 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5585 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5586 wxFlexGridSizer* fgSizer6;
5587 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5588 fgSizer6->AddGrowableCol( 1 );
5589 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5590 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5592 lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 );
5593 lblVendorPEN->Wrap( -1 );
5594 fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5596 txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5597 fgSizer6->Add( txtPEN, 0, wxALL, 5 );
5599 lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 );
5600 lblElement->Wrap( -1 );
5601 fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5603 txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5604 fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 );
5606 lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
5607 lblValue->Wrap( -1 );
5608 fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5610 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5611 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
5614 tabGeneral->SetSizer( fgSizer6 );
5615 tabGeneral->Layout();
5616 fgSizer6->Fit( tabGeneral );
5617 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5619 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5621 wxBoxSizer* bSizer252;
5622 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5624 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5625 bSizer252->Add( btnAction, 0, wxALL, 5 );
5627 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5628 bSizer252->Add( btnClose, 0, wxALL, 5 );
5631 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5634 this->SetSizer( bSizer251 );
5637 this->Centre( wxBOTH );
5640 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
5641 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
5644 frmContactEditorVendorADT::~frmContactEditorVendorADT()
5646 // Disconnect Events
5647 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
5648 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
5652 frmContactEditorXTokenADT::frmContactEditorXTokenADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5654 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5656 wxBoxSizer* bSizer251;
5657 bSizer251 = new wxBoxSizer( wxVERTICAL );
5659 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5660 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5661 wxFlexGridSizer* fgSizer6;
5662 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5663 fgSizer6->AddGrowableCol( 1 );
5664 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5665 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5667 lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
5668 lblTokenName->Wrap( -1 );
5669 fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5671 txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5672 fgSizer6->Add( txtTokenName, 0, wxALL, 5 );
5674 lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
5676 fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5678 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5679 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
5682 tabGeneral->SetSizer( fgSizer6 );
5683 tabGeneral->Layout();
5684 fgSizer6->Fit( tabGeneral );
5685 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5687 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5689 wxBoxSizer* bSizer252;
5690 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5692 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5693 bSizer252->Add( btnAction, 0, wxALL, 5 );
5695 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5696 bSizer252->Add( btnClose, 0, wxALL, 5 );
5699 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5702 this->SetSizer( bSizer251 );
5705 this->Centre( wxBOTH );
5708 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
5709 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
5712 frmContactEditorXTokenADT::~frmContactEditorXTokenADT()
5714 // Disconnect Events
5715 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
5716 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
5720 frmContactEditorKeyADT::frmContactEditorKeyADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5722 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5724 wxBoxSizer* bSizer251;
5725 bSizer251 = new wxBoxSizer( wxVERTICAL );
5727 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5728 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5729 wxFlexGridSizer* fgSizer6;
5730 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5731 fgSizer6->AddGrowableCol( 1 );
5732 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5733 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5735 lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5736 lblKeyType->Wrap( -1 );
5737 fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5739 wxArrayString cmbKeyMainTypeChoices;
5740 cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 );
5741 cmbKeyMainType->SetSelection( 0 );
5742 fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 );
5744 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5745 lblType->Wrap( -1 );
5746 fgSizer6->Add( lblType, 0, wxALL, 5 );
5748 wxArrayString cmbTypeChoices;
5749 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5750 cmbType->SetSelection( 0 );
5751 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5753 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5754 lblPriority->Wrap( -1 );
5755 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5757 wxBoxSizer* bSizer260;
5758 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5760 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5761 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5763 wxBoxSizer* bSizer254;
5764 bSizer254 = new wxBoxSizer( wxVERTICAL );
5766 wxBoxSizer* bSizer256;
5767 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5769 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5770 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5773 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5775 wxBoxSizer* bSizer255;
5776 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5778 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5779 lblHigh->Wrap( -1 );
5780 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5783 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5785 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5787 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5790 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5793 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5796 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5799 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5802 tabGeneral->SetSizer( fgSizer6 );
5803 tabGeneral->Layout();
5804 fgSizer6->Fit( tabGeneral );
5805 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5806 tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5807 wxFlexGridSizer* fgSizer61;
5808 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
5809 fgSizer61->AddGrowableCol( 1 );
5810 fgSizer61->SetFlexibleDirection( wxHORIZONTAL );
5811 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5813 lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
5814 lblKeyFormat->Wrap( -1 );
5815 fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5817 cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
5818 fgSizer61->Add( cmbURL, 0, wxALL, 5 );
5820 lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5821 lblAddress->Wrap( -1 );
5822 fgSizer61->Add( lblAddress, 0, wxALL, 5 );
5824 txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5825 fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 );
5828 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
5831 tabURL->SetSizer( fgSizer61 );
5833 fgSizer61->Fit( tabURL );
5834 nbkWebsite->AddPage( tabURL, wxT("URL"), false );
5835 tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5836 wxFlexGridSizer* fgSizer62;
5837 fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 );
5838 fgSizer62->AddGrowableCol( 1 );
5839 fgSizer62->AddGrowableRow( 1 );
5840 fgSizer62->SetFlexibleDirection( wxBOTH );
5841 fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5843 lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
5844 lblKeyFormatData->Wrap( -1 );
5845 fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 );
5847 cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
5848 fgSizer62->Add( cmbKeyType, 0, wxALL, 5 );
5850 lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 );
5851 lblKeyData->Wrap( -1 );
5852 fgSizer62->Add( lblKeyData, 0, wxALL, 5 );
5854 txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
5855 fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 );
5858 tabKey->SetSizer( fgSizer62 );
5860 fgSizer62->Fit( tabKey );
5861 nbkWebsite->AddPage( tabKey, wxT("Key"), true );
5863 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5865 wxBoxSizer* bSizer252;
5866 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5868 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5869 bSizer252->Add( btnAction, 0, wxALL, 5 );
5871 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5872 bSizer252->Add( btnClose, 0, wxALL, 5 );
5875 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5878 this->SetSizer( bSizer251 );
5881 this->Centre( wxBOTH );
5884 cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
5885 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
5886 cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
5887 cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
5888 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
5889 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
5892 frmContactEditorKeyADT::~frmContactEditorKeyADT()
5894 // Disconnect Events
5895 cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
5896 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
5897 cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
5898 cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
5899 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
5900 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
5904 frmContactEditorEmailADT::frmContactEditorEmailADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5906 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5908 wxBoxSizer* bSizer251;
5909 bSizer251 = new wxBoxSizer( wxVERTICAL );
5911 nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5912 tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5913 wxFlexGridSizer* fgSizer6;
5914 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5915 fgSizer6->AddGrowableCol( 1 );
5916 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5917 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5919 lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5920 lblEmailAddress->Wrap( -1 );
5921 fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5923 txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5924 fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 );
5926 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5927 lblPriority->Wrap( -1 );
5928 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5930 wxBoxSizer* bSizer260;
5931 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5933 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5934 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5936 wxBoxSizer* bSizer254;
5937 bSizer254 = new wxBoxSizer( wxVERTICAL );
5939 wxBoxSizer* bSizer256;
5940 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5942 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5943 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5946 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5948 wxBoxSizer* bSizer255;
5949 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5951 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5952 lblHigh->Wrap( -1 );
5953 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5956 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5958 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5960 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5963 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5966 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5969 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5972 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5975 tabGeneral->SetSizer( fgSizer6 );
5976 tabGeneral->Layout();
5977 fgSizer6->Fit( tabGeneral );
5978 nbkEmail->AddPage( tabGeneral, wxT("General"), false );
5980 bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 );
5982 wxBoxSizer* bSizer252;
5983 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5985 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5986 bSizer252->Add( btnAction, 0, wxALL, 5 );
5988 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5989 bSizer252->Add( btnClose, 0, wxALL, 5 );
5992 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5995 this->SetSizer( bSizer251 );
5998 this->Centre( wxBOTH );
6001 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
6002 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
6003 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
6006 frmContactEditorEmailADT::~frmContactEditorEmailADT()
6008 // Disconnect Events
6009 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
6010 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
6011 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
6015 frmContactEditorIMADT::frmContactEditorIMADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6017 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6019 wxBoxSizer* bSizer251;
6020 bSizer251 = new wxBoxSizer( wxVERTICAL );
6022 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6023 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6024 wxFlexGridSizer* fgSizer6;
6025 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6026 fgSizer6->AddGrowableCol( 1 );
6027 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6028 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6030 lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 );
6031 lblIMType->Wrap( -1 );
6032 fgSizer6->Add( lblIMType, 0, wxALL, 5 );
6034 cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN );
6035 fgSizer6->Add( cmbIMType, 0, wxALL, 5 );
6037 lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 );
6038 lblUsername->Wrap( 0 );
6039 fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6041 txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6042 fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
6044 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6045 lblPriority->Wrap( -1 );
6046 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6048 wxBoxSizer* bSizer260;
6049 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6051 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6052 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6054 wxBoxSizer* bSizer254;
6055 bSizer254 = new wxBoxSizer( wxVERTICAL );
6057 wxBoxSizer* bSizer256;
6058 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6060 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6061 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6064 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6066 wxBoxSizer* bSizer255;
6067 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6069 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6070 lblHigh->Wrap( -1 );
6071 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6074 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6076 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6078 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6081 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6084 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6087 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6090 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6093 tabGeneral->SetSizer( fgSizer6 );
6094 tabGeneral->Layout();
6095 fgSizer6->Fit( tabGeneral );
6096 nbkIM->AddPage( tabGeneral, wxT("General"), false );
6098 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
6100 wxBoxSizer* bSizer252;
6101 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6103 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6104 bSizer252->Add( btnAction, 0, wxALL, 5 );
6106 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6107 bSizer252->Add( btnClose, 0, wxALL, 5 );
6110 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6113 this->SetSizer( bSizer251 );
6116 this->Centre( wxBOTH );
6119 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
6120 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
6121 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
6124 frmContactEditorIMADT::~frmContactEditorIMADT()
6126 // Disconnect Events
6127 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
6128 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
6129 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
6133 frmContactEditorCategoryADT::frmContactEditorCategoryADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6135 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6137 wxBoxSizer* bSizer251;
6138 bSizer251 = new wxBoxSizer( wxVERTICAL );
6140 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6141 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6142 wxFlexGridSizer* fgSizer6;
6143 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6144 fgSizer6->AddGrowableCol( 1 );
6145 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6146 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6148 lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 );
6149 lblCategory->Wrap( 0 );
6150 fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6152 txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6153 fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 );
6155 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
6156 lblType->Wrap( -1 );
6157 fgSizer6->Add( lblType, 0, wxALL, 5 );
6159 wxArrayString cmbTypeChoices;
6160 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
6161 cmbType->SetSelection( 0 );
6162 fgSizer6->Add( cmbType, 0, wxALL, 5 );
6164 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6165 lblPriority->Wrap( -1 );
6166 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6168 wxBoxSizer* bSizer260;
6169 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6171 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6172 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6174 wxBoxSizer* bSizer254;
6175 bSizer254 = new wxBoxSizer( wxVERTICAL );
6177 wxBoxSizer* bSizer256;
6178 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6180 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6181 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6184 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6186 wxBoxSizer* bSizer255;
6187 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6189 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6190 lblHigh->Wrap( -1 );
6191 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6194 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6196 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6198 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6201 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6204 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6207 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6210 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6213 tabGeneral->SetSizer( fgSizer6 );
6214 tabGeneral->Layout();
6215 fgSizer6->Fit( tabGeneral );
6216 nbkIM->AddPage( tabGeneral, wxT("General"), false );
6218 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
6220 wxBoxSizer* bSizer252;
6221 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6223 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6224 bSizer252->Add( btnAction, 0, wxALL, 5 );
6226 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6227 bSizer252->Add( btnClose, 0, wxALL, 5 );
6230 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6233 this->SetSizer( bSizer251 );
6236 this->Centre( wxBOTH );
6239 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
6240 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
6241 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
6244 frmContactEditorCategoryADT::~frmContactEditorCategoryADT()
6246 // Disconnect Events
6247 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
6248 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
6249 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
6253 frmContactEditorTelephoneADT::frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6255 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6257 wxBoxSizer* bSizer251;
6258 bSizer251 = new wxBoxSizer( wxVERTICAL );
6260 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6261 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6262 wxFlexGridSizer* fgSizer6;
6263 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6264 fgSizer6->AddGrowableCol( 1 );
6265 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6266 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6268 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
6269 lblTelephone->Wrap( -1 );
6270 fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6272 txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6273 fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 );
6275 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6276 lblPriority->Wrap( -1 );
6277 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6279 wxBoxSizer* bSizer260;
6280 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6282 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6283 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6285 wxBoxSizer* bSizer254;
6286 bSizer254 = new wxBoxSizer( wxVERTICAL );
6288 wxBoxSizer* bSizer256;
6289 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6291 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6292 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6295 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6297 wxBoxSizer* bSizer255;
6298 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6300 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6301 lblHigh->Wrap( -1 );
6302 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6305 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6307 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6309 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6312 bSizer254->Add( bSizer255, 0, wxEXPAND, 0 );
6315 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6318 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6320 lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
6321 lblTelephoneType->Wrap( 0 );
6322 fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 );
6324 wxGridSizer* gSizer5;
6325 gSizer5 = new wxGridSizer( 0, 2, 0, 0 );
6327 chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 );
6328 gSizer5->Add( chkVoice, 0, wxALL, 2 );
6330 chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
6331 gSizer5->Add( chkText, 0, wxALL, 2 );
6333 chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 );
6334 gSizer5->Add( chkFax, 0, wxALL, 2 );
6336 chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 );
6337 gSizer5->Add( chkMobile, 0, wxALL, 2 );
6339 chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 );
6340 gSizer5->Add( chkVideo, 0, wxALL, 2 );
6342 chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 );
6343 gSizer5->Add( chkTextphone, 0, wxALL, 2 );
6345 chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 );
6346 gSizer5->Add( chkPager, 0, wxALL, 2 );
6349 fgSizer6->Add( gSizer5, 1, 0, 5 );
6352 tabGeneral->SetSizer( fgSizer6 );
6353 tabGeneral->Layout();
6354 fgSizer6->Fit( tabGeneral );
6355 nbkAddress->AddPage( tabGeneral, wxT("General"), false );
6357 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
6359 wxBoxSizer* bSizer252;
6360 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6362 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6363 bSizer252->Add( btnAction, 0, wxALL, 5 );
6365 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6366 bSizer252->Add( btnClose, 0, wxALL, 5 );
6369 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6372 this->SetSizer( bSizer251 );
6375 this->Centre( wxBOTH );
6378 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
6379 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
6380 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
6383 frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT()
6385 // Disconnect Events
6386 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
6387 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
6388 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
6392 frmContactEditorLanguagesADT::frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6394 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6396 wxBoxSizer* bSizer251;
6397 bSizer251 = new wxBoxSizer( wxVERTICAL );
6399 nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6400 tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6401 wxFlexGridSizer* fgSizer6;
6402 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6403 fgSizer6->AddGrowableCol( 1 );
6404 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6405 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6407 lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
6408 lblLanguage->Wrap( -1 );
6409 fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6411 txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6412 fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 );
6414 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6415 lblPriority->Wrap( -1 );
6416 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6418 wxBoxSizer* bSizer260;
6419 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6421 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6422 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6424 wxBoxSizer* bSizer254;
6425 bSizer254 = new wxBoxSizer( wxVERTICAL );
6427 wxBoxSizer* bSizer256;
6428 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6430 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6431 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6434 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6436 wxBoxSizer* bSizer255;
6437 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6439 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6440 lblHigh->Wrap( -1 );
6441 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6444 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6446 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6448 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6451 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6454 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6457 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6460 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6463 tabGeneral->SetSizer( fgSizer6 );
6464 tabGeneral->Layout();
6465 fgSizer6->Fit( tabGeneral );
6466 nbkLanguages->AddPage( tabGeneral, wxT("General"), false );
6468 bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 );
6470 wxBoxSizer* bSizer252;
6471 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6473 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6474 bSizer252->Add( btnAction, 0, wxALL, 5 );
6476 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6477 bSizer252->Add( btnClose, 0, wxALL, 5 );
6480 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6483 this->SetSizer( bSizer251 );
6486 this->Centre( wxBOTH );
6489 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
6490 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
6491 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
6494 frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT()
6496 // Disconnect Events
6497 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
6498 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
6499 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
6503 frmContactEditorTimezonesADT::frmContactEditorTimezonesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6505 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6507 wxBoxSizer* bSizer251;
6508 bSizer251 = new wxBoxSizer( wxVERTICAL );
6510 nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6511 tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6512 wxFlexGridSizer* fgSizer6;
6513 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6514 fgSizer6->AddGrowableCol( 1 );
6515 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6516 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6518 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
6519 lblTimezone->Wrap( -1 );
6520 fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6522 cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
6523 fgSizer6->Add( cmbTimezone, 0, wxALL, 5 );
6525 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6526 lblPriority->Wrap( -1 );
6527 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6529 wxBoxSizer* bSizer260;
6530 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6532 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6533 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6535 wxBoxSizer* bSizer254;
6536 bSizer254 = new wxBoxSizer( wxVERTICAL );
6538 wxBoxSizer* bSizer256;
6539 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6541 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6542 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6545 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6547 wxBoxSizer* bSizer255;
6548 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6550 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6551 lblHigh->Wrap( -1 );
6552 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6555 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6557 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6559 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6562 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6565 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6568 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6571 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6574 tabGeneral->SetSizer( fgSizer6 );
6575 tabGeneral->Layout();
6576 fgSizer6->Fit( tabGeneral );
6577 nbkTimezone->AddPage( tabGeneral, wxT("General"), false );
6579 bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 );
6581 wxBoxSizer* bSizer252;
6582 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6584 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6585 bSizer252->Add( btnAction, 0, wxALL, 5 );
6587 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6588 bSizer252->Add( btnClose, 0, wxALL, 5 );
6591 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6594 this->SetSizer( bSizer251 );
6597 this->Centre( wxBOTH );
6600 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
6601 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
6602 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
6605 frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT()
6607 // Disconnect Events
6608 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
6609 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
6610 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
6614 XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
6616 this->SetMinSize( wxSize( -1,40 ) );
6617 this->SetMaxSize( wxSize( -1,40 ) );
6619 wxFlexGridSizer* fgSizer40;
6620 fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 );
6621 fgSizer40->AddGrowableCol( 1 );
6622 fgSizer40->SetFlexibleDirection( wxBOTH );
6623 fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6625 wxArrayString choOptionChoices;
6626 choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 );
6627 choOption->SetSelection( 0 );
6628 fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 );
6630 szrSSet = new wxBoxSizer( wxHORIZONTAL );
6632 chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 );
6633 szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6635 txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6636 szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6639 fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 );
6641 wxBoxSizer* bSizer376;
6642 bSizer376 = new wxBoxSizer( wxHORIZONTAL );
6644 btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
6645 btnAdd->SetMinSize( wxSize( 28,28 ) );
6646 btnAdd->SetMaxSize( wxSize( 28,28 ) );
6648 bSizer376->Add( btnAdd, 0, wxALL, 5 );
6650 btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
6651 btnDelete->SetMinSize( wxSize( 28,28 ) );
6652 btnDelete->SetMaxSize( wxSize( 28,28 ) );
6654 bSizer376->Add( btnDelete, 0, wxALL, 5 );
6657 fgSizer40->Add( bSizer376, 0, 0, 5 );
6660 this->SetSizer( fgSizer40 );
6664 choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
6665 btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
6666 btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
6669 XABSearchPanelADT::~XABSearchPanelADT()
6671 // Disconnect Events
6672 choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
6673 btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
6674 btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
6678 frmSearchAccountsADT::frmSearchAccountsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6680 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6682 wxBoxSizer* bSizer376;
6683 bSizer376 = new wxBoxSizer( wxVERTICAL );
6685 wxArrayString chlAccountsChoices;
6686 chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
6687 bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 );
6689 wxBoxSizer* bSizer377;
6690 bSizer377 = new wxBoxSizer( wxHORIZONTAL );
6693 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
6695 btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 );
6696 bSizer377->Add( btnSelect, 0, wxALL, 5 );
6698 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
6699 bSizer377->Add( btnCancel, 0, wxALL, 5 );
6702 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
6705 bSizer376->Add( bSizer377, 0, wxEXPAND, 5 );
6708 this->SetSizer( bSizer376 );
6711 this->Centre( wxBOTH );
6714 btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
6715 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
6718 frmSearchAccountsADT::~frmSearchAccountsADT()
6720 // Disconnect Events
6721 btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
6722 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
6726 frmEditAccountADT::frmEditAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6728 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6730 wxBoxSizer* bSizer384;
6731 bSizer384 = new wxBoxSizer( wxVERTICAL );
6733 wxBoxSizer* szrTabs;
6734 szrTabs = new wxBoxSizer( wxVERTICAL );
6736 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6737 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6738 wxFlexGridSizer* fgSizer43;
6739 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
6740 fgSizer43->AddGrowableCol( 1 );
6741 fgSizer43->SetFlexibleDirection( wxBOTH );
6742 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
6744 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
6745 lblAccName->Wrap( -1 );
6746 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6748 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6749 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
6751 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
6752 lblAccAdr->Wrap( -1 );
6753 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6755 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6756 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
6758 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
6759 m_staticText193->Wrap( -1 );
6760 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6762 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6764 if ( !txtPort->HasFlag( wxTE_MULTILINE ) )
6766 txtPort->SetMaxLength( 5 );
6769 txtPort->SetMaxLength( 5 );
6771 fgSizer43->Add( txtPort, 0, wxALL, 5 );
6773 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
6774 lblPort->Wrap( -1 );
6775 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6777 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6778 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
6780 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
6781 lblPassword->Wrap( -1 );
6782 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6784 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
6785 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
6787 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
6788 lblPrefix->Wrap( -1 );
6789 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6791 wxBoxSizer* bSizer391;
6792 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
6794 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6795 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
6797 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
6798 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
6801 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
6803 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
6805 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6807 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
6808 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
6811 tabProperties->SetSizer( fgSizer43 );
6812 tabProperties->Layout();
6813 fgSizer43->Fit( tabProperties );
6814 tabAccount->AddPage( tabProperties, wxT("General"), true );
6815 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6816 wxFlexGridSizer* fgSizer431;
6817 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
6818 fgSizer431->AddGrowableCol( 1 );
6819 fgSizer431->SetFlexibleDirection( wxBOTH );
6820 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
6822 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
6823 lblRefresh->Wrap( -1 );
6824 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6826 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6828 if ( !txtRefresh->HasFlag( wxTE_MULTILINE ) )
6830 txtRefresh->SetMaxLength( 5 );
6833 txtRefresh->SetMaxLength( 5 );
6835 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
6838 tabRefresh->SetSizer( fgSizer431 );
6839 tabRefresh->Layout();
6840 fgSizer431->Fit( tabRefresh );
6841 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
6843 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
6846 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
6848 wxBoxSizer* szrButtons;
6849 szrButtons = new wxBoxSizer( wxHORIZONTAL );
6852 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
6854 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
6855 btnSave->SetDefault();
6856 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
6859 szrButtons->Add( 5, 0, 0, 0, 0 );
6861 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
6862 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
6865 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
6868 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
6871 this->SetSizer( bSizer384 );
6874 this->Centre( wxBOTH );
6877 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
6878 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
6879 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
6882 frmEditAccountADT::~frmEditAccountADT()
6884 // Disconnect Events
6885 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
6886 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
6887 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
6891 frmSSLCertificateADT::frmSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6893 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6895 wxBoxSizer* bSizer384;
6896 bSizer384 = new wxBoxSizer( wxVERTICAL );
6898 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6899 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6900 wxBoxSizer* bSizer386;
6901 bSizer386 = new wxBoxSizer( wxVERTICAL );
6903 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6904 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
6906 wxBoxSizer* bSizer389;
6907 bSizer389 = new wxBoxSizer( wxVERTICAL );
6909 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
6910 lblCertName->Wrap( -1 );
6911 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
6913 bSizer389->Add( lblCertName, 0, wxALL, 5 );
6915 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
6916 lblValidityStatus->Wrap( -1 );
6917 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
6920 pnlTop->SetSizer( bSizer389 );
6922 bSizer389->Fit( pnlTop );
6923 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
6925 wxBoxSizer* bSizer392;
6926 bSizer392 = new wxBoxSizer( wxVERTICAL );
6928 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6929 wxFlexGridSizer* fgSizer44;
6930 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
6931 fgSizer44->AddGrowableCol( 1 );
6932 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
6933 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6935 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
6936 lblIssuedTo->Wrap( -1 );
6937 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
6939 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
6940 lblIssuedToData->Wrap( -1 );
6941 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
6943 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
6944 lblValidFrom->Wrap( -1 );
6945 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
6947 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
6948 lblValidFromData->Wrap( -1 );
6949 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
6951 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
6952 lblValidUntil->Wrap( -1 );
6953 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
6955 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
6956 lblValidUntilData->Wrap( -1 );
6957 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
6960 m_panel54->SetSizer( fgSizer44 );
6961 m_panel54->Layout();
6962 fgSizer44->Fit( m_panel54 );
6963 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
6966 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
6969 tabSummary->SetSizer( bSizer386 );
6970 tabSummary->Layout();
6971 bSizer386->Fit( tabSummary );
6972 m_notebook28->AddPage( tabSummary, wxT("Summary"), true );
6973 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6974 wxBoxSizer* bSizer3891;
6975 bSizer3891 = new wxBoxSizer( wxVERTICAL );
6977 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
6978 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
6980 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
6981 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
6983 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
6986 tabDetail->SetSizer( bSizer3891 );
6987 tabDetail->Layout();
6988 bSizer3891->Fit( tabDetail );
6989 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
6990 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6991 wxBoxSizer* bSizer390;
6992 bSizer390 = new wxBoxSizer( wxVERTICAL );
6994 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
6995 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
6997 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6998 wxBoxSizer* bSizer393;
6999 bSizer393 = new wxBoxSizer( wxVERTICAL );
7001 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
7002 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
7005 m_panel57->SetSizer( bSizer393 );
7006 m_panel57->Layout();
7007 bSizer393->Fit( m_panel57 );
7008 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
7011 tabHierarchy->SetSizer( bSizer390 );
7012 tabHierarchy->Layout();
7013 bSizer390->Fit( tabHierarchy );
7014 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false );
7016 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
7018 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
7019 wxBoxSizer* bSizer385;
7020 bSizer385 = new wxBoxSizer( wxVERTICAL );
7022 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
7023 btnClose->SetDefault();
7024 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
7027 pnlButtons->SetSizer( bSizer385 );
7028 pnlButtons->Layout();
7029 bSizer385->Fit( pnlButtons );
7030 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
7033 this->SetSizer( bSizer384 );
7036 this->Centre( wxBOTH );
7039 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
7040 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
7041 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
7042 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
7045 frmSSLCertificateADT::~frmSSLCertificateADT()
7047 // Disconnect Events
7048 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
7049 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
7050 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
7051 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
7055 frmInvalidSSLCertificateADT::frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
7057 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
7059 wxBoxSizer* bSizer387;
7060 bSizer387 = new wxBoxSizer( wxVERTICAL );
7062 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
7063 lblSSLText->Wrap( -1 );
7064 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
7066 wxBoxSizer* bSizer388;
7067 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
7069 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
7070 bSizer388->Add( btnAccept, 0, wxALL, 5 );
7072 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
7073 btnReject->SetDefault();
7074 bSizer388->Add( btnReject, 0, wxALL, 5 );
7076 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
7077 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
7080 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
7083 this->SetSizer( bSizer387 );
7086 this->Centre( wxBOTH );
7089 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
7090 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
7091 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
7094 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
7096 // Disconnect Events
7097 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
7098 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
7099 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
7103 frmImportContactsADT::frmImportContactsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
7105 this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) );
7107 wxBoxSizer* bSizer393;
7108 bSizer393 = new wxBoxSizer( wxVERTICAL );
7110 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 );
7111 lblImportText->Wrap( 300 );
7112 bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 );
7114 wxArrayString lstContactsChoices;
7115 lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
7116 bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
7118 szrAccount = new wxBoxSizer( wxHORIZONTAL );
7120 lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
7121 lblAccountText->Wrap( -1 );
7122 szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
7125 bSizer393->Add( szrAccount, 0, wxEXPAND, 5 );
7127 wxBoxSizer* bSizer394;
7128 bSizer394 = new wxBoxSizer( wxHORIZONTAL );
7130 btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
7131 btnImport->SetDefault();
7132 bSizer394->Add( btnImport, 0, wxALL, 5 );
7134 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
7135 bSizer394->Add( btnCancel, 0, wxALL, 5 );
7138 bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 );
7141 this->SetSizer( bSizer393 );
7144 this->Centre( wxBOTH );
7147 btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
7148 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
7151 frmImportContactsADT::~frmImportContactsADT()
7153 // Disconnect Events
7154 btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
7155 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
7159 frmImportResultsADT::frmImportResultsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
7161 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
7163 wxBoxSizer* bSizer396;
7164 bSizer396 = new wxBoxSizer( wxVERTICAL );
7166 lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 );
7167 lblText->Wrap( -1 );
7168 bSizer396->Add( lblText, 0, wxALL, 5 );
7170 txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
7171 bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 );
7173 wxBoxSizer* bSizer397;
7174 bSizer397 = new wxBoxSizer( wxHORIZONTAL );
7176 btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 );
7177 btnCopyClipboard->Hide();
7179 bSizer397->Add( btnCopyClipboard, 0, 0, 5 );
7181 btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 );
7182 bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
7185 bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
7188 this->SetSizer( bSizer396 );
7191 this->Centre( wxBOTH );
7194 btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
7195 btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
7198 frmImportResultsADT::~frmImportResultsADT()
7200 // Disconnect Events
7201 btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
7202 btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );