1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Feb 24 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, wxID_ANY, 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, wxID_ANY, 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, wxST_SIZEGRIP, wxID_ANY );
214 this->Centre( wxBOTH );
217 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
218 this->Connect( mnuNewAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
219 this->Connect( mnuRefreshAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
220 this->Connect( mnuImport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
221 this->Connect( mnuExport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
222 this->Connect( mnuPreferences->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
223 this->Connect( mnuExit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
224 this->Connect( mnuNewContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
225 this->Connect( mnuEditContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
226 this->Connect( deleteContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
227 this->Connect( mnuFindContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
228 this->Connect( mnuViewFNLN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
229 this->Connect( mnuViewLNFN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
230 this->Connect( mnuViewNick->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
231 this->Connect( mnuViewDisplayAs->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
232 this->Connect( mnuViewAsc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
233 this->Connect( mnuViewDesc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
234 this->Connect( mnuViewStatusBar->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
235 this->Connect( mnuViewActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
236 this->Connect( mnuCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
237 this->Connect( mnuCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
238 this->Connect( mnuPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
239 this->Connect( showHelp->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
240 this->Connect( mnuHelpUpdates->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
241 this->Connect( mnuAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
242 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this );
243 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
244 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
245 lstContacts->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this );
246 htmContactData->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
247 stbBottom->Connect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
250 frmMainADT::~frmMainADT()
253 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
254 this->Disconnect( ID_MANAGE_NEWAB, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
255 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
256 this->Disconnect( ID_IMPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
257 this->Disconnect( ID_EXPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
258 this->Disconnect( wxID_PREFERENCES, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
259 this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
260 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
261 this->Disconnect( ID_CONTACT_EDIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
262 this->Disconnect( ID_CONTACT_DELETE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
263 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
264 this->Disconnect( ID_VIEW_FNLN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
265 this->Disconnect( ID_VIEW_LNFN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
266 this->Disconnect( ID_VIEW_NICK, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
267 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
268 this->Disconnect( ID_VIEW_ASC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
269 this->Disconnect( ID_VIEW_DESC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
270 this->Disconnect( ID_VIEW_STATUSBAR, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
271 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
272 this->Disconnect( ID_MANAGE_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
273 this->Disconnect( ID_MANAGE_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
274 this->Disconnect( ID_MANAGE_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
275 this->Disconnect( ID_HELP_SHOW, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
276 this->Disconnect( ID_MANAGE_UPDATE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
277 this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
278 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this );
279 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
280 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
281 lstContacts->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this );
282 htmContactData->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
283 stbBottom->Disconnect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
287 frmUpdateADT::frmUpdateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
289 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
291 wxBoxSizer* bSizer390;
292 bSizer390 = new wxBoxSizer( wxVERTICAL );
294 pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
295 wxBoxSizer* bSizer391;
296 bSizer391 = new wxBoxSizer( wxVERTICAL );
298 wxFlexGridSizer* fgSizer45;
299 fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 );
300 fgSizer45->SetFlexibleDirection( wxBOTH );
301 fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
303 lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 );
304 lblRunningText->Wrap( -1 );
305 fgSizer45->Add( lblRunningText, 0, wxALL, 5 );
307 lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 );
308 lblRunningVer->Wrap( -1 );
309 fgSizer45->Add( lblRunningVer, 0, wxALL, 5 );
311 lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 );
312 lblAvailableText->Wrap( -1 );
313 fgSizer45->Add( lblAvailableText, 0, wxALL, 5 );
315 lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 );
316 lblAvailableVer->Wrap( -1 );
317 fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 );
319 lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 );
320 lblBuildTypeText->Wrap( -1 );
321 fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 );
323 lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 );
324 lblBuildType->Wrap( -1 );
325 fgSizer45->Add( lblBuildType, 0, wxALL, 5 );
328 bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 );
330 lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 );
331 lblUpdateMessage->Wrap( -1 );
332 bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 );
335 pnlUpdateData->SetSizer( bSizer391 );
336 pnlUpdateData->Layout();
337 bSizer391->Fit( pnlUpdateData );
338 bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 );
340 statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
341 bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 );
343 wxBoxSizer* bSizer392;
344 bSizer392 = new wxBoxSizer( wxHORIZONTAL );
346 btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 );
347 bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
349 btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 );
350 bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 );
352 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
353 bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
356 bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 );
359 this->SetSizer( bSizer390 );
362 this->Centre( wxBOTH );
365 btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
366 btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
367 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
370 frmUpdateADT::~frmUpdateADT()
373 btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
374 btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
375 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
379 frmSearchADT::frmSearchADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
381 this->SetSizeHints( wxSize( 300,450 ), wxDefaultSize );
383 stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
384 wxBoxSizer* bSizer368;
385 bSizer368 = new wxBoxSizer( wxVERTICAL );
387 m_splitter4 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
388 m_splitter4->Connect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this );
389 m_splitter4->SetMinimumPaneSize( 1 );
391 m_panel60 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
392 wxBoxSizer* bSizer382;
393 bSizer382 = new wxBoxSizer( wxVERTICAL );
395 wxBoxSizer* bSizer369;
396 bSizer369 = new wxBoxSizer( wxHORIZONTAL );
398 nbkSearch = new wxNotebook( m_panel60, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
399 tabSearch = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE|wxHSCROLL|wxVSCROLL );
400 tabSearch->SetScrollRate( 5, 5 );
401 szrSearch = new wxFlexGridSizer( 0, 1, 0, 0 );
402 szrSearch->AddGrowableCol( 0 );
403 szrSearch->SetFlexibleDirection( wxVERTICAL );
404 szrSearch->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
407 tabSearch->SetSizer( szrSearch );
409 szrSearch->Fit( tabSearch );
410 nbkSearch->AddPage( tabSearch, wxT("Search"), true );
411 tabAdvanced = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
412 tabAdvanced->SetScrollRate( 5, 5 );
413 wxBoxSizer* bSizer384;
414 bSizer384 = new wxBoxSizer( wxVERTICAL );
416 btnSelectAccounts = new wxButton( tabAdvanced, wxID_ANY, wxT("Select Accounts..."), wxDefaultPosition, wxDefaultSize, 0 );
417 bSizer384->Add( btnSelectAccounts, 0, wxALL, 5 );
420 tabAdvanced->SetSizer( bSizer384 );
421 tabAdvanced->Layout();
422 bSizer384->Fit( tabAdvanced );
423 nbkSearch->AddPage( tabAdvanced, wxT("Advanced"), false );
425 bSizer369->Add( nbkSearch, 1, wxEXPAND | wxALL, 5 );
427 wxBoxSizer* bSizer371;
428 bSizer371 = new wxBoxSizer( wxVERTICAL );
430 btnSearch = new wxButton( m_panel60, wxID_ANY, wxT("Search"), wxDefaultPosition, wxDefaultSize, 0 );
431 bSizer371->Add( btnSearch, 0, wxALL, 5 );
433 btnReset = new wxButton( m_panel60, wxID_ANY, wxT("Reset"), wxDefaultPosition, wxDefaultSize, 0 );
434 bSizer371->Add( btnReset, 0, wxALL, 5 );
437 bSizer369->Add( bSizer371, 0, wxEXPAND, 5 );
440 bSizer382->Add( bSizer369, 1, wxEXPAND, 5 );
443 m_panel60->SetSizer( bSizer382 );
445 bSizer382->Fit( m_panel60 );
446 m_panel61 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
447 wxBoxSizer* bSizer386;
448 bSizer386 = new wxBoxSizer( wxVERTICAL );
450 lstResults = new wxListCtrl( m_panel61, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
451 bSizer386->Add( lstResults, 1, wxALL|wxEXPAND, 5 );
454 m_panel61->SetSizer( bSizer386 );
456 bSizer386->Fit( m_panel61 );
457 m_splitter4->SplitHorizontally( m_panel60, m_panel61, 178 );
458 bSizer368->Add( m_splitter4, 1, wxEXPAND, 5 );
461 this->SetSizer( bSizer368 );
463 m_menubar5 = new wxMenuBar( 0 );
464 mnuContact = new wxMenu();
465 wxMenuItem* mnuContactOpen;
466 mnuContactOpen = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Open Contact...") ) + wxT('\t') + wxT("CTRL+O"), wxEmptyString, wxITEM_NORMAL );
467 mnuContact->Append( mnuContactOpen );
469 mnuContactEdit = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
470 mnuContact->Append( mnuContactEdit );
472 mnuContactReveal = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Reveal Contact") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
473 mnuContact->Append( mnuContactReveal );
475 mnuContact->AppendSeparator();
477 wxMenuItem* mnuContactClose;
478 mnuContactClose = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
479 mnuContact->Append( mnuContactClose );
481 m_menubar5->Append( mnuContact, wxT("Contact") );
483 this->SetMenuBar( m_menubar5 );
486 this->Centre( wxBOTH );
489 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
490 btnSelectAccounts->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
491 btnSearch->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
492 btnReset->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
493 lstResults->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this );
494 this->Connect( mnuContactOpen->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
495 this->Connect( mnuContactEdit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
496 this->Connect( mnuContactReveal->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
497 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
500 frmSearchADT::~frmSearchADT()
503 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
504 btnSelectAccounts->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
505 btnSearch->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
506 btnReset->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
507 lstResults->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this );
508 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
509 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
510 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
511 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
515 frmPreferencesADT::frmPreferencesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
517 this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) );
520 szrMain = new wxBoxSizer( wxVERTICAL );
523 szrTabs = new wxBoxSizer( wxVERTICAL );
525 NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
526 tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
527 wxBoxSizer* szrChecks;
528 szrChecks = new wxBoxSizer( wxVERTICAL );
530 chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
531 szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 );
533 chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 );
534 szrChecks->Add( chkHideLocal, 0, wxALL, 5 );
537 tabGeneral->SetSizer( szrChecks );
538 tabGeneral->Layout();
539 szrChecks->Fit( tabGeneral );
540 NbtPreferences->AddPage( tabGeneral, wxT("General"), true );
541 tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
544 wxGridSizer* szrTheme;
545 szrTheme = new wxGridSizer( 1, 1, 0, 0 );
547 wxBoxSizer* bSizer161;
548 bSizer161 = new wxBoxSizer( wxVERTICAL );
550 lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
551 bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
553 wxBoxSizer* bSizer151;
554 bSizer151 = new wxBoxSizer( wxHORIZONTAL );
556 btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
557 bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
559 btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
560 btnThemeModify->Enable( false );
562 bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
564 btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
565 btnThemeDelete->Enable( false );
567 bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
570 bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
573 szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
576 tabTheme->SetSizer( szrTheme );
578 szrTheme->Fit( tabTheme );
579 NbtPreferences->AddPage( tabTheme, wxT("Themes"), false );
580 tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
581 wxGridSizer* szrAccounts;
582 szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
584 wxBoxSizer* bSizer16;
585 bSizer16 = new wxBoxSizer( wxVERTICAL );
587 lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
588 bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
590 wxBoxSizer* bSizer15;
591 bSizer15 = new wxBoxSizer( wxHORIZONTAL );
593 btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
594 bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
596 btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
597 btnAccountModify->Enable( false );
599 bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
601 btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
602 btnAccountDelete->Enable( false );
604 bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
607 bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
610 szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
613 tabAccounts->SetSizer( szrAccounts );
614 tabAccounts->Layout();
615 szrAccounts->Fit( tabAccounts );
616 NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false );
618 szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
621 szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
623 wxBoxSizer* szrButtons;
624 szrButtons = new wxBoxSizer( wxHORIZONTAL );
627 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
629 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
630 btnSave->SetDefault();
631 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
634 szrButtons->Add( 5, 0, 0, 0, 0 );
636 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
637 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
640 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
643 szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
646 this->SetSizer( szrMain );
649 this->Centre( wxBOTH );
652 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
653 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
654 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
655 btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
656 btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
657 btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
658 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
659 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
660 btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
661 btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
662 btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
663 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
664 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
667 frmPreferencesADT::~frmPreferencesADT()
670 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
671 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
672 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
673 btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
674 btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
675 btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
676 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
677 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
678 btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
679 btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
680 btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
681 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
682 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
686 frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
688 this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
691 szrMain = new wxBoxSizer( wxVERTICAL );
694 szrLogo = new wxBoxSizer( wxVERTICAL );
696 szrLogo->SetMinSize( wxSize( 350,100 ) );
697 bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
698 szrLogo->Add( bmpLogo, 0, wxALL, 0 );
701 szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
703 wxBoxSizer* szrDetails;
704 szrDetails = new wxBoxSizer( wxVERTICAL );
706 lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
707 lblVersion->Wrap( -1 );
708 lblVersion->SetFont( wxFont( 14, 70, 90, 92, false, wxEmptyString ) );
710 szrDetails->Add( lblVersion, 0, wxALL, 5 );
712 lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
713 lblCompileTime->Wrap( -1 );
714 szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
716 lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
717 lblCopyright->Wrap( -1 );
718 szrDetails->Add( lblCopyright, 0, wxALL, 5 );
721 szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
723 wxBoxSizer* szrButtons;
724 szrButtons = new wxBoxSizer( wxVERTICAL );
726 szrButtons->SetMinSize( wxSize( -1,35 ) );
727 btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
728 szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
731 szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
734 this->SetSizer( szrMain );
737 this->Centre( wxBOTH );
740 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
743 frmAboutADT::~frmAboutADT()
746 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
750 frmContactADT::frmContactADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
752 this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize );
754 wxBoxSizer* bSizer13;
755 bSizer13 = new wxBoxSizer( wxVERTICAL );
757 htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
758 bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
761 this->SetSizer( bSizer13 );
763 m_menubar2 = new wxMenuBar( 0 );
764 contact = new wxMenu();
765 wxMenuItem* mnuContactClose;
766 mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL );
767 contact->Append( mnuContactClose );
769 m_menubar2->Append( contact, wxT("Contact") );
771 this->SetMenuBar( m_menubar2 );
774 this->Centre( wxBOTH );
777 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
778 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
781 frmContactADT::~frmContactADT()
784 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
785 this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
789 frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
791 this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
793 wxFlexGridSizer* fgSizer30;
794 fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
795 fgSizer30->AddGrowableCol( 0 );
796 fgSizer30->AddGrowableRow( 0 );
797 fgSizer30->SetFlexibleDirection( wxBOTH );
798 fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
800 szrNewAccount = new wxBoxSizer( wxVERTICAL );
802 tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
803 wxFlexGridSizer* fgSizer32;
804 fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
805 fgSizer32->AddGrowableCol( 0 );
806 fgSizer32->SetFlexibleDirection( wxBOTH );
807 fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
809 lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
810 lblEnterText->Wrap( -1 );
811 fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
813 wxFlexGridSizer* fgSizer33;
814 fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
815 fgSizer33->AddGrowableCol( 1 );
816 fgSizer33->AddGrowableRow( 0 );
817 fgSizer33->SetFlexibleDirection( wxBOTH );
818 fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
820 lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
822 fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
824 wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") };
825 int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
826 cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
827 cmbServerType->SetSelection( 1 );
828 fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
830 lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
831 lblServerAddress->Wrap( -1 );
832 fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
834 txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
835 txtServerAddress->SetMaxLength( 0 );
836 fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
838 lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
839 lblServerPort->Wrap( -1 );
840 fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
842 txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
843 txtServerPort->SetMaxLength( 0 );
844 fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
846 lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
847 lblUsername->Wrap( -1 );
848 fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
850 txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
851 txtUsername->SetMaxLength( 0 );
852 fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
854 lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
855 lblPassword->Wrap( -1 );
856 fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
858 txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
859 txtPassword->SetMaxLength( 0 );
860 fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
862 lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
864 fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
866 wxBoxSizer* bSizer3221;
867 bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
869 chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
870 chkUseSSL->SetValue(true);
871 bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
874 fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
877 fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
880 tabType->SetSizer( fgSizer32 );
882 fgSizer32->Fit( tabType );
883 szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
885 tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
888 wxBoxSizer* bSizer323;
889 bSizer323 = new wxBoxSizer( wxVERTICAL );
891 lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
892 lblConnectionResult->Wrap( -1 );
893 lblConnectionResult->SetFont( wxFont( 9, 74, 90, 92, false, wxT("Sans") ) );
895 bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
897 wxFlexGridSizer* fgSizer34;
898 fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
899 fgSizer34->SetFlexibleDirection( wxBOTH );
900 fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
902 lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
903 lblServerConnected->Wrap( -1 );
904 fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
906 lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
907 lblServerConnResult->Wrap( -1 );
908 fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
910 lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
911 lblValidResponse->Wrap( -1 );
912 fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
914 lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
915 lblServerResponse->Wrap( -1 );
916 fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
918 lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
919 lblUseSSL->Wrap( -1 );
920 fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
922 lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
923 lblServerSSLResult->Wrap( -1 );
924 fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
926 lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
927 lblServerSSLCert->Wrap( -1 );
928 fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
930 lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
931 lblServerSSLValid->Wrap( -1 );
932 fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
934 lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
935 lblServerUsernamePassword->Wrap( -1 );
936 fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
938 lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
939 lblAbleToLoginResult->Wrap( -1 );
940 fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
942 lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
943 lblIsCalDAV->Wrap( -1 );
944 fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
946 lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
947 lblCardDAVSupportResult->Wrap( -1 );
948 fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 );
951 bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
953 m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
954 bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
956 lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
957 lblConnectionResultText->Wrap( 360 );
958 lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
960 bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
963 tabConn->SetSizer( bSizer323 );
965 bSizer323->Fit( tabConn );
966 szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
968 tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
971 wxBoxSizer* bSizer3231;
972 bSizer3231 = new wxBoxSizer( wxVERTICAL );
974 lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
975 lblFinishText->Wrap( -1 );
976 bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
978 wxFlexGridSizer* fgSizer341;
979 fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
980 fgSizer341->AddGrowableCol( 1 );
981 fgSizer341->SetFlexibleDirection( wxBOTH );
982 fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
984 lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
985 lblAccountName->Wrap( -1 );
986 fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
988 txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
989 txtAccountName->SetMaxLength( 0 );
990 fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
993 bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
996 tabFinish->SetSizer( bSizer3231 );
998 bSizer3231->Fit( tabFinish );
999 szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
1002 fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
1004 wxBoxSizer* bSizer322;
1005 bSizer322 = new wxBoxSizer( wxHORIZONTAL );
1007 btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
1008 bSizer322->Add( btnPrevious, 0, wxALL, 5 );
1010 btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
1011 btnNext->SetDefault();
1012 bSizer322->Add( btnNext, 0, wxALL, 5 );
1014 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
1015 bSizer322->Add( btnClose, 0, wxALL, 5 );
1018 fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
1021 this->SetSizer( fgSizer30 );
1024 this->Centre( wxBOTH );
1027 cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
1028 txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
1029 btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
1030 btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
1031 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
1034 frmNewAccountADT::~frmNewAccountADT()
1036 // Disconnect Events
1037 cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
1038 txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
1039 btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
1040 btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
1041 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
1045 frmContactEditorADT::frmContactEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
1047 this->SetSizeHints( wxSize( 800,500 ), wxDefaultSize );
1048 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
1050 wxBoxSizer* bSizer17;
1051 bSizer17 = new wxBoxSizer( wxVERTICAL );
1053 nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1054 tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
1055 tabGeneral->SetScrollRate( 5, 5 );
1056 wxBoxSizer* bSizer18;
1057 bSizer18 = new wxBoxSizer( wxVERTICAL );
1059 wxGridSizer* gSizer7;
1060 gSizer7 = new wxGridSizer( 0, 6, 0, 0 );
1062 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
1063 lblTitle->Wrap( -1 );
1064 gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1066 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1067 txtTitle->SetMaxLength( 0 );
1068 gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
1071 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1074 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1077 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1080 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1082 lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 );
1083 lblForename->Wrap( -1 );
1084 gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1086 txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1087 txtForename->SetMaxLength( 0 );
1088 gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 );
1090 lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 );
1091 lblSurname->Wrap( -1 );
1092 gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1094 txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1095 txtSurname->SetMaxLength( 0 );
1096 gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 );
1098 lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 );
1099 lblOtherNames->Wrap( -1 );
1100 gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1102 txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1103 txtOtherNames->SetMaxLength( 0 );
1104 gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 );
1106 lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 );
1107 lblSuffix->Wrap( -1 );
1108 gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1110 txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1111 txtSuffix->SetMaxLength( 0 );
1112 gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 );
1115 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1118 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
1121 bSizer18->Add( gSizer7, 0, wxEXPAND, 5 );
1123 wxFlexGridSizer* fgSizer5;
1124 fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 );
1125 fgSizer5->AddGrowableCol( 1 );
1126 fgSizer5->SetFlexibleDirection( wxBOTH );
1127 fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1129 lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 );
1130 lblDisplayAs->Wrap( -1 );
1131 fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1133 cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
1134 fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 );
1136 lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 );
1137 lblBirthday->Wrap( -1 );
1138 fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1140 wxBoxSizer* bSizer318;
1141 bSizer318 = new wxBoxSizer( wxHORIZONTAL );
1143 dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
1144 dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) );
1145 dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
1146 dapBirthday->SetMinSize( wxSize( -1,25 ) );
1148 bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 );
1150 txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1151 txtBirthday->SetMaxLength( 0 );
1152 bSizer318->Add( txtBirthday, 1, wxALL, 5 );
1155 fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 );
1157 lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 );
1158 lblAnniversary->Wrap( -1 );
1159 fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1161 wxBoxSizer* bSizer319;
1162 bSizer319 = new wxBoxSizer( wxHORIZONTAL );
1164 dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
1165 dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
1166 dapAnniversary->SetMinSize( wxSize( -1,25 ) );
1168 bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 );
1170 txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1171 txtAnniversary->SetMaxLength( 0 );
1172 bSizer319->Add( txtAnniversary, 1, wxALL, 5 );
1175 fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 );
1177 lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 );
1178 lblGender->Wrap( -1 );
1179 fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1181 wxBoxSizer* bSizer20;
1182 bSizer20 = new wxBoxSizer( wxHORIZONTAL );
1184 wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") };
1185 int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString );
1186 cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 );
1187 cmbGender->SetSelection( 0 );
1188 bSizer20->Add( cmbGender, 0, wxALL, 5 );
1190 txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1191 txtGenderDescription->SetMaxLength( 0 );
1192 bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1195 fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 );
1197 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
1198 lblType->Wrap( -1 );
1199 fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1201 wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") };
1202 int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString );
1203 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 );
1204 cmbType->SetSelection( 0 );
1205 fgSizer5->Add( cmbType, 0, wxALL, 5 );
1207 lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
1208 lblNicknames->Wrap( -1 );
1209 fgSizer5->Add( lblNicknames, 0, wxALL, 5 );
1211 wxBoxSizer* szrNicknames;
1212 szrNicknames = new wxBoxSizer( wxHORIZONTAL );
1214 lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1215 szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 );
1217 wxBoxSizer* szrAddressesOuter3;
1218 szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL );
1220 wxBoxSizer* bSizer464;
1221 bSizer464 = new wxBoxSizer( wxHORIZONTAL );
1223 wxBoxSizer* bSizer474;
1224 bSizer474 = new wxBoxSizer( wxVERTICAL );
1226 btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1227 bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 );
1229 btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1230 bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 );
1232 btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1233 bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 );
1236 bSizer464->Add( bSizer474, 1, wxEXPAND, 5 );
1239 szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 );
1242 szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 );
1245 fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 );
1247 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
1248 lblAddress->Wrap( -1 );
1249 fgSizer5->Add( lblAddress, 0, wxALL, 5 );
1251 wxBoxSizer* szrAddresses;
1252 szrAddresses = new wxBoxSizer( wxHORIZONTAL );
1254 lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1255 szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 );
1257 wxBoxSizer* szrAddressesOuter;
1258 szrAddressesOuter = new wxBoxSizer( wxVERTICAL );
1260 wxBoxSizer* bSizer46;
1261 bSizer46 = new wxBoxSizer( wxHORIZONTAL );
1263 wxBoxSizer* bSizer47;
1264 bSizer47 = new wxBoxSizer( wxVERTICAL );
1266 btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1267 bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 );
1269 btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1270 bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 );
1272 btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1273 bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 );
1276 bSizer46->Add( bSizer47, 1, wxEXPAND, 5 );
1279 szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 );
1282 szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 );
1285 fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 );
1287 lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
1288 lblEmail->Wrap( -1 );
1289 fgSizer5->Add( lblEmail, 0, wxALL, 5 );
1291 wxBoxSizer* bSizer301;
1292 bSizer301 = new wxBoxSizer( wxHORIZONTAL );
1294 lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1295 bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 );
1297 wxBoxSizer* bSizer351;
1298 bSizer351 = new wxBoxSizer( wxVERTICAL );
1300 wxBoxSizer* bSizer461;
1301 bSizer461 = new wxBoxSizer( wxHORIZONTAL );
1303 wxBoxSizer* bSizer471;
1304 bSizer471 = new wxBoxSizer( wxVERTICAL );
1306 btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1307 bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 );
1309 btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1310 bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 );
1312 btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1313 bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 );
1316 bSizer461->Add( bSizer471, 1, wxEXPAND, 5 );
1319 bSizer351->Add( bSizer461, 1, wxEXPAND, 5 );
1322 bSizer301->Add( bSizer351, 0, wxEXPAND, 5 );
1325 fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 );
1327 lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
1329 fgSizer5->Add( lblIM, 0, wxALL, 5 );
1331 wxBoxSizer* bSizer3011;
1332 bSizer3011 = new wxBoxSizer( wxHORIZONTAL );
1334 lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1335 bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 );
1337 wxBoxSizer* bSizer3511;
1338 bSizer3511 = new wxBoxSizer( wxVERTICAL );
1340 wxBoxSizer* bSizer4611;
1341 bSizer4611 = new wxBoxSizer( wxHORIZONTAL );
1343 wxBoxSizer* bSizer4711;
1344 bSizer4711 = new wxBoxSizer( wxVERTICAL );
1346 btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1347 bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 );
1349 btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1350 bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 );
1352 btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1353 bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 );
1356 bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 );
1359 bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 );
1362 bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 );
1365 fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 );
1367 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
1368 lblTelephone->Wrap( 0 );
1369 fgSizer5->Add( lblTelephone, 0, wxALL, 5 );
1371 wxBoxSizer* bSizer30111;
1372 bSizer30111 = new wxBoxSizer( wxHORIZONTAL );
1374 lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1375 bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 );
1377 wxBoxSizer* bSizer35111;
1378 bSizer35111 = new wxBoxSizer( wxVERTICAL );
1380 wxBoxSizer* bSizer46111;
1381 bSizer46111 = new wxBoxSizer( wxHORIZONTAL );
1383 wxBoxSizer* bSizer47111;
1384 bSizer47111 = new wxBoxSizer( wxVERTICAL );
1386 btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1387 bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 );
1389 btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1390 bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 );
1392 btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1393 bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 );
1396 bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 );
1399 bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 );
1402 bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 );
1405 fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 );
1407 lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
1408 lblLanguages->Wrap( 0 );
1409 fgSizer5->Add( lblLanguages, 0, wxALL, 5 );
1411 wxBoxSizer* bSizer301111;
1412 bSizer301111 = new wxBoxSizer( wxHORIZONTAL );
1414 lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1415 bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 );
1417 wxBoxSizer* bSizer351111;
1418 bSizer351111 = new wxBoxSizer( wxVERTICAL );
1420 wxBoxSizer* bSizer461111;
1421 bSizer461111 = new wxBoxSizer( wxHORIZONTAL );
1423 wxBoxSizer* bSizer471111;
1424 bSizer471111 = new wxBoxSizer( wxVERTICAL );
1426 btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1427 bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 );
1429 btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1430 bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 );
1432 btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1433 bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 );
1436 bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 );
1439 bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 );
1442 bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 );
1445 fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 );
1447 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
1448 lblTimezone->Wrap( 0 );
1449 fgSizer5->Add( lblTimezone, 0, wxALL, 5 );
1451 wxBoxSizer* bSizer3011111;
1452 bSizer3011111 = new wxBoxSizer( wxHORIZONTAL );
1454 lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1455 bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 );
1457 wxBoxSizer* bSizer3511111;
1458 bSizer3511111 = new wxBoxSizer( wxVERTICAL );
1460 wxBoxSizer* bSizer4611111;
1461 bSizer4611111 = new wxBoxSizer( wxHORIZONTAL );
1463 wxBoxSizer* bSizer4711111;
1464 bSizer4711111 = new wxBoxSizer( wxVERTICAL );
1466 btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1467 bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 );
1469 btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1470 bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 );
1472 btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1473 bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 );
1476 bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 );
1479 bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 );
1482 bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 );
1485 fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 );
1487 lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
1488 lblGeopositioning->Wrap( -1 );
1489 fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 );
1491 wxBoxSizer* bSizer30111114;
1492 bSizer30111114 = new wxBoxSizer( wxHORIZONTAL );
1494 lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1495 bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 );
1497 wxBoxSizer* bSizer35111114;
1498 bSizer35111114 = new wxBoxSizer( wxVERTICAL );
1500 wxBoxSizer* bSizer46111114;
1501 bSizer46111114 = new wxBoxSizer( wxHORIZONTAL );
1503 wxBoxSizer* bSizer47111114;
1504 bSizer47111114 = new wxBoxSizer( wxVERTICAL );
1506 btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1507 bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 );
1509 btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1510 bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 );
1512 btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1513 bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 );
1516 bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 );
1519 bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 );
1522 bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 );
1525 fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 );
1527 lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 );
1528 lblRelated->Wrap( 1 );
1529 fgSizer5->Add( lblRelated, 0, wxALL, 5 );
1531 wxBoxSizer* bSizer30111111;
1532 bSizer30111111 = new wxBoxSizer( wxHORIZONTAL );
1534 lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1535 bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 );
1537 wxBoxSizer* bSizer35111111;
1538 bSizer35111111 = new wxBoxSizer( wxVERTICAL );
1540 wxBoxSizer* bSizer46111111;
1541 bSizer46111111 = new wxBoxSizer( wxHORIZONTAL );
1543 wxBoxSizer* bSizer47111111;
1544 bSizer47111111 = new wxBoxSizer( wxVERTICAL );
1546 btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1547 bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 );
1549 btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1550 bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 );
1552 btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1553 bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 );
1556 bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 );
1559 bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 );
1562 bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 );
1565 fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 );
1567 lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
1568 lblWebsites->Wrap( 1 );
1569 fgSizer5->Add( lblWebsites, 0, wxALL, 5 );
1571 wxBoxSizer* bSizer301111111;
1572 bSizer301111111 = new wxBoxSizer( wxHORIZONTAL );
1574 lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1575 bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 );
1577 wxBoxSizer* bSizer351111111;
1578 bSizer351111111 = new wxBoxSizer( wxVERTICAL );
1580 wxBoxSizer* bSizer461111111;
1581 bSizer461111111 = new wxBoxSizer( wxHORIZONTAL );
1583 wxBoxSizer* bSizer471111111;
1584 bSizer471111111 = new wxBoxSizer( wxVERTICAL );
1586 btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1587 bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 );
1589 btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1590 bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 );
1592 btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1593 bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 );
1596 bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 );
1599 bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 );
1602 bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 );
1605 fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 );
1607 lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
1608 lblTitles->Wrap( 1 );
1609 fgSizer5->Add( lblTitles, 0, wxALL, 5 );
1611 wxBoxSizer* bSizer3011111111;
1612 bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL );
1614 lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1615 bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 );
1617 wxBoxSizer* bSizer3511111111;
1618 bSizer3511111111 = new wxBoxSizer( wxVERTICAL );
1620 wxBoxSizer* bSizer4611111111;
1621 bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL );
1623 wxBoxSizer* bSizer4711111111;
1624 bSizer4711111111 = new wxBoxSizer( wxVERTICAL );
1626 btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1627 bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 );
1629 btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1630 bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 );
1632 btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1633 bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 );
1636 bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 );
1639 bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 );
1642 bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 );
1645 fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 );
1647 lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
1648 lblRoles->Wrap( 1 );
1649 fgSizer5->Add( lblRoles, 0, wxALL, 5 );
1651 wxBoxSizer* bSizer30111111111;
1652 bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL );
1654 lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1655 bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 );
1657 wxBoxSizer* bSizer35111111111;
1658 bSizer35111111111 = new wxBoxSizer( wxVERTICAL );
1660 wxBoxSizer* bSizer46111111111;
1661 bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL );
1663 wxBoxSizer* bSizer47111111111;
1664 bSizer47111111111 = new wxBoxSizer( wxVERTICAL );
1666 btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1667 bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 );
1669 btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1670 bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 );
1672 btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1673 bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 );
1676 bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 );
1679 bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 );
1682 bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 );
1685 fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 );
1687 lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
1688 lblOrganisations->Wrap( 1 );
1689 fgSizer5->Add( lblOrganisations, 0, wxALL, 5 );
1691 wxBoxSizer* bSizer301111111111;
1692 bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL );
1694 lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1695 bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 );
1697 wxBoxSizer* bSizer351111111111;
1698 bSizer351111111111 = new wxBoxSizer( wxVERTICAL );
1700 wxBoxSizer* bSizer461111111111;
1701 bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL );
1703 wxBoxSizer* bSizer471111111111;
1704 bSizer471111111111 = new wxBoxSizer( wxVERTICAL );
1706 btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1707 bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 );
1709 btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1710 bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 );
1712 btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1713 bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 );
1716 bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 );
1719 bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 );
1722 bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 );
1725 fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 );
1727 lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
1728 lblNotes->Wrap( 1 );
1729 fgSizer5->Add( lblNotes, 0, wxALL, 5 );
1731 wxBoxSizer* bSizer3011111111111;
1732 bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL );
1734 lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1735 bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 );
1737 wxBoxSizer* bSizer3511111111111;
1738 bSizer3511111111111 = new wxBoxSizer( wxVERTICAL );
1740 wxBoxSizer* bSizer4611111111111;
1741 bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL );
1743 wxBoxSizer* bSizer4711111111111;
1744 bSizer4711111111111 = new wxBoxSizer( wxVERTICAL );
1746 btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1747 bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 );
1749 btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1750 bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 );
1752 btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1753 bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 );
1756 bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 );
1759 bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 );
1762 bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 );
1765 fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 );
1768 bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 );
1771 tabGeneral->SetSizer( bSizer18 );
1772 tabGeneral->Layout();
1773 bSizer18->Fit( tabGeneral );
1774 nbkContact->AddPage( tabGeneral, wxT("General"), true );
1775 tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
1776 tabHome->SetScrollRate( 5, 5 );
1777 wxBoxSizer* bSizer181;
1778 bSizer181 = new wxBoxSizer( wxVERTICAL );
1780 wxGridSizer* gSizer71;
1781 gSizer71 = new wxGridSizer( 2, 6, 0, 0 );
1784 bSizer181->Add( gSizer71, 0, wxEXPAND, 5 );
1786 wxFlexGridSizer* fgSizer51;
1787 fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 );
1788 fgSizer51->AddGrowableCol( 1 );
1789 fgSizer51->SetFlexibleDirection( wxBOTH );
1790 fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1792 lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
1793 lblHomeNickname->Wrap( 0 );
1794 fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 );
1796 wxBoxSizer* szrAddresses12;
1797 szrAddresses12 = new wxBoxSizer( wxHORIZONTAL );
1799 lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1800 szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 );
1802 wxBoxSizer* szrAddressesOuter11;
1803 szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL );
1805 wxBoxSizer* bSizer4622;
1806 bSizer4622 = new wxBoxSizer( wxHORIZONTAL );
1808 wxBoxSizer* bSizer4722;
1809 bSizer4722 = new wxBoxSizer( wxVERTICAL );
1811 btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1812 bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 );
1814 btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1815 bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 );
1817 btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1818 bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 );
1821 bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 );
1824 szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 );
1827 szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 );
1830 fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 );
1832 lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
1833 lblHomeAddresses->Wrap( 1 );
1834 fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 );
1836 wxBoxSizer* szrAddresses1;
1837 szrAddresses1 = new wxBoxSizer( wxHORIZONTAL );
1839 lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1840 szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 );
1842 wxBoxSizer* szrAddressesOuter1;
1843 szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL );
1845 wxBoxSizer* bSizer462;
1846 bSizer462 = new wxBoxSizer( wxHORIZONTAL );
1848 wxBoxSizer* bSizer472;
1849 bSizer472 = new wxBoxSizer( wxVERTICAL );
1851 btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1852 bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 );
1854 btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1855 bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 );
1857 btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1858 bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 );
1861 bSizer462->Add( bSizer472, 1, wxEXPAND, 5 );
1864 szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 );
1867 szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 );
1870 fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 );
1872 lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 );
1873 lblHomeEmail->Wrap( 1 );
1874 fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 );
1876 wxBoxSizer* bSizer3012;
1877 bSizer3012 = new wxBoxSizer( wxHORIZONTAL );
1879 lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1880 bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 );
1882 wxBoxSizer* bSizer3512;
1883 bSizer3512 = new wxBoxSizer( wxVERTICAL );
1885 wxBoxSizer* bSizer4612;
1886 bSizer4612 = new wxBoxSizer( wxHORIZONTAL );
1888 wxBoxSizer* bSizer4712;
1889 bSizer4712 = new wxBoxSizer( wxVERTICAL );
1891 btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1892 bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 );
1894 btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1895 bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 );
1897 btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1898 bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 );
1901 bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 );
1904 bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 );
1907 bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 );
1910 fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 );
1912 lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
1913 lblHomeIM->Wrap( 0 );
1914 fgSizer51->Add( lblHomeIM, 0, wxALL, 5 );
1916 wxBoxSizer* bSizer30112;
1917 bSizer30112 = new wxBoxSizer( wxHORIZONTAL );
1919 lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1920 bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 );
1922 wxBoxSizer* bSizer35112;
1923 bSizer35112 = new wxBoxSizer( wxVERTICAL );
1925 wxBoxSizer* bSizer46112;
1926 bSizer46112 = new wxBoxSizer( wxHORIZONTAL );
1928 wxBoxSizer* bSizer47112;
1929 bSizer47112 = new wxBoxSizer( wxVERTICAL );
1931 btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1932 bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 );
1934 btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1935 bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 );
1937 btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1938 bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 );
1941 bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 );
1944 bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 );
1947 bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 );
1950 fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 );
1952 lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
1953 lblHomeTelephone->Wrap( 0 );
1954 fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 );
1956 wxBoxSizer* bSizer301112;
1957 bSizer301112 = new wxBoxSizer( wxHORIZONTAL );
1959 lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
1960 bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 );
1962 wxBoxSizer* bSizer351112;
1963 bSizer351112 = new wxBoxSizer( wxVERTICAL );
1965 wxBoxSizer* bSizer461112;
1966 bSizer461112 = new wxBoxSizer( wxHORIZONTAL );
1968 wxBoxSizer* bSizer471112;
1969 bSizer471112 = new wxBoxSizer( wxVERTICAL );
1971 btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
1972 bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 );
1974 btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
1975 bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 );
1977 btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
1978 bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 );
1981 bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 );
1984 bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 );
1987 bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 );
1990 fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 );
1992 lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
1993 lblHomeLanguages->Wrap( 0 );
1994 fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 );
1996 wxBoxSizer* bSizer3011112;
1997 bSizer3011112 = new wxBoxSizer( wxHORIZONTAL );
1999 lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2000 bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 );
2002 wxBoxSizer* bSizer3511112;
2003 bSizer3511112 = new wxBoxSizer( wxVERTICAL );
2005 wxBoxSizer* bSizer4611112;
2006 bSizer4611112 = new wxBoxSizer( wxHORIZONTAL );
2008 wxBoxSizer* bSizer4711112;
2009 bSizer4711112 = new wxBoxSizer( wxVERTICAL );
2011 btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2012 bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 );
2014 btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2015 bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 );
2017 btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2018 bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 );
2021 bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 );
2024 bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 );
2027 bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 );
2030 fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 );
2032 lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
2033 lblHomeTimezone->Wrap( 0 );
2034 fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 );
2036 wxBoxSizer* bSizer30111112;
2037 bSizer30111112 = new wxBoxSizer( wxHORIZONTAL );
2039 lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2040 bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 );
2042 wxBoxSizer* bSizer35111112;
2043 bSizer35111112 = new wxBoxSizer( wxVERTICAL );
2045 wxBoxSizer* bSizer46111112;
2046 bSizer46111112 = new wxBoxSizer( wxHORIZONTAL );
2048 wxBoxSizer* bSizer47111112;
2049 bSizer47111112 = new wxBoxSizer( wxVERTICAL );
2051 btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2052 bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 );
2054 btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2055 bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 );
2057 btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2058 bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 );
2061 bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 );
2064 bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 );
2067 bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 );
2070 fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 );
2072 lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
2073 lblHomeGeopositioning->Wrap( 0 );
2074 fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 );
2076 wxBoxSizer* bSizer301111141;
2077 bSizer301111141 = new wxBoxSizer( wxHORIZONTAL );
2079 lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2080 bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 );
2082 wxBoxSizer* bSizer351111141;
2083 bSizer351111141 = new wxBoxSizer( wxVERTICAL );
2085 wxBoxSizer* bSizer461111141;
2086 bSizer461111141 = new wxBoxSizer( wxHORIZONTAL );
2088 wxBoxSizer* bSizer471111141;
2089 bSizer471111141 = new wxBoxSizer( wxVERTICAL );
2091 btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2092 bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 );
2094 btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2095 bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 );
2097 btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2098 bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 );
2101 bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 );
2104 bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 );
2107 bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 );
2110 fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 );
2112 lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
2113 lblHomeWebsites->Wrap( 1 );
2114 fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 );
2116 wxBoxSizer* bSizer3011111112;
2117 bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL );
2119 lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2120 bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 );
2122 wxBoxSizer* bSizer3511111112;
2123 bSizer3511111112 = new wxBoxSizer( wxVERTICAL );
2125 wxBoxSizer* bSizer4611111112;
2126 bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL );
2128 wxBoxSizer* bSizer4711111112;
2129 bSizer4711111112 = new wxBoxSizer( wxVERTICAL );
2131 btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2132 bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 );
2134 btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2135 bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 );
2137 btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2138 bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 );
2141 bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 );
2144 bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 );
2147 bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 );
2150 fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 );
2152 lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
2153 lblHomeTitles->Wrap( 1 );
2154 fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 );
2156 wxBoxSizer* bSizer30111111112;
2157 bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL );
2159 lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2160 bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 );
2162 wxBoxSizer* bSizer35111111112;
2163 bSizer35111111112 = new wxBoxSizer( wxVERTICAL );
2165 wxBoxSizer* bSizer46111111112;
2166 bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL );
2168 wxBoxSizer* bSizer47111111112;
2169 bSizer47111111112 = new wxBoxSizer( wxVERTICAL );
2171 btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2172 bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 );
2174 btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2175 bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 );
2177 btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2178 bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 );
2181 bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 );
2184 bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 );
2187 bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 );
2190 fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 );
2192 lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
2193 lblHomeRoles->Wrap( 1 );
2194 fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 );
2196 wxBoxSizer* bSizer301111111112;
2197 bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL );
2199 lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2200 bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 );
2202 wxBoxSizer* bSizer351111111112;
2203 bSizer351111111112 = new wxBoxSizer( wxVERTICAL );
2205 wxBoxSizer* bSizer461111111112;
2206 bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL );
2208 wxBoxSizer* bSizer471111111112;
2209 bSizer471111111112 = new wxBoxSizer( wxVERTICAL );
2211 btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2212 bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 );
2214 btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2215 bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 );
2217 btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2218 bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 );
2221 bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 );
2224 bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 );
2227 bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 );
2230 fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 );
2232 lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
2233 lblHomeOrganisations->Wrap( 1 );
2234 fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 );
2236 wxBoxSizer* bSizer3011111111112;
2237 bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL );
2239 lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2240 bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 );
2242 wxBoxSizer* bSizer3511111111112;
2243 bSizer3511111111112 = new wxBoxSizer( wxVERTICAL );
2245 wxBoxSizer* bSizer4611111111112;
2246 bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL );
2248 wxBoxSizer* bSizer4711111111112;
2249 bSizer4711111111112 = new wxBoxSizer( wxVERTICAL );
2251 btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2252 bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 );
2254 btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2255 bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 );
2257 btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2258 bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 );
2261 bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 );
2264 bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 );
2267 bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 );
2270 fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 );
2272 lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
2273 lblHomeNotes->Wrap( 1 );
2274 fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 );
2276 wxBoxSizer* bSizer30111111111111;
2277 bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL );
2279 lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2280 bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 );
2282 wxBoxSizer* bSizer35111111111111;
2283 bSizer35111111111111 = new wxBoxSizer( wxVERTICAL );
2285 wxBoxSizer* bSizer46111111111111;
2286 bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL );
2288 wxBoxSizer* bSizer47111111111111;
2289 bSizer47111111111111 = new wxBoxSizer( wxVERTICAL );
2291 btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2292 bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 );
2294 btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2295 bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 );
2297 btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2298 bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 );
2301 bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 );
2304 bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 );
2307 bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 );
2310 fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 );
2313 bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 );
2316 tabHome->SetSizer( bSizer181 );
2318 bSizer181->Fit( tabHome );
2319 nbkContact->AddPage( tabHome, wxT("Home"), false );
2320 tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2321 tabBusiness->SetScrollRate( 5, 5 );
2322 wxBoxSizer* bSizer182;
2323 bSizer182 = new wxBoxSizer( wxVERTICAL );
2325 wxGridSizer* gSizer72;
2326 gSizer72 = new wxGridSizer( 2, 6, 0, 0 );
2329 bSizer182->Add( gSizer72, 0, wxEXPAND, 5 );
2331 wxFlexGridSizer* fgSizer52;
2332 fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 );
2333 fgSizer52->AddGrowableCol( 1 );
2334 fgSizer52->SetFlexibleDirection( wxBOTH );
2335 fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
2337 lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
2338 lblBusinessNickname->Wrap( 0 );
2339 fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 );
2341 wxBoxSizer* szrAddresses22;
2342 szrAddresses22 = new wxBoxSizer( wxHORIZONTAL );
2344 lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2345 szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 );
2347 wxBoxSizer* szrAddressesOuter22;
2348 szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL );
2350 wxBoxSizer* bSizer4632;
2351 bSizer4632 = new wxBoxSizer( wxHORIZONTAL );
2353 wxBoxSizer* bSizer4732;
2354 bSizer4732 = new wxBoxSizer( wxVERTICAL );
2356 btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2357 bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 );
2359 btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2360 bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 );
2362 btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2363 bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 );
2366 bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 );
2369 szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 );
2372 szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 );
2375 fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 );
2377 lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
2378 lblBusinessAddress->Wrap( 0 );
2379 fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 );
2381 wxBoxSizer* szrAddresses2;
2382 szrAddresses2 = new wxBoxSizer( wxHORIZONTAL );
2384 lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2385 szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 );
2387 wxBoxSizer* szrAddressesOuter2;
2388 szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL );
2390 wxBoxSizer* bSizer463;
2391 bSizer463 = new wxBoxSizer( wxHORIZONTAL );
2393 wxBoxSizer* bSizer473;
2394 bSizer473 = new wxBoxSizer( wxVERTICAL );
2396 btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2397 bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 );
2399 btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2400 bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 );
2402 btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2403 bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 );
2406 bSizer463->Add( bSizer473, 1, wxEXPAND, 5 );
2409 szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 );
2412 szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 );
2415 fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 );
2417 lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
2418 lblBusinessEmail->Wrap( 0 );
2419 fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 );
2421 wxBoxSizer* bSizer3013;
2422 bSizer3013 = new wxBoxSizer( wxHORIZONTAL );
2424 lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2425 bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 );
2427 wxBoxSizer* bSizer3513;
2428 bSizer3513 = new wxBoxSizer( wxVERTICAL );
2430 wxBoxSizer* bSizer4613;
2431 bSizer4613 = new wxBoxSizer( wxHORIZONTAL );
2433 wxBoxSizer* bSizer4713;
2434 bSizer4713 = new wxBoxSizer( wxVERTICAL );
2436 btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2437 bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 );
2439 btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2440 bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 );
2442 btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2443 bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 );
2446 bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 );
2449 bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 );
2452 bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 );
2455 fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 );
2457 lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
2458 lblBusinessIM->Wrap( 0 );
2459 fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 );
2461 wxBoxSizer* bSizer30113;
2462 bSizer30113 = new wxBoxSizer( wxHORIZONTAL );
2464 lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2465 bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 );
2467 wxBoxSizer* bSizer35113;
2468 bSizer35113 = new wxBoxSizer( wxVERTICAL );
2470 wxBoxSizer* bSizer46113;
2471 bSizer46113 = new wxBoxSizer( wxHORIZONTAL );
2473 wxBoxSizer* bSizer47113;
2474 bSizer47113 = new wxBoxSizer( wxVERTICAL );
2476 btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2477 bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 );
2479 btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2480 bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 );
2482 btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2483 bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 );
2486 bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 );
2489 bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 );
2492 bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 );
2495 fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 );
2497 lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
2498 lblBusinessTelephone->Wrap( 0 );
2499 fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 );
2501 wxBoxSizer* bSizer301113;
2502 bSizer301113 = new wxBoxSizer( wxHORIZONTAL );
2504 lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2505 bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 );
2507 wxBoxSizer* bSizer351113;
2508 bSizer351113 = new wxBoxSizer( wxVERTICAL );
2510 wxBoxSizer* bSizer461113;
2511 bSizer461113 = new wxBoxSizer( wxHORIZONTAL );
2513 wxBoxSizer* bSizer471113;
2514 bSizer471113 = new wxBoxSizer( wxVERTICAL );
2516 btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2517 bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 );
2519 btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2520 bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 );
2522 btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2523 bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 );
2526 bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 );
2529 bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 );
2532 bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 );
2535 fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 );
2537 lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
2538 lblBusinessLanguage->Wrap( 0 );
2539 fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 );
2541 wxBoxSizer* bSizer3011113;
2542 bSizer3011113 = new wxBoxSizer( wxHORIZONTAL );
2544 lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2545 bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 );
2547 wxBoxSizer* bSizer3511113;
2548 bSizer3511113 = new wxBoxSizer( wxVERTICAL );
2550 wxBoxSizer* bSizer4611113;
2551 bSizer4611113 = new wxBoxSizer( wxHORIZONTAL );
2553 wxBoxSizer* bSizer4711113;
2554 bSizer4711113 = new wxBoxSizer( wxVERTICAL );
2556 btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2557 bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 );
2559 btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2560 bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 );
2562 btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2563 bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 );
2566 bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 );
2569 bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 );
2572 bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 );
2575 fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 );
2577 lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
2578 lblBusinessTimezones->Wrap( 0 );
2579 fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 );
2581 wxBoxSizer* bSizer30111113;
2582 bSizer30111113 = new wxBoxSizer( wxHORIZONTAL );
2584 lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2585 bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 );
2587 wxBoxSizer* bSizer35111113;
2588 bSizer35111113 = new wxBoxSizer( wxVERTICAL );
2590 wxBoxSizer* bSizer46111113;
2591 bSizer46111113 = new wxBoxSizer( wxHORIZONTAL );
2593 wxBoxSizer* bSizer47111113;
2594 bSizer47111113 = new wxBoxSizer( wxVERTICAL );
2596 btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2597 bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 );
2599 btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2600 bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 );
2602 btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2603 bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 );
2606 bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 );
2609 bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 );
2612 bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 );
2615 fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 );
2617 lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
2618 lblBusinessGeopositioning->Wrap( 0 );
2619 fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 );
2621 wxBoxSizer* bSizer3011111411;
2622 bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL );
2624 lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2625 bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 );
2627 wxBoxSizer* bSizer3511111411;
2628 bSizer3511111411 = new wxBoxSizer( wxVERTICAL );
2630 wxBoxSizer* bSizer4611111411;
2631 bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL );
2633 wxBoxSizer* bSizer4711111411;
2634 bSizer4711111411 = new wxBoxSizer( wxVERTICAL );
2636 btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2637 bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 );
2639 btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2640 bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 );
2642 btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2643 bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 );
2646 bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 );
2649 bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 );
2652 bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 );
2655 fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 );
2657 lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
2658 lblBusinessWebsites->Wrap( 1 );
2659 fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 );
2661 wxBoxSizer* bSizer3011111113;
2662 bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL );
2664 lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2665 bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 );
2667 wxBoxSizer* bSizer3511111113;
2668 bSizer3511111113 = new wxBoxSizer( wxVERTICAL );
2670 wxBoxSizer* bSizer4611111113;
2671 bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL );
2673 wxBoxSizer* bSizer4711111113;
2674 bSizer4711111113 = new wxBoxSizer( wxVERTICAL );
2676 btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2677 bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 );
2679 btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2680 bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 );
2682 btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2683 bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 );
2686 bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 );
2689 bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 );
2692 bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 );
2695 fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 );
2697 lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
2698 lblBusinessTitles->Wrap( 1 );
2699 fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 );
2701 wxBoxSizer* bSizer30111111113;
2702 bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL );
2704 lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
2705 bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 );
2707 wxBoxSizer* bSizer35111111113;
2708 bSizer35111111113 = new wxBoxSizer( wxVERTICAL );
2710 wxBoxSizer* bSizer46111111113;
2711 bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL );
2713 wxBoxSizer* bSizer47111111113;
2714 bSizer47111111113 = new wxBoxSizer( wxVERTICAL );
2716 btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2717 bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 );
2719 btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2720 bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 );
2722 btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2723 bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 );
2726 bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 );
2729 bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 );
2732 bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 );
2735 fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 );
2737 lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
2738 lblBusinessRoles->Wrap( 1 );
2739 fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 );
2741 wxBoxSizer* bSizer301111111113;
2742 bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL );
2744 lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2745 bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 );
2747 wxBoxSizer* bSizer351111111113;
2748 bSizer351111111113 = new wxBoxSizer( wxVERTICAL );
2750 wxBoxSizer* bSizer461111111113;
2751 bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL );
2753 wxBoxSizer* bSizer471111111113;
2754 bSizer471111111113 = new wxBoxSizer( wxVERTICAL );
2756 btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2757 bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 );
2759 btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2760 bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 );
2762 btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2763 bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 );
2766 bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 );
2769 bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 );
2772 bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 );
2775 fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 );
2777 lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
2778 lblBusinessOrganisations->Wrap( 1 );
2779 fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 );
2781 wxBoxSizer* bSizer3011111111113;
2782 bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL );
2784 lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2785 bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 );
2787 wxBoxSizer* bSizer3511111111113;
2788 bSizer3511111111113 = new wxBoxSizer( wxVERTICAL );
2790 wxBoxSizer* bSizer4611111111113;
2791 bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL );
2793 wxBoxSizer* bSizer4711111111113;
2794 bSizer4711111111113 = new wxBoxSizer( wxVERTICAL );
2796 btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2797 bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 );
2799 btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2800 bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 );
2802 btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2803 bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 );
2806 bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 );
2809 bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 );
2812 bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 );
2815 fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 );
2817 lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
2818 lblBusinessNotes->Wrap( 1 );
2819 fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 );
2821 wxBoxSizer* bSizer30111111111112;
2822 bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL );
2824 lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2825 bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 );
2827 wxBoxSizer* bSizer35111111111112;
2828 bSizer35111111111112 = new wxBoxSizer( wxVERTICAL );
2830 wxBoxSizer* bSizer46111111111112;
2831 bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL );
2833 wxBoxSizer* bSizer47111111111112;
2834 bSizer47111111111112 = new wxBoxSizer( wxVERTICAL );
2836 btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2837 bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 );
2839 btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2840 bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 );
2842 btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2843 bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 );
2846 bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 );
2849 bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 );
2852 bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 );
2855 fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 );
2858 bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 );
2861 tabBusiness->SetSizer( bSizer182 );
2862 tabBusiness->Layout();
2863 bSizer182->Fit( tabBusiness );
2864 nbkContact->AddPage( tabBusiness, wxT("Business"), false );
2865 tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2866 tabCategories->SetScrollRate( 5, 5 );
2867 wxBoxSizer* szrAddresses11;
2868 szrAddresses11 = new wxBoxSizer( wxHORIZONTAL );
2870 lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2871 szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 );
2873 wxBoxSizer* szrCategoriesOuter;
2874 szrCategoriesOuter = new wxBoxSizer( wxVERTICAL );
2876 wxBoxSizer* bSizer4621;
2877 bSizer4621 = new wxBoxSizer( wxHORIZONTAL );
2879 wxBoxSizer* bSizer4721;
2880 bSizer4721 = new wxBoxSizer( wxVERTICAL );
2882 btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2883 bSizer4721->Add( btnAddCategory, 0, wxALL, 5 );
2885 btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2886 bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 );
2888 btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2889 bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 );
2892 bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 );
2895 szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 );
2898 szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 );
2901 tabCategories->SetSizer( szrAddresses11 );
2902 tabCategories->Layout();
2903 szrAddresses11->Fit( tabCategories );
2904 nbkContact->AddPage( tabCategories, wxT("Categories"), false );
2905 tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2906 tabMembers->SetScrollRate( 5, 5 );
2907 wxBoxSizer* szrAddresses111;
2908 szrAddresses111 = new wxBoxSizer( wxHORIZONTAL );
2910 lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2911 szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 );
2913 wxBoxSizer* szrCategoriesOuter1;
2914 szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL );
2916 wxBoxSizer* bSizer46211;
2917 bSizer46211 = new wxBoxSizer( wxHORIZONTAL );
2919 wxBoxSizer* bSizer47211;
2920 bSizer47211 = new wxBoxSizer( wxVERTICAL );
2922 btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2923 bSizer47211->Add( btnAddGroups, 0, wxALL, 5 );
2925 btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2926 bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 );
2928 btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2929 bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 );
2932 bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 );
2935 szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 );
2938 szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 );
2941 tabMembers->SetSizer( szrAddresses111 );
2942 tabMembers->Layout();
2943 szrAddresses111->Fit( tabMembers );
2944 nbkContact->AddPage( tabMembers, wxT("Members"), false );
2945 tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2946 tabPictures->SetScrollRate( 5, 5 );
2947 wxBoxSizer* bSizer210;
2948 bSizer210 = new wxBoxSizer( wxHORIZONTAL );
2950 imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
2951 bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 );
2953 wxBoxSizer* bSizer211;
2954 bSizer211 = new wxBoxSizer( wxVERTICAL );
2956 lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
2957 bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 );
2959 wxBoxSizer* bSizer212;
2960 bSizer212 = new wxBoxSizer( wxVERTICAL );
2962 wxFlexGridSizer* fgSizer46;
2963 fgSizer46 = new wxFlexGridSizer( 2, 3, 0, 0 );
2964 fgSizer46->SetFlexibleDirection( wxBOTH );
2965 fgSizer46->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
2967 btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
2968 fgSizer46->Add( btnAddPicture, 0, wxALL, 5 );
2970 btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
2971 fgSizer46->Add( btnModifyPicture, 0, wxALL, 5 );
2973 btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
2974 fgSizer46->Add( btnDeletePicture, 0, wxALL, 5 );
2976 btnSavePicture = new wxButton( tabPictures, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
2977 fgSizer46->Add( btnSavePicture, 0, wxALL, 5 );
2980 bSizer212->Add( fgSizer46, 1, wxEXPAND, 5 );
2983 bSizer211->Add( bSizer212, 0, wxEXPAND, 5 );
2986 bSizer210->Add( bSizer211, 1, wxEXPAND, 5 );
2989 tabPictures->SetSizer( bSizer210 );
2990 tabPictures->Layout();
2991 bSizer210->Fit( tabPictures );
2992 nbkContact->AddPage( tabPictures, wxT("Pictures"), false );
2993 tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
2994 tabLogo->SetScrollRate( 5, 5 );
2995 wxBoxSizer* bSizer2101;
2996 bSizer2101 = new wxBoxSizer( wxHORIZONTAL );
2998 imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
2999 bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 );
3001 wxBoxSizer* bSizer2111;
3002 bSizer2111 = new wxBoxSizer( wxVERTICAL );
3004 lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3005 bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 );
3007 wxBoxSizer* bSizer2121;
3008 bSizer2121 = new wxBoxSizer( wxVERTICAL );
3010 wxFlexGridSizer* fgSizer47;
3011 fgSizer47 = new wxFlexGridSizer( 2, 3, 0, 0 );
3012 fgSizer47->SetFlexibleDirection( wxBOTH );
3013 fgSizer47->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3015 btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3016 fgSizer47->Add( btnAddLogo, 0, wxALL, 5 );
3018 btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3019 fgSizer47->Add( btnModifyLogo, 0, wxALL, 5 );
3021 btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3022 fgSizer47->Add( btnDeleteLogo, 0, wxALL, 5 );
3024 btnSaveLogo = new wxButton( tabLogo, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
3025 fgSizer47->Add( btnSaveLogo, 0, wxALL, 5 );
3028 bSizer2121->Add( fgSizer47, 1, wxEXPAND, 5 );
3031 bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 );
3034 bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 );
3037 tabLogo->SetSizer( bSizer2101 );
3039 bSizer2101->Fit( tabLogo );
3040 nbkContact->AddPage( tabLogo, wxT("Logos"), false );
3041 tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3042 tabSounds->SetScrollRate( 5, 5 );
3043 wxBoxSizer* szrAddresses1111;
3044 szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL );
3046 lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3047 szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 );
3049 wxBoxSizer* szrCategoriesOuter11;
3050 szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL );
3052 wxBoxSizer* bSizer462111;
3053 bSizer462111 = new wxBoxSizer( wxHORIZONTAL );
3055 wxBoxSizer* bSizer472111;
3056 bSizer472111 = new wxBoxSizer( wxVERTICAL );
3058 btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3059 bSizer472111->Add( btnAddSound, 0, wxALL, 5 );
3061 btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3062 bSizer472111->Add( btnModifySound, 0, wxALL, 5 );
3064 btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3065 bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 );
3067 btnSaveSound = new wxButton( tabSounds, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
3068 bSizer472111->Add( btnSaveSound, 0, wxALL, 5 );
3070 m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
3071 bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
3073 wxBoxSizer* bSizer348;
3074 bSizer348 = new wxBoxSizer( wxHORIZONTAL );
3076 btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
3077 btnPlay->SetMinSize( wxSize( -1,32 ) );
3079 bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 );
3081 btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
3082 btnStop->SetMinSize( wxSize( -1,32 ) );
3084 bSizer348->Add( btnStop, 0, wxALL, 5 );
3087 bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 );
3090 bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 );
3093 szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 );
3096 szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 );
3099 tabSounds->SetSizer( szrAddresses1111 );
3100 tabSounds->Layout();
3101 szrAddresses1111->Fit( tabSounds );
3102 nbkContact->AddPage( tabSounds, wxT("Sounds"), false );
3103 tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3104 tabCalendaring->SetScrollRate( 5, 5 );
3105 wxBoxSizer* bSizer1821;
3106 bSizer1821 = new wxBoxSizer( wxVERTICAL );
3108 wxFlexGridSizer* fgSizer521;
3109 fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 );
3110 fgSizer521->AddGrowableCol( 1 );
3111 fgSizer521->SetFlexibleDirection( wxBOTH );
3112 fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3114 lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
3115 lblCalendarAddresses->Wrap( 0 );
3116 fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 );
3118 wxBoxSizer* szrAddresses21;
3119 szrAddresses21 = new wxBoxSizer( wxHORIZONTAL );
3121 lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3122 szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 );
3124 wxBoxSizer* szrAddressesOuter21;
3125 szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL );
3127 wxBoxSizer* bSizer4631;
3128 bSizer4631 = new wxBoxSizer( wxHORIZONTAL );
3130 wxBoxSizer* bSizer4731;
3131 bSizer4731 = new wxBoxSizer( wxVERTICAL );
3133 btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3134 bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 );
3136 btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3137 bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 );
3139 btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3140 bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 );
3143 bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 );
3146 szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 );
3149 szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 );
3152 fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 );
3154 lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 );
3155 lblCalendarRequestAddresses->Wrap( 0 );
3156 fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 );
3158 wxBoxSizer* bSizer30131;
3159 bSizer30131 = new wxBoxSizer( wxHORIZONTAL );
3161 lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3162 bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 );
3164 wxBoxSizer* bSizer35131;
3165 bSizer35131 = new wxBoxSizer( wxVERTICAL );
3167 wxBoxSizer* bSizer46131;
3168 bSizer46131 = new wxBoxSizer( wxHORIZONTAL );
3170 wxBoxSizer* bSizer47131;
3171 bSizer47131 = new wxBoxSizer( wxVERTICAL );
3173 btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3174 bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 );
3176 btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3177 bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 );
3179 btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3180 bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 );
3183 bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 );
3186 bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 );
3189 bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 );
3192 fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 );
3194 lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
3195 lblFreeBusyAddresses->Wrap( 0 );
3196 fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 );
3198 wxBoxSizer* bSizer301131;
3199 bSizer301131 = new wxBoxSizer( wxHORIZONTAL );
3201 lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3202 bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 );
3204 wxBoxSizer* bSizer351131;
3205 bSizer351131 = new wxBoxSizer( wxVERTICAL );
3207 wxBoxSizer* bSizer461131;
3208 bSizer461131 = new wxBoxSizer( wxHORIZONTAL );
3210 wxBoxSizer* bSizer471131;
3211 bSizer471131 = new wxBoxSizer( wxVERTICAL );
3213 btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3214 bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 );
3216 btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3217 bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 );
3219 btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3220 bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 );
3223 bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 );
3226 bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 );
3229 bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 );
3232 fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 );
3235 bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 );
3238 tabCalendaring->SetSizer( bSizer1821 );
3239 tabCalendaring->Layout();
3240 bSizer1821->Fit( tabCalendaring );
3241 nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false );
3242 tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3243 tabSecurity->SetScrollRate( 5, 5 );
3244 wxBoxSizer* szrAddresses1112;
3245 szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL );
3247 lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3248 szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 );
3250 wxBoxSizer* szrCategoriesOuter12;
3251 szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL );
3253 wxBoxSizer* bSizer462112;
3254 bSizer462112 = new wxBoxSizer( wxHORIZONTAL );
3256 wxBoxSizer* bSizer472112;
3257 bSizer472112 = new wxBoxSizer( wxVERTICAL );
3259 btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3260 bSizer472112->Add( btnAddKey, 0, wxALL, 5 );
3262 btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3263 bSizer472112->Add( btnModifyKey, 0, wxALL, 5 );
3265 btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3266 bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 );
3269 bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 );
3272 szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 );
3275 szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 );
3278 tabSecurity->SetSizer( szrAddresses1112 );
3279 tabSecurity->Layout();
3280 szrAddresses1112->Fit( tabSecurity );
3281 nbkContact->AddPage( tabSecurity, wxT("Security"), false );
3282 tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
3283 tabOther->SetScrollRate( 5, 5 );
3284 wxFlexGridSizer* fgSizer5211;
3285 fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 );
3286 fgSizer5211->AddGrowableCol( 1 );
3287 fgSizer5211->SetFlexibleDirection( wxBOTH );
3288 fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3290 lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 );
3291 lblVendorNamespace->Wrap( 0 );
3292 fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 );
3294 wxBoxSizer* szrAddresses211;
3295 szrAddresses211 = new wxBoxSizer( wxHORIZONTAL );
3297 lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
3298 szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 );
3300 wxBoxSizer* szrAddressesOuter211;
3301 szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL );
3303 wxBoxSizer* bSizer46311;
3304 bSizer46311 = new wxBoxSizer( wxHORIZONTAL );
3306 wxBoxSizer* bSizer47311;
3307 bSizer47311 = new wxBoxSizer( wxVERTICAL );
3309 btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3310 bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 );
3312 btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3313 bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 );
3315 btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3316 bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 );
3319 bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 );
3322 szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 );
3325 szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 );
3328 fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 );
3330 lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 );
3331 lblXTokens->Wrap( 0 );
3332 fgSizer5211->Add( lblXTokens, 0, wxALL, 5 );
3334 wxBoxSizer* bSizer301311;
3335 bSizer301311 = new wxBoxSizer( wxHORIZONTAL );
3337 lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
3338 bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 );
3340 wxBoxSizer* bSizer351311;
3341 bSizer351311 = new wxBoxSizer( wxVERTICAL );
3343 wxBoxSizer* bSizer461311;
3344 bSizer461311 = new wxBoxSizer( wxHORIZONTAL );
3346 wxBoxSizer* bSizer471311;
3347 bSizer471311 = new wxBoxSizer( wxVERTICAL );
3349 btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
3350 bSizer471311->Add( btnAddXToken, 0, wxALL, 5 );
3352 btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
3353 bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 );
3355 btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
3356 bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 );
3359 bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 );
3362 bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 );
3365 bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 );
3368 fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 );
3371 tabOther->SetSizer( fgSizer5211 );
3373 fgSizer5211->Fit( tabOther );
3374 nbkContact->AddPage( tabOther, wxT("Other"), false );
3376 bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 );
3379 this->SetSizer( bSizer17 );
3381 m_menubar3 = new wxMenuBar( 0 );
3382 mnuContact = new wxMenu();
3383 wxMenuItem* mnuContactSave;
3384 mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL );
3385 mnuContact->Append( mnuContactSave );
3387 wxMenuItem* mnuContactSaveClose;
3388 mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL );
3389 mnuContact->Append( mnuContactSaveClose );
3391 mnuContact->AppendSeparator();
3393 wxMenuItem* mnuContactClose;
3394 mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
3395 mnuContact->Append( mnuContactClose );
3397 m_menubar3->Append( mnuContact, wxT("&Contact") );
3399 mnuEdit = new wxMenu();
3400 wxMenuItem* mnuEditCut;
3401 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL );
3402 mnuEdit->Append( mnuEditCut );
3404 wxMenuItem* mnuEditCopy;
3405 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL );
3406 mnuEdit->Append( mnuEditCopy );
3408 wxMenuItem* mnuEditPaste;
3409 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL );
3410 mnuEdit->Append( mnuEditPaste );
3412 m_menubar3->Append( mnuEdit, wxT("&Edit") );
3414 this->SetMenuBar( m_menubar3 );
3417 this->Centre( wxBOTH );
3420 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
3421 txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3422 txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3423 txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3424 txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3425 txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3426 cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3427 cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3428 cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
3429 btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
3430 btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
3431 btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
3432 btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
3433 btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
3434 btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
3435 btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
3436 btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
3437 btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
3438 btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
3439 btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
3440 btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
3441 btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
3442 btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
3443 btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
3444 btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
3445 btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
3446 btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
3447 btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
3448 btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
3449 btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
3450 btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
3451 btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
3452 btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
3453 btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
3454 btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
3455 btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
3456 btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
3457 btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
3458 btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
3459 btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
3460 btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
3461 btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
3462 btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
3463 btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
3464 btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
3465 btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
3466 btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
3467 btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
3468 btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
3469 btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
3470 btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
3471 btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
3472 btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
3473 btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
3474 btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
3475 btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
3476 btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
3477 btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
3478 btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
3479 btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
3480 btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
3481 btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
3482 btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
3483 btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
3484 btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
3485 btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
3486 btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
3487 btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
3488 btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
3489 btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
3490 btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
3491 btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
3492 btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
3493 btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
3494 btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
3495 btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
3496 btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
3497 btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
3498 btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
3499 btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
3500 btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
3501 btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
3502 btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
3503 btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
3504 btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
3505 btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
3506 btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
3507 btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
3508 btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
3509 btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
3510 btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
3511 btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
3512 btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
3513 btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
3514 btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
3515 btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
3516 btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
3517 btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
3518 btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
3519 btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
3520 btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
3521 btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
3522 btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
3523 btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
3524 btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
3525 btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
3526 btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
3527 btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
3528 btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
3529 btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
3530 btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
3531 btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
3532 btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
3533 btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
3534 btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
3535 btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
3536 btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
3537 btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
3538 btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
3539 btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
3540 btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
3541 btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
3542 btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
3543 btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
3544 btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
3545 btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
3546 btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
3547 btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
3548 btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
3549 btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
3550 btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
3551 btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
3552 btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
3553 btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
3554 btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
3555 lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
3556 btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
3557 btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
3558 btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
3559 btnSavePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this );
3560 lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
3561 btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
3562 btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
3563 btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
3564 btnSaveLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this );
3565 btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
3566 btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
3567 btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
3568 btnSaveSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this );
3569 btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
3570 btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
3571 btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
3572 btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
3573 btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3574 btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
3575 btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
3576 btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3577 btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
3578 btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
3579 btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
3580 btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
3581 btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
3582 btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
3583 btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
3584 btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
3585 btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
3586 btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
3587 btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
3588 btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
3589 this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
3590 this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
3591 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
3592 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
3593 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
3594 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
3597 frmContactEditorADT::~frmContactEditorADT()
3599 // Disconnect Events
3600 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
3601 txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3602 txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3603 txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3604 txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3605 txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
3606 cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3607 cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
3608 cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
3609 btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
3610 btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
3611 btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
3612 btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
3613 btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
3614 btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
3615 btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
3616 btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
3617 btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
3618 btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
3619 btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
3620 btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
3621 btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
3622 btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
3623 btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
3624 btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
3625 btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
3626 btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
3627 btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
3628 btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
3629 btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
3630 btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
3631 btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
3632 btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
3633 btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
3634 btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
3635 btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
3636 btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
3637 btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
3638 btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
3639 btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
3640 btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
3641 btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
3642 btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
3643 btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
3644 btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
3645 btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
3646 btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
3647 btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
3648 btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
3649 btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
3650 btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
3651 btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
3652 btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
3653 btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
3654 btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
3655 btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
3656 btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
3657 btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
3658 btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
3659 btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
3660 btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
3661 btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
3662 btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
3663 btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
3664 btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
3665 btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
3666 btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
3667 btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
3668 btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
3669 btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
3670 btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
3671 btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
3672 btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
3673 btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
3674 btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
3675 btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
3676 btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
3677 btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
3678 btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
3679 btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
3680 btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
3681 btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
3682 btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
3683 btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
3684 btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
3685 btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
3686 btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
3687 btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
3688 btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
3689 btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
3690 btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
3691 btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
3692 btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
3693 btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
3694 btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
3695 btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
3696 btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
3697 btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
3698 btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
3699 btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
3700 btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
3701 btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
3702 btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
3703 btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
3704 btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
3705 btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
3706 btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
3707 btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
3708 btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
3709 btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
3710 btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
3711 btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
3712 btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
3713 btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
3714 btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
3715 btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
3716 btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
3717 btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
3718 btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
3719 btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
3720 btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
3721 btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
3722 btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
3723 btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
3724 btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
3725 btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
3726 btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
3727 btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
3728 btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
3729 btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
3730 btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
3731 btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
3732 btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
3733 btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
3734 btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
3735 lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
3736 btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
3737 btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
3738 btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
3739 btnSavePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this );
3740 lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
3741 btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
3742 btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
3743 btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
3744 btnSaveLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this );
3745 btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
3746 btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
3747 btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
3748 btnSaveSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this );
3749 btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
3750 btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
3751 btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
3752 btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
3753 btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3754 btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
3755 btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
3756 btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
3757 btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
3758 btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
3759 btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
3760 btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
3761 btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
3762 btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
3763 btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
3764 btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
3765 btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
3766 btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
3767 btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
3768 btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
3769 this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
3770 this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
3771 this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
3772 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
3773 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
3774 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
3778 frmContactEditorAddressADT::frmContactEditorAddressADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
3780 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
3782 wxBoxSizer* bSizer251;
3783 bSizer251 = new wxBoxSizer( wxVERTICAL );
3785 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
3786 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3787 wxFlexGridSizer* fgSizer6;
3788 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
3789 fgSizer6->AddGrowableCol( 1 );
3790 fgSizer6->SetFlexibleDirection( wxVERTICAL );
3791 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3793 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
3794 lblAddress->Wrap( -1 );
3795 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3797 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3798 txtAddress->SetMaxLength( 0 );
3799 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
3801 m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 );
3802 m_staticText61->Wrap( -1 );
3803 fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3805 txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3806 txtTownCity->SetMaxLength( 0 );
3807 fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 );
3809 lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 );
3810 lblCountyState->Wrap( -1 );
3811 fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3813 txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3814 txtCounty->SetMaxLength( 0 );
3815 fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 );
3817 lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 );
3818 lblPostCode->Wrap( -1 );
3819 fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3821 txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3822 txtPostCode->SetMaxLength( 0 );
3823 fgSizer6->Add( txtPostCode, 0, wxALL, 5 );
3825 lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 );
3826 lblCountry->Wrap( -1 );
3827 fgSizer6->Add( lblCountry, 0, wxALL, 5 );
3829 txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3830 txtCountry->SetMaxLength( 0 );
3831 fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 );
3833 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
3834 lblPriority->Wrap( -1 );
3835 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
3837 wxBoxSizer* bSizer260;
3838 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
3840 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
3841 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
3843 wxBoxSizer* bSizer254;
3844 bSizer254 = new wxBoxSizer( wxVERTICAL );
3846 wxBoxSizer* bSizer256;
3847 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
3849 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
3850 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
3853 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
3855 wxBoxSizer* bSizer255;
3856 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
3858 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
3859 lblHigh->Wrap( -1 );
3860 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
3863 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
3865 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
3867 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
3870 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
3873 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
3876 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
3879 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
3882 tabGeneral->SetSizer( fgSizer6 );
3883 tabGeneral->Layout();
3884 fgSizer6->Fit( tabGeneral );
3885 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
3886 tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3887 wxBoxSizer* bSizer253;
3888 bSizer253 = new wxBoxSizer( wxVERTICAL );
3890 btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 );
3891 bSizer253->Add( btnCopyMailing, 0, wxALL, 5 );
3893 txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
3894 bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 );
3897 tabLabel->SetSizer( bSizer253 );
3899 bSizer253->Fit( tabLabel );
3900 nbkAddress->AddPage( tabLabel, wxT("Label"), false );
3901 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
3902 wxFlexGridSizer* fgSizer61;
3903 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
3904 fgSizer61->AddGrowableCol( 1 );
3905 fgSizer61->SetFlexibleDirection( wxVERTICAL );
3906 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3908 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
3909 lblLanguage->Wrap( -1 );
3910 fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3912 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
3913 fgSizer61->Add( cmbLanguage, 0, wxALL, 5 );
3915 lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
3916 lblGeography->Wrap( -1 );
3917 fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3919 txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3920 txtGeo->SetMaxLength( 0 );
3921 fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 );
3923 lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
3924 lblTimezone->Wrap( -1 );
3925 fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
3927 txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
3928 txtTimezone->SetMaxLength( 0 );
3929 fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 );
3932 tabOther->SetSizer( fgSizer61 );
3934 fgSizer61->Fit( tabOther );
3935 nbkAddress->AddPage( tabOther, wxT("Other"), false );
3937 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
3939 wxBoxSizer* bSizer252;
3940 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
3942 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
3943 bSizer252->Add( btnAction, 0, wxALL, 5 );
3945 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
3946 bSizer252->Add( btnClose, 0, wxALL, 5 );
3949 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
3952 this->SetSizer( bSizer251 );
3955 this->Centre( wxBOTH );
3958 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
3959 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
3960 btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
3961 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
3962 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
3965 frmContactEditorAddressADT::~frmContactEditorAddressADT()
3967 // Disconnect Events
3968 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
3969 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
3970 btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
3971 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
3972 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
3976 frmConflictResolutionADT::frmConflictResolutionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
3978 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
3980 wxFlexGridSizer* fgSizer39;
3981 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
3982 fgSizer39->AddGrowableCol( 0 );
3983 fgSizer39->AddGrowableRow( 0 );
3984 fgSizer39->SetFlexibleDirection( wxBOTH );
3985 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
3987 wxBoxSizer* bSizer363;
3988 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
3990 wxBoxSizer* bSizer364;
3991 bSizer364 = new wxBoxSizer( wxVERTICAL );
3993 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 );
3994 lblText->Wrap( -1 );
3995 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
3997 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
3998 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
4000 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4001 wxBoxSizer* bSizer365;
4002 bSizer365 = new wxBoxSizer( wxVERTICAL );
4004 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
4005 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
4008 m_panel44->SetSizer( bSizer365 );
4009 m_panel44->Layout();
4010 bSizer365->Fit( m_panel44 );
4011 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4012 wxBoxSizer* bSizer366;
4013 bSizer366 = new wxBoxSizer( wxVERTICAL );
4015 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
4016 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
4019 m_panel45->SetSizer( bSizer366 );
4020 m_panel45->Layout();
4021 bSizer366->Fit( m_panel45 );
4022 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
4023 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
4025 wxBoxSizer* bSizer367;
4026 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
4029 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
4031 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
4032 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
4034 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
4035 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
4037 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
4038 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
4041 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
4044 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
4047 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
4050 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
4053 this->SetSizer( fgSizer39 );
4056 this->Centre( wxBOTH );
4059 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
4060 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
4061 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
4064 frmConflictResolutionADT::~frmConflictResolutionADT()
4066 // Disconnect Events
4067 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
4068 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
4069 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
4073 frmActivityMgrADT::frmActivityMgrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
4075 this->SetSizeHints( wxSize( 400,300 ), wxDefaultSize );
4077 mnuMenuBar = new wxMenuBar( 0 );
4078 mnuWindow = new wxMenu();
4079 wxMenuItem* mnuStopActivity;
4080 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
4081 mnuWindow->Append( mnuStopActivity );
4083 wxMenuItem* mnuActivityStopAll;
4084 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
4085 mnuWindow->Append( mnuActivityStopAll );
4087 wxMenuItem* mnuRetryActivity;
4088 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
4089 mnuWindow->Append( mnuRetryActivity );
4091 mnuWindow->AppendSeparator();
4093 wxMenuItem* mnuSleepMode;
4094 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
4095 mnuWindow->Append( mnuSleepMode );
4097 mnuWindow->AppendSeparator();
4099 wxMenuItem* mnuWindowClose;
4100 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
4101 mnuWindow->Append( mnuWindowClose );
4103 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
4105 this->SetMenuBar( mnuMenuBar );
4107 wxFlexGridSizer* fgSizer38;
4108 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
4109 fgSizer38->AddGrowableCol( 0 );
4110 fgSizer38->AddGrowableRow( 1 );
4111 fgSizer38->SetFlexibleDirection( wxBOTH );
4112 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4114 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4115 wxBoxSizer* bSizer363;
4116 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
4118 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
4119 bmpActivity->SetMinSize( wxSize( 64,64 ) );
4121 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
4123 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4124 wxBoxSizer* bSizer364;
4125 bSizer364 = new wxBoxSizer( wxVERTICAL );
4128 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4130 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
4131 lblDetails->Wrap( -1 );
4132 bSizer364->Add( lblDetails, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 0 );
4135 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4137 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
4138 GauProgress->SetValue( 0 );
4139 GauProgress->SetMinSize( wxSize( -1,20 ) );
4141 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
4144 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
4147 m_panel46->SetSizer( bSizer364 );
4148 m_panel46->Layout();
4149 bSizer364->Fit( m_panel46 );
4150 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
4153 m_panel43->SetSizer( bSizer363 );
4154 m_panel43->Layout();
4155 bSizer363->Fit( m_panel43 );
4156 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
4158 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4159 wxBoxSizer* bSizer365;
4160 bSizer365 = new wxBoxSizer( wxVERTICAL );
4162 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
4163 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
4166 m_panel44->SetSizer( bSizer365 );
4167 m_panel44->Layout();
4168 bSizer365->Fit( m_panel44 );
4169 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
4172 this->SetSizer( fgSizer38 );
4175 this->Centre( wxBOTH );
4178 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
4179 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
4180 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
4181 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
4182 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
4183 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
4186 frmActivityMgrADT::~frmActivityMgrADT()
4188 // Disconnect Events
4189 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
4190 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
4191 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
4192 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
4193 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
4194 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
4198 frmContactEditorNicknameADT::frmContactEditorNicknameADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4200 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4202 wxBoxSizer* bSizer251;
4203 bSizer251 = new wxBoxSizer( wxVERTICAL );
4205 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4206 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4207 wxFlexGridSizer* fgSizer6;
4208 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4209 fgSizer6->AddGrowableCol( 1 );
4210 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4211 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4213 lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
4214 lblNickname->Wrap( -1 );
4215 fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4217 txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4218 txtNickname->SetMaxLength( 0 );
4219 fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 );
4221 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4222 lblPriority->Wrap( -1 );
4223 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4225 wxBoxSizer* bSizer260;
4226 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4228 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4229 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4231 wxBoxSizer* bSizer254;
4232 bSizer254 = new wxBoxSizer( wxVERTICAL );
4234 wxBoxSizer* bSizer256;
4235 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4237 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4238 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4241 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4243 wxBoxSizer* bSizer255;
4244 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4246 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4247 lblHigh->Wrap( -1 );
4248 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4251 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4253 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4255 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4258 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4261 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4264 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4267 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4270 tabGeneral->SetSizer( fgSizer6 );
4271 tabGeneral->Layout();
4272 fgSizer6->Fit( tabGeneral );
4273 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
4274 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4275 wxFlexGridSizer* fgSizer61;
4276 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
4277 fgSizer61->AddGrowableCol( 1 );
4278 fgSizer61->SetFlexibleDirection( wxBOTH );
4279 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4281 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
4282 lblLanguage->Wrap( -1 );
4283 fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4285 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4286 fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 );
4289 tabOther->SetSizer( fgSizer61 );
4291 fgSizer61->Fit( tabOther );
4292 nbkAddress->AddPage( tabOther, wxT("Other"), false );
4294 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
4296 wxBoxSizer* bSizer252;
4297 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4299 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4300 bSizer252->Add( btnAction, 0, wxALL, 5 );
4302 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4303 bSizer252->Add( btnClose, 0, wxALL, 5 );
4306 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4309 this->SetSizer( bSizer251 );
4312 this->Centre( wxBOTH );
4315 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
4316 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
4317 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
4318 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
4321 frmContactEditorNicknameADT::~frmContactEditorNicknameADT()
4323 // Disconnect Events
4324 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
4325 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
4326 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
4327 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
4331 frmContactEditorGroupsADT::frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4333 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
4335 wxBoxSizer* bSizer251;
4336 bSizer251 = new wxBoxSizer( wxVERTICAL );
4338 nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4339 tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4340 wxFlexGridSizer* fgSizer6;
4341 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4342 fgSizer6->AddGrowableCol( 1 );
4343 fgSizer6->AddGrowableRow( 0 );
4344 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4345 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4347 lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 );
4348 lblContacts->Wrap( -1 );
4349 fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 );
4351 wxArrayString chkContactsChoices;
4352 chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
4353 fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 );
4356 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4359 tabGeneral->SetSizer( fgSizer6 );
4360 tabGeneral->Layout();
4361 fgSizer6->Fit( tabGeneral );
4362 nbkGroup->AddPage( tabGeneral, wxT("General"), false );
4364 bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 );
4366 wxBoxSizer* bSizer252;
4367 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4369 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4370 bSizer252->Add( btnAction, 0, wxALL, 5 );
4372 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4373 bSizer252->Add( btnClose, 0, wxALL, 5 );
4376 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4379 this->SetSizer( bSizer251 );
4382 this->Centre( wxBOTH );
4385 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
4386 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
4387 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
4390 frmContactEditorGroupsADT::~frmContactEditorGroupsADT()
4392 // Disconnect Events
4393 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
4394 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
4395 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
4399 frmContactEditorRolesADT::frmContactEditorRolesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4401 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4403 wxBoxSizer* bSizer251;
4404 bSizer251 = new wxBoxSizer( wxVERTICAL );
4406 nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4407 tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4408 wxFlexGridSizer* fgSizer6;
4409 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4410 fgSizer6->AddGrowableCol( 1 );
4411 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4412 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4414 lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 );
4415 lblRole->Wrap( -1 );
4416 fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4418 txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4419 txtRole->SetMaxLength( 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 txtOrganisation->SetMaxLength( 0 );
4532 fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 );
4534 lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 );
4535 lblSortAs->Wrap( -1 );
4536 fgSizer6->Add( lblSortAs, 0, wxALL, 5 );
4538 cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4539 fgSizer6->Add( cmbSortAs, 1, wxALL, 5 );
4541 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4542 lblPriority->Wrap( -1 );
4543 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4545 wxBoxSizer* bSizer260;
4546 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4548 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4549 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4551 wxBoxSizer* bSizer254;
4552 bSizer254 = new wxBoxSizer( wxVERTICAL );
4554 wxBoxSizer* bSizer256;
4555 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4557 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4558 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4561 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4563 wxBoxSizer* bSizer255;
4564 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4566 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4567 lblHigh->Wrap( -1 );
4568 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4571 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4573 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4575 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4578 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4581 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4584 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4587 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4590 tabGeneral->SetSizer( fgSizer6 );
4591 tabGeneral->Layout();
4592 fgSizer6->Fit( tabGeneral );
4593 nbkOrganisation->AddPage( tabGeneral, wxT("General"), false );
4595 bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 );
4597 wxBoxSizer* bSizer252;
4598 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4600 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4601 bSizer252->Add( btnAction, 0, wxALL, 5 );
4603 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4604 bSizer252->Add( btnClose, 0, wxALL, 5 );
4607 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4610 this->SetSizer( bSizer251 );
4613 this->Centre( wxBOTH );
4616 txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
4617 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
4618 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
4619 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
4622 frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT()
4624 // Disconnect Events
4625 txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
4626 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
4627 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
4628 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
4632 frmContactEditorNotesADT::frmContactEditorNotesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4634 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4636 wxBoxSizer* bSizer251;
4637 bSizer251 = new wxBoxSizer( wxVERTICAL );
4639 nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4640 tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4641 wxBoxSizer* bSizer353;
4642 bSizer353 = new wxBoxSizer( wxVERTICAL );
4644 txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
4645 bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 );
4648 tabGeneral->SetSizer( bSizer353 );
4649 tabGeneral->Layout();
4650 bSizer353->Fit( tabGeneral );
4651 nbkNotes->AddPage( tabGeneral, wxT("General"), true );
4652 tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4653 wxFlexGridSizer* fgSizer61;
4654 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
4655 fgSizer61->AddGrowableCol( 1 );
4656 fgSizer61->SetFlexibleDirection( wxVERTICAL );
4657 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4659 lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4660 lblPriority->Wrap( -1 );
4661 fgSizer61->Add( lblPriority, 0, wxALL, 5 );
4663 wxBoxSizer* bSizer2601;
4664 bSizer2601 = new wxBoxSizer( wxHORIZONTAL );
4666 chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4667 bSizer2601->Add( chkUsePref, 0, wxALL, 5 );
4669 wxBoxSizer* bSizer2541;
4670 bSizer2541 = new wxBoxSizer( wxVERTICAL );
4672 wxBoxSizer* bSizer2561;
4673 bSizer2561 = new wxBoxSizer( wxHORIZONTAL );
4675 sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4676 bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4679 bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 );
4681 wxBoxSizer* bSizer2551;
4682 bSizer2551 = new wxBoxSizer( wxHORIZONTAL );
4684 lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4685 lblHigh->Wrap( -1 );
4686 bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4689 bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 );
4691 lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4693 bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4696 bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 );
4699 bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 );
4702 fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 );
4705 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
4708 tabPriority->SetSizer( fgSizer61 );
4709 tabPriority->Layout();
4710 fgSizer61->Fit( tabPriority );
4711 nbkNotes->AddPage( tabPriority, wxT("Priority"), false );
4712 tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4713 wxFlexGridSizer* fgSizer611;
4714 fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 );
4715 fgSizer611->AddGrowableCol( 0 );
4716 fgSizer611->SetFlexibleDirection( wxBOTH );
4717 fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4719 lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
4720 lblLanguage->Wrap( -1 );
4721 fgSizer611->Add( lblLanguage, 1, wxALL, 5 );
4723 cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4724 fgSizer611->Add( cmbLanguage, 1, wxALL, 5 );
4727 tabLanguage->SetSizer( fgSizer611 );
4728 tabLanguage->Layout();
4729 fgSizer611->Fit( tabLanguage );
4730 nbkNotes->AddPage( tabLanguage, wxT("Language"), false );
4732 bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 );
4734 wxBoxSizer* bSizer252;
4735 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4737 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4738 bSizer252->Add( btnAction, 0, wxALL, 5 );
4740 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4741 bSizer252->Add( btnClose, 0, wxALL, 5 );
4744 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4747 this->SetSizer( bSizer251 );
4750 this->Centre( wxBOTH );
4753 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
4754 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
4755 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
4758 frmContactEditorNotesADT::~frmContactEditorNotesADT()
4760 // Disconnect Events
4761 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
4762 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
4763 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
4767 frmContactEditorTitlesADT::frmContactEditorTitlesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4769 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4771 wxBoxSizer* bSizer251;
4772 bSizer251 = new wxBoxSizer( wxVERTICAL );
4774 nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4775 tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4776 wxFlexGridSizer* fgSizer6;
4777 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4778 fgSizer6->AddGrowableCol( 1 );
4779 fgSizer6->SetFlexibleDirection( wxVERTICAL );
4780 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4782 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
4783 lblTitle->Wrap( -1 );
4784 fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4786 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4787 txtTitle->SetMaxLength( 0 );
4788 fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
4790 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4791 lblPriority->Wrap( -1 );
4792 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4794 wxBoxSizer* bSizer260;
4795 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4797 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4798 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4800 wxBoxSizer* bSizer254;
4801 bSizer254 = new wxBoxSizer( wxVERTICAL );
4803 wxBoxSizer* bSizer256;
4804 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4806 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4807 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4810 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4812 wxBoxSizer* bSizer255;
4813 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4815 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4816 lblHigh->Wrap( -1 );
4817 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4820 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4822 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4824 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4827 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4830 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4833 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4836 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4839 tabGeneral->SetSizer( fgSizer6 );
4840 tabGeneral->Layout();
4841 fgSizer6->Fit( tabGeneral );
4842 nbkTitles->AddPage( tabGeneral, wxT("General"), false );
4844 bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 );
4846 wxBoxSizer* bSizer252;
4847 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4849 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4850 bSizer252->Add( btnAction, 0, wxALL, 5 );
4852 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4853 bSizer252->Add( btnClose, 0, wxALL, 5 );
4856 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4859 this->SetSizer( bSizer251 );
4862 this->Centre( wxBOTH );
4865 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
4866 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
4867 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
4870 frmContactEditorTitlesADT::~frmContactEditorTitlesADT()
4872 // Disconnect Events
4873 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
4874 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
4875 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
4879 frmContactEditorRelatedADT::frmContactEditorRelatedADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
4881 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
4883 wxBoxSizer* bSizer251;
4884 bSizer251 = new wxBoxSizer( wxVERTICAL );
4886 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
4887 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
4888 wxFlexGridSizer* fgSizer6;
4889 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
4890 fgSizer6->AddGrowableCol( 0 );
4891 fgSizer6->SetFlexibleDirection( wxBOTH );
4892 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
4894 lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 );
4895 lblRelation->Wrap( -1 );
4896 fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
4898 txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
4899 txtRelated->SetMaxLength( 0 );
4900 fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 );
4902 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
4903 lblType->Wrap( -1 );
4904 fgSizer6->Add( lblType, 0, wxALL, 5 );
4906 cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
4907 fgSizer6->Add( cmbType, 0, wxALL, 5 );
4909 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
4910 lblPriority->Wrap( -1 );
4911 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
4913 wxBoxSizer* bSizer260;
4914 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
4916 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
4917 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
4919 wxBoxSizer* bSizer254;
4920 bSizer254 = new wxBoxSizer( wxVERTICAL );
4922 wxBoxSizer* bSizer256;
4923 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
4925 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
4926 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
4929 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
4931 wxBoxSizer* bSizer255;
4932 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
4934 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
4935 lblHigh->Wrap( -1 );
4936 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
4939 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
4941 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
4943 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
4946 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
4949 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
4952 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
4955 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
4958 tabGeneral->SetSizer( fgSizer6 );
4959 tabGeneral->Layout();
4960 fgSizer6->Fit( tabGeneral );
4961 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
4963 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
4965 wxBoxSizer* bSizer252;
4966 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
4968 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
4969 bSizer252->Add( btnAction, 0, wxALL, 5 );
4971 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
4972 bSizer252->Add( btnClose, 0, wxALL, 5 );
4975 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
4978 this->SetSizer( bSizer251 );
4981 this->Centre( wxBOTH );
4984 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
4985 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
4986 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
4989 frmContactEditorRelatedADT::~frmContactEditorRelatedADT()
4991 // Disconnect Events
4992 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
4993 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
4994 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
4998 frmContactEditorSoundADT::frmContactEditorSoundADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5000 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5002 wxBoxSizer* bSizer251;
5003 bSizer251 = new wxBoxSizer( wxVERTICAL );
5005 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5006 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5007 wxFlexGridSizer* fgSizer6;
5008 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5009 fgSizer6->AddGrowableCol( 1 );
5010 fgSizer6->SetFlexibleDirection( wxBOTH );
5011 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5013 lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 );
5014 lblSoundFile->Wrap( -1 );
5015 fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5017 fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
5018 fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 );
5020 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5021 lblType->Wrap( -1 );
5022 fgSizer6->Add( lblType, 0, wxALL, 5 );
5024 wxArrayString cmbTypeChoices;
5025 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5026 cmbType->SetSelection( 0 );
5027 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5029 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5030 lblPriority->Wrap( -1 );
5031 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5033 wxBoxSizer* bSizer260;
5034 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5036 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5037 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5039 wxBoxSizer* bSizer254;
5040 bSizer254 = new wxBoxSizer( wxVERTICAL );
5042 wxBoxSizer* bSizer256;
5043 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5045 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5046 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5049 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5051 wxBoxSizer* bSizer255;
5052 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5054 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5055 lblHigh->Wrap( -1 );
5056 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5059 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5061 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5063 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5066 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5069 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5072 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5075 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5078 tabGeneral->SetSizer( fgSizer6 );
5079 tabGeneral->Layout();
5080 fgSizer6->Fit( tabGeneral );
5081 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
5083 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
5085 wxBoxSizer* bSizer252;
5086 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5088 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5089 bSizer252->Add( btnAction, 0, wxALL, 5 );
5091 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5092 bSizer252->Add( btnClose, 0, wxALL, 5 );
5095 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5098 this->SetSizer( bSizer251 );
5101 this->Centre( wxBOTH );
5104 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
5105 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
5106 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
5109 frmContactEditorSoundADT::~frmContactEditorSoundADT()
5111 // Disconnect Events
5112 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
5113 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
5114 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
5118 frmContactEditorPictureADT::frmContactEditorPictureADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5120 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5122 wxBoxSizer* bSizer251;
5123 bSizer251 = new wxBoxSizer( wxVERTICAL );
5125 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5126 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5127 wxFlexGridSizer* fgSizer6;
5128 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5129 fgSizer6->AddGrowableCol( 1 );
5130 fgSizer6->SetFlexibleDirection( wxBOTH );
5131 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5133 lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 );
5134 lblPictureFile->Wrap( -1 );
5135 fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5137 fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
5138 fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 );
5140 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5141 lblType->Wrap( -1 );
5142 fgSizer6->Add( lblType, 0, wxALL, 5 );
5144 wxArrayString cmbTypeChoices;
5145 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5146 cmbType->SetSelection( 0 );
5147 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5149 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5150 lblPriority->Wrap( -1 );
5151 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5153 wxBoxSizer* bSizer260;
5154 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5156 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5157 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5159 wxBoxSizer* bSizer254;
5160 bSizer254 = new wxBoxSizer( wxVERTICAL );
5162 wxBoxSizer* bSizer256;
5163 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5165 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5166 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5169 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5171 wxBoxSizer* bSizer255;
5172 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5174 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5175 lblHigh->Wrap( -1 );
5176 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5179 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5181 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5183 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5186 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5189 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5192 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5195 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5198 tabGeneral->SetSizer( fgSizer6 );
5199 tabGeneral->Layout();
5200 fgSizer6->Fit( tabGeneral );
5201 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
5203 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
5205 wxBoxSizer* bSizer252;
5206 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5208 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5209 bSizer252->Add( btnAction, 0, wxALL, 5 );
5211 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5212 bSizer252->Add( btnClose, 0, wxALL, 5 );
5215 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5218 this->SetSizer( bSizer251 );
5221 this->Centre( wxBOTH );
5224 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
5225 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
5226 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
5229 frmContactEditorPictureADT::~frmContactEditorPictureADT()
5231 // Disconnect Events
5232 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
5233 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
5234 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
5238 frmContactEditorWebsitesADT::frmContactEditorWebsitesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5240 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5242 wxBoxSizer* bSizer251;
5243 bSizer251 = new wxBoxSizer( wxVERTICAL );
5245 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5246 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5247 wxFlexGridSizer* fgSizer6;
5248 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5249 fgSizer6->AddGrowableCol( 1 );
5250 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5251 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5253 lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 );
5254 lblWebsite->Wrap( -1 );
5255 fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5257 txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5258 txtWebsite->SetMaxLength( 0 );
5259 fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 );
5261 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5262 lblPriority->Wrap( -1 );
5263 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5265 wxBoxSizer* bSizer260;
5266 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5268 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5269 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5271 wxBoxSizer* bSizer254;
5272 bSizer254 = new wxBoxSizer( wxVERTICAL );
5274 wxBoxSizer* bSizer256;
5275 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5277 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5278 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5281 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5283 wxBoxSizer* bSizer255;
5284 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5286 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5287 lblHigh->Wrap( -1 );
5288 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5291 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5293 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5295 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5298 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5301 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5304 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5307 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5310 tabGeneral->SetSizer( fgSizer6 );
5311 tabGeneral->Layout();
5312 fgSizer6->Fit( tabGeneral );
5313 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5315 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5317 wxBoxSizer* bSizer252;
5318 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5320 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5321 bSizer252->Add( btnAction, 0, wxALL, 5 );
5323 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5324 bSizer252->Add( btnClose, 0, wxALL, 5 );
5327 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5330 this->SetSizer( bSizer251 );
5333 this->Centre( wxBOTH );
5336 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
5337 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
5338 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
5341 frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT()
5343 // Disconnect Events
5344 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
5345 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
5346 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
5350 frmContactEditorGeopositionADT::frmContactEditorGeopositionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5352 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5354 wxBoxSizer* bSizer251;
5355 bSizer251 = new wxBoxSizer( wxVERTICAL );
5357 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5358 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5359 wxFlexGridSizer* fgSizer6;
5360 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5361 fgSizer6->AddGrowableCol( 1 );
5362 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5363 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5365 lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 );
5366 lblGeoposition->Wrap( -1 );
5367 fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5369 txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5370 txtGeoposition->SetMaxLength( 0 );
5371 fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 );
5373 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5374 lblPriority->Wrap( -1 );
5375 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5377 wxBoxSizer* bSizer260;
5378 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5380 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5381 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5383 wxBoxSizer* bSizer254;
5384 bSizer254 = new wxBoxSizer( wxVERTICAL );
5386 wxBoxSizer* bSizer256;
5387 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5389 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5390 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5393 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5395 wxBoxSizer* bSizer255;
5396 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5398 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5399 lblHigh->Wrap( -1 );
5400 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5403 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5405 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5407 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5410 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5413 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5416 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5419 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5422 tabGeneral->SetSizer( fgSizer6 );
5423 tabGeneral->Layout();
5424 fgSizer6->Fit( tabGeneral );
5425 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5427 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5429 wxBoxSizer* bSizer252;
5430 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5432 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5433 bSizer252->Add( btnAction, 0, wxALL, 5 );
5435 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5436 bSizer252->Add( btnClose, 0, wxALL, 5 );
5439 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5442 this->SetSizer( bSizer251 );
5445 this->Centre( wxBOTH );
5448 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
5449 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
5450 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
5453 frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT()
5455 // Disconnect Events
5456 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
5457 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
5458 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
5462 frmContactEditorCalAdrADT::frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5464 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5466 wxBoxSizer* bSizer251;
5467 bSizer251 = new wxBoxSizer( wxVERTICAL );
5469 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5470 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5471 wxFlexGridSizer* fgSizer6;
5472 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5473 fgSizer6->AddGrowableCol( 1 );
5474 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5475 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5477 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5478 lblAddress->Wrap( -1 );
5479 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5481 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5482 txtAddress->SetMaxLength( 0 );
5483 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
5485 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5486 lblType->Wrap( -1 );
5487 fgSizer6->Add( lblType, 0, wxALL, 5 );
5489 wxArrayString cmbTypeChoices;
5490 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5491 cmbType->SetSelection( 0 );
5492 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5494 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5495 lblPriority->Wrap( -1 );
5496 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5498 wxBoxSizer* bSizer260;
5499 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5501 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5502 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5504 wxBoxSizer* bSizer254;
5505 bSizer254 = new wxBoxSizer( wxVERTICAL );
5507 wxBoxSizer* bSizer256;
5508 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5510 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5511 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5514 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5516 wxBoxSizer* bSizer255;
5517 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5519 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5520 lblHigh->Wrap( -1 );
5521 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5524 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5526 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5528 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5531 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5534 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5537 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5540 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5543 tabGeneral->SetSizer( fgSizer6 );
5544 tabGeneral->Layout();
5545 fgSizer6->Fit( tabGeneral );
5546 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5548 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5550 wxBoxSizer* bSizer252;
5551 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5553 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5554 bSizer252->Add( btnAction, 0, wxALL, 5 );
5556 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5557 bSizer252->Add( btnClose, 0, wxALL, 5 );
5560 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5563 this->SetSizer( bSizer251 );
5566 this->Centre( wxBOTH );
5569 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
5570 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
5571 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
5574 frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT()
5576 // Disconnect Events
5577 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
5578 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
5579 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
5583 frmContactEditorVendorADT::frmContactEditorVendorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5585 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5587 wxBoxSizer* bSizer251;
5588 bSizer251 = new wxBoxSizer( wxVERTICAL );
5590 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5591 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5592 wxFlexGridSizer* fgSizer6;
5593 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5594 fgSizer6->AddGrowableCol( 1 );
5595 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5596 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5598 lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 );
5599 lblVendorPEN->Wrap( -1 );
5600 fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5602 txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5603 txtPEN->SetMaxLength( 0 );
5604 fgSizer6->Add( txtPEN, 0, wxALL, 5 );
5606 lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 );
5607 lblElement->Wrap( -1 );
5608 fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5610 txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5611 txtElement->SetMaxLength( 0 );
5612 fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 );
5614 lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
5615 lblValue->Wrap( -1 );
5616 fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5618 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5619 txtValue->SetMaxLength( 0 );
5620 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
5623 tabGeneral->SetSizer( fgSizer6 );
5624 tabGeneral->Layout();
5625 fgSizer6->Fit( tabGeneral );
5626 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5628 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5630 wxBoxSizer* bSizer252;
5631 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5633 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5634 bSizer252->Add( btnAction, 0, wxALL, 5 );
5636 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5637 bSizer252->Add( btnClose, 0, wxALL, 5 );
5640 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5643 this->SetSizer( bSizer251 );
5646 this->Centre( wxBOTH );
5649 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
5650 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
5653 frmContactEditorVendorADT::~frmContactEditorVendorADT()
5655 // Disconnect Events
5656 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
5657 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
5661 frmContactEditorXTokenADT::frmContactEditorXTokenADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5663 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5665 wxBoxSizer* bSizer251;
5666 bSizer251 = new wxBoxSizer( wxVERTICAL );
5668 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5669 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5670 wxFlexGridSizer* fgSizer6;
5671 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5672 fgSizer6->AddGrowableCol( 1 );
5673 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5674 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5676 lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
5677 lblTokenName->Wrap( -1 );
5678 fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5680 txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5681 txtTokenName->SetMaxLength( 0 );
5682 fgSizer6->Add( txtTokenName, 0, wxALL, 5 );
5684 lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
5686 fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5688 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5689 txtValue->SetMaxLength( 0 );
5690 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
5693 tabGeneral->SetSizer( fgSizer6 );
5694 tabGeneral->Layout();
5695 fgSizer6->Fit( tabGeneral );
5696 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5698 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5700 wxBoxSizer* bSizer252;
5701 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5703 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5704 bSizer252->Add( btnAction, 0, wxALL, 5 );
5706 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5707 bSizer252->Add( btnClose, 0, wxALL, 5 );
5710 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5713 this->SetSizer( bSizer251 );
5716 this->Centre( wxBOTH );
5719 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
5720 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
5723 frmContactEditorXTokenADT::~frmContactEditorXTokenADT()
5725 // Disconnect Events
5726 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
5727 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
5731 frmContactEditorKeyADT::frmContactEditorKeyADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5733 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5735 wxBoxSizer* bSizer251;
5736 bSizer251 = new wxBoxSizer( wxVERTICAL );
5738 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5739 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5740 wxFlexGridSizer* fgSizer6;
5741 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5742 fgSizer6->AddGrowableCol( 1 );
5743 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5744 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5746 lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5747 lblKeyType->Wrap( -1 );
5748 fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5750 wxArrayString cmbKeyMainTypeChoices;
5751 cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 );
5752 cmbKeyMainType->SetSelection( 0 );
5753 fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 );
5755 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
5756 lblType->Wrap( -1 );
5757 fgSizer6->Add( lblType, 0, wxALL, 5 );
5759 wxArrayString cmbTypeChoices;
5760 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
5761 cmbType->SetSelection( 0 );
5762 fgSizer6->Add( cmbType, 0, wxALL, 5 );
5764 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5765 lblPriority->Wrap( -1 );
5766 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5768 wxBoxSizer* bSizer260;
5769 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5771 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5772 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5774 wxBoxSizer* bSizer254;
5775 bSizer254 = new wxBoxSizer( wxVERTICAL );
5777 wxBoxSizer* bSizer256;
5778 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5780 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5781 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5784 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5786 wxBoxSizer* bSizer255;
5787 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5789 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5790 lblHigh->Wrap( -1 );
5791 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5794 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5796 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5798 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5801 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5804 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5807 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5810 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5813 tabGeneral->SetSizer( fgSizer6 );
5814 tabGeneral->Layout();
5815 fgSizer6->Fit( tabGeneral );
5816 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
5817 tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5818 wxFlexGridSizer* fgSizer61;
5819 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
5820 fgSizer61->AddGrowableCol( 1 );
5821 fgSizer61->SetFlexibleDirection( wxHORIZONTAL );
5822 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5824 lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
5825 lblKeyFormat->Wrap( -1 );
5826 fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5828 cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
5829 fgSizer61->Add( cmbURL, 0, wxALL, 5 );
5831 lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5832 lblAddress->Wrap( -1 );
5833 fgSizer61->Add( lblAddress, 0, wxALL, 5 );
5835 txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5836 txtAddress->SetMaxLength( 0 );
5837 fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 );
5840 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
5843 tabURL->SetSizer( fgSizer61 );
5845 fgSizer61->Fit( tabURL );
5846 nbkWebsite->AddPage( tabURL, wxT("URL"), false );
5847 tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5848 wxFlexGridSizer* fgSizer62;
5849 fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 );
5850 fgSizer62->AddGrowableCol( 1 );
5851 fgSizer62->AddGrowableRow( 1 );
5852 fgSizer62->SetFlexibleDirection( wxBOTH );
5853 fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5855 lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
5856 lblKeyFormatData->Wrap( -1 );
5857 fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 );
5859 cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
5860 fgSizer62->Add( cmbKeyType, 0, wxALL, 5 );
5862 lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 );
5863 lblKeyData->Wrap( -1 );
5864 fgSizer62->Add( lblKeyData, 0, wxALL, 5 );
5866 txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
5867 fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 );
5870 tabKey->SetSizer( fgSizer62 );
5872 fgSizer62->Fit( tabKey );
5873 nbkWebsite->AddPage( tabKey, wxT("Key"), true );
5875 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
5877 wxBoxSizer* bSizer252;
5878 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5880 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5881 bSizer252->Add( btnAction, 0, wxALL, 5 );
5883 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
5884 bSizer252->Add( btnClose, 0, wxALL, 5 );
5887 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
5890 this->SetSizer( bSizer251 );
5893 this->Centre( wxBOTH );
5896 cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
5897 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
5898 cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
5899 cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
5900 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
5901 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
5904 frmContactEditorKeyADT::~frmContactEditorKeyADT()
5906 // Disconnect Events
5907 cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
5908 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
5909 cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
5910 cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
5911 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
5912 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
5916 frmContactEditorEmailADT::frmContactEditorEmailADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
5918 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
5920 wxBoxSizer* bSizer251;
5921 bSizer251 = new wxBoxSizer( wxVERTICAL );
5923 nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
5924 tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
5925 wxFlexGridSizer* fgSizer6;
5926 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
5927 fgSizer6->AddGrowableCol( 1 );
5928 fgSizer6->SetFlexibleDirection( wxVERTICAL );
5929 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
5931 lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 );
5932 lblEmailAddress->Wrap( -1 );
5933 fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
5935 txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
5936 txtEmail->SetMaxLength( 0 );
5937 fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 );
5939 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
5940 lblPriority->Wrap( -1 );
5941 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
5943 wxBoxSizer* bSizer260;
5944 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
5946 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
5947 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
5949 wxBoxSizer* bSizer254;
5950 bSizer254 = new wxBoxSizer( wxVERTICAL );
5952 wxBoxSizer* bSizer256;
5953 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
5955 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
5956 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
5959 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
5961 wxBoxSizer* bSizer255;
5962 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
5964 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
5965 lblHigh->Wrap( -1 );
5966 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
5969 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
5971 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
5973 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
5976 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
5979 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
5982 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
5985 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
5988 tabGeneral->SetSizer( fgSizer6 );
5989 tabGeneral->Layout();
5990 fgSizer6->Fit( tabGeneral );
5991 nbkEmail->AddPage( tabGeneral, wxT("General"), false );
5993 bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 );
5995 wxBoxSizer* bSizer252;
5996 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
5998 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
5999 bSizer252->Add( btnAction, 0, wxALL, 5 );
6001 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6002 bSizer252->Add( btnClose, 0, wxALL, 5 );
6005 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6008 this->SetSizer( bSizer251 );
6011 this->Centre( wxBOTH );
6014 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
6015 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
6016 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
6019 frmContactEditorEmailADT::~frmContactEditorEmailADT()
6021 // Disconnect Events
6022 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
6023 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
6024 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
6028 frmContactEditorIMADT::frmContactEditorIMADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6030 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6032 wxBoxSizer* bSizer251;
6033 bSizer251 = new wxBoxSizer( wxVERTICAL );
6035 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6036 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6037 wxFlexGridSizer* fgSizer6;
6038 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6039 fgSizer6->AddGrowableCol( 1 );
6040 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6041 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6043 lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 );
6044 lblIMType->Wrap( -1 );
6045 fgSizer6->Add( lblIMType, 0, wxALL, 5 );
6047 cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN );
6048 fgSizer6->Add( cmbIMType, 0, wxALL, 5 );
6050 lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 );
6051 lblUsername->Wrap( 0 );
6052 fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6054 txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6055 txtUsername->SetMaxLength( 0 );
6056 fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
6058 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6059 lblPriority->Wrap( -1 );
6060 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6062 wxBoxSizer* bSizer260;
6063 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6065 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6066 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6068 wxBoxSizer* bSizer254;
6069 bSizer254 = new wxBoxSizer( wxVERTICAL );
6071 wxBoxSizer* bSizer256;
6072 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6074 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6075 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6078 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6080 wxBoxSizer* bSizer255;
6081 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6083 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6084 lblHigh->Wrap( -1 );
6085 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6088 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6090 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6092 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6095 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6098 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6101 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6104 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6107 tabGeneral->SetSizer( fgSizer6 );
6108 tabGeneral->Layout();
6109 fgSizer6->Fit( tabGeneral );
6110 nbkIM->AddPage( tabGeneral, wxT("General"), false );
6112 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
6114 wxBoxSizer* bSizer252;
6115 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6117 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6118 bSizer252->Add( btnAction, 0, wxALL, 5 );
6120 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6121 bSizer252->Add( btnClose, 0, wxALL, 5 );
6124 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6127 this->SetSizer( bSizer251 );
6130 this->Centre( wxBOTH );
6133 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
6134 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
6135 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
6138 frmContactEditorIMADT::~frmContactEditorIMADT()
6140 // Disconnect Events
6141 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
6142 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
6143 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
6147 frmContactEditorCategoryADT::frmContactEditorCategoryADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6149 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6151 wxBoxSizer* bSizer251;
6152 bSizer251 = new wxBoxSizer( wxVERTICAL );
6154 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6155 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6156 wxFlexGridSizer* fgSizer6;
6157 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6158 fgSizer6->AddGrowableCol( 1 );
6159 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6160 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6162 lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 );
6163 lblCategory->Wrap( 0 );
6164 fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6166 txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6167 txtCategory->SetMaxLength( 0 );
6168 fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 );
6170 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
6171 lblType->Wrap( -1 );
6172 fgSizer6->Add( lblType, 0, wxALL, 5 );
6174 wxArrayString cmbTypeChoices;
6175 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
6176 cmbType->SetSelection( 0 );
6177 fgSizer6->Add( cmbType, 0, wxALL, 5 );
6179 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6180 lblPriority->Wrap( -1 );
6181 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6183 wxBoxSizer* bSizer260;
6184 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6186 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6187 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6189 wxBoxSizer* bSizer254;
6190 bSizer254 = new wxBoxSizer( wxVERTICAL );
6192 wxBoxSizer* bSizer256;
6193 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6195 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6196 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6199 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6201 wxBoxSizer* bSizer255;
6202 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6204 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6205 lblHigh->Wrap( -1 );
6206 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6209 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6211 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6213 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6216 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6219 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6222 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6225 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6228 tabGeneral->SetSizer( fgSizer6 );
6229 tabGeneral->Layout();
6230 fgSizer6->Fit( tabGeneral );
6231 nbkIM->AddPage( tabGeneral, wxT("General"), false );
6233 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
6235 wxBoxSizer* bSizer252;
6236 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6238 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6239 bSizer252->Add( btnAction, 0, wxALL, 5 );
6241 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6242 bSizer252->Add( btnClose, 0, wxALL, 5 );
6245 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6248 this->SetSizer( bSizer251 );
6251 this->Centre( wxBOTH );
6254 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
6255 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
6256 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
6259 frmContactEditorCategoryADT::~frmContactEditorCategoryADT()
6261 // Disconnect Events
6262 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
6263 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
6264 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
6268 frmContactEditorTelephoneADT::frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6270 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6272 wxBoxSizer* bSizer251;
6273 bSizer251 = new wxBoxSizer( wxVERTICAL );
6275 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6276 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6277 wxFlexGridSizer* fgSizer6;
6278 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6279 fgSizer6->AddGrowableCol( 1 );
6280 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6281 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6283 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
6284 lblTelephone->Wrap( -1 );
6285 fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6287 txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6288 txtTelephone->SetMaxLength( 0 );
6289 fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 );
6291 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6292 lblPriority->Wrap( -1 );
6293 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6295 wxBoxSizer* bSizer260;
6296 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6298 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6299 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6301 wxBoxSizer* bSizer254;
6302 bSizer254 = new wxBoxSizer( wxVERTICAL );
6304 wxBoxSizer* bSizer256;
6305 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6307 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6308 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6311 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6313 wxBoxSizer* bSizer255;
6314 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6316 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6317 lblHigh->Wrap( -1 );
6318 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6321 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6323 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6325 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6328 bSizer254->Add( bSizer255, 0, wxEXPAND, 0 );
6331 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6334 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6336 lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
6337 lblTelephoneType->Wrap( 0 );
6338 fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 );
6340 wxGridSizer* gSizer5;
6341 gSizer5 = new wxGridSizer( 0, 2, 0, 0 );
6343 chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 );
6344 gSizer5->Add( chkVoice, 0, wxALL, 2 );
6346 chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
6347 gSizer5->Add( chkText, 0, wxALL, 2 );
6349 chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 );
6350 gSizer5->Add( chkFax, 0, wxALL, 2 );
6352 chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 );
6353 gSizer5->Add( chkMobile, 0, wxALL, 2 );
6355 chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 );
6356 gSizer5->Add( chkVideo, 0, wxALL, 2 );
6358 chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 );
6359 gSizer5->Add( chkTextphone, 0, wxALL, 2 );
6361 chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 );
6362 gSizer5->Add( chkPager, 0, wxALL, 2 );
6365 fgSizer6->Add( gSizer5, 1, 0, 5 );
6368 tabGeneral->SetSizer( fgSizer6 );
6369 tabGeneral->Layout();
6370 fgSizer6->Fit( tabGeneral );
6371 nbkAddress->AddPage( tabGeneral, wxT("General"), false );
6373 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
6375 wxBoxSizer* bSizer252;
6376 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6378 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6379 bSizer252->Add( btnAction, 0, wxALL, 5 );
6381 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6382 bSizer252->Add( btnClose, 0, wxALL, 5 );
6385 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6388 this->SetSizer( bSizer251 );
6391 this->Centre( wxBOTH );
6394 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
6395 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
6396 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
6399 frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT()
6401 // Disconnect Events
6402 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
6403 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
6404 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
6408 frmContactEditorLanguagesADT::frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6410 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6412 wxBoxSizer* bSizer251;
6413 bSizer251 = new wxBoxSizer( wxVERTICAL );
6415 nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6416 tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6417 wxFlexGridSizer* fgSizer6;
6418 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6419 fgSizer6->AddGrowableCol( 1 );
6420 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6421 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6423 lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
6424 lblLanguage->Wrap( -1 );
6425 fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6427 txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6428 txtLanguage->SetMaxLength( 0 );
6429 fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 );
6431 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6432 lblPriority->Wrap( -1 );
6433 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6435 wxBoxSizer* bSizer260;
6436 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6438 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6439 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6441 wxBoxSizer* bSizer254;
6442 bSizer254 = new wxBoxSizer( wxVERTICAL );
6444 wxBoxSizer* bSizer256;
6445 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6447 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6448 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6451 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6453 wxBoxSizer* bSizer255;
6454 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6456 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6457 lblHigh->Wrap( -1 );
6458 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6461 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6463 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6465 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6468 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6471 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6474 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6477 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6480 tabGeneral->SetSizer( fgSizer6 );
6481 tabGeneral->Layout();
6482 fgSizer6->Fit( tabGeneral );
6483 nbkLanguages->AddPage( tabGeneral, wxT("General"), false );
6485 bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 );
6487 wxBoxSizer* bSizer252;
6488 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6490 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6491 bSizer252->Add( btnAction, 0, wxALL, 5 );
6493 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6494 bSizer252->Add( btnClose, 0, wxALL, 5 );
6497 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6500 this->SetSizer( bSizer251 );
6503 this->Centre( wxBOTH );
6506 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
6507 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
6508 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
6511 frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT()
6513 // Disconnect Events
6514 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
6515 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
6516 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
6520 frmContactEditorTimezonesADT::frmContactEditorTimezonesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6522 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6524 wxBoxSizer* bSizer251;
6525 bSizer251 = new wxBoxSizer( wxVERTICAL );
6527 nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6528 tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6529 wxFlexGridSizer* fgSizer6;
6530 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
6531 fgSizer6->AddGrowableCol( 1 );
6532 fgSizer6->SetFlexibleDirection( wxVERTICAL );
6533 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6535 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
6536 lblTimezone->Wrap( -1 );
6537 fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6539 cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
6540 fgSizer6->Add( cmbTimezone, 0, wxALL, 5 );
6542 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
6543 lblPriority->Wrap( -1 );
6544 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
6546 wxBoxSizer* bSizer260;
6547 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
6549 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
6550 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
6552 wxBoxSizer* bSizer254;
6553 bSizer254 = new wxBoxSizer( wxVERTICAL );
6555 wxBoxSizer* bSizer256;
6556 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
6558 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
6559 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
6562 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
6564 wxBoxSizer* bSizer255;
6565 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
6567 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
6568 lblHigh->Wrap( -1 );
6569 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
6572 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
6574 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
6576 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
6579 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
6582 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
6585 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
6588 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
6591 tabGeneral->SetSizer( fgSizer6 );
6592 tabGeneral->Layout();
6593 fgSizer6->Fit( tabGeneral );
6594 nbkTimezone->AddPage( tabGeneral, wxT("General"), false );
6596 bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 );
6598 wxBoxSizer* bSizer252;
6599 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
6601 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
6602 bSizer252->Add( btnAction, 0, wxALL, 5 );
6604 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
6605 bSizer252->Add( btnClose, 0, wxALL, 5 );
6608 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
6611 this->SetSizer( bSizer251 );
6614 this->Centre( wxBOTH );
6617 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
6618 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
6619 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
6622 frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT()
6624 // Disconnect Events
6625 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
6626 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
6627 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
6631 XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
6633 this->SetMinSize( wxSize( -1,40 ) );
6634 this->SetMaxSize( wxSize( -1,40 ) );
6636 wxFlexGridSizer* fgSizer40;
6637 fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 );
6638 fgSizer40->AddGrowableCol( 1 );
6639 fgSizer40->SetFlexibleDirection( wxBOTH );
6640 fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6642 wxArrayString choOptionChoices;
6643 choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 );
6644 choOption->SetSelection( 0 );
6645 fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 );
6647 szrSSet = new wxBoxSizer( wxHORIZONTAL );
6649 chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 );
6650 szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6652 txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6653 txtSearch->SetMaxLength( 0 );
6654 szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6657 fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 );
6659 wxBoxSizer* bSizer376;
6660 bSizer376 = new wxBoxSizer( wxHORIZONTAL );
6662 btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
6663 btnAdd->SetMinSize( wxSize( 28,28 ) );
6664 btnAdd->SetMaxSize( wxSize( 28,28 ) );
6666 bSizer376->Add( btnAdd, 0, wxALL, 5 );
6668 btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
6669 btnDelete->SetMinSize( wxSize( 28,28 ) );
6670 btnDelete->SetMaxSize( wxSize( 28,28 ) );
6672 bSizer376->Add( btnDelete, 0, wxALL, 5 );
6675 fgSizer40->Add( bSizer376, 0, 0, 5 );
6678 this->SetSizer( fgSizer40 );
6682 choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
6683 btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
6684 btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
6687 XABSearchPanelADT::~XABSearchPanelADT()
6689 // Disconnect Events
6690 choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
6691 btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
6692 btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
6696 frmSearchAccountsADT::frmSearchAccountsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6698 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6700 wxBoxSizer* bSizer376;
6701 bSizer376 = new wxBoxSizer( wxVERTICAL );
6703 wxArrayString chlAccountsChoices;
6704 chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
6705 bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 );
6707 wxBoxSizer* bSizer377;
6708 bSizer377 = new wxBoxSizer( wxHORIZONTAL );
6711 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
6713 btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 );
6714 bSizer377->Add( btnSelect, 0, wxALL, 5 );
6716 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
6717 bSizer377->Add( btnCancel, 0, wxALL, 5 );
6720 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
6723 bSizer376->Add( bSizer377, 0, wxEXPAND, 5 );
6726 this->SetSizer( bSizer376 );
6729 this->Centre( wxBOTH );
6732 btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
6733 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
6736 frmSearchAccountsADT::~frmSearchAccountsADT()
6738 // Disconnect Events
6739 btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
6740 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
6744 frmEditAccountADT::frmEditAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6746 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6748 wxBoxSizer* bSizer384;
6749 bSizer384 = new wxBoxSizer( wxVERTICAL );
6751 wxBoxSizer* szrTabs;
6752 szrTabs = new wxBoxSizer( wxVERTICAL );
6754 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6755 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6756 wxFlexGridSizer* fgSizer43;
6757 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
6758 fgSizer43->AddGrowableCol( 1 );
6759 fgSizer43->SetFlexibleDirection( wxBOTH );
6760 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
6762 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
6763 lblAccName->Wrap( -1 );
6764 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6766 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6767 txtAccountName->SetMaxLength( 0 );
6768 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
6770 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
6771 lblAccAdr->Wrap( -1 );
6772 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6774 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6775 txtAddress->SetMaxLength( 0 );
6776 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
6778 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
6779 m_staticText193->Wrap( -1 );
6780 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6782 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6783 txtPort->SetMaxLength( 5 );
6784 fgSizer43->Add( txtPort, 0, wxALL, 5 );
6786 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
6787 lblPort->Wrap( -1 );
6788 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6790 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6791 txtUsername->SetMaxLength( 0 );
6792 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
6794 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
6795 lblPassword->Wrap( -1 );
6796 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6798 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
6799 txtPassword->SetMaxLength( 0 );
6800 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
6802 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
6803 lblPrefix->Wrap( -1 );
6804 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6806 wxBoxSizer* bSizer391;
6807 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
6809 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6810 txtPrefix->SetMaxLength( 0 );
6811 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
6813 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
6814 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
6817 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
6819 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
6821 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6823 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
6824 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
6827 tabProperties->SetSizer( fgSizer43 );
6828 tabProperties->Layout();
6829 fgSizer43->Fit( tabProperties );
6830 tabAccount->AddPage( tabProperties, wxT("General"), true );
6831 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6832 wxFlexGridSizer* fgSizer431;
6833 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
6834 fgSizer431->AddGrowableCol( 1 );
6835 fgSizer431->SetFlexibleDirection( wxBOTH );
6836 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
6838 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
6839 lblRefresh->Wrap( -1 );
6840 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
6842 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
6843 txtRefresh->SetMaxLength( 5 );
6844 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
6847 tabRefresh->SetSizer( fgSizer431 );
6848 tabRefresh->Layout();
6849 fgSizer431->Fit( tabRefresh );
6850 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
6852 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
6855 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
6857 wxBoxSizer* szrButtons;
6858 szrButtons = new wxBoxSizer( wxHORIZONTAL );
6861 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
6863 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
6864 btnSave->SetDefault();
6865 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
6868 szrButtons->Add( 5, 0, 0, 0, 0 );
6870 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
6871 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
6874 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
6877 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
6880 this->SetSizer( bSizer384 );
6883 this->Centre( wxBOTH );
6886 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
6887 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
6888 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
6891 frmEditAccountADT::~frmEditAccountADT()
6893 // Disconnect Events
6894 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
6895 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
6896 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
6900 frmSSLCertificateADT::frmSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
6902 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
6904 wxBoxSizer* bSizer384;
6905 bSizer384 = new wxBoxSizer( wxVERTICAL );
6907 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
6908 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6909 wxBoxSizer* bSizer386;
6910 bSizer386 = new wxBoxSizer( wxVERTICAL );
6912 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6913 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
6915 wxBoxSizer* bSizer389;
6916 bSizer389 = new wxBoxSizer( wxVERTICAL );
6918 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
6919 lblCertName->Wrap( -1 );
6920 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
6922 bSizer389->Add( lblCertName, 0, wxALL, 5 );
6924 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
6925 lblValidityStatus->Wrap( -1 );
6926 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
6929 pnlTop->SetSizer( bSizer389 );
6931 bSizer389->Fit( pnlTop );
6932 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
6934 wxBoxSizer* bSizer392;
6935 bSizer392 = new wxBoxSizer( wxVERTICAL );
6937 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6938 wxFlexGridSizer* fgSizer44;
6939 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
6940 fgSizer44->AddGrowableCol( 1 );
6941 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
6942 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
6944 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
6945 lblIssuedTo->Wrap( -1 );
6946 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
6948 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
6949 lblIssuedToData->Wrap( -1 );
6950 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
6952 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
6953 lblValidFrom->Wrap( -1 );
6954 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
6956 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
6957 lblValidFromData->Wrap( -1 );
6958 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
6960 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
6961 lblValidUntil->Wrap( -1 );
6962 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
6964 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
6965 lblValidUntilData->Wrap( -1 );
6966 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
6969 m_panel54->SetSizer( fgSizer44 );
6970 m_panel54->Layout();
6971 fgSizer44->Fit( m_panel54 );
6972 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
6975 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
6978 tabSummary->SetSizer( bSizer386 );
6979 tabSummary->Layout();
6980 bSizer386->Fit( tabSummary );
6981 m_notebook28->AddPage( tabSummary, wxT("Summary"), true );
6982 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
6983 wxBoxSizer* bSizer3891;
6984 bSizer3891 = new wxBoxSizer( wxVERTICAL );
6986 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
6987 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
6989 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
6990 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
6992 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
6995 tabDetail->SetSizer( bSizer3891 );
6996 tabDetail->Layout();
6997 bSizer3891->Fit( tabDetail );
6998 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
6999 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
7000 wxBoxSizer* bSizer390;
7001 bSizer390 = new wxBoxSizer( wxVERTICAL );
7003 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
7004 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
7006 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
7007 wxBoxSizer* bSizer393;
7008 bSizer393 = new wxBoxSizer( wxVERTICAL );
7010 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
7011 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
7014 m_panel57->SetSizer( bSizer393 );
7015 m_panel57->Layout();
7016 bSizer393->Fit( m_panel57 );
7017 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
7020 tabHierarchy->SetSizer( bSizer390 );
7021 tabHierarchy->Layout();
7022 bSizer390->Fit( tabHierarchy );
7023 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false );
7025 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
7027 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
7028 wxBoxSizer* bSizer385;
7029 bSizer385 = new wxBoxSizer( wxVERTICAL );
7031 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
7032 btnClose->SetDefault();
7033 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
7036 pnlButtons->SetSizer( bSizer385 );
7037 pnlButtons->Layout();
7038 bSizer385->Fit( pnlButtons );
7039 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
7042 this->SetSizer( bSizer384 );
7045 this->Centre( wxBOTH );
7048 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
7049 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
7050 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
7051 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
7054 frmSSLCertificateADT::~frmSSLCertificateADT()
7056 // Disconnect Events
7057 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
7058 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
7059 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
7060 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
7064 frmInvalidSSLCertificateADT::frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
7066 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
7068 wxBoxSizer* bSizer387;
7069 bSizer387 = new wxBoxSizer( wxVERTICAL );
7071 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
7072 lblSSLText->Wrap( -1 );
7073 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
7075 wxBoxSizer* bSizer388;
7076 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
7078 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
7079 bSizer388->Add( btnAccept, 0, wxALL, 5 );
7081 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
7082 btnReject->SetDefault();
7083 bSizer388->Add( btnReject, 0, wxALL, 5 );
7085 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
7086 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
7089 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
7092 this->SetSizer( bSizer387 );
7095 this->Centre( wxBOTH );
7098 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
7099 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
7100 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
7103 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
7105 // Disconnect Events
7106 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
7107 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
7108 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
7112 frmImportContactsADT::frmImportContactsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
7114 this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) );
7116 wxBoxSizer* bSizer393;
7117 bSizer393 = new wxBoxSizer( wxVERTICAL );
7119 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 );
7120 lblImportText->Wrap( 300 );
7121 bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 );
7123 wxArrayString lstContactsChoices;
7124 lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
7125 bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
7127 szrAccount = new wxBoxSizer( wxHORIZONTAL );
7129 lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
7130 lblAccountText->Wrap( -1 );
7131 szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
7134 bSizer393->Add( szrAccount, 0, wxEXPAND, 5 );
7136 wxBoxSizer* bSizer394;
7137 bSizer394 = new wxBoxSizer( wxHORIZONTAL );
7139 btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
7140 btnImport->SetDefault();
7141 bSizer394->Add( btnImport, 0, wxALL, 5 );
7143 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
7144 bSizer394->Add( btnCancel, 0, wxALL, 5 );
7147 bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 );
7150 this->SetSizer( bSizer393 );
7153 this->Centre( wxBOTH );
7156 btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
7157 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
7160 frmImportContactsADT::~frmImportContactsADT()
7162 // Disconnect Events
7163 btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
7164 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
7168 frmImportResultsADT::frmImportResultsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
7170 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
7172 wxBoxSizer* bSizer396;
7173 bSizer396 = new wxBoxSizer( wxVERTICAL );
7175 lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 );
7176 lblText->Wrap( -1 );
7177 bSizer396->Add( lblText, 0, wxALL, 5 );
7179 txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
7180 txtResults->SetMaxLength( 0 );
7181 bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 );
7183 wxBoxSizer* bSizer397;
7184 bSizer397 = new wxBoxSizer( wxHORIZONTAL );
7186 btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 );
7187 btnCopyClipboard->Hide();
7189 bSizer397->Add( btnCopyClipboard, 0, 0, 5 );
7191 btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 );
7192 bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
7195 bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
7198 this->SetSizer( bSizer396 );
7201 this->Centre( wxBOTH );
7204 btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
7205 btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
7208 frmImportResultsADT::~frmImportResultsADT()
7210 // Disconnect Events
7211 btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
7212 btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );