1 ///////////////////////////////////////////////////////////////////////////
\r
2 // C++ code generated with wxFormBuilder (version Jun 17 2015)
\r
3 // http://www.wxformbuilder.org/
\r
5 // PLEASE DO "NOT" EDIT THIS FILE!
\r
6 ///////////////////////////////////////////////////////////////////////////
\r
8 #include "AppXestiaAddrBk.h"
\r
10 ///////////////////////////////////////////////////////////////////////////
\r
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 )
\r
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
15 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
17 mnuMain = new wxMenuBar( 0 );
\r
18 mnuManage = new wxMenu();
\r
19 wxMenuItem* mnuNewAB;
\r
20 mnuNewAB = new wxMenuItem( mnuManage, ID_MANAGE_NEWAB, wxString( wxT("New Address Book...") ) , wxEmptyString, wxITEM_NORMAL );
\r
21 mnuManage->Append( mnuNewAB );
\r
23 mnuManage->AppendSeparator();
\r
25 wxMenuItem* mnuRefreshAB;
\r
26 mnuRefreshAB = new wxMenuItem( mnuManage, wxID_ANY, wxString( wxT("Refresh Address Book") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
27 mnuManage->Append( mnuRefreshAB );
\r
29 mnuManage->AppendSeparator();
\r
31 wxMenuItem* mnuImport;
\r
32 mnuImport = new wxMenuItem( mnuManage, ID_IMPORT, wxString( wxT("Import...") ) , wxEmptyString, wxITEM_NORMAL );
\r
33 mnuManage->Append( mnuImport );
\r
35 wxMenuItem* mnuExport;
\r
36 mnuExport = new wxMenuItem( mnuManage, ID_EXPORT, wxString( wxT("Export...") ) , wxEmptyString, wxITEM_NORMAL );
\r
37 mnuManage->Append( mnuExport );
\r
39 mnuPrefSep = mnuManage->AppendSeparator();
\r
41 wxMenuItem* mnuPreferences;
\r
42 mnuPreferences = new wxMenuItem( mnuManage, wxID_PREFERENCES, wxString( wxT("Preferences...") ) , wxEmptyString, wxITEM_NORMAL );
\r
43 mnuManage->Append( mnuPreferences );
\r
45 mnuExitSep = mnuManage->AppendSeparator();
\r
47 wxMenuItem* mnuExit;
\r
48 mnuExit = new wxMenuItem( mnuManage, wxID_EXIT, wxString( wxT("Exit") ) + wxT('\t') + wxT("CTRL+Q"), wxEmptyString, wxITEM_NORMAL );
\r
50 mnuExit->SetBitmaps( wxNullBitmap );
\r
51 #elif (defined( __WXGTK__ ) || defined( __WXOSX__ ))
\r
52 mnuExit->SetBitmap( wxNullBitmap );
\r
54 mnuManage->Append( mnuExit );
\r
56 mnuMain->Append( mnuManage, wxT("Manage") );
\r
58 mnuContact = new wxMenu();
\r
59 wxMenuItem* mnuNewContact;
\r
60 mnuNewContact = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("New Contact...") ) + wxT('\t') + wxT("CTRL+N"), wxEmptyString, wxITEM_NORMAL );
\r
61 mnuContact->Append( mnuNewContact );
\r
63 wxMenuItem* mnuEditContact;
\r
64 mnuEditContact = new wxMenuItem( mnuContact, ID_CONTACT_EDIT, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
\r
65 mnuContact->Append( mnuEditContact );
\r
67 wxMenuItem* deleteContact;
\r
68 deleteContact = new wxMenuItem( mnuContact, ID_CONTACT_DELETE, wxString( wxT("Delete Contact...") ) + wxT('\t') + wxT("CTRL+D"), wxEmptyString, wxITEM_NORMAL );
\r
69 mnuContact->Append( deleteContact );
\r
71 mnuContact->AppendSeparator();
\r
73 wxMenuItem* mnuFindContact;
\r
74 mnuFindContact = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Find Contacts...") ) + wxT('\t') + wxT("CTRL+F"), wxEmptyString, wxITEM_NORMAL );
\r
75 mnuContact->Append( mnuFindContact );
\r
77 mnuMain->Append( mnuContact, wxT("Contact") );
\r
79 mnuView = new wxMenu();
\r
80 mnuShowContactsAs = new wxMenu();
\r
81 wxMenuItem* mnuShowContactsAsItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show Contacts As"), wxEmptyString, wxITEM_NORMAL, mnuShowContactsAs );
\r
82 wxMenuItem* mnuViewFNLN;
\r
83 mnuViewFNLN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_FNLN, wxString( wxT("First Name, Last Name") ) , wxEmptyString, wxITEM_NORMAL );
\r
84 mnuShowContactsAs->Append( mnuViewFNLN );
\r
86 wxMenuItem* mnuViewLNFN;
\r
87 mnuViewLNFN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_LNFN, wxString( wxT("Last Name, First Name") ) , wxEmptyString, wxITEM_NORMAL );
\r
88 mnuShowContactsAs->Append( mnuViewLNFN );
\r
90 wxMenuItem* mnuViewNick;
\r
91 mnuViewNick = new wxMenuItem( mnuShowContactsAs, ID_VIEW_NICK, wxString( wxT("Nickname") ) , wxEmptyString, wxITEM_NORMAL );
\r
92 mnuShowContactsAs->Append( mnuViewNick );
\r
94 wxMenuItem* mnuViewDisplayAs;
\r
95 mnuViewDisplayAs = new wxMenuItem( mnuShowContactsAs, wxID_ANY, wxString( wxT("Display As Name") ) , wxEmptyString, wxITEM_NORMAL );
\r
96 mnuShowContactsAs->Append( mnuViewDisplayAs );
\r
98 mnuView->Append( mnuShowContactsAsItem );
\r
100 mnuViewSortBy = new wxMenu();
\r
101 wxMenuItem* mnuViewSortByItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Sort By"), wxEmptyString, wxITEM_NORMAL, mnuViewSortBy );
\r
102 wxMenuItem* mnuViewAsc;
\r
103 mnuViewAsc = new wxMenuItem( mnuViewSortBy, ID_VIEW_ASC, wxString( wxT("Ascending") ) , wxEmptyString, wxITEM_NORMAL );
\r
104 mnuViewSortBy->Append( mnuViewAsc );
\r
106 wxMenuItem* mnuViewDesc;
\r
107 mnuViewDesc = new wxMenuItem( mnuViewSortBy, ID_VIEW_DESC, wxString( wxT("Descending") ) , wxEmptyString, wxITEM_NORMAL );
\r
108 mnuViewSortBy->Append( mnuViewDesc );
\r
110 mnuView->Append( mnuViewSortByItem );
\r
112 mnuViewShow = new wxMenu();
\r
113 wxMenuItem* mnuViewShowItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show"), wxEmptyString, wxITEM_NORMAL, mnuViewShow );
\r
114 wxMenuItem* mnuViewStatusBar;
\r
115 mnuViewStatusBar = new wxMenuItem( mnuViewShow, ID_VIEW_STATUSBAR, wxString( wxT("Status Bar") ) , wxEmptyString, wxITEM_NORMAL );
\r
116 mnuViewShow->Append( mnuViewStatusBar );
\r
118 mnuView->Append( mnuViewShowItem );
\r
120 mnuView->AppendSeparator();
\r
122 wxMenuItem* mnuViewActivity;
\r
123 mnuViewActivity = new wxMenuItem( mnuView, wxID_ANY, wxString( wxT("Activity Manager") ) , wxEmptyString, wxITEM_NORMAL );
\r
124 mnuView->Append( mnuViewActivity );
\r
126 mnuMain->Append( mnuView, wxT("View") );
\r
128 mnuEdit = new wxMenu();
\r
129 wxMenuItem* mnuCut;
\r
130 mnuCut = new wxMenuItem( mnuEdit, ID_MANAGE_CUT, wxString( wxT("Cut") ) + wxT('\t') + wxT("CTRL+X"), wxEmptyString, wxITEM_NORMAL );
\r
131 mnuEdit->Append( mnuCut );
\r
133 wxMenuItem* mnuCopy;
\r
134 mnuCopy = new wxMenuItem( mnuEdit, ID_MANAGE_COPY, wxString( wxT("Copy") ) + wxT('\t') + wxT("CTRL+C"), wxEmptyString, wxITEM_NORMAL );
\r
135 mnuEdit->Append( mnuCopy );
\r
137 wxMenuItem* mnuPaste;
\r
138 mnuPaste = new wxMenuItem( mnuEdit, ID_MANAGE_PASTE, wxString( wxT("Paste") ) + wxT('\t') + wxT("CTRL+V"), wxEmptyString, wxITEM_NORMAL );
\r
139 mnuEdit->Append( mnuPaste );
\r
141 mnuMain->Append( mnuEdit, wxT("Edit") );
\r
143 mnuWindow = new wxMenu();
\r
144 mnuMain->Append( mnuWindow, wxT("Window") );
\r
146 mnuHelp = new wxMenu();
\r
147 wxMenuItem* showHelp;
\r
148 showHelp = new wxMenuItem( mnuHelp, ID_HELP_SHOW, wxString( wxT("Show Help...") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL );
\r
149 mnuHelp->Append( showHelp );
\r
151 mnuHelp->AppendSeparator();
\r
153 wxMenuItem* mnuHelpUpdates;
\r
154 mnuHelpUpdates = new wxMenuItem( mnuHelp, ID_MANAGE_UPDATE, wxString( wxT("Check for updates...") ) , wxEmptyString, wxITEM_NORMAL );
\r
155 mnuHelp->Append( mnuHelpUpdates );
\r
157 mnuHelpAboutSep = mnuHelp->AppendSeparator();
\r
159 wxMenuItem* mnuAbout;
\r
160 mnuAbout = new wxMenuItem( mnuHelp, wxID_ABOUT, wxString( wxT("About") ) + wxT('\t') + wxT("SHIFT+CTRL+A"), wxEmptyString, wxITEM_NORMAL );
\r
161 mnuHelp->Append( mnuAbout );
\r
163 mnuMain->Append( mnuHelp, wxT("Help") );
\r
165 this->SetMenuBar( mnuMain );
\r
167 szrMain = new wxBoxSizer( wxVERTICAL );
\r
169 wxBoxSizer* bSizer396;
\r
170 bSizer396 = new wxBoxSizer( wxHORIZONTAL );
\r
172 bmpIcon = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
\r
173 bSizer396->Add( bmpIcon, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
175 AccCtrl = new wxComboCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxCB_READONLY|wxEXPAND);
\r
176 bSizer396->Add( AccCtrl, 0, wxALL, 5 );
\r
179 szrMain->Add( bSizer396, 0, wxEXPAND|wxLEFT, 5 );
\r
181 m_splitter13 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
182 m_splitter13->Connect( wxEVT_IDLE, wxIdleEventHandler( frmMainADT::m_splitter13OnIdle ), NULL, this );
\r
183 m_splitter13->SetMinimumPaneSize( 1 );
\r
185 m_panel19 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
186 szrContactList = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
187 szrContactList->AddGrowableCol( 0 );
\r
188 szrContactList->AddGrowableRow( 1 );
\r
189 szrContactList->SetFlexibleDirection( wxBOTH );
\r
190 szrContactList->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
192 szrAccList = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
193 szrAccList->SetFlexibleDirection( wxVERTICAL );
\r
194 szrAccList->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
197 szrContactList->Add( szrAccList, 0, 0, 5 );
\r
199 lstContacts = new wxListCtrl( m_panel19, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_NO_HEADER|wxLC_REPORT|wxSUNKEN_BORDER );
\r
200 szrContactList->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
\r
203 m_panel19->SetSizer( szrContactList );
\r
204 m_panel19->Layout();
\r
205 szrContactList->Fit( m_panel19 );
\r
206 m_panel20 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
207 wxBoxSizer* bSizer12;
\r
208 bSizer12 = new wxBoxSizer( wxVERTICAL );
\r
210 htmContactData = new wxHtmlWindow( m_panel20, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
211 bSizer12->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
\r
214 m_panel20->SetSizer( bSizer12 );
\r
215 m_panel20->Layout();
\r
216 bSizer12->Fit( m_panel20 );
\r
217 m_splitter13->SplitVertically( m_panel19, m_panel20, 314 );
\r
218 szrMain->Add( m_splitter13, 1, wxEXPAND, 5 );
\r
221 this->SetSizer( szrMain );
\r
223 stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
\r
225 this->Centre( wxBOTH );
\r
228 this->Connect( mnuNewAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
\r
229 this->Connect( mnuRefreshAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
\r
230 this->Connect( mnuImport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
\r
231 this->Connect( mnuExport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
\r
232 this->Connect( mnuPreferences->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
\r
233 this->Connect( mnuExit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
\r
234 this->Connect( mnuNewContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
\r
235 this->Connect( mnuEditContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
\r
236 this->Connect( deleteContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
\r
237 this->Connect( mnuFindContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
\r
238 this->Connect( mnuViewFNLN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
\r
239 this->Connect( mnuViewLNFN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
\r
240 this->Connect( mnuViewNick->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
\r
241 this->Connect( mnuViewDisplayAs->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
\r
242 this->Connect( mnuViewAsc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
\r
243 this->Connect( mnuViewDesc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
\r
244 this->Connect( mnuViewStatusBar->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
\r
245 this->Connect( mnuViewActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
\r
246 this->Connect( mnuCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
\r
247 this->Connect( mnuCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
\r
248 this->Connect( mnuPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
\r
249 this->Connect( showHelp->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
\r
250 this->Connect( mnuHelpUpdates->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
\r
251 this->Connect( mnuAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
\r
252 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfo ), NULL, this );
\r
253 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
254 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
255 htmContactData->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
\r
256 stbBottom->Connect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
\r
259 frmMainADT::~frmMainADT()
\r
261 // Disconnect Events
\r
262 this->Disconnect( ID_MANAGE_NEWAB, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
\r
263 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
\r
264 this->Disconnect( ID_IMPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
\r
265 this->Disconnect( ID_EXPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
\r
266 this->Disconnect( wxID_PREFERENCES, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
\r
267 this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
\r
268 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
\r
269 this->Disconnect( ID_CONTACT_EDIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
\r
270 this->Disconnect( ID_CONTACT_DELETE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
\r
271 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
\r
272 this->Disconnect( ID_VIEW_FNLN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
\r
273 this->Disconnect( ID_VIEW_LNFN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
\r
274 this->Disconnect( ID_VIEW_NICK, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
\r
275 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
\r
276 this->Disconnect( ID_VIEW_ASC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
\r
277 this->Disconnect( ID_VIEW_DESC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
\r
278 this->Disconnect( ID_VIEW_STATUSBAR, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
\r
279 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
\r
280 this->Disconnect( ID_MANAGE_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
\r
281 this->Disconnect( ID_MANAGE_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
\r
282 this->Disconnect( ID_MANAGE_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
\r
283 this->Disconnect( ID_HELP_SHOW, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
\r
284 this->Disconnect( ID_MANAGE_UPDATE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
\r
285 this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
\r
286 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfo ), NULL, this );
\r
287 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
288 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
289 htmContactData->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
\r
290 stbBottom->Disconnect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
\r
294 frmUpdateADT::frmUpdateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
296 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
298 wxBoxSizer* bSizer390;
\r
299 bSizer390 = new wxBoxSizer( wxVERTICAL );
\r
301 pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
302 wxBoxSizer* bSizer391;
\r
303 bSizer391 = new wxBoxSizer( wxVERTICAL );
\r
305 wxFlexGridSizer* fgSizer45;
\r
306 fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 );
\r
307 fgSizer45->SetFlexibleDirection( wxBOTH );
\r
308 fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
310 lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
311 lblRunningText->Wrap( -1 );
\r
312 fgSizer45->Add( lblRunningText, 0, wxALL, 5 );
\r
314 lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 );
\r
315 lblRunningVer->Wrap( -1 );
\r
316 fgSizer45->Add( lblRunningVer, 0, wxALL, 5 );
\r
318 lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
319 lblAvailableText->Wrap( -1 );
\r
320 fgSizer45->Add( lblAvailableText, 0, wxALL, 5 );
\r
322 lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 );
\r
323 lblAvailableVer->Wrap( -1 );
\r
324 fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 );
\r
326 lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
327 lblBuildTypeText->Wrap( -1 );
\r
328 fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 );
\r
330 lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 );
\r
331 lblBuildType->Wrap( -1 );
\r
332 fgSizer45->Add( lblBuildType, 0, wxALL, 5 );
\r
335 bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 );
\r
337 lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 );
\r
338 lblUpdateMessage->Wrap( -1 );
\r
339 bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 );
\r
342 pnlUpdateData->SetSizer( bSizer391 );
\r
343 pnlUpdateData->Layout();
\r
344 bSizer391->Fit( pnlUpdateData );
\r
345 bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 );
\r
347 statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
348 bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 );
\r
350 wxBoxSizer* bSizer392;
\r
351 bSizer392 = new wxBoxSizer( wxHORIZONTAL );
\r
353 btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 );
\r
354 bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
\r
356 btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 );
\r
357 bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 );
\r
359 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
360 bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
\r
363 bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 );
\r
366 this->SetSizer( bSizer390 );
\r
369 this->Centre( wxBOTH );
\r
372 btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
\r
373 btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
\r
374 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
\r
377 frmUpdateADT::~frmUpdateADT()
\r
379 // Disconnect Events
\r
380 btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
\r
381 btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
\r
382 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
\r
386 frmSearchADT::frmSearchADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
\r
388 this->SetSizeHints( wxSize( 300,450 ), wxDefaultSize );
\r
390 stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
\r
391 wxBoxSizer* bSizer368;
\r
392 bSizer368 = new wxBoxSizer( wxVERTICAL );
\r
394 m_splitter4 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
395 m_splitter4->Connect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this );
\r
396 m_splitter4->SetMinimumPaneSize( 1 );
\r
398 m_panel60 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
399 wxBoxSizer* bSizer382;
\r
400 bSizer382 = new wxBoxSizer( wxVERTICAL );
\r
402 wxBoxSizer* bSizer369;
\r
403 bSizer369 = new wxBoxSizer( wxHORIZONTAL );
\r
405 nbkSearch = new wxNotebook( m_panel60, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
406 tabSearch = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE|wxHSCROLL|wxVSCROLL );
\r
407 tabSearch->SetScrollRate( 5, 5 );
\r
408 szrSearch = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
409 szrSearch->AddGrowableCol( 0 );
\r
410 szrSearch->SetFlexibleDirection( wxVERTICAL );
\r
411 szrSearch->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
414 tabSearch->SetSizer( szrSearch );
\r
415 tabSearch->Layout();
\r
416 szrSearch->Fit( tabSearch );
\r
417 nbkSearch->AddPage( tabSearch, wxT("Search"), true );
\r
418 tabAdvanced = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
419 tabAdvanced->SetScrollRate( 5, 5 );
\r
420 wxBoxSizer* bSizer384;
\r
421 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
423 btnSelectAccounts = new wxButton( tabAdvanced, wxID_ANY, wxT("Select Accounts..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
424 bSizer384->Add( btnSelectAccounts, 0, wxALL, 5 );
\r
427 tabAdvanced->SetSizer( bSizer384 );
\r
428 tabAdvanced->Layout();
\r
429 bSizer384->Fit( tabAdvanced );
\r
430 nbkSearch->AddPage( tabAdvanced, wxT("Advanced"), false );
\r
432 bSizer369->Add( nbkSearch, 1, wxEXPAND | wxALL, 5 );
\r
434 wxBoxSizer* bSizer371;
\r
435 bSizer371 = new wxBoxSizer( wxVERTICAL );
\r
437 btnSearch = new wxButton( m_panel60, wxID_ANY, wxT("Search"), wxDefaultPosition, wxDefaultSize, 0 );
\r
438 bSizer371->Add( btnSearch, 0, wxALL, 5 );
\r
440 btnReset = new wxButton( m_panel60, wxID_ANY, wxT("Reset"), wxDefaultPosition, wxDefaultSize, 0 );
\r
441 bSizer371->Add( btnReset, 0, wxALL, 5 );
\r
444 bSizer369->Add( bSizer371, 0, wxEXPAND, 5 );
\r
447 bSizer382->Add( bSizer369, 1, wxEXPAND, 5 );
\r
450 m_panel60->SetSizer( bSizer382 );
\r
451 m_panel60->Layout();
\r
452 bSizer382->Fit( m_panel60 );
\r
453 m_panel61 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
454 wxBoxSizer* bSizer386;
\r
455 bSizer386 = new wxBoxSizer( wxVERTICAL );
\r
457 lstResults = new wxListCtrl( m_panel61, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
458 bSizer386->Add( lstResults, 1, wxALL|wxEXPAND, 5 );
\r
461 m_panel61->SetSizer( bSizer386 );
\r
462 m_panel61->Layout();
\r
463 bSizer386->Fit( m_panel61 );
\r
464 m_splitter4->SplitHorizontally( m_panel60, m_panel61, 178 );
\r
465 bSizer368->Add( m_splitter4, 1, wxEXPAND, 5 );
\r
468 this->SetSizer( bSizer368 );
\r
470 m_menubar5 = new wxMenuBar( 0 );
\r
471 mnuContact = new wxMenu();
\r
472 wxMenuItem* mnuContactOpen;
\r
473 mnuContactOpen = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Open Contact...") ) + wxT('\t') + wxT("CTRL+O"), wxEmptyString, wxITEM_NORMAL );
\r
474 mnuContact->Append( mnuContactOpen );
\r
476 mnuContactEdit = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
\r
477 mnuContact->Append( mnuContactEdit );
\r
479 mnuContactReveal = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Reveal Contact") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
480 mnuContact->Append( mnuContactReveal );
\r
482 mnuContact->AppendSeparator();
\r
484 wxMenuItem* mnuContactClose;
\r
485 mnuContactClose = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
486 mnuContact->Append( mnuContactClose );
\r
488 m_menubar5->Append( mnuContact, wxT("Contact") );
\r
490 this->SetMenuBar( m_menubar5 );
\r
493 this->Centre( wxBOTH );
\r
496 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
\r
497 btnSelectAccounts->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
\r
498 btnSearch->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
\r
499 btnReset->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
\r
500 this->Connect( mnuContactOpen->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
\r
501 this->Connect( mnuContactEdit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
\r
502 this->Connect( mnuContactReveal->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
\r
503 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
\r
506 frmSearchADT::~frmSearchADT()
\r
508 // Disconnect Events
\r
509 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
\r
510 btnSelectAccounts->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
\r
511 btnSearch->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
\r
512 btnReset->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
\r
513 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
\r
514 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
\r
515 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
\r
516 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
\r
520 frmPreferencesADT::frmPreferencesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
522 this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) );
\r
524 wxBoxSizer* szrMain;
\r
525 szrMain = new wxBoxSizer( wxVERTICAL );
\r
527 wxBoxSizer* szrTabs;
\r
528 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
530 NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
531 tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
532 wxBoxSizer* szrChecks;
\r
533 szrChecks = new wxBoxSizer( wxVERTICAL );
\r
535 chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
\r
536 szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 );
\r
538 chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 );
\r
539 szrChecks->Add( chkHideLocal, 0, wxALL, 5 );
\r
542 tabGeneral->SetSizer( szrChecks );
\r
543 tabGeneral->Layout();
\r
544 szrChecks->Fit( tabGeneral );
\r
545 NbtPreferences->AddPage( tabGeneral, wxT("General"), false );
\r
546 tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
549 wxGridSizer* szrTheme;
\r
550 szrTheme = new wxGridSizer( 1, 1, 0, 0 );
\r
552 wxBoxSizer* bSizer161;
\r
553 bSizer161 = new wxBoxSizer( wxVERTICAL );
\r
555 lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
556 bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
\r
558 wxBoxSizer* bSizer151;
\r
559 bSizer151 = new wxBoxSizer( wxHORIZONTAL );
\r
561 btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
562 bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
\r
564 btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
565 btnThemeModify->Enable( false );
\r
567 bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
\r
569 btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
570 btnThemeDelete->Enable( false );
\r
572 bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
\r
575 bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
\r
578 szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
\r
581 tabTheme->SetSizer( szrTheme );
\r
582 tabTheme->Layout();
\r
583 szrTheme->Fit( tabTheme );
\r
584 NbtPreferences->AddPage( tabTheme, wxT("Themes"), true );
\r
585 tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
586 wxGridSizer* szrAccounts;
\r
587 szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
\r
589 wxBoxSizer* bSizer16;
\r
590 bSizer16 = new wxBoxSizer( wxVERTICAL );
\r
592 lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
593 bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
\r
595 wxBoxSizer* bSizer15;
\r
596 bSizer15 = new wxBoxSizer( wxHORIZONTAL );
\r
598 btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
599 bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
\r
601 btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
602 btnAccountModify->Enable( false );
\r
604 bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
\r
606 btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
607 btnAccountDelete->Enable( false );
\r
609 bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
\r
612 bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
\r
615 szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
\r
618 tabAccounts->SetSizer( szrAccounts );
\r
619 tabAccounts->Layout();
\r
620 szrAccounts->Fit( tabAccounts );
\r
621 NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false );
\r
623 szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
\r
626 szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
\r
628 wxBoxSizer* szrButtons;
\r
629 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
632 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
634 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
635 btnSave->SetDefault();
\r
636 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
639 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
641 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
642 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
645 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
648 szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
651 this->SetSizer( szrMain );
\r
654 this->Centre( wxBOTH );
\r
657 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
\r
658 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
659 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
660 btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
661 btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
662 btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
663 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
664 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
665 btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
666 btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
667 btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
668 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
\r
669 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
\r
672 frmPreferencesADT::~frmPreferencesADT()
\r
674 // Disconnect Events
\r
675 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
\r
676 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
677 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
678 btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
679 btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
680 btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
681 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
682 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
683 btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
684 btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
685 btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
686 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
\r
687 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
\r
691 frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
693 this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
\r
695 wxBoxSizer* szrMain;
\r
696 szrMain = new wxBoxSizer( wxVERTICAL );
\r
698 wxBoxSizer* szrLogo;
\r
699 szrLogo = new wxBoxSizer( wxVERTICAL );
\r
701 szrLogo->SetMinSize( wxSize( 350,100 ) );
\r
702 bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
\r
703 szrLogo->Add( bmpLogo, 0, wxALL, 0 );
\r
706 szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
\r
708 wxBoxSizer* szrDetails;
\r
709 szrDetails = new wxBoxSizer( wxVERTICAL );
\r
711 lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
\r
712 lblVersion->Wrap( -1 );
\r
713 lblVersion->SetFont( wxFont( 14, 70, 90, 92, false, wxEmptyString ) );
\r
715 szrDetails->Add( lblVersion, 0, wxALL, 5 );
\r
717 lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
\r
718 lblCompileTime->Wrap( -1 );
\r
719 szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
\r
721 lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
\r
722 lblCopyright->Wrap( -1 );
\r
723 szrDetails->Add( lblCopyright, 0, wxALL, 5 );
\r
726 szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
\r
728 wxBoxSizer* szrButtons;
\r
729 szrButtons = new wxBoxSizer( wxVERTICAL );
\r
731 szrButtons->SetMinSize( wxSize( -1,35 ) );
\r
732 btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
733 szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
736 szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
\r
739 this->SetSizer( szrMain );
\r
742 this->Centre( wxBOTH );
\r
745 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
\r
748 frmAboutADT::~frmAboutADT()
\r
750 // Disconnect Events
\r
751 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
\r
755 frmContactADT::frmContactADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
\r
757 this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize );
\r
759 wxBoxSizer* bSizer13;
\r
760 bSizer13 = new wxBoxSizer( wxVERTICAL );
\r
762 htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
763 bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
\r
766 this->SetSizer( bSizer13 );
\r
768 m_menubar2 = new wxMenuBar( 0 );
\r
769 contact = new wxMenu();
\r
770 wxMenuItem* mnuContactClose;
\r
771 mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL );
\r
772 contact->Append( mnuContactClose );
\r
774 m_menubar2->Append( contact, wxT("Contact") );
\r
776 this->SetMenuBar( m_menubar2 );
\r
779 this->Centre( wxBOTH );
\r
782 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
\r
783 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
\r
786 frmContactADT::~frmContactADT()
\r
788 // Disconnect Events
\r
789 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
\r
790 this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
\r
794 frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
796 this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
\r
798 wxFlexGridSizer* fgSizer30;
\r
799 fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
800 fgSizer30->AddGrowableCol( 0 );
\r
801 fgSizer30->AddGrowableRow( 0 );
\r
802 fgSizer30->SetFlexibleDirection( wxBOTH );
\r
803 fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
805 szrNewAccount = new wxBoxSizer( wxVERTICAL );
\r
807 tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
808 wxFlexGridSizer* fgSizer32;
\r
809 fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
810 fgSizer32->AddGrowableCol( 0 );
\r
811 fgSizer32->SetFlexibleDirection( wxBOTH );
\r
812 fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
\r
814 lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
\r
815 lblEnterText->Wrap( -1 );
\r
816 fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
\r
818 wxFlexGridSizer* fgSizer33;
\r
819 fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
820 fgSizer33->AddGrowableCol( 1 );
\r
821 fgSizer33->AddGrowableRow( 0 );
\r
822 fgSizer33->SetFlexibleDirection( wxBOTH );
\r
823 fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
\r
825 lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
826 lblType->Wrap( -1 );
\r
827 fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
829 wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") };
\r
830 int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
\r
831 cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
\r
832 cmbServerType->SetSelection( 1 );
\r
833 fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
\r
835 lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
836 lblServerAddress->Wrap( -1 );
\r
837 fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
839 txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
840 txtServerAddress->SetMaxLength( 0 );
\r
841 fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
\r
843 lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
844 lblServerPort->Wrap( -1 );
\r
845 fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
847 txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
848 txtServerPort->SetMaxLength( 0 );
\r
849 fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
\r
851 lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
852 lblUsername->Wrap( -1 );
\r
853 fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
855 txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
856 txtUsername->SetMaxLength( 0 );
\r
857 fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
\r
859 lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
860 lblPassword->Wrap( -1 );
\r
861 fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
863 txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
\r
864 txtPassword->SetMaxLength( 0 );
\r
865 fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
867 lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
868 lblSSL->Wrap( -1 );
\r
869 fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
871 wxBoxSizer* bSizer3221;
\r
872 bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
\r
874 chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
875 chkUseSSL->SetValue(true);
\r
876 bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
\r
879 fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
\r
882 fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
\r
885 tabType->SetSizer( fgSizer32 );
\r
887 fgSizer32->Fit( tabType );
\r
888 szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
\r
890 tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
893 wxBoxSizer* bSizer323;
\r
894 bSizer323 = new wxBoxSizer( wxVERTICAL );
\r
896 lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
897 lblConnectionResult->Wrap( -1 );
\r
898 lblConnectionResult->SetFont( wxFont( 9, 74, 90, 92, false, wxT("Sans") ) );
\r
900 bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
\r
902 wxFlexGridSizer* fgSizer34;
\r
903 fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
904 fgSizer34->SetFlexibleDirection( wxBOTH );
\r
905 fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
907 lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
908 lblServerConnected->Wrap( -1 );
\r
909 fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
\r
911 lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
912 lblServerConnResult->Wrap( -1 );
\r
913 fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
\r
915 lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
916 lblValidResponse->Wrap( -1 );
\r
917 fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
\r
919 lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
920 lblServerResponse->Wrap( -1 );
\r
921 fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
\r
923 lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
924 lblUseSSL->Wrap( -1 );
\r
925 fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
\r
927 lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
928 lblServerSSLResult->Wrap( -1 );
\r
929 fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
\r
931 lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
932 lblServerSSLCert->Wrap( -1 );
\r
933 fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
\r
935 lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
936 lblServerSSLValid->Wrap( -1 );
\r
937 fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
\r
939 lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
940 lblServerUsernamePassword->Wrap( -1 );
\r
941 fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
\r
943 lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
944 lblAbleToLoginResult->Wrap( -1 );
\r
945 fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
\r
947 lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
948 lblIsCalDAV->Wrap( -1 );
\r
949 fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
\r
951 lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
952 lblCardDAVSupportResult->Wrap( -1 );
\r
953 fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 );
\r
956 bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
\r
958 m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
959 bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
\r
961 lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
962 lblConnectionResultText->Wrap( 360 );
\r
963 lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
\r
965 bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
\r
968 tabConn->SetSizer( bSizer323 );
\r
970 bSizer323->Fit( tabConn );
\r
971 szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
\r
973 tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
976 wxBoxSizer* bSizer3231;
\r
977 bSizer3231 = new wxBoxSizer( wxVERTICAL );
\r
979 lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
\r
980 lblFinishText->Wrap( -1 );
\r
981 bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
\r
983 wxFlexGridSizer* fgSizer341;
\r
984 fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
985 fgSizer341->AddGrowableCol( 1 );
\r
986 fgSizer341->SetFlexibleDirection( wxBOTH );
\r
987 fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
989 lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
990 lblAccountName->Wrap( -1 );
\r
991 fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
993 txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
994 txtAccountName->SetMaxLength( 0 );
\r
995 fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
998 bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
\r
1001 tabFinish->SetSizer( bSizer3231 );
\r
1002 tabFinish->Layout();
\r
1003 bSizer3231->Fit( tabFinish );
\r
1004 szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
\r
1007 fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
\r
1009 wxBoxSizer* bSizer322;
\r
1010 bSizer322 = new wxBoxSizer( wxHORIZONTAL );
\r
1012 btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1013 bSizer322->Add( btnPrevious, 0, wxALL, 5 );
\r
1015 btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1016 btnNext->SetDefault();
\r
1017 bSizer322->Add( btnNext, 0, wxALL, 5 );
\r
1019 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1020 bSizer322->Add( btnClose, 0, wxALL, 5 );
\r
1023 fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
\r
1026 this->SetSizer( fgSizer30 );
\r
1029 this->Centre( wxBOTH );
\r
1032 cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
\r
1033 txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
\r
1034 btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
\r
1035 btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
\r
1036 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
\r
1039 frmNewAccountADT::~frmNewAccountADT()
\r
1041 // Disconnect Events
\r
1042 cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
\r
1043 txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
\r
1044 btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
\r
1045 btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
\r
1046 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
\r
1050 frmContactEditorADT::frmContactEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
\r
1052 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
1053 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
1055 wxBoxSizer* bSizer17;
\r
1056 bSizer17 = new wxBoxSizer( wxVERTICAL );
\r
1058 nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
1059 tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
1060 tabGeneral->SetScrollRate( 5, 5 );
\r
1061 wxBoxSizer* bSizer18;
\r
1062 bSizer18 = new wxBoxSizer( wxVERTICAL );
\r
1064 wxGridSizer* gSizer7;
\r
1065 gSizer7 = new wxGridSizer( 0, 6, 0, 0 );
\r
1067 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1068 lblTitle->Wrap( -1 );
\r
1069 gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1071 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1072 txtTitle->SetMaxLength( 0 );
\r
1073 gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
1076 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1079 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1082 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1085 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1087 lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1088 lblForename->Wrap( -1 );
\r
1089 gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1091 txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1092 txtForename->SetMaxLength( 0 );
\r
1093 gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 );
\r
1095 lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1096 lblSurname->Wrap( -1 );
\r
1097 gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1099 txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1100 txtSurname->SetMaxLength( 0 );
\r
1101 gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 );
\r
1103 lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1104 lblOtherNames->Wrap( -1 );
\r
1105 gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1107 txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1108 txtOtherNames->SetMaxLength( 0 );
\r
1109 gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 );
\r
1111 lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1112 lblSuffix->Wrap( -1 );
\r
1113 gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1115 txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1116 txtSuffix->SetMaxLength( 0 );
\r
1117 gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 );
\r
1120 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1123 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1126 bSizer18->Add( gSizer7, 0, wxEXPAND, 5 );
\r
1128 wxFlexGridSizer* fgSizer5;
\r
1129 fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
1130 fgSizer5->AddGrowableCol( 1 );
\r
1131 fgSizer5->SetFlexibleDirection( wxBOTH );
\r
1132 fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
1134 lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 );
\r
1135 lblDisplayAs->Wrap( -1 );
\r
1136 fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1138 cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
1139 fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 );
\r
1141 lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1142 lblBirthday->Wrap( -1 );
\r
1143 fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1145 wxBoxSizer* bSizer318;
\r
1146 bSizer318 = new wxBoxSizer( wxHORIZONTAL );
\r
1148 dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
\r
1149 dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) );
\r
1150 dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
\r
1151 dapBirthday->SetMinSize( wxSize( -1,25 ) );
\r
1153 bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 );
\r
1155 txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1156 txtBirthday->SetMaxLength( 0 );
\r
1157 bSizer318->Add( txtBirthday, 1, wxALL, 5 );
\r
1160 fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 );
\r
1162 lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1163 lblAnniversary->Wrap( -1 );
\r
1164 fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1166 wxBoxSizer* bSizer319;
\r
1167 bSizer319 = new wxBoxSizer( wxHORIZONTAL );
\r
1169 dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
\r
1170 dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
\r
1171 dapAnniversary->SetMinSize( wxSize( -1,25 ) );
\r
1173 bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 );
\r
1175 txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1176 txtAnniversary->SetMaxLength( 0 );
\r
1177 bSizer319->Add( txtAnniversary, 1, wxALL, 5 );
\r
1180 fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 );
\r
1182 lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1183 lblGender->Wrap( -1 );
\r
1184 fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1186 wxBoxSizer* bSizer20;
\r
1187 bSizer20 = new wxBoxSizer( wxHORIZONTAL );
\r
1189 wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") };
\r
1190 int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString );
\r
1191 cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 );
\r
1192 cmbGender->SetSelection( 0 );
\r
1193 bSizer20->Add( cmbGender, 0, wxALL, 5 );
\r
1195 txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1196 txtGenderDescription->SetMaxLength( 0 );
\r
1197 bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1200 fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 );
\r
1202 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1203 lblType->Wrap( -1 );
\r
1204 fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1206 wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") };
\r
1207 int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString );
\r
1208 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 );
\r
1209 cmbType->SetSelection( 0 );
\r
1210 fgSizer5->Add( cmbType, 0, wxALL, 5 );
\r
1212 lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1213 lblNicknames->Wrap( -1 );
\r
1214 fgSizer5->Add( lblNicknames, 0, wxALL, 5 );
\r
1216 wxBoxSizer* szrNicknames;
\r
1217 szrNicknames = new wxBoxSizer( wxHORIZONTAL );
\r
1219 lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1220 szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 );
\r
1222 wxBoxSizer* szrAddressesOuter3;
\r
1223 szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL );
\r
1225 wxBoxSizer* bSizer464;
\r
1226 bSizer464 = new wxBoxSizer( wxHORIZONTAL );
\r
1228 wxBoxSizer* bSizer474;
\r
1229 bSizer474 = new wxBoxSizer( wxVERTICAL );
\r
1231 btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1232 bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 );
\r
1234 btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1235 bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 );
\r
1237 btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1238 bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 );
\r
1241 bSizer464->Add( bSizer474, 1, wxEXPAND, 5 );
\r
1244 szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 );
\r
1247 szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 );
\r
1250 fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 );
\r
1252 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1253 lblAddress->Wrap( -1 );
\r
1254 fgSizer5->Add( lblAddress, 0, wxALL, 5 );
\r
1256 wxBoxSizer* szrAddresses;
\r
1257 szrAddresses = new wxBoxSizer( wxHORIZONTAL );
\r
1259 lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1260 szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 );
\r
1262 wxBoxSizer* szrAddressesOuter;
\r
1263 szrAddressesOuter = new wxBoxSizer( wxVERTICAL );
\r
1265 wxBoxSizer* bSizer46;
\r
1266 bSizer46 = new wxBoxSizer( wxHORIZONTAL );
\r
1268 wxBoxSizer* bSizer47;
\r
1269 bSizer47 = new wxBoxSizer( wxVERTICAL );
\r
1271 btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1272 bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 );
\r
1274 btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1275 bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 );
\r
1277 btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1278 bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 );
\r
1281 bSizer46->Add( bSizer47, 1, wxEXPAND, 5 );
\r
1284 szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 );
\r
1287 szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 );
\r
1290 fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 );
\r
1292 lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1293 lblEmail->Wrap( -1 );
\r
1294 fgSizer5->Add( lblEmail, 0, wxALL, 5 );
\r
1296 wxBoxSizer* bSizer301;
\r
1297 bSizer301 = new wxBoxSizer( wxHORIZONTAL );
\r
1299 lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1300 bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 );
\r
1302 wxBoxSizer* bSizer351;
\r
1303 bSizer351 = new wxBoxSizer( wxVERTICAL );
\r
1305 wxBoxSizer* bSizer461;
\r
1306 bSizer461 = new wxBoxSizer( wxHORIZONTAL );
\r
1308 wxBoxSizer* bSizer471;
\r
1309 bSizer471 = new wxBoxSizer( wxVERTICAL );
\r
1311 btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1312 bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 );
\r
1314 btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1315 bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 );
\r
1317 btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1318 bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 );
\r
1321 bSizer461->Add( bSizer471, 1, wxEXPAND, 5 );
\r
1324 bSizer351->Add( bSizer461, 1, wxEXPAND, 5 );
\r
1327 bSizer301->Add( bSizer351, 0, wxEXPAND, 5 );
\r
1330 fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 );
\r
1332 lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1334 fgSizer5->Add( lblIM, 0, wxALL, 5 );
\r
1336 wxBoxSizer* bSizer3011;
\r
1337 bSizer3011 = new wxBoxSizer( wxHORIZONTAL );
\r
1339 lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1340 bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 );
\r
1342 wxBoxSizer* bSizer3511;
\r
1343 bSizer3511 = new wxBoxSizer( wxVERTICAL );
\r
1345 wxBoxSizer* bSizer4611;
\r
1346 bSizer4611 = new wxBoxSizer( wxHORIZONTAL );
\r
1348 wxBoxSizer* bSizer4711;
\r
1349 bSizer4711 = new wxBoxSizer( wxVERTICAL );
\r
1351 btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1352 bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 );
\r
1354 btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1355 bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 );
\r
1357 btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1358 bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 );
\r
1361 bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 );
\r
1364 bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 );
\r
1367 bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 );
\r
1370 fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 );
\r
1372 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1373 lblTelephone->Wrap( 0 );
\r
1374 fgSizer5->Add( lblTelephone, 0, wxALL, 5 );
\r
1376 wxBoxSizer* bSizer30111;
\r
1377 bSizer30111 = new wxBoxSizer( wxHORIZONTAL );
\r
1379 lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1380 bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 );
\r
1382 wxBoxSizer* bSizer35111;
\r
1383 bSizer35111 = new wxBoxSizer( wxVERTICAL );
\r
1385 wxBoxSizer* bSizer46111;
\r
1386 bSizer46111 = new wxBoxSizer( wxHORIZONTAL );
\r
1388 wxBoxSizer* bSizer47111;
\r
1389 bSizer47111 = new wxBoxSizer( wxVERTICAL );
\r
1391 btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1392 bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 );
\r
1394 btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1395 bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 );
\r
1397 btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1398 bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 );
\r
1401 bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 );
\r
1404 bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 );
\r
1407 bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 );
\r
1410 fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 );
\r
1412 lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1413 lblLanguages->Wrap( 0 );
\r
1414 fgSizer5->Add( lblLanguages, 0, wxALL, 5 );
\r
1416 wxBoxSizer* bSizer301111;
\r
1417 bSizer301111 = new wxBoxSizer( wxHORIZONTAL );
\r
1419 lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1420 bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 );
\r
1422 wxBoxSizer* bSizer351111;
\r
1423 bSizer351111 = new wxBoxSizer( wxVERTICAL );
\r
1425 wxBoxSizer* bSizer461111;
\r
1426 bSizer461111 = new wxBoxSizer( wxHORIZONTAL );
\r
1428 wxBoxSizer* bSizer471111;
\r
1429 bSizer471111 = new wxBoxSizer( wxVERTICAL );
\r
1431 btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1432 bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 );
\r
1434 btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1435 bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 );
\r
1437 btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1438 bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 );
\r
1441 bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 );
\r
1444 bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 );
\r
1447 bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 );
\r
1450 fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 );
\r
1452 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1453 lblTimezone->Wrap( 0 );
\r
1454 fgSizer5->Add( lblTimezone, 0, wxALL, 5 );
\r
1456 wxBoxSizer* bSizer3011111;
\r
1457 bSizer3011111 = new wxBoxSizer( wxHORIZONTAL );
\r
1459 lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1460 bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 );
\r
1462 wxBoxSizer* bSizer3511111;
\r
1463 bSizer3511111 = new wxBoxSizer( wxVERTICAL );
\r
1465 wxBoxSizer* bSizer4611111;
\r
1466 bSizer4611111 = new wxBoxSizer( wxHORIZONTAL );
\r
1468 wxBoxSizer* bSizer4711111;
\r
1469 bSizer4711111 = new wxBoxSizer( wxVERTICAL );
\r
1471 btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1472 bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 );
\r
1474 btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1475 bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 );
\r
1477 btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1478 bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 );
\r
1481 bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 );
\r
1484 bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 );
\r
1487 bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 );
\r
1490 fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 );
\r
1492 lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1493 lblGeopositioning->Wrap( -1 );
\r
1494 fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 );
\r
1496 wxBoxSizer* bSizer30111114;
\r
1497 bSizer30111114 = new wxBoxSizer( wxHORIZONTAL );
\r
1499 lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1500 bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
1502 wxBoxSizer* bSizer35111114;
\r
1503 bSizer35111114 = new wxBoxSizer( wxVERTICAL );
\r
1505 wxBoxSizer* bSizer46111114;
\r
1506 bSizer46111114 = new wxBoxSizer( wxHORIZONTAL );
\r
1508 wxBoxSizer* bSizer47111114;
\r
1509 bSizer47111114 = new wxBoxSizer( wxVERTICAL );
\r
1511 btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1512 bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 );
\r
1514 btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1515 bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 );
\r
1517 btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1518 bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 );
\r
1521 bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 );
\r
1524 bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 );
\r
1527 bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 );
\r
1530 fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 );
\r
1532 lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1533 lblRelated->Wrap( 1 );
\r
1534 fgSizer5->Add( lblRelated, 0, wxALL, 5 );
\r
1536 wxBoxSizer* bSizer30111111;
\r
1537 bSizer30111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1539 lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1540 bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 );
\r
1542 wxBoxSizer* bSizer35111111;
\r
1543 bSizer35111111 = new wxBoxSizer( wxVERTICAL );
\r
1545 wxBoxSizer* bSizer46111111;
\r
1546 bSizer46111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1548 wxBoxSizer* bSizer47111111;
\r
1549 bSizer47111111 = new wxBoxSizer( wxVERTICAL );
\r
1551 btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1552 bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 );
\r
1554 btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1555 bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 );
\r
1557 btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1558 bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 );
\r
1561 bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 );
\r
1564 bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 );
\r
1567 bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 );
\r
1570 fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 );
\r
1572 lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1573 lblWebsites->Wrap( 1 );
\r
1574 fgSizer5->Add( lblWebsites, 0, wxALL, 5 );
\r
1576 wxBoxSizer* bSizer301111111;
\r
1577 bSizer301111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1579 lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1580 bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 );
\r
1582 wxBoxSizer* bSizer351111111;
\r
1583 bSizer351111111 = new wxBoxSizer( wxVERTICAL );
\r
1585 wxBoxSizer* bSizer461111111;
\r
1586 bSizer461111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1588 wxBoxSizer* bSizer471111111;
\r
1589 bSizer471111111 = new wxBoxSizer( wxVERTICAL );
\r
1591 btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1592 bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 );
\r
1594 btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1595 bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 );
\r
1597 btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1598 bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 );
\r
1601 bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 );
\r
1604 bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 );
\r
1607 bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 );
\r
1610 fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 );
\r
1612 lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1613 lblTitles->Wrap( 1 );
\r
1614 fgSizer5->Add( lblTitles, 0, wxALL, 5 );
\r
1616 wxBoxSizer* bSizer3011111111;
\r
1617 bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1619 lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1620 bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 );
\r
1622 wxBoxSizer* bSizer3511111111;
\r
1623 bSizer3511111111 = new wxBoxSizer( wxVERTICAL );
\r
1625 wxBoxSizer* bSizer4611111111;
\r
1626 bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1628 wxBoxSizer* bSizer4711111111;
\r
1629 bSizer4711111111 = new wxBoxSizer( wxVERTICAL );
\r
1631 btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1632 bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 );
\r
1634 btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1635 bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 );
\r
1637 btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1638 bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 );
\r
1641 bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 );
\r
1644 bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 );
\r
1647 bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 );
\r
1650 fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 );
\r
1652 lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1653 lblRoles->Wrap( 1 );
\r
1654 fgSizer5->Add( lblRoles, 0, wxALL, 5 );
\r
1656 wxBoxSizer* bSizer30111111111;
\r
1657 bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1659 lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1660 bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 );
\r
1662 wxBoxSizer* bSizer35111111111;
\r
1663 bSizer35111111111 = new wxBoxSizer( wxVERTICAL );
\r
1665 wxBoxSizer* bSizer46111111111;
\r
1666 bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1668 wxBoxSizer* bSizer47111111111;
\r
1669 bSizer47111111111 = new wxBoxSizer( wxVERTICAL );
\r
1671 btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1672 bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 );
\r
1674 btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1675 bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 );
\r
1677 btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1678 bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 );
\r
1681 bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 );
\r
1684 bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 );
\r
1687 bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 );
\r
1690 fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 );
\r
1692 lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1693 lblOrganisations->Wrap( 1 );
\r
1694 fgSizer5->Add( lblOrganisations, 0, wxALL, 5 );
\r
1696 wxBoxSizer* bSizer301111111111;
\r
1697 bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1699 lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1700 bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
1702 wxBoxSizer* bSizer351111111111;
\r
1703 bSizer351111111111 = new wxBoxSizer( wxVERTICAL );
\r
1705 wxBoxSizer* bSizer461111111111;
\r
1706 bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1708 wxBoxSizer* bSizer471111111111;
\r
1709 bSizer471111111111 = new wxBoxSizer( wxVERTICAL );
\r
1711 btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1712 bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 );
\r
1714 btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1715 bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 );
\r
1717 btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1718 bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 );
\r
1721 bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 );
\r
1724 bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 );
\r
1727 bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 );
\r
1730 fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 );
\r
1732 lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1733 lblNotes->Wrap( 1 );
\r
1734 fgSizer5->Add( lblNotes, 0, wxALL, 5 );
\r
1736 wxBoxSizer* bSizer3011111111111;
\r
1737 bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1739 lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1740 bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 );
\r
1742 wxBoxSizer* bSizer3511111111111;
\r
1743 bSizer3511111111111 = new wxBoxSizer( wxVERTICAL );
\r
1745 wxBoxSizer* bSizer4611111111111;
\r
1746 bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1748 wxBoxSizer* bSizer4711111111111;
\r
1749 bSizer4711111111111 = new wxBoxSizer( wxVERTICAL );
\r
1751 btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1752 bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 );
\r
1754 btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1755 bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 );
\r
1757 btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1758 bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 );
\r
1761 bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 );
\r
1764 bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 );
\r
1767 bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 );
\r
1770 fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 );
\r
1773 bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 );
\r
1776 tabGeneral->SetSizer( bSizer18 );
\r
1777 tabGeneral->Layout();
\r
1778 bSizer18->Fit( tabGeneral );
\r
1779 nbkContact->AddPage( tabGeneral, wxT("General"), false );
\r
1780 tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
1781 tabHome->SetScrollRate( 5, 5 );
\r
1782 wxBoxSizer* bSizer181;
\r
1783 bSizer181 = new wxBoxSizer( wxVERTICAL );
\r
1785 wxGridSizer* gSizer71;
\r
1786 gSizer71 = new wxGridSizer( 2, 6, 0, 0 );
\r
1789 bSizer181->Add( gSizer71, 0, wxEXPAND, 5 );
\r
1791 wxFlexGridSizer* fgSizer51;
\r
1792 fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
1793 fgSizer51->AddGrowableCol( 1 );
\r
1794 fgSizer51->SetFlexibleDirection( wxBOTH );
\r
1795 fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
1797 lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1798 lblHomeNickname->Wrap( 0 );
\r
1799 fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 );
\r
1801 wxBoxSizer* szrAddresses12;
\r
1802 szrAddresses12 = new wxBoxSizer( wxHORIZONTAL );
\r
1804 lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1805 szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 );
\r
1807 wxBoxSizer* szrAddressesOuter11;
\r
1808 szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
1810 wxBoxSizer* bSizer4622;
\r
1811 bSizer4622 = new wxBoxSizer( wxHORIZONTAL );
\r
1813 wxBoxSizer* bSizer4722;
\r
1814 bSizer4722 = new wxBoxSizer( wxVERTICAL );
\r
1816 btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1817 bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 );
\r
1819 btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1820 bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 );
\r
1822 btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1823 bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 );
\r
1826 bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 );
\r
1829 szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 );
\r
1832 szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 );
\r
1835 fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 );
\r
1837 lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1838 lblHomeAddresses->Wrap( 1 );
\r
1839 fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 );
\r
1841 wxBoxSizer* szrAddresses1;
\r
1842 szrAddresses1 = new wxBoxSizer( wxHORIZONTAL );
\r
1844 lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1845 szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 );
\r
1847 wxBoxSizer* szrAddressesOuter1;
\r
1848 szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL );
\r
1850 wxBoxSizer* bSizer462;
\r
1851 bSizer462 = new wxBoxSizer( wxHORIZONTAL );
\r
1853 wxBoxSizer* bSizer472;
\r
1854 bSizer472 = new wxBoxSizer( wxVERTICAL );
\r
1856 btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1857 bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 );
\r
1859 btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1860 bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 );
\r
1862 btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1863 bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 );
\r
1866 bSizer462->Add( bSizer472, 1, wxEXPAND, 5 );
\r
1869 szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 );
\r
1872 szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 );
\r
1875 fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 );
\r
1877 lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1878 lblHomeEmail->Wrap( 1 );
\r
1879 fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 );
\r
1881 wxBoxSizer* bSizer3012;
\r
1882 bSizer3012 = new wxBoxSizer( wxHORIZONTAL );
\r
1884 lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1885 bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 );
\r
1887 wxBoxSizer* bSizer3512;
\r
1888 bSizer3512 = new wxBoxSizer( wxVERTICAL );
\r
1890 wxBoxSizer* bSizer4612;
\r
1891 bSizer4612 = new wxBoxSizer( wxHORIZONTAL );
\r
1893 wxBoxSizer* bSizer4712;
\r
1894 bSizer4712 = new wxBoxSizer( wxVERTICAL );
\r
1896 btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1897 bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 );
\r
1899 btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1900 bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 );
\r
1902 btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1903 bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 );
\r
1906 bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 );
\r
1909 bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 );
\r
1912 bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 );
\r
1915 fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 );
\r
1917 lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1918 lblHomeIM->Wrap( 0 );
\r
1919 fgSizer51->Add( lblHomeIM, 0, wxALL, 5 );
\r
1921 wxBoxSizer* bSizer30112;
\r
1922 bSizer30112 = new wxBoxSizer( wxHORIZONTAL );
\r
1924 lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1925 bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 );
\r
1927 wxBoxSizer* bSizer35112;
\r
1928 bSizer35112 = new wxBoxSizer( wxVERTICAL );
\r
1930 wxBoxSizer* bSizer46112;
\r
1931 bSizer46112 = new wxBoxSizer( wxHORIZONTAL );
\r
1933 wxBoxSizer* bSizer47112;
\r
1934 bSizer47112 = new wxBoxSizer( wxVERTICAL );
\r
1936 btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1937 bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 );
\r
1939 btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1940 bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 );
\r
1942 btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1943 bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 );
\r
1946 bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 );
\r
1949 bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 );
\r
1952 bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 );
\r
1955 fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 );
\r
1957 lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1958 lblHomeTelephone->Wrap( 0 );
\r
1959 fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 );
\r
1961 wxBoxSizer* bSizer301112;
\r
1962 bSizer301112 = new wxBoxSizer( wxHORIZONTAL );
\r
1964 lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1965 bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 );
\r
1967 wxBoxSizer* bSizer351112;
\r
1968 bSizer351112 = new wxBoxSizer( wxVERTICAL );
\r
1970 wxBoxSizer* bSizer461112;
\r
1971 bSizer461112 = new wxBoxSizer( wxHORIZONTAL );
\r
1973 wxBoxSizer* bSizer471112;
\r
1974 bSizer471112 = new wxBoxSizer( wxVERTICAL );
\r
1976 btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1977 bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 );
\r
1979 btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1980 bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 );
\r
1982 btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1983 bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 );
\r
1986 bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 );
\r
1989 bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 );
\r
1992 bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 );
\r
1995 fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 );
\r
1997 lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1998 lblHomeLanguages->Wrap( 0 );
\r
1999 fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 );
\r
2001 wxBoxSizer* bSizer3011112;
\r
2002 bSizer3011112 = new wxBoxSizer( wxHORIZONTAL );
\r
2004 lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2005 bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 );
\r
2007 wxBoxSizer* bSizer3511112;
\r
2008 bSizer3511112 = new wxBoxSizer( wxVERTICAL );
\r
2010 wxBoxSizer* bSizer4611112;
\r
2011 bSizer4611112 = new wxBoxSizer( wxHORIZONTAL );
\r
2013 wxBoxSizer* bSizer4711112;
\r
2014 bSizer4711112 = new wxBoxSizer( wxVERTICAL );
\r
2016 btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2017 bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 );
\r
2019 btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2020 bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 );
\r
2022 btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2023 bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 );
\r
2026 bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 );
\r
2029 bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 );
\r
2032 bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 );
\r
2035 fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 );
\r
2037 lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2038 lblHomeTimezone->Wrap( 0 );
\r
2039 fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 );
\r
2041 wxBoxSizer* bSizer30111112;
\r
2042 bSizer30111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2044 lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2045 bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 );
\r
2047 wxBoxSizer* bSizer35111112;
\r
2048 bSizer35111112 = new wxBoxSizer( wxVERTICAL );
\r
2050 wxBoxSizer* bSizer46111112;
\r
2051 bSizer46111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2053 wxBoxSizer* bSizer47111112;
\r
2054 bSizer47111112 = new wxBoxSizer( wxVERTICAL );
\r
2056 btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2057 bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 );
\r
2059 btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2060 bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 );
\r
2062 btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2063 bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 );
\r
2066 bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 );
\r
2069 bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 );
\r
2072 bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 );
\r
2075 fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 );
\r
2077 lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2078 lblHomeGeopositioning->Wrap( 0 );
\r
2079 fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 );
\r
2081 wxBoxSizer* bSizer301111141;
\r
2082 bSizer301111141 = new wxBoxSizer( wxHORIZONTAL );
\r
2084 lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2085 bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
2087 wxBoxSizer* bSizer351111141;
\r
2088 bSizer351111141 = new wxBoxSizer( wxVERTICAL );
\r
2090 wxBoxSizer* bSizer461111141;
\r
2091 bSizer461111141 = new wxBoxSizer( wxHORIZONTAL );
\r
2093 wxBoxSizer* bSizer471111141;
\r
2094 bSizer471111141 = new wxBoxSizer( wxVERTICAL );
\r
2096 btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2097 bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 );
\r
2099 btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2100 bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 );
\r
2102 btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2103 bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 );
\r
2106 bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 );
\r
2109 bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 );
\r
2112 bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 );
\r
2115 fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 );
\r
2117 lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2118 lblHomeWebsites->Wrap( 1 );
\r
2119 fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 );
\r
2121 wxBoxSizer* bSizer3011111112;
\r
2122 bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2124 lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2125 bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 );
\r
2127 wxBoxSizer* bSizer3511111112;
\r
2128 bSizer3511111112 = new wxBoxSizer( wxVERTICAL );
\r
2130 wxBoxSizer* bSizer4611111112;
\r
2131 bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2133 wxBoxSizer* bSizer4711111112;
\r
2134 bSizer4711111112 = new wxBoxSizer( wxVERTICAL );
\r
2136 btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2137 bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 );
\r
2139 btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2140 bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 );
\r
2142 btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2143 bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 );
\r
2146 bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 );
\r
2149 bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 );
\r
2152 bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 );
\r
2155 fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 );
\r
2157 lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2158 lblHomeTitles->Wrap( 1 );
\r
2159 fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 );
\r
2161 wxBoxSizer* bSizer30111111112;
\r
2162 bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2164 lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2165 bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 );
\r
2167 wxBoxSizer* bSizer35111111112;
\r
2168 bSizer35111111112 = new wxBoxSizer( wxVERTICAL );
\r
2170 wxBoxSizer* bSizer46111111112;
\r
2171 bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2173 wxBoxSizer* bSizer47111111112;
\r
2174 bSizer47111111112 = new wxBoxSizer( wxVERTICAL );
\r
2176 btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2177 bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 );
\r
2179 btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2180 bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 );
\r
2182 btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2183 bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 );
\r
2186 bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 );
\r
2189 bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 );
\r
2192 bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 );
\r
2195 fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 );
\r
2197 lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2198 lblHomeRoles->Wrap( 1 );
\r
2199 fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 );
\r
2201 wxBoxSizer* bSizer301111111112;
\r
2202 bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2204 lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2205 bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 );
\r
2207 wxBoxSizer* bSizer351111111112;
\r
2208 bSizer351111111112 = new wxBoxSizer( wxVERTICAL );
\r
2210 wxBoxSizer* bSizer461111111112;
\r
2211 bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2213 wxBoxSizer* bSizer471111111112;
\r
2214 bSizer471111111112 = new wxBoxSizer( wxVERTICAL );
\r
2216 btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2217 bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 );
\r
2219 btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2220 bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 );
\r
2222 btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2223 bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 );
\r
2226 bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 );
\r
2229 bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 );
\r
2232 bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 );
\r
2235 fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 );
\r
2237 lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2238 lblHomeOrganisations->Wrap( 1 );
\r
2239 fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 );
\r
2241 wxBoxSizer* bSizer3011111111112;
\r
2242 bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2244 lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2245 bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
2247 wxBoxSizer* bSizer3511111111112;
\r
2248 bSizer3511111111112 = new wxBoxSizer( wxVERTICAL );
\r
2250 wxBoxSizer* bSizer4611111111112;
\r
2251 bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2253 wxBoxSizer* bSizer4711111111112;
\r
2254 bSizer4711111111112 = new wxBoxSizer( wxVERTICAL );
\r
2256 btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2257 bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 );
\r
2259 btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2260 bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 );
\r
2262 btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2263 bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 );
\r
2266 bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 );
\r
2269 bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 );
\r
2272 bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 );
\r
2275 fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 );
\r
2277 lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2278 lblHomeNotes->Wrap( 1 );
\r
2279 fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 );
\r
2281 wxBoxSizer* bSizer30111111111111;
\r
2282 bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
2284 lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2285 bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 );
\r
2287 wxBoxSizer* bSizer35111111111111;
\r
2288 bSizer35111111111111 = new wxBoxSizer( wxVERTICAL );
\r
2290 wxBoxSizer* bSizer46111111111111;
\r
2291 bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
2293 wxBoxSizer* bSizer47111111111111;
\r
2294 bSizer47111111111111 = new wxBoxSizer( wxVERTICAL );
\r
2296 btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2297 bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 );
\r
2299 btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2300 bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 );
\r
2302 btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2303 bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 );
\r
2306 bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 );
\r
2309 bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 );
\r
2312 bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 );
\r
2315 fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 );
\r
2318 bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 );
\r
2321 tabHome->SetSizer( bSizer181 );
\r
2322 tabHome->Layout();
\r
2323 bSizer181->Fit( tabHome );
\r
2324 nbkContact->AddPage( tabHome, wxT("Home"), false );
\r
2325 tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2326 tabBusiness->SetScrollRate( 5, 5 );
\r
2327 wxBoxSizer* bSizer182;
\r
2328 bSizer182 = new wxBoxSizer( wxVERTICAL );
\r
2330 wxGridSizer* gSizer72;
\r
2331 gSizer72 = new wxGridSizer( 2, 6, 0, 0 );
\r
2334 bSizer182->Add( gSizer72, 0, wxEXPAND, 5 );
\r
2336 wxFlexGridSizer* fgSizer52;
\r
2337 fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
2338 fgSizer52->AddGrowableCol( 1 );
\r
2339 fgSizer52->SetFlexibleDirection( wxBOTH );
\r
2340 fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
2342 lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2343 lblBusinessNickname->Wrap( 0 );
\r
2344 fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 );
\r
2346 wxBoxSizer* szrAddresses22;
\r
2347 szrAddresses22 = new wxBoxSizer( wxHORIZONTAL );
\r
2349 lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2350 szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 );
\r
2352 wxBoxSizer* szrAddressesOuter22;
\r
2353 szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL );
\r
2355 wxBoxSizer* bSizer4632;
\r
2356 bSizer4632 = new wxBoxSizer( wxHORIZONTAL );
\r
2358 wxBoxSizer* bSizer4732;
\r
2359 bSizer4732 = new wxBoxSizer( wxVERTICAL );
\r
2361 btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2362 bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 );
\r
2364 btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2365 bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 );
\r
2367 btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2368 bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 );
\r
2371 bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 );
\r
2374 szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 );
\r
2377 szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 );
\r
2380 fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 );
\r
2382 lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2383 lblBusinessAddress->Wrap( 0 );
\r
2384 fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 );
\r
2386 wxBoxSizer* szrAddresses2;
\r
2387 szrAddresses2 = new wxBoxSizer( wxHORIZONTAL );
\r
2389 lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2390 szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 );
\r
2392 wxBoxSizer* szrAddressesOuter2;
\r
2393 szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL );
\r
2395 wxBoxSizer* bSizer463;
\r
2396 bSizer463 = new wxBoxSizer( wxHORIZONTAL );
\r
2398 wxBoxSizer* bSizer473;
\r
2399 bSizer473 = new wxBoxSizer( wxVERTICAL );
\r
2401 btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2402 bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 );
\r
2404 btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2405 bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 );
\r
2407 btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2408 bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 );
\r
2411 bSizer463->Add( bSizer473, 1, wxEXPAND, 5 );
\r
2414 szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 );
\r
2417 szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 );
\r
2420 fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 );
\r
2422 lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2423 lblBusinessEmail->Wrap( 0 );
\r
2424 fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 );
\r
2426 wxBoxSizer* bSizer3013;
\r
2427 bSizer3013 = new wxBoxSizer( wxHORIZONTAL );
\r
2429 lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2430 bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 );
\r
2432 wxBoxSizer* bSizer3513;
\r
2433 bSizer3513 = new wxBoxSizer( wxVERTICAL );
\r
2435 wxBoxSizer* bSizer4613;
\r
2436 bSizer4613 = new wxBoxSizer( wxHORIZONTAL );
\r
2438 wxBoxSizer* bSizer4713;
\r
2439 bSizer4713 = new wxBoxSizer( wxVERTICAL );
\r
2441 btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2442 bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 );
\r
2444 btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2445 bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 );
\r
2447 btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2448 bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 );
\r
2451 bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 );
\r
2454 bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 );
\r
2457 bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 );
\r
2460 fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 );
\r
2462 lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2463 lblBusinessIM->Wrap( 0 );
\r
2464 fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 );
\r
2466 wxBoxSizer* bSizer30113;
\r
2467 bSizer30113 = new wxBoxSizer( wxHORIZONTAL );
\r
2469 lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2470 bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 );
\r
2472 wxBoxSizer* bSizer35113;
\r
2473 bSizer35113 = new wxBoxSizer( wxVERTICAL );
\r
2475 wxBoxSizer* bSizer46113;
\r
2476 bSizer46113 = new wxBoxSizer( wxHORIZONTAL );
\r
2478 wxBoxSizer* bSizer47113;
\r
2479 bSizer47113 = new wxBoxSizer( wxVERTICAL );
\r
2481 btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2482 bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 );
\r
2484 btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2485 bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 );
\r
2487 btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2488 bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 );
\r
2491 bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 );
\r
2494 bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 );
\r
2497 bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 );
\r
2500 fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 );
\r
2502 lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2503 lblBusinessTelephone->Wrap( 0 );
\r
2504 fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 );
\r
2506 wxBoxSizer* bSizer301113;
\r
2507 bSizer301113 = new wxBoxSizer( wxHORIZONTAL );
\r
2509 lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2510 bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 );
\r
2512 wxBoxSizer* bSizer351113;
\r
2513 bSizer351113 = new wxBoxSizer( wxVERTICAL );
\r
2515 wxBoxSizer* bSizer461113;
\r
2516 bSizer461113 = new wxBoxSizer( wxHORIZONTAL );
\r
2518 wxBoxSizer* bSizer471113;
\r
2519 bSizer471113 = new wxBoxSizer( wxVERTICAL );
\r
2521 btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2522 bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 );
\r
2524 btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2525 bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 );
\r
2527 btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2528 bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 );
\r
2531 bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 );
\r
2534 bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 );
\r
2537 bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 );
\r
2540 fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 );
\r
2542 lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2543 lblBusinessLanguage->Wrap( 0 );
\r
2544 fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 );
\r
2546 wxBoxSizer* bSizer3011113;
\r
2547 bSizer3011113 = new wxBoxSizer( wxHORIZONTAL );
\r
2549 lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2550 bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 );
\r
2552 wxBoxSizer* bSizer3511113;
\r
2553 bSizer3511113 = new wxBoxSizer( wxVERTICAL );
\r
2555 wxBoxSizer* bSizer4611113;
\r
2556 bSizer4611113 = new wxBoxSizer( wxHORIZONTAL );
\r
2558 wxBoxSizer* bSizer4711113;
\r
2559 bSizer4711113 = new wxBoxSizer( wxVERTICAL );
\r
2561 btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2562 bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 );
\r
2564 btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2565 bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 );
\r
2567 btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2568 bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 );
\r
2571 bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 );
\r
2574 bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 );
\r
2577 bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 );
\r
2580 fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 );
\r
2582 lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2583 lblBusinessTimezones->Wrap( 0 );
\r
2584 fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 );
\r
2586 wxBoxSizer* bSizer30111113;
\r
2587 bSizer30111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2589 lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2590 bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 );
\r
2592 wxBoxSizer* bSizer35111113;
\r
2593 bSizer35111113 = new wxBoxSizer( wxVERTICAL );
\r
2595 wxBoxSizer* bSizer46111113;
\r
2596 bSizer46111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2598 wxBoxSizer* bSizer47111113;
\r
2599 bSizer47111113 = new wxBoxSizer( wxVERTICAL );
\r
2601 btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2602 bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 );
\r
2604 btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2605 bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 );
\r
2607 btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2608 bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 );
\r
2611 bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 );
\r
2614 bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 );
\r
2617 bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 );
\r
2620 fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 );
\r
2622 lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2623 lblBusinessGeopositioning->Wrap( 0 );
\r
2624 fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 );
\r
2626 wxBoxSizer* bSizer3011111411;
\r
2627 bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL );
\r
2629 lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2630 bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
2632 wxBoxSizer* bSizer3511111411;
\r
2633 bSizer3511111411 = new wxBoxSizer( wxVERTICAL );
\r
2635 wxBoxSizer* bSizer4611111411;
\r
2636 bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL );
\r
2638 wxBoxSizer* bSizer4711111411;
\r
2639 bSizer4711111411 = new wxBoxSizer( wxVERTICAL );
\r
2641 btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2642 bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 );
\r
2644 btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2645 bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 );
\r
2647 btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2648 bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 );
\r
2651 bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 );
\r
2654 bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 );
\r
2657 bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 );
\r
2660 fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 );
\r
2662 lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2663 lblBusinessWebsites->Wrap( 1 );
\r
2664 fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 );
\r
2666 wxBoxSizer* bSizer3011111113;
\r
2667 bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2669 lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2670 bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 );
\r
2672 wxBoxSizer* bSizer3511111113;
\r
2673 bSizer3511111113 = new wxBoxSizer( wxVERTICAL );
\r
2675 wxBoxSizer* bSizer4611111113;
\r
2676 bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2678 wxBoxSizer* bSizer4711111113;
\r
2679 bSizer4711111113 = new wxBoxSizer( wxVERTICAL );
\r
2681 btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2682 bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 );
\r
2684 btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2685 bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 );
\r
2687 btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2688 bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 );
\r
2691 bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 );
\r
2694 bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 );
\r
2697 bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 );
\r
2700 fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 );
\r
2702 lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2703 lblBusinessTitles->Wrap( 1 );
\r
2704 fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 );
\r
2706 wxBoxSizer* bSizer30111111113;
\r
2707 bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2709 lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
2710 bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 );
\r
2712 wxBoxSizer* bSizer35111111113;
\r
2713 bSizer35111111113 = new wxBoxSizer( wxVERTICAL );
\r
2715 wxBoxSizer* bSizer46111111113;
\r
2716 bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2718 wxBoxSizer* bSizer47111111113;
\r
2719 bSizer47111111113 = new wxBoxSizer( wxVERTICAL );
\r
2721 btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2722 bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 );
\r
2724 btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2725 bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 );
\r
2727 btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2728 bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 );
\r
2731 bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 );
\r
2734 bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 );
\r
2737 bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 );
\r
2740 fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 );
\r
2742 lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2743 lblBusinessRoles->Wrap( 1 );
\r
2744 fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 );
\r
2746 wxBoxSizer* bSizer301111111113;
\r
2747 bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2749 lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2750 bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 );
\r
2752 wxBoxSizer* bSizer351111111113;
\r
2753 bSizer351111111113 = new wxBoxSizer( wxVERTICAL );
\r
2755 wxBoxSizer* bSizer461111111113;
\r
2756 bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2758 wxBoxSizer* bSizer471111111113;
\r
2759 bSizer471111111113 = new wxBoxSizer( wxVERTICAL );
\r
2761 btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2762 bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 );
\r
2764 btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2765 bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 );
\r
2767 btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2768 bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 );
\r
2771 bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 );
\r
2774 bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 );
\r
2777 bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 );
\r
2780 fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 );
\r
2782 lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2783 lblBusinessOrganisations->Wrap( 1 );
\r
2784 fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 );
\r
2786 wxBoxSizer* bSizer3011111111113;
\r
2787 bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2789 lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2790 bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
2792 wxBoxSizer* bSizer3511111111113;
\r
2793 bSizer3511111111113 = new wxBoxSizer( wxVERTICAL );
\r
2795 wxBoxSizer* bSizer4611111111113;
\r
2796 bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2798 wxBoxSizer* bSizer4711111111113;
\r
2799 bSizer4711111111113 = new wxBoxSizer( wxVERTICAL );
\r
2801 btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2802 bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 );
\r
2804 btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2805 bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 );
\r
2807 btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2808 bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 );
\r
2811 bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 );
\r
2814 bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 );
\r
2817 bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 );
\r
2820 fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 );
\r
2822 lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2823 lblBusinessNotes->Wrap( 1 );
\r
2824 fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 );
\r
2826 wxBoxSizer* bSizer30111111111112;
\r
2827 bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2829 lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2830 bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 );
\r
2832 wxBoxSizer* bSizer35111111111112;
\r
2833 bSizer35111111111112 = new wxBoxSizer( wxVERTICAL );
\r
2835 wxBoxSizer* bSizer46111111111112;
\r
2836 bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2838 wxBoxSizer* bSizer47111111111112;
\r
2839 bSizer47111111111112 = new wxBoxSizer( wxVERTICAL );
\r
2841 btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2842 bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 );
\r
2844 btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2845 bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 );
\r
2847 btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2848 bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 );
\r
2851 bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 );
\r
2854 bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 );
\r
2857 bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 );
\r
2860 fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 );
\r
2863 bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 );
\r
2866 tabBusiness->SetSizer( bSizer182 );
\r
2867 tabBusiness->Layout();
\r
2868 bSizer182->Fit( tabBusiness );
\r
2869 nbkContact->AddPage( tabBusiness, wxT("Business"), false );
\r
2870 tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2871 tabCategories->SetScrollRate( 5, 5 );
\r
2872 wxBoxSizer* szrAddresses11;
\r
2873 szrAddresses11 = new wxBoxSizer( wxHORIZONTAL );
\r
2875 lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2876 szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 );
\r
2878 wxBoxSizer* szrCategoriesOuter;
\r
2879 szrCategoriesOuter = new wxBoxSizer( wxVERTICAL );
\r
2881 wxBoxSizer* bSizer4621;
\r
2882 bSizer4621 = new wxBoxSizer( wxHORIZONTAL );
\r
2884 wxBoxSizer* bSizer4721;
\r
2885 bSizer4721 = new wxBoxSizer( wxVERTICAL );
\r
2887 btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2888 bSizer4721->Add( btnAddCategory, 0, wxALL, 5 );
\r
2890 btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2891 bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 );
\r
2893 btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2894 bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 );
\r
2897 bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 );
\r
2900 szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 );
\r
2903 szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 );
\r
2906 tabCategories->SetSizer( szrAddresses11 );
\r
2907 tabCategories->Layout();
\r
2908 szrAddresses11->Fit( tabCategories );
\r
2909 nbkContact->AddPage( tabCategories, wxT("Categories"), false );
\r
2910 tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2911 tabMembers->SetScrollRate( 5, 5 );
\r
2912 wxBoxSizer* szrAddresses111;
\r
2913 szrAddresses111 = new wxBoxSizer( wxHORIZONTAL );
\r
2915 lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2916 szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 );
\r
2918 wxBoxSizer* szrCategoriesOuter1;
\r
2919 szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL );
\r
2921 wxBoxSizer* bSizer46211;
\r
2922 bSizer46211 = new wxBoxSizer( wxHORIZONTAL );
\r
2924 wxBoxSizer* bSizer47211;
\r
2925 bSizer47211 = new wxBoxSizer( wxVERTICAL );
\r
2927 btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2928 bSizer47211->Add( btnAddGroups, 0, wxALL, 5 );
\r
2930 btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2931 bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 );
\r
2933 btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2934 bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 );
\r
2937 bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 );
\r
2940 szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 );
\r
2943 szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 );
\r
2946 tabMembers->SetSizer( szrAddresses111 );
\r
2947 tabMembers->Layout();
\r
2948 szrAddresses111->Fit( tabMembers );
\r
2949 nbkContact->AddPage( tabMembers, wxT("Members"), false );
\r
2950 tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2951 tabPictures->SetScrollRate( 5, 5 );
\r
2952 wxBoxSizer* bSizer210;
\r
2953 bSizer210 = new wxBoxSizer( wxHORIZONTAL );
\r
2955 imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
2956 bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 );
\r
2958 wxBoxSizer* bSizer211;
\r
2959 bSizer211 = new wxBoxSizer( wxVERTICAL );
\r
2961 lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2962 bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 );
\r
2964 wxBoxSizer* bSizer212;
\r
2965 bSizer212 = new wxBoxSizer( wxVERTICAL );
\r
2967 wxBoxSizer* bSizer213;
\r
2968 bSizer213 = new wxBoxSizer( wxHORIZONTAL );
\r
2970 btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2971 bSizer213->Add( btnAddPicture, 0, wxALL, 5 );
\r
2973 btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2974 bSizer213->Add( btnModifyPicture, 0, wxALL, 5 );
\r
2976 btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2977 bSizer213->Add( btnDeletePicture, 0, wxALL, 5 );
\r
2980 bSizer212->Add( bSizer213, 1, wxEXPAND, 5 );
\r
2983 bSizer211->Add( bSizer212, 0, wxEXPAND, 5 );
\r
2986 bSizer210->Add( bSizer211, 1, wxEXPAND, 5 );
\r
2989 tabPictures->SetSizer( bSizer210 );
\r
2990 tabPictures->Layout();
\r
2991 bSizer210->Fit( tabPictures );
\r
2992 nbkContact->AddPage( tabPictures, wxT("Pictures"), false );
\r
2993 tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2994 tabLogo->SetScrollRate( 5, 5 );
\r
2995 wxBoxSizer* bSizer2101;
\r
2996 bSizer2101 = new wxBoxSizer( wxHORIZONTAL );
\r
2998 imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
2999 bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 );
\r
3001 wxBoxSizer* bSizer2111;
\r
3002 bSizer2111 = new wxBoxSizer( wxVERTICAL );
\r
3004 lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3005 bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 );
\r
3007 wxBoxSizer* bSizer2121;
\r
3008 bSizer2121 = new wxBoxSizer( wxVERTICAL );
\r
3010 wxBoxSizer* bSizer2131;
\r
3011 bSizer2131 = new wxBoxSizer( wxHORIZONTAL );
\r
3013 btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3014 bSizer2131->Add( btnAddLogo, 0, wxALL, 5 );
\r
3016 btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3017 bSizer2131->Add( btnModifyLogo, 0, wxALL, 5 );
\r
3019 btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3020 bSizer2131->Add( btnDeleteLogo, 0, wxALL, 5 );
\r
3023 bSizer2121->Add( bSizer2131, 1, wxEXPAND, 5 );
\r
3026 bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 );
\r
3029 bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 );
\r
3032 tabLogo->SetSizer( bSizer2101 );
\r
3033 tabLogo->Layout();
\r
3034 bSizer2101->Fit( tabLogo );
\r
3035 nbkContact->AddPage( tabLogo, wxT("Logos"), false );
\r
3036 tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3037 tabSounds->SetScrollRate( 5, 5 );
\r
3038 wxBoxSizer* szrAddresses1111;
\r
3039 szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL );
\r
3041 lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3042 szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 );
\r
3044 wxBoxSizer* szrCategoriesOuter11;
\r
3045 szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
3047 wxBoxSizer* bSizer462111;
\r
3048 bSizer462111 = new wxBoxSizer( wxHORIZONTAL );
\r
3050 wxBoxSizer* bSizer472111;
\r
3051 bSizer472111 = new wxBoxSizer( wxVERTICAL );
\r
3053 btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3054 bSizer472111->Add( btnAddSound, 0, wxALL, 5 );
\r
3056 btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3057 bSizer472111->Add( btnModifySound, 0, wxALL, 5 );
\r
3059 btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3060 bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 );
\r
3062 m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
3063 bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
\r
3065 wxBoxSizer* bSizer348;
\r
3066 bSizer348 = new wxBoxSizer( wxHORIZONTAL );
\r
3068 btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3069 btnPlay->SetMinSize( wxSize( -1,32 ) );
\r
3071 bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 );
\r
3073 btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3074 btnStop->SetMinSize( wxSize( -1,32 ) );
\r
3076 bSizer348->Add( btnStop, 0, wxALL, 5 );
\r
3079 bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 );
\r
3082 bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 );
\r
3085 szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 );
\r
3088 szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 );
\r
3091 tabSounds->SetSizer( szrAddresses1111 );
\r
3092 tabSounds->Layout();
\r
3093 szrAddresses1111->Fit( tabSounds );
\r
3094 nbkContact->AddPage( tabSounds, wxT("Sounds"), true );
\r
3095 tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3096 tabCalendaring->SetScrollRate( 5, 5 );
\r
3097 wxBoxSizer* bSizer1821;
\r
3098 bSizer1821 = new wxBoxSizer( wxVERTICAL );
\r
3100 wxFlexGridSizer* fgSizer521;
\r
3101 fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3102 fgSizer521->AddGrowableCol( 1 );
\r
3103 fgSizer521->SetFlexibleDirection( wxBOTH );
\r
3104 fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3106 lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3107 lblCalendarAddresses->Wrap( 0 );
\r
3108 fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 );
\r
3110 wxBoxSizer* szrAddresses21;
\r
3111 szrAddresses21 = new wxBoxSizer( wxHORIZONTAL );
\r
3113 lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3114 szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3116 wxBoxSizer* szrAddressesOuter21;
\r
3117 szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL );
\r
3119 wxBoxSizer* bSizer4631;
\r
3120 bSizer4631 = new wxBoxSizer( wxHORIZONTAL );
\r
3122 wxBoxSizer* bSizer4731;
\r
3123 bSizer4731 = new wxBoxSizer( wxVERTICAL );
\r
3125 btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3126 bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 );
\r
3128 btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3129 bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 );
\r
3131 btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3132 bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 );
\r
3135 bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 );
\r
3138 szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 );
\r
3141 szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 );
\r
3144 fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 );
\r
3146 lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3147 lblCalendarRequestAddresses->Wrap( 0 );
\r
3148 fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 );
\r
3150 wxBoxSizer* bSizer30131;
\r
3151 bSizer30131 = new wxBoxSizer( wxHORIZONTAL );
\r
3153 lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3154 bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 );
\r
3156 wxBoxSizer* bSizer35131;
\r
3157 bSizer35131 = new wxBoxSizer( wxVERTICAL );
\r
3159 wxBoxSizer* bSizer46131;
\r
3160 bSizer46131 = new wxBoxSizer( wxHORIZONTAL );
\r
3162 wxBoxSizer* bSizer47131;
\r
3163 bSizer47131 = new wxBoxSizer( wxVERTICAL );
\r
3165 btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3166 bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 );
\r
3168 btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3169 bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 );
\r
3171 btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3172 bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 );
\r
3175 bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 );
\r
3178 bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 );
\r
3181 bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 );
\r
3184 fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 );
\r
3186 lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3187 lblFreeBusyAddresses->Wrap( 0 );
\r
3188 fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 );
\r
3190 wxBoxSizer* bSizer301131;
\r
3191 bSizer301131 = new wxBoxSizer( wxHORIZONTAL );
\r
3193 lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3194 bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3196 wxBoxSizer* bSizer351131;
\r
3197 bSizer351131 = new wxBoxSizer( wxVERTICAL );
\r
3199 wxBoxSizer* bSizer461131;
\r
3200 bSizer461131 = new wxBoxSizer( wxHORIZONTAL );
\r
3202 wxBoxSizer* bSizer471131;
\r
3203 bSizer471131 = new wxBoxSizer( wxVERTICAL );
\r
3205 btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3206 bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 );
\r
3208 btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3209 bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 );
\r
3211 btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3212 bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 );
\r
3215 bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 );
\r
3218 bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 );
\r
3221 bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 );
\r
3224 fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 );
\r
3227 bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 );
\r
3230 tabCalendaring->SetSizer( bSizer1821 );
\r
3231 tabCalendaring->Layout();
\r
3232 bSizer1821->Fit( tabCalendaring );
\r
3233 nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false );
\r
3234 tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3235 tabSecurity->SetScrollRate( 5, 5 );
\r
3236 wxBoxSizer* szrAddresses1112;
\r
3237 szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL );
\r
3239 lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3240 szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 );
\r
3242 wxBoxSizer* szrCategoriesOuter12;
\r
3243 szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL );
\r
3245 wxBoxSizer* bSizer462112;
\r
3246 bSizer462112 = new wxBoxSizer( wxHORIZONTAL );
\r
3248 wxBoxSizer* bSizer472112;
\r
3249 bSizer472112 = new wxBoxSizer( wxVERTICAL );
\r
3251 btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3252 bSizer472112->Add( btnAddKey, 0, wxALL, 5 );
\r
3254 btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3255 bSizer472112->Add( btnModifyKey, 0, wxALL, 5 );
\r
3257 btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3258 bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 );
\r
3261 bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 );
\r
3264 szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 );
\r
3267 szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 );
\r
3270 tabSecurity->SetSizer( szrAddresses1112 );
\r
3271 tabSecurity->Layout();
\r
3272 szrAddresses1112->Fit( tabSecurity );
\r
3273 nbkContact->AddPage( tabSecurity, wxT("Security"), false );
\r
3274 tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3275 tabOther->SetScrollRate( 5, 5 );
\r
3276 wxFlexGridSizer* fgSizer5211;
\r
3277 fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3278 fgSizer5211->AddGrowableCol( 1 );
\r
3279 fgSizer5211->SetFlexibleDirection( wxBOTH );
\r
3280 fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3282 lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3283 lblVendorNamespace->Wrap( 0 );
\r
3284 fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 );
\r
3286 wxBoxSizer* szrAddresses211;
\r
3287 szrAddresses211 = new wxBoxSizer( wxHORIZONTAL );
\r
3289 lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
3290 szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 );
\r
3292 wxBoxSizer* szrAddressesOuter211;
\r
3293 szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL );
\r
3295 wxBoxSizer* bSizer46311;
\r
3296 bSizer46311 = new wxBoxSizer( wxHORIZONTAL );
\r
3298 wxBoxSizer* bSizer47311;
\r
3299 bSizer47311 = new wxBoxSizer( wxVERTICAL );
\r
3301 btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3302 bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 );
\r
3304 btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3305 bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 );
\r
3307 btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3308 bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 );
\r
3311 bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 );
\r
3314 szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 );
\r
3317 szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 );
\r
3320 fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 );
\r
3322 lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3323 lblXTokens->Wrap( 0 );
\r
3324 fgSizer5211->Add( lblXTokens, 0, wxALL, 5 );
\r
3326 wxBoxSizer* bSizer301311;
\r
3327 bSizer301311 = new wxBoxSizer( wxHORIZONTAL );
\r
3329 lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3330 bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 );
\r
3332 wxBoxSizer* bSizer351311;
\r
3333 bSizer351311 = new wxBoxSizer( wxVERTICAL );
\r
3335 wxBoxSizer* bSizer461311;
\r
3336 bSizer461311 = new wxBoxSizer( wxHORIZONTAL );
\r
3338 wxBoxSizer* bSizer471311;
\r
3339 bSizer471311 = new wxBoxSizer( wxVERTICAL );
\r
3341 btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3342 bSizer471311->Add( btnAddXToken, 0, wxALL, 5 );
\r
3344 btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3345 bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 );
\r
3347 btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3348 bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 );
\r
3351 bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 );
\r
3354 bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 );
\r
3357 bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 );
\r
3360 fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 );
\r
3363 tabOther->SetSizer( fgSizer5211 );
\r
3364 tabOther->Layout();
\r
3365 fgSizer5211->Fit( tabOther );
\r
3366 nbkContact->AddPage( tabOther, wxT("Other"), false );
\r
3368 bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 );
\r
3371 this->SetSizer( bSizer17 );
\r
3373 m_menubar3 = new wxMenuBar( 0 );
\r
3374 mnuContact = new wxMenu();
\r
3375 wxMenuItem* mnuContactSave;
\r
3376 mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL );
\r
3377 mnuContact->Append( mnuContactSave );
\r
3379 wxMenuItem* mnuContactSaveClose;
\r
3380 mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL );
\r
3381 mnuContact->Append( mnuContactSaveClose );
\r
3383 mnuContact->AppendSeparator();
\r
3385 wxMenuItem* mnuContactClose;
\r
3386 mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
\r
3387 mnuContact->Append( mnuContactClose );
\r
3389 m_menubar3->Append( mnuContact, wxT("&Contact") );
\r
3391 mnuEdit = new wxMenu();
\r
3392 wxMenuItem* mnuEditCut;
\r
3393 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL );
\r
3394 mnuEdit->Append( mnuEditCut );
\r
3396 wxMenuItem* mnuEditCopy;
\r
3397 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL );
\r
3398 mnuEdit->Append( mnuEditCopy );
\r
3400 wxMenuItem* mnuEditPaste;
\r
3401 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL );
\r
3402 mnuEdit->Append( mnuEditPaste );
\r
3404 m_menubar3->Append( mnuEdit, wxT("&Edit") );
\r
3406 this->SetMenuBar( m_menubar3 );
\r
3409 this->Centre( wxBOTH );
\r
3412 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3413 txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3414 txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3415 txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3416 txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3417 txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3418 cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3419 cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3420 cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3421 btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3422 btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3423 btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3424 btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3425 btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3426 btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3427 btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3428 btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3429 btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3430 btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3431 btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3432 btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3433 btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3434 btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3435 btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3436 btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3437 btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3438 btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3439 btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3440 btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3441 btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3442 btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3443 btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3444 btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3445 btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3446 btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3447 btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3448 btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3449 btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3450 btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3451 btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3452 btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3453 btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3454 btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3455 btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3456 btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3457 btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3458 btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3459 btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3460 btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3461 btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3462 btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3463 btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3464 btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3465 btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3466 btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3467 btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3468 btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3469 btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3470 btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3471 btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3472 btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3473 btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3474 btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3475 btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3476 btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3477 btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3478 btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3479 btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3480 btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3481 btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3482 btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3483 btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3484 btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3485 btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3486 btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3487 btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3488 btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3489 btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3490 btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3491 btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3492 btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3493 btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3494 btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3495 btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3496 btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3497 btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3498 btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3499 btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3500 btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3501 btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3502 btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3503 btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3504 btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3505 btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3506 btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3507 btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3508 btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3509 btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3510 btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3511 btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3512 btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3513 btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3514 btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3515 btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3516 btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3517 btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3518 btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3519 btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3520 btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3521 btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3522 btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3523 btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3524 btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3525 btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3526 btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3527 btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3528 btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3529 btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3530 btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3531 btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3532 btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3533 btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3534 btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3535 btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3536 btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3537 btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3538 btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3539 btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3540 btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3541 btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3542 btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3543 btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3544 btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3545 btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3546 btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3547 lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3548 btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3549 btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3550 btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3551 lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3552 btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3553 btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3554 btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3555 btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3556 btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3557 btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3558 btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3559 btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3560 btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3561 btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3562 btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3563 btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3564 btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3565 btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3566 btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3567 btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3568 btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3569 btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3570 btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3571 btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3572 btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3573 btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3574 btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3575 btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3576 btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3577 btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3578 this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3579 this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3580 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3581 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3582 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3583 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3586 frmContactEditorADT::~frmContactEditorADT()
\r
3588 // Disconnect Events
\r
3589 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3590 txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3591 txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3592 txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3593 txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3594 txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3595 cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3596 cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3597 cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3598 btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3599 btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3600 btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3601 btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3602 btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3603 btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3604 btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3605 btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3606 btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3607 btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3608 btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3609 btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3610 btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3611 btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3612 btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3613 btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3614 btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3615 btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3616 btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3617 btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3618 btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3619 btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3620 btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3621 btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3622 btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3623 btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3624 btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3625 btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3626 btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3627 btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3628 btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3629 btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3630 btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3631 btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3632 btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3633 btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3634 btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3635 btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3636 btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3637 btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3638 btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3639 btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3640 btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3641 btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3642 btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3643 btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3644 btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3645 btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3646 btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3647 btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3648 btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3649 btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3650 btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3651 btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3652 btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3653 btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3654 btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3655 btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3656 btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3657 btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3658 btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3659 btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3660 btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3661 btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3662 btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3663 btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3664 btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3665 btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3666 btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3667 btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3668 btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3669 btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3670 btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3671 btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3672 btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3673 btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3674 btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3675 btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3676 btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3677 btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3678 btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3679 btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3680 btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3681 btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3682 btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3683 btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3684 btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3685 btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3686 btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3687 btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3688 btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3689 btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3690 btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3691 btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3692 btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3693 btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3694 btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3695 btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3696 btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3697 btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3698 btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3699 btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3700 btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3701 btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3702 btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3703 btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3704 btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3705 btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3706 btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3707 btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3708 btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3709 btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3710 btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3711 btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3712 btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3713 btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3714 btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3715 btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3716 btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3717 btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3718 btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3719 btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3720 btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3721 btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3722 btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3723 btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3724 lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3725 btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3726 btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3727 btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3728 lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3729 btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3730 btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3731 btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3732 btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3733 btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3734 btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3735 btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3736 btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3737 btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3738 btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3739 btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3740 btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3741 btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3742 btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3743 btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3744 btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3745 btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3746 btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3747 btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3748 btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3749 btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3750 btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3751 btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3752 btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3753 btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3754 btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3755 this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3756 this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3757 this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3758 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3759 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3760 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3764 frmContactEditorAddressADT::frmContactEditorAddressADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
3766 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3768 wxBoxSizer* bSizer251;
\r
3769 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
3771 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
3772 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3773 wxFlexGridSizer* fgSizer6;
\r
3774 fgSizer6 = new wxFlexGridSizer( 2, 2, 0, 0 );
\r
3775 fgSizer6->AddGrowableCol( 1 );
\r
3776 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
3777 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3779 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3780 lblAddress->Wrap( -1 );
\r
3781 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3783 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3784 txtAddress->SetMaxLength( 0 );
\r
3785 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
3787 m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3788 m_staticText61->Wrap( -1 );
\r
3789 fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3791 txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3792 txtTownCity->SetMaxLength( 0 );
\r
3793 fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 );
\r
3795 lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3796 lblCountyState->Wrap( -1 );
\r
3797 fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3799 txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3800 txtCounty->SetMaxLength( 0 );
\r
3801 fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 );
\r
3803 lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3804 lblPostCode->Wrap( -1 );
\r
3805 fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3807 txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3808 txtPostCode->SetMaxLength( 0 );
\r
3809 fgSizer6->Add( txtPostCode, 0, wxALL, 5 );
\r
3811 lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3812 lblCountry->Wrap( -1 );
\r
3813 fgSizer6->Add( lblCountry, 0, wxALL, 5 );
\r
3815 txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3816 txtCountry->SetMaxLength( 0 );
\r
3817 fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 );
\r
3819 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3820 lblPriority->Wrap( -1 );
\r
3821 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
3823 wxBoxSizer* bSizer260;
\r
3824 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
3826 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3827 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
3829 wxBoxSizer* bSizer254;
\r
3830 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
3832 wxBoxSizer* bSizer256;
\r
3833 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
3835 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
3836 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
3839 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
3841 wxBoxSizer* bSizer255;
\r
3842 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
3844 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3845 lblHigh->Wrap( -1 );
\r
3846 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
3849 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3851 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3852 lblLow->Wrap( -1 );
\r
3853 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
3856 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
3859 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
3862 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
3865 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3868 tabGeneral->SetSizer( fgSizer6 );
\r
3869 tabGeneral->Layout();
\r
3870 fgSizer6->Fit( tabGeneral );
\r
3871 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
3872 tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3873 wxBoxSizer* bSizer253;
\r
3874 bSizer253 = new wxBoxSizer( wxVERTICAL );
\r
3876 btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3877 bSizer253->Add( btnCopyMailing, 0, wxALL, 5 );
\r
3879 txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
3880 txtLabel->SetMaxLength( 0 );
\r
3881 bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 );
\r
3884 tabLabel->SetSizer( bSizer253 );
\r
3885 tabLabel->Layout();
\r
3886 bSizer253->Fit( tabLabel );
\r
3887 nbkAddress->AddPage( tabLabel, wxT("Label"), false );
\r
3888 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3889 wxFlexGridSizer* fgSizer61;
\r
3890 fgSizer61 = new wxFlexGridSizer( 2, 2, 0, 0 );
\r
3891 fgSizer61->AddGrowableCol( 1 );
\r
3892 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
3893 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3895 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3896 lblLanguage->Wrap( -1 );
\r
3897 fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3899 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
3900 fgSizer61->Add( cmbLanguage, 0, wxALL, 5 );
\r
3902 lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3903 lblGeography->Wrap( -1 );
\r
3904 fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3906 txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3907 txtGeo->SetMaxLength( 0 );
\r
3908 fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 );
\r
3910 lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3911 lblTimezone->Wrap( -1 );
\r
3912 fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3914 txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3915 txtTimezone->SetMaxLength( 0 );
\r
3916 fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 );
\r
3919 tabOther->SetSizer( fgSizer61 );
\r
3920 tabOther->Layout();
\r
3921 fgSizer61->Fit( tabOther );
\r
3922 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
3924 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
3926 wxBoxSizer* bSizer252;
\r
3927 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
3929 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3930 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
3932 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3933 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
3936 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
3939 this->SetSizer( bSizer251 );
\r
3942 this->Centre( wxBOTH );
\r
3945 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3946 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3947 btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3948 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3949 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3952 frmContactEditorAddressADT::~frmContactEditorAddressADT()
\r
3954 // Disconnect Events
\r
3955 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3956 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3957 btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3958 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3959 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3963 frmConflictResolutionADT::frmConflictResolutionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
3965 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3967 wxFlexGridSizer* fgSizer39;
\r
3968 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
3969 fgSizer39->AddGrowableCol( 0 );
\r
3970 fgSizer39->AddGrowableRow( 0 );
\r
3971 fgSizer39->SetFlexibleDirection( wxBOTH );
\r
3972 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3974 wxBoxSizer* bSizer363;
\r
3975 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
3977 wxBoxSizer* bSizer364;
\r
3978 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
3980 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 );
\r
3981 lblText->Wrap( -1 );
\r
3982 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
\r
3984 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
3985 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
\r
3987 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3988 wxBoxSizer* bSizer365;
\r
3989 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
3991 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
3992 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
\r
3995 m_panel44->SetSizer( bSizer365 );
\r
3996 m_panel44->Layout();
\r
3997 bSizer365->Fit( m_panel44 );
\r
3998 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3999 wxBoxSizer* bSizer366;
\r
4000 bSizer366 = new wxBoxSizer( wxVERTICAL );
\r
4002 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
4003 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
\r
4006 m_panel45->SetSizer( bSizer366 );
\r
4007 m_panel45->Layout();
\r
4008 bSizer366->Fit( m_panel45 );
\r
4009 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
\r
4010 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
\r
4012 wxBoxSizer* bSizer367;
\r
4013 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
\r
4016 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4018 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4019 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
\r
4021 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4022 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
\r
4024 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4025 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
\r
4028 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4031 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
\r
4034 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
\r
4037 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
\r
4040 this->SetSizer( fgSizer39 );
\r
4043 this->Centre( wxBOTH );
\r
4046 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4047 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4048 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4051 frmConflictResolutionADT::~frmConflictResolutionADT()
\r
4053 // Disconnect Events
\r
4054 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4055 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4056 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4060 frmActivityMgrADT::frmActivityMgrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
\r
4062 this->SetSizeHints( wxSize( 400,300 ), wxDefaultSize );
\r
4064 mnuMenuBar = new wxMenuBar( 0 );
\r
4065 mnuWindow = new wxMenu();
\r
4066 wxMenuItem* mnuStopActivity;
\r
4067 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4068 mnuWindow->Append( mnuStopActivity );
\r
4070 wxMenuItem* mnuActivityStopAll;
\r
4071 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4072 mnuWindow->Append( mnuActivityStopAll );
\r
4074 wxMenuItem* mnuRetryActivity;
\r
4075 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
4076 mnuWindow->Append( mnuRetryActivity );
\r
4078 mnuWindow->AppendSeparator();
\r
4080 wxMenuItem* mnuSleepMode;
\r
4081 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
\r
4082 mnuWindow->Append( mnuSleepMode );
\r
4084 mnuWindow->AppendSeparator();
\r
4086 wxMenuItem* mnuWindowClose;
\r
4087 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
4088 mnuWindow->Append( mnuWindowClose );
\r
4090 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
\r
4092 this->SetMenuBar( mnuMenuBar );
\r
4094 wxFlexGridSizer* fgSizer38;
\r
4095 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
4096 fgSizer38->AddGrowableCol( 0 );
\r
4097 fgSizer38->AddGrowableRow( 1 );
\r
4098 fgSizer38->SetFlexibleDirection( wxBOTH );
\r
4099 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4101 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4102 wxBoxSizer* bSizer363;
\r
4103 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
4105 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
\r
4106 bmpActivity->SetMinSize( wxSize( 64,64 ) );
\r
4108 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
\r
4110 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4111 wxBoxSizer* bSizer364;
\r
4112 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
4115 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4117 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
\r
4118 lblDetails->Wrap( -1 );
\r
4119 bSizer364->Add( lblDetails, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 0 );
\r
4122 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4124 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
\r
4125 GauProgress->SetValue( 0 );
\r
4126 GauProgress->SetMinSize( wxSize( -1,20 ) );
\r
4128 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
\r
4131 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4134 m_panel46->SetSizer( bSizer364 );
\r
4135 m_panel46->Layout();
\r
4136 bSizer364->Fit( m_panel46 );
\r
4137 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
\r
4140 m_panel43->SetSizer( bSizer363 );
\r
4141 m_panel43->Layout();
\r
4142 bSizer363->Fit( m_panel43 );
\r
4143 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
\r
4145 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4146 wxBoxSizer* bSizer365;
\r
4147 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
4149 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
4150 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
\r
4153 m_panel44->SetSizer( bSizer365 );
\r
4154 m_panel44->Layout();
\r
4155 bSizer365->Fit( m_panel44 );
\r
4156 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
\r
4159 this->SetSizer( fgSizer38 );
\r
4162 this->Centre( wxBOTH );
\r
4165 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4166 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4167 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4168 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4169 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4170 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4173 frmActivityMgrADT::~frmActivityMgrADT()
\r
4175 // Disconnect Events
\r
4176 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4177 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4178 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4179 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4180 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4181 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4185 frmContactEditorNicknameADT::frmContactEditorNicknameADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4187 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4189 wxBoxSizer* bSizer251;
\r
4190 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4192 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4193 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4194 wxFlexGridSizer* fgSizer6;
\r
4195 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4196 fgSizer6->AddGrowableCol( 1 );
\r
4197 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4198 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4200 lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4201 lblNickname->Wrap( -1 );
\r
4202 fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4204 txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4205 txtNickname->SetMaxLength( 0 );
\r
4206 fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 );
\r
4208 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4209 lblPriority->Wrap( -1 );
\r
4210 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4212 wxBoxSizer* bSizer260;
\r
4213 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4215 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4216 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4218 wxBoxSizer* bSizer254;
\r
4219 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4221 wxBoxSizer* bSizer256;
\r
4222 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4224 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4225 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4228 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4230 wxBoxSizer* bSizer255;
\r
4231 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4233 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4234 lblHigh->Wrap( -1 );
\r
4235 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4238 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4240 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4241 lblLow->Wrap( -1 );
\r
4242 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4245 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4248 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4251 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4254 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4257 tabGeneral->SetSizer( fgSizer6 );
\r
4258 tabGeneral->Layout();
\r
4259 fgSizer6->Fit( tabGeneral );
\r
4260 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
4261 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4262 wxFlexGridSizer* fgSizer61;
\r
4263 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4264 fgSizer61->AddGrowableCol( 1 );
\r
4265 fgSizer61->SetFlexibleDirection( wxBOTH );
\r
4266 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4268 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4269 lblLanguage->Wrap( -1 );
\r
4270 fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4272 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4273 fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 );
\r
4276 tabOther->SetSizer( fgSizer61 );
\r
4277 tabOther->Layout();
\r
4278 fgSizer61->Fit( tabOther );
\r
4279 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
4281 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
4283 wxBoxSizer* bSizer252;
\r
4284 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4286 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4287 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4289 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4290 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4293 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4296 this->SetSizer( bSizer251 );
\r
4299 this->Centre( wxBOTH );
\r
4302 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4303 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4304 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4305 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4308 frmContactEditorNicknameADT::~frmContactEditorNicknameADT()
\r
4310 // Disconnect Events
\r
4311 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4312 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4313 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4314 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4318 frmContactEditorGroupsADT::frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4320 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
4322 wxBoxSizer* bSizer251;
\r
4323 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4325 nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4326 tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4327 wxFlexGridSizer* fgSizer6;
\r
4328 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4329 fgSizer6->AddGrowableCol( 1 );
\r
4330 fgSizer6->AddGrowableRow( 0 );
\r
4331 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4332 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4334 lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4335 lblContacts->Wrap( -1 );
\r
4336 fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 );
\r
4338 wxArrayString chkContactsChoices;
\r
4339 chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
\r
4340 fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 );
\r
4343 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4346 tabGeneral->SetSizer( fgSizer6 );
\r
4347 tabGeneral->Layout();
\r
4348 fgSizer6->Fit( tabGeneral );
\r
4349 nbkGroup->AddPage( tabGeneral, wxT("General"), false );
\r
4351 bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 );
\r
4353 wxBoxSizer* bSizer252;
\r
4354 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4356 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4357 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4359 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4360 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4363 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4366 this->SetSizer( bSizer251 );
\r
4369 this->Centre( wxBOTH );
\r
4372 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4373 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4374 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4377 frmContactEditorGroupsADT::~frmContactEditorGroupsADT()
\r
4379 // Disconnect Events
\r
4380 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4381 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4382 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4386 frmContactEditorRolesADT::frmContactEditorRolesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4388 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4390 wxBoxSizer* bSizer251;
\r
4391 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4393 nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4394 tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4395 wxFlexGridSizer* fgSizer6;
\r
4396 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4397 fgSizer6->AddGrowableCol( 1 );
\r
4398 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4399 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4401 lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4402 lblRole->Wrap( -1 );
\r
4403 fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4405 txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4406 txtRole->SetMaxLength( 0 );
\r
4407 fgSizer6->Add( txtRole, 0, wxALL|wxEXPAND, 5 );
\r
4409 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4410 lblPriority->Wrap( -1 );
\r
4411 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4413 wxBoxSizer* bSizer260;
\r
4414 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4416 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4417 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4419 wxBoxSizer* bSizer254;
\r
4420 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4422 wxBoxSizer* bSizer256;
\r
4423 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4425 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4426 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4429 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4431 wxBoxSizer* bSizer255;
\r
4432 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4434 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4435 lblHigh->Wrap( -1 );
\r
4436 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4439 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4441 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4442 lblLow->Wrap( -1 );
\r
4443 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4446 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4449 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4452 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4455 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4458 tabGeneral->SetSizer( fgSizer6 );
\r
4459 tabGeneral->Layout();
\r
4460 fgSizer6->Fit( tabGeneral );
\r
4461 nbkRole->AddPage( tabGeneral, wxT("General"), false );
\r
4463 bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 );
\r
4465 wxBoxSizer* bSizer252;
\r
4466 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4468 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4469 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4471 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4472 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4475 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4478 this->SetSizer( bSizer251 );
\r
4481 this->Centre( wxBOTH );
\r
4484 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4485 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4486 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4489 frmContactEditorRolesADT::~frmContactEditorRolesADT()
\r
4491 // Disconnect Events
\r
4492 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4493 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4494 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4498 frmContactEditorOrganisationsADT::frmContactEditorOrganisationsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4500 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4502 wxBoxSizer* bSizer251;
\r
4503 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4505 nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4506 tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4507 wxFlexGridSizer* fgSizer6;
\r
4508 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4509 fgSizer6->AddGrowableCol( 1 );
\r
4510 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4511 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4513 lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4514 lblOrganisation->Wrap( -1 );
\r
4515 fgSizer6->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4517 txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4518 txtOrganisation->SetMaxLength( 0 );
\r
4519 fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 );
\r
4521 lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4522 lblSortAs->Wrap( -1 );
\r
4523 fgSizer6->Add( lblSortAs, 0, wxALL, 5 );
\r
4525 cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4526 fgSizer6->Add( cmbSortAs, 1, wxALL, 5 );
\r
4528 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4529 lblPriority->Wrap( -1 );
\r
4530 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4532 wxBoxSizer* bSizer260;
\r
4533 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4535 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4536 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4538 wxBoxSizer* bSizer254;
\r
4539 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4541 wxBoxSizer* bSizer256;
\r
4542 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4544 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4545 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4548 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4550 wxBoxSizer* bSizer255;
\r
4551 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4553 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4554 lblHigh->Wrap( -1 );
\r
4555 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4558 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4560 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4561 lblLow->Wrap( -1 );
\r
4562 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4565 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4568 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4571 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4574 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4577 tabGeneral->SetSizer( fgSizer6 );
\r
4578 tabGeneral->Layout();
\r
4579 fgSizer6->Fit( tabGeneral );
\r
4580 nbkOrganisation->AddPage( tabGeneral, wxT("General"), false );
\r
4582 bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 );
\r
4584 wxBoxSizer* bSizer252;
\r
4585 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4587 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4588 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4590 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4591 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4594 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4597 this->SetSizer( bSizer251 );
\r
4600 this->Centre( wxBOTH );
\r
4603 txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4604 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4605 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4606 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4609 frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT()
\r
4611 // Disconnect Events
\r
4612 txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4613 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4614 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4615 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4619 frmContactEditorNotesADT::frmContactEditorNotesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4621 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4623 wxBoxSizer* bSizer251;
\r
4624 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4626 nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4627 tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4628 wxBoxSizer* bSizer353;
\r
4629 bSizer353 = new wxBoxSizer( wxVERTICAL );
\r
4631 txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
4632 txtNote->SetMaxLength( 0 );
\r
4633 bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 );
\r
4636 tabGeneral->SetSizer( bSizer353 );
\r
4637 tabGeneral->Layout();
\r
4638 bSizer353->Fit( tabGeneral );
\r
4639 nbkNotes->AddPage( tabGeneral, wxT("General"), true );
\r
4640 tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4641 wxFlexGridSizer* fgSizer61;
\r
4642 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4643 fgSizer61->AddGrowableCol( 1 );
\r
4644 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
4645 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4647 lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4648 lblPriority->Wrap( -1 );
\r
4649 fgSizer61->Add( lblPriority, 0, wxALL, 5 );
\r
4651 wxBoxSizer* bSizer2601;
\r
4652 bSizer2601 = new wxBoxSizer( wxHORIZONTAL );
\r
4654 chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4655 bSizer2601->Add( chkUsePref, 0, wxALL, 5 );
\r
4657 wxBoxSizer* bSizer2541;
\r
4658 bSizer2541 = new wxBoxSizer( wxVERTICAL );
\r
4660 wxBoxSizer* bSizer2561;
\r
4661 bSizer2561 = new wxBoxSizer( wxHORIZONTAL );
\r
4663 sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4664 bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4667 bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 );
\r
4669 wxBoxSizer* bSizer2551;
\r
4670 bSizer2551 = new wxBoxSizer( wxHORIZONTAL );
\r
4672 lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4673 lblHigh->Wrap( -1 );
\r
4674 bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4677 bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4679 lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4680 lblLow->Wrap( -1 );
\r
4681 bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4684 bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 );
\r
4687 bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 );
\r
4690 fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 );
\r
4693 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4696 tabPriority->SetSizer( fgSizer61 );
\r
4697 tabPriority->Layout();
\r
4698 fgSizer61->Fit( tabPriority );
\r
4699 nbkNotes->AddPage( tabPriority, wxT("Priority"), false );
\r
4700 tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4701 wxFlexGridSizer* fgSizer611;
\r
4702 fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4703 fgSizer611->AddGrowableCol( 0 );
\r
4704 fgSizer611->SetFlexibleDirection( wxBOTH );
\r
4705 fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4707 lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4708 lblLanguage->Wrap( -1 );
\r
4709 fgSizer611->Add( lblLanguage, 1, wxALL, 5 );
\r
4711 cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4712 fgSizer611->Add( cmbLanguage, 1, wxALL, 5 );
\r
4715 tabLanguage->SetSizer( fgSizer611 );
\r
4716 tabLanguage->Layout();
\r
4717 fgSizer611->Fit( tabLanguage );
\r
4718 nbkNotes->AddPage( tabLanguage, wxT("Language"), false );
\r
4720 bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 );
\r
4722 wxBoxSizer* bSizer252;
\r
4723 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4725 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4726 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4728 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4729 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4732 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4735 this->SetSizer( bSizer251 );
\r
4738 this->Centre( wxBOTH );
\r
4741 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4742 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4743 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4746 frmContactEditorNotesADT::~frmContactEditorNotesADT()
\r
4748 // Disconnect Events
\r
4749 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4750 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4751 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4755 frmContactEditorTitlesADT::frmContactEditorTitlesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4757 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4759 wxBoxSizer* bSizer251;
\r
4760 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4762 nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4763 tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4764 wxFlexGridSizer* fgSizer6;
\r
4765 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4766 fgSizer6->AddGrowableCol( 1 );
\r
4767 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4768 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4770 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4771 lblTitle->Wrap( -1 );
\r
4772 fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4774 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4775 txtTitle->SetMaxLength( 0 );
\r
4776 fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
4778 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4779 lblPriority->Wrap( -1 );
\r
4780 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4782 wxBoxSizer* bSizer260;
\r
4783 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4785 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4786 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4788 wxBoxSizer* bSizer254;
\r
4789 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4791 wxBoxSizer* bSizer256;
\r
4792 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4794 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4795 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4798 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4800 wxBoxSizer* bSizer255;
\r
4801 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4803 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4804 lblHigh->Wrap( -1 );
\r
4805 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4808 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4810 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4811 lblLow->Wrap( -1 );
\r
4812 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4815 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4818 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4821 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4824 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4827 tabGeneral->SetSizer( fgSizer6 );
\r
4828 tabGeneral->Layout();
\r
4829 fgSizer6->Fit( tabGeneral );
\r
4830 nbkTitles->AddPage( tabGeneral, wxT("General"), false );
\r
4832 bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 );
\r
4834 wxBoxSizer* bSizer252;
\r
4835 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4837 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4838 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4840 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4841 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4844 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4847 this->SetSizer( bSizer251 );
\r
4850 this->Centre( wxBOTH );
\r
4853 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4854 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4855 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4858 frmContactEditorTitlesADT::~frmContactEditorTitlesADT()
\r
4860 // Disconnect Events
\r
4861 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4862 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4863 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4867 frmContactEditorRelatedADT::frmContactEditorRelatedADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4869 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4871 wxBoxSizer* bSizer251;
\r
4872 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4874 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4875 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4876 wxFlexGridSizer* fgSizer6;
\r
4877 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4878 fgSizer6->AddGrowableCol( 0 );
\r
4879 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4880 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4882 lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4883 lblRelation->Wrap( -1 );
\r
4884 fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4886 txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4887 txtRelated->SetMaxLength( 0 );
\r
4888 fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 );
\r
4890 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4891 lblType->Wrap( -1 );
\r
4892 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
4894 cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4895 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
4897 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4898 lblPriority->Wrap( -1 );
\r
4899 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4901 wxBoxSizer* bSizer260;
\r
4902 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4904 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4905 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4907 wxBoxSizer* bSizer254;
\r
4908 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4910 wxBoxSizer* bSizer256;
\r
4911 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4913 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4914 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4917 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4919 wxBoxSizer* bSizer255;
\r
4920 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4922 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4923 lblHigh->Wrap( -1 );
\r
4924 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4927 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4929 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4930 lblLow->Wrap( -1 );
\r
4931 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4934 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4937 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4940 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4943 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4946 tabGeneral->SetSizer( fgSizer6 );
\r
4947 tabGeneral->Layout();
\r
4948 fgSizer6->Fit( tabGeneral );
\r
4949 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
4951 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
4953 wxBoxSizer* bSizer252;
\r
4954 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4956 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4957 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4959 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4960 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4963 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4966 this->SetSizer( bSizer251 );
\r
4969 this->Centre( wxBOTH );
\r
4972 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4973 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4974 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4977 frmContactEditorRelatedADT::~frmContactEditorRelatedADT()
\r
4979 // Disconnect Events
\r
4980 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4981 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4982 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4986 frmContactEditorSoundADT::frmContactEditorSoundADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4988 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4990 wxBoxSizer* bSizer251;
\r
4991 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4993 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4994 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4995 wxFlexGridSizer* fgSizer6;
\r
4996 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4997 fgSizer6->AddGrowableCol( 1 );
\r
4998 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4999 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5001 lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5002 lblSoundFile->Wrap( -1 );
\r
5003 fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5005 fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5006 fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 );
\r
5008 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5009 lblType->Wrap( -1 );
\r
5010 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5012 wxArrayString cmbTypeChoices;
\r
5013 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5014 cmbType->SetSelection( 0 );
\r
5015 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5017 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5018 lblPriority->Wrap( -1 );
\r
5019 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5021 wxBoxSizer* bSizer260;
\r
5022 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5024 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5025 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5027 wxBoxSizer* bSizer254;
\r
5028 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5030 wxBoxSizer* bSizer256;
\r
5031 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5033 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5034 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5037 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5039 wxBoxSizer* bSizer255;
\r
5040 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5042 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5043 lblHigh->Wrap( -1 );
\r
5044 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5047 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5049 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5050 lblLow->Wrap( -1 );
\r
5051 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5054 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5057 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5060 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5063 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5066 tabGeneral->SetSizer( fgSizer6 );
\r
5067 tabGeneral->Layout();
\r
5068 fgSizer6->Fit( tabGeneral );
\r
5069 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5071 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5073 wxBoxSizer* bSizer252;
\r
5074 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5076 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5077 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5079 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5080 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5083 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5086 this->SetSizer( bSizer251 );
\r
5089 this->Centre( wxBOTH );
\r
5092 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5093 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5094 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5097 frmContactEditorSoundADT::~frmContactEditorSoundADT()
\r
5099 // Disconnect Events
\r
5100 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5101 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5102 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5106 frmContactEditorPictureADT::frmContactEditorPictureADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5108 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5110 wxBoxSizer* bSizer251;
\r
5111 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5113 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5114 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5115 wxFlexGridSizer* fgSizer6;
\r
5116 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5117 fgSizer6->AddGrowableCol( 1 );
\r
5118 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
5119 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5121 lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5122 lblPictureFile->Wrap( -1 );
\r
5123 fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5125 fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5126 fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 );
\r
5128 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5129 lblType->Wrap( -1 );
\r
5130 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5132 wxArrayString cmbTypeChoices;
\r
5133 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5134 cmbType->SetSelection( 0 );
\r
5135 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5137 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5138 lblPriority->Wrap( -1 );
\r
5139 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5141 wxBoxSizer* bSizer260;
\r
5142 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5144 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5145 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5147 wxBoxSizer* bSizer254;
\r
5148 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5150 wxBoxSizer* bSizer256;
\r
5151 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5153 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5154 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5157 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5159 wxBoxSizer* bSizer255;
\r
5160 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5162 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5163 lblHigh->Wrap( -1 );
\r
5164 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5167 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5169 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5170 lblLow->Wrap( -1 );
\r
5171 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5174 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5177 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5180 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5183 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5186 tabGeneral->SetSizer( fgSizer6 );
\r
5187 tabGeneral->Layout();
\r
5188 fgSizer6->Fit( tabGeneral );
\r
5189 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5191 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5193 wxBoxSizer* bSizer252;
\r
5194 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5196 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5197 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5199 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5200 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5203 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5206 this->SetSizer( bSizer251 );
\r
5209 this->Centre( wxBOTH );
\r
5212 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5213 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5214 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5217 frmContactEditorPictureADT::~frmContactEditorPictureADT()
\r
5219 // Disconnect Events
\r
5220 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5221 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5222 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5226 frmContactEditorWebsitesADT::frmContactEditorWebsitesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5228 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5230 wxBoxSizer* bSizer251;
\r
5231 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5233 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5234 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5235 wxFlexGridSizer* fgSizer6;
\r
5236 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5237 fgSizer6->AddGrowableCol( 1 );
\r
5238 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5239 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5241 lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5242 lblWebsite->Wrap( -1 );
\r
5243 fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5245 txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5246 txtWebsite->SetMaxLength( 0 );
\r
5247 fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 );
\r
5249 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5250 lblPriority->Wrap( -1 );
\r
5251 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5253 wxBoxSizer* bSizer260;
\r
5254 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5256 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5257 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5259 wxBoxSizer* bSizer254;
\r
5260 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5262 wxBoxSizer* bSizer256;
\r
5263 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5265 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5266 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5269 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5271 wxBoxSizer* bSizer255;
\r
5272 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5274 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5275 lblHigh->Wrap( -1 );
\r
5276 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5279 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5281 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5282 lblLow->Wrap( -1 );
\r
5283 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5286 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5289 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5292 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5295 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5298 tabGeneral->SetSizer( fgSizer6 );
\r
5299 tabGeneral->Layout();
\r
5300 fgSizer6->Fit( tabGeneral );
\r
5301 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5303 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5305 wxBoxSizer* bSizer252;
\r
5306 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5308 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5309 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5311 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5312 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5315 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5318 this->SetSizer( bSizer251 );
\r
5321 this->Centre( wxBOTH );
\r
5324 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5325 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5326 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5329 frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT()
\r
5331 // Disconnect Events
\r
5332 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5333 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5334 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5338 frmContactEditorGeopositionADT::frmContactEditorGeopositionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5340 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5342 wxBoxSizer* bSizer251;
\r
5343 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5345 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5346 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5347 wxFlexGridSizer* fgSizer6;
\r
5348 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5349 fgSizer6->AddGrowableCol( 1 );
\r
5350 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5351 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5353 lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5354 lblGeoposition->Wrap( -1 );
\r
5355 fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5357 txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5358 txtGeoposition->SetMaxLength( 0 );
\r
5359 fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 );
\r
5361 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5362 lblPriority->Wrap( -1 );
\r
5363 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5365 wxBoxSizer* bSizer260;
\r
5366 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5368 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5369 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5371 wxBoxSizer* bSizer254;
\r
5372 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5374 wxBoxSizer* bSizer256;
\r
5375 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5377 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5378 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5381 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5383 wxBoxSizer* bSizer255;
\r
5384 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5386 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5387 lblHigh->Wrap( -1 );
\r
5388 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5391 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5393 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5394 lblLow->Wrap( -1 );
\r
5395 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5398 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5401 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5404 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5407 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5410 tabGeneral->SetSizer( fgSizer6 );
\r
5411 tabGeneral->Layout();
\r
5412 fgSizer6->Fit( tabGeneral );
\r
5413 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5415 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5417 wxBoxSizer* bSizer252;
\r
5418 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5420 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5421 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5423 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5424 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5427 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5430 this->SetSizer( bSizer251 );
\r
5433 this->Centre( wxBOTH );
\r
5436 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5437 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5438 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5441 frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT()
\r
5443 // Disconnect Events
\r
5444 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5445 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5446 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5450 frmContactEditorCalAdrADT::frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5452 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5454 wxBoxSizer* bSizer251;
\r
5455 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5457 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5458 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5459 wxFlexGridSizer* fgSizer6;
\r
5460 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5461 fgSizer6->AddGrowableCol( 1 );
\r
5462 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5463 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5465 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5466 lblAddress->Wrap( -1 );
\r
5467 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5469 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5470 txtAddress->SetMaxLength( 0 );
\r
5471 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
5473 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5474 lblType->Wrap( -1 );
\r
5475 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5477 wxArrayString cmbTypeChoices;
\r
5478 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5479 cmbType->SetSelection( 0 );
\r
5480 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5482 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5483 lblPriority->Wrap( -1 );
\r
5484 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5486 wxBoxSizer* bSizer260;
\r
5487 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5489 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5490 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5492 wxBoxSizer* bSizer254;
\r
5493 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5495 wxBoxSizer* bSizer256;
\r
5496 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5498 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5499 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5502 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5504 wxBoxSizer* bSizer255;
\r
5505 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5507 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5508 lblHigh->Wrap( -1 );
\r
5509 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5512 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5514 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5515 lblLow->Wrap( -1 );
\r
5516 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5519 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5522 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5525 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5528 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5531 tabGeneral->SetSizer( fgSizer6 );
\r
5532 tabGeneral->Layout();
\r
5533 fgSizer6->Fit( tabGeneral );
\r
5534 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5536 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5538 wxBoxSizer* bSizer252;
\r
5539 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5541 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5542 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5544 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5545 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5548 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5551 this->SetSizer( bSizer251 );
\r
5554 this->Centre( wxBOTH );
\r
5557 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5558 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5559 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5562 frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT()
\r
5564 // Disconnect Events
\r
5565 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5566 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5567 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5571 frmContactEditorVendorADT::frmContactEditorVendorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5573 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5575 wxBoxSizer* bSizer251;
\r
5576 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5578 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5579 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5580 wxFlexGridSizer* fgSizer6;
\r
5581 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5582 fgSizer6->AddGrowableCol( 1 );
\r
5583 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5584 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5586 lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5587 lblVendorPEN->Wrap( -1 );
\r
5588 fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5590 txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5591 txtPEN->SetMaxLength( 0 );
\r
5592 fgSizer6->Add( txtPEN, 0, wxALL, 5 );
\r
5594 lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5595 lblElement->Wrap( -1 );
\r
5596 fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5598 txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5599 txtElement->SetMaxLength( 0 );
\r
5600 fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 );
\r
5602 lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5603 lblValue->Wrap( -1 );
\r
5604 fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5606 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5607 txtValue->SetMaxLength( 0 );
\r
5608 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5611 tabGeneral->SetSizer( fgSizer6 );
\r
5612 tabGeneral->Layout();
\r
5613 fgSizer6->Fit( tabGeneral );
\r
5614 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5616 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5618 wxBoxSizer* bSizer252;
\r
5619 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5621 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5622 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5624 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5625 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5628 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5631 this->SetSizer( bSizer251 );
\r
5634 this->Centre( wxBOTH );
\r
5637 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5638 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5641 frmContactEditorVendorADT::~frmContactEditorVendorADT()
\r
5643 // Disconnect Events
\r
5644 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5645 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5649 frmContactEditorXTokenADT::frmContactEditorXTokenADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5651 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5653 wxBoxSizer* bSizer251;
\r
5654 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5656 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5657 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5658 wxFlexGridSizer* fgSizer6;
\r
5659 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5660 fgSizer6->AddGrowableCol( 1 );
\r
5661 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5662 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5664 lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5665 lblTokenName->Wrap( -1 );
\r
5666 fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5668 txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5669 txtTokenName->SetMaxLength( 0 );
\r
5670 fgSizer6->Add( txtTokenName, 0, wxALL, 5 );
\r
5672 lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5673 lblXT->Wrap( -1 );
\r
5674 fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5676 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5677 txtValue->SetMaxLength( 0 );
\r
5678 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5681 tabGeneral->SetSizer( fgSizer6 );
\r
5682 tabGeneral->Layout();
\r
5683 fgSizer6->Fit( tabGeneral );
\r
5684 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5686 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5688 wxBoxSizer* bSizer252;
\r
5689 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5691 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5692 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5694 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5695 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5698 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5701 this->SetSizer( bSizer251 );
\r
5704 this->Centre( wxBOTH );
\r
5707 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5708 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5711 frmContactEditorXTokenADT::~frmContactEditorXTokenADT()
\r
5713 // Disconnect Events
\r
5714 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5715 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5719 frmContactEditorKeyADT::frmContactEditorKeyADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5721 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5723 wxBoxSizer* bSizer251;
\r
5724 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5726 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5727 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5728 wxFlexGridSizer* fgSizer6;
\r
5729 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5730 fgSizer6->AddGrowableCol( 1 );
\r
5731 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5732 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5734 lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5735 lblKeyType->Wrap( -1 );
\r
5736 fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5738 wxArrayString cmbKeyMainTypeChoices;
\r
5739 cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 );
\r
5740 cmbKeyMainType->SetSelection( 0 );
\r
5741 fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 );
\r
5743 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5744 lblType->Wrap( -1 );
\r
5745 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5747 wxArrayString cmbTypeChoices;
\r
5748 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5749 cmbType->SetSelection( 0 );
\r
5750 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5752 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5753 lblPriority->Wrap( -1 );
\r
5754 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5756 wxBoxSizer* bSizer260;
\r
5757 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5759 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5760 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5762 wxBoxSizer* bSizer254;
\r
5763 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5765 wxBoxSizer* bSizer256;
\r
5766 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5768 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5769 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5772 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5774 wxBoxSizer* bSizer255;
\r
5775 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5777 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5778 lblHigh->Wrap( -1 );
\r
5779 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5782 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5784 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5785 lblLow->Wrap( -1 );
\r
5786 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5789 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5792 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5795 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5798 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5801 tabGeneral->SetSizer( fgSizer6 );
\r
5802 tabGeneral->Layout();
\r
5803 fgSizer6->Fit( tabGeneral );
\r
5804 nbkWebsite->AddPage( tabGeneral, wxT("General"), true );
\r
5805 tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5806 wxFlexGridSizer* fgSizer61;
\r
5807 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5808 fgSizer61->AddGrowableCol( 1 );
\r
5809 fgSizer61->SetFlexibleDirection( wxHORIZONTAL );
\r
5810 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5812 lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5813 lblKeyFormat->Wrap( -1 );
\r
5814 fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5816 cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5817 fgSizer61->Add( cmbURL, 0, wxALL, 5 );
\r
5819 lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5820 lblAddress->Wrap( -1 );
\r
5821 fgSizer61->Add( lblAddress, 0, wxALL, 5 );
\r
5823 txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5824 txtAddress->SetMaxLength( 0 );
\r
5825 fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 );
\r
5828 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5831 tabURL->SetSizer( fgSizer61 );
\r
5833 fgSizer61->Fit( tabURL );
\r
5834 nbkWebsite->AddPage( tabURL, wxT("URL"), false );
\r
5835 tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5836 wxFlexGridSizer* fgSizer62;
\r
5837 fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5838 fgSizer62->AddGrowableCol( 1 );
\r
5839 fgSizer62->AddGrowableRow( 1 );
\r
5840 fgSizer62->SetFlexibleDirection( wxBOTH );
\r
5841 fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5843 lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5844 lblKeyFormatData->Wrap( -1 );
\r
5845 fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 );
\r
5847 cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5848 fgSizer62->Add( cmbKeyType, 0, wxALL, 5 );
\r
5850 lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5851 lblKeyData->Wrap( -1 );
\r
5852 fgSizer62->Add( lblKeyData, 0, wxALL, 5 );
\r
5854 txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
5855 txtKeyData->SetMaxLength( 0 );
\r
5856 fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 );
\r
5859 tabKey->SetSizer( fgSizer62 );
\r
5861 fgSizer62->Fit( tabKey );
\r
5862 nbkWebsite->AddPage( tabKey, wxT("Key"), false );
\r
5864 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5866 wxBoxSizer* bSizer252;
\r
5867 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5869 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5870 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5872 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5873 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5876 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5879 this->SetSizer( bSizer251 );
\r
5882 this->Centre( wxBOTH );
\r
5885 cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5886 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5887 cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5888 cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5889 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5890 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5893 frmContactEditorKeyADT::~frmContactEditorKeyADT()
\r
5895 // Disconnect Events
\r
5896 cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5897 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5898 cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5899 cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5900 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5901 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5905 frmContactEditorEmailADT::frmContactEditorEmailADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5907 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5909 wxBoxSizer* bSizer251;
\r
5910 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5912 nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5913 tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5914 wxFlexGridSizer* fgSizer6;
\r
5915 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5916 fgSizer6->AddGrowableCol( 1 );
\r
5917 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5918 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5920 lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5921 lblEmailAddress->Wrap( -1 );
\r
5922 fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5924 txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5925 txtEmail->SetMaxLength( 0 );
\r
5926 fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 );
\r
5928 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5929 lblPriority->Wrap( -1 );
\r
5930 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5932 wxBoxSizer* bSizer260;
\r
5933 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5935 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5936 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5938 wxBoxSizer* bSizer254;
\r
5939 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5941 wxBoxSizer* bSizer256;
\r
5942 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5944 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5945 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5948 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5950 wxBoxSizer* bSizer255;
\r
5951 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5953 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5954 lblHigh->Wrap( -1 );
\r
5955 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5958 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5960 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5961 lblLow->Wrap( -1 );
\r
5962 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5965 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5968 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5971 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5974 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5977 tabGeneral->SetSizer( fgSizer6 );
\r
5978 tabGeneral->Layout();
\r
5979 fgSizer6->Fit( tabGeneral );
\r
5980 nbkEmail->AddPage( tabGeneral, wxT("General"), false );
\r
5982 bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 );
\r
5984 wxBoxSizer* bSizer252;
\r
5985 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5987 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5988 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5990 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5991 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5994 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5997 this->SetSizer( bSizer251 );
\r
6000 this->Centre( wxBOTH );
\r
6003 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
6004 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6005 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6008 frmContactEditorEmailADT::~frmContactEditorEmailADT()
\r
6010 // Disconnect Events
\r
6011 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
6012 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6013 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6017 frmContactEditorIMADT::frmContactEditorIMADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6019 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6021 wxBoxSizer* bSizer251;
\r
6022 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6024 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6025 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6026 wxFlexGridSizer* fgSizer6;
\r
6027 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6028 fgSizer6->AddGrowableCol( 1 );
\r
6029 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6030 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6032 lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6033 lblIMType->Wrap( -1 );
\r
6034 fgSizer6->Add( lblIMType, 0, wxALL, 5 );
\r
6036 cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN );
\r
6037 fgSizer6->Add( cmbIMType, 0, wxALL, 5 );
\r
6039 lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6040 lblUsername->Wrap( 0 );
\r
6041 fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6043 txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6044 txtUsername->SetMaxLength( 0 );
\r
6045 fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6047 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6048 lblPriority->Wrap( -1 );
\r
6049 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6051 wxBoxSizer* bSizer260;
\r
6052 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6054 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6055 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6057 wxBoxSizer* bSizer254;
\r
6058 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6060 wxBoxSizer* bSizer256;
\r
6061 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6063 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6064 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6067 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6069 wxBoxSizer* bSizer255;
\r
6070 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6072 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6073 lblHigh->Wrap( -1 );
\r
6074 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6077 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6079 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6080 lblLow->Wrap( -1 );
\r
6081 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6084 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6087 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6090 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6093 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6096 tabGeneral->SetSizer( fgSizer6 );
\r
6097 tabGeneral->Layout();
\r
6098 fgSizer6->Fit( tabGeneral );
\r
6099 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6101 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6103 wxBoxSizer* bSizer252;
\r
6104 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6106 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6107 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6109 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6110 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6113 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6116 this->SetSizer( bSizer251 );
\r
6119 this->Centre( wxBOTH );
\r
6122 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6123 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6124 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6127 frmContactEditorIMADT::~frmContactEditorIMADT()
\r
6129 // Disconnect Events
\r
6130 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6131 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6132 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6136 frmContactEditorCategoryADT::frmContactEditorCategoryADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6138 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6140 wxBoxSizer* bSizer251;
\r
6141 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6143 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6144 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6145 wxFlexGridSizer* fgSizer6;
\r
6146 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6147 fgSizer6->AddGrowableCol( 1 );
\r
6148 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6149 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6151 lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6152 lblCategory->Wrap( 0 );
\r
6153 fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6155 txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6156 txtCategory->SetMaxLength( 0 );
\r
6157 fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 );
\r
6159 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6160 lblType->Wrap( -1 );
\r
6161 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
6163 wxArrayString cmbTypeChoices;
\r
6164 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
6165 cmbType->SetSelection( 0 );
\r
6166 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
6168 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6169 lblPriority->Wrap( -1 );
\r
6170 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6172 wxBoxSizer* bSizer260;
\r
6173 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6175 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6176 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6178 wxBoxSizer* bSizer254;
\r
6179 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6181 wxBoxSizer* bSizer256;
\r
6182 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6184 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6185 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6188 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6190 wxBoxSizer* bSizer255;
\r
6191 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6193 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6194 lblHigh->Wrap( -1 );
\r
6195 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6198 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6200 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6201 lblLow->Wrap( -1 );
\r
6202 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6205 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6208 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6211 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6214 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6217 tabGeneral->SetSizer( fgSizer6 );
\r
6218 tabGeneral->Layout();
\r
6219 fgSizer6->Fit( tabGeneral );
\r
6220 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6222 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6224 wxBoxSizer* bSizer252;
\r
6225 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6227 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6228 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6230 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6231 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6234 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6237 this->SetSizer( bSizer251 );
\r
6240 this->Centre( wxBOTH );
\r
6243 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6244 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6245 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6248 frmContactEditorCategoryADT::~frmContactEditorCategoryADT()
\r
6250 // Disconnect Events
\r
6251 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6252 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6253 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6257 frmContactEditorTelephoneADT::frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6259 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6261 wxBoxSizer* bSizer251;
\r
6262 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6264 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6265 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6266 wxFlexGridSizer* fgSizer6;
\r
6267 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6268 fgSizer6->AddGrowableCol( 1 );
\r
6269 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6270 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6272 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6273 lblTelephone->Wrap( -1 );
\r
6274 fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6276 txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6277 txtTelephone->SetMaxLength( 0 );
\r
6278 fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 );
\r
6280 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6281 lblPriority->Wrap( -1 );
\r
6282 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6284 wxBoxSizer* bSizer260;
\r
6285 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6287 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6288 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6290 wxBoxSizer* bSizer254;
\r
6291 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6293 wxBoxSizer* bSizer256;
\r
6294 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6296 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6297 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6300 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6302 wxBoxSizer* bSizer255;
\r
6303 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6305 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6306 lblHigh->Wrap( -1 );
\r
6307 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6310 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6312 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6313 lblLow->Wrap( -1 );
\r
6314 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6317 bSizer254->Add( bSizer255, 0, wxEXPAND, 0 );
\r
6320 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6323 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6325 lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6326 lblTelephoneType->Wrap( 0 );
\r
6327 fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 );
\r
6329 wxGridSizer* gSizer5;
\r
6330 gSizer5 = new wxGridSizer( 2, 2, 0, 0 );
\r
6332 chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6333 gSizer5->Add( chkVoice, 0, wxALL, 2 );
\r
6335 chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6336 gSizer5->Add( chkText, 0, wxALL, 2 );
\r
6338 chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6339 gSizer5->Add( chkFax, 0, wxALL, 2 );
\r
6341 chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6342 gSizer5->Add( chkMobile, 0, wxALL, 2 );
\r
6344 chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6345 gSizer5->Add( chkVideo, 0, wxALL, 2 );
\r
6347 chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6348 gSizer5->Add( chkTextphone, 0, wxALL, 2 );
\r
6350 chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6351 gSizer5->Add( chkPager, 0, wxALL, 2 );
\r
6354 fgSizer6->Add( gSizer5, 1, 0, 5 );
\r
6357 tabGeneral->SetSizer( fgSizer6 );
\r
6358 tabGeneral->Layout();
\r
6359 fgSizer6->Fit( tabGeneral );
\r
6360 nbkAddress->AddPage( tabGeneral, wxT("General"), false );
\r
6362 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
6364 wxBoxSizer* bSizer252;
\r
6365 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6367 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6368 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6370 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6371 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6374 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6377 this->SetSizer( bSizer251 );
\r
6380 this->Centre( wxBOTH );
\r
6383 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6384 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6385 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6388 frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT()
\r
6390 // Disconnect Events
\r
6391 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6392 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6393 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6397 frmContactEditorLanguagesADT::frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6399 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6401 wxBoxSizer* bSizer251;
\r
6402 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6404 nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6405 tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6406 wxFlexGridSizer* fgSizer6;
\r
6407 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6408 fgSizer6->AddGrowableCol( 1 );
\r
6409 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6410 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6412 lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6413 lblLanguage->Wrap( -1 );
\r
6414 fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6416 txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6417 txtLanguage->SetMaxLength( 0 );
\r
6418 fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 );
\r
6420 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6421 lblPriority->Wrap( -1 );
\r
6422 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6424 wxBoxSizer* bSizer260;
\r
6425 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6427 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6428 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6430 wxBoxSizer* bSizer254;
\r
6431 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6433 wxBoxSizer* bSizer256;
\r
6434 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6436 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6437 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6440 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6442 wxBoxSizer* bSizer255;
\r
6443 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6445 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6446 lblHigh->Wrap( -1 );
\r
6447 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6450 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6452 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6453 lblLow->Wrap( -1 );
\r
6454 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6457 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6460 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6463 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6466 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6469 tabGeneral->SetSizer( fgSizer6 );
\r
6470 tabGeneral->Layout();
\r
6471 fgSizer6->Fit( tabGeneral );
\r
6472 nbkLanguages->AddPage( tabGeneral, wxT("General"), false );
\r
6474 bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 );
\r
6476 wxBoxSizer* bSizer252;
\r
6477 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6479 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6480 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6482 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6483 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6486 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6489 this->SetSizer( bSizer251 );
\r
6492 this->Centre( wxBOTH );
\r
6495 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6496 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6497 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6500 frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT()
\r
6502 // Disconnect Events
\r
6503 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6504 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6505 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6509 frmContactEditorTimezonesADT::frmContactEditorTimezonesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6511 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6513 wxBoxSizer* bSizer251;
\r
6514 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6516 nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6517 tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6518 wxFlexGridSizer* fgSizer6;
\r
6519 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6520 fgSizer6->AddGrowableCol( 1 );
\r
6521 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6522 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6524 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6525 lblTimezone->Wrap( -1 );
\r
6526 fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6528 cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
6529 fgSizer6->Add( cmbTimezone, 0, wxALL, 5 );
\r
6531 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6532 lblPriority->Wrap( -1 );
\r
6533 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6535 wxBoxSizer* bSizer260;
\r
6536 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6538 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6539 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6541 wxBoxSizer* bSizer254;
\r
6542 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6544 wxBoxSizer* bSizer256;
\r
6545 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6547 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6548 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6551 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6553 wxBoxSizer* bSizer255;
\r
6554 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6556 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6557 lblHigh->Wrap( -1 );
\r
6558 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6561 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6563 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6564 lblLow->Wrap( -1 );
\r
6565 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6568 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6571 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6574 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6577 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6580 tabGeneral->SetSizer( fgSizer6 );
\r
6581 tabGeneral->Layout();
\r
6582 fgSizer6->Fit( tabGeneral );
\r
6583 nbkTimezone->AddPage( tabGeneral, wxT("General"), false );
\r
6585 bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 );
\r
6587 wxBoxSizer* bSizer252;
\r
6588 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6590 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6591 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6593 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6594 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6597 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6600 this->SetSizer( bSizer251 );
\r
6603 this->Centre( wxBOTH );
\r
6606 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6607 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6608 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6611 frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT()
\r
6613 // Disconnect Events
\r
6614 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6615 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6616 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6620 XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
\r
6622 this->SetMinSize( wxSize( -1,40 ) );
\r
6623 this->SetMaxSize( wxSize( -1,40 ) );
\r
6625 wxFlexGridSizer* fgSizer40;
\r
6626 fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 );
\r
6627 fgSizer40->AddGrowableCol( 1 );
\r
6628 fgSizer40->SetFlexibleDirection( wxBOTH );
\r
6629 fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6631 wxArrayString choOptionChoices;
\r
6632 choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 );
\r
6633 choOption->SetSelection( 0 );
\r
6634 fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 );
\r
6636 szrSSet = new wxBoxSizer( wxHORIZONTAL );
\r
6638 chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6639 szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6641 txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6642 txtSearch->SetMaxLength( 0 );
\r
6643 szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6646 fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 );
\r
6648 wxBoxSizer* bSizer376;
\r
6649 bSizer376 = new wxBoxSizer( wxHORIZONTAL );
\r
6651 btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6652 btnAdd->SetMinSize( wxSize( 28,28 ) );
\r
6653 btnAdd->SetMaxSize( wxSize( 28,28 ) );
\r
6655 bSizer376->Add( btnAdd, 0, wxALL, 5 );
\r
6657 btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6658 btnDelete->SetMinSize( wxSize( 28,28 ) );
\r
6659 btnDelete->SetMaxSize( wxSize( 28,28 ) );
\r
6661 bSizer376->Add( btnDelete, 0, wxALL, 5 );
\r
6664 fgSizer40->Add( bSizer376, 0, 0, 5 );
\r
6667 this->SetSizer( fgSizer40 );
\r
6671 choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6672 btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6673 btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6676 XABSearchPanelADT::~XABSearchPanelADT()
\r
6678 // Disconnect Events
\r
6679 choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6680 btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6681 btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6685 frmSearchAccountsADT::frmSearchAccountsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6687 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6689 wxBoxSizer* bSizer376;
\r
6690 bSizer376 = new wxBoxSizer( wxVERTICAL );
\r
6692 wxArrayString chlAccountsChoices;
\r
6693 chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
6694 bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 );
\r
6696 wxBoxSizer* bSizer377;
\r
6697 bSizer377 = new wxBoxSizer( wxHORIZONTAL );
\r
6700 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6702 btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6703 bSizer377->Add( btnSelect, 0, wxALL, 5 );
\r
6705 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6706 bSizer377->Add( btnCancel, 0, wxALL, 5 );
\r
6709 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6712 bSizer376->Add( bSizer377, 0, wxEXPAND, 5 );
\r
6715 this->SetSizer( bSizer376 );
\r
6718 this->Centre( wxBOTH );
\r
6721 btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6722 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6725 frmSearchAccountsADT::~frmSearchAccountsADT()
\r
6727 // Disconnect Events
\r
6728 btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6729 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6733 frmEditAccountADT::frmEditAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6735 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6737 wxBoxSizer* bSizer384;
\r
6738 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6740 wxBoxSizer* szrTabs;
\r
6741 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
6743 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6744 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6745 wxFlexGridSizer* fgSizer43;
\r
6746 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6747 fgSizer43->AddGrowableCol( 1 );
\r
6748 fgSizer43->SetFlexibleDirection( wxBOTH );
\r
6749 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6751 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6752 lblAccName->Wrap( -1 );
\r
6753 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6755 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6756 txtAccountName->SetMaxLength( 0 );
\r
6757 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
6759 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6760 lblAccAdr->Wrap( -1 );
\r
6761 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6763 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6764 txtAddress->SetMaxLength( 0 );
\r
6765 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
6767 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6768 m_staticText193->Wrap( -1 );
\r
6769 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6771 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6772 txtPort->SetMaxLength( 5 );
\r
6773 fgSizer43->Add( txtPort, 0, wxALL, 5 );
\r
6775 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6776 lblPort->Wrap( -1 );
\r
6777 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6779 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6780 txtUsername->SetMaxLength( 0 );
\r
6781 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6783 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6784 lblPassword->Wrap( -1 );
\r
6785 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6787 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6788 txtPassword->SetMaxLength( 0 );
\r
6789 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
6791 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6792 lblPrefix->Wrap( -1 );
\r
6793 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6795 wxBoxSizer* bSizer391;
\r
6796 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
\r
6798 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6799 txtPrefix->SetMaxLength( 0 );
\r
6800 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
\r
6802 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
\r
6803 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
\r
6806 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
\r
6808 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6809 txtSSL->Wrap( -1 );
\r
6810 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6812 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6813 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
\r
6816 tabProperties->SetSizer( fgSizer43 );
\r
6817 tabProperties->Layout();
\r
6818 fgSizer43->Fit( tabProperties );
\r
6819 tabAccount->AddPage( tabProperties, wxT("General"), true );
\r
6820 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6821 wxFlexGridSizer* fgSizer431;
\r
6822 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6823 fgSizer431->AddGrowableCol( 1 );
\r
6824 fgSizer431->SetFlexibleDirection( wxBOTH );
\r
6825 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6827 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6828 lblRefresh->Wrap( -1 );
\r
6829 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6831 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6832 txtRefresh->SetMaxLength( 5 );
\r
6833 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
\r
6836 tabRefresh->SetSizer( fgSizer431 );
\r
6837 tabRefresh->Layout();
\r
6838 fgSizer431->Fit( tabRefresh );
\r
6839 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
\r
6841 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
\r
6844 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
\r
6846 wxBoxSizer* szrButtons;
\r
6847 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
6850 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
6852 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6853 btnSave->SetDefault();
\r
6854 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
6857 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
6859 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6860 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
6863 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
6866 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
6869 this->SetSizer( bSizer384 );
\r
6872 this->Centre( wxBOTH );
\r
6875 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6876 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6877 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6880 frmEditAccountADT::~frmEditAccountADT()
\r
6882 // Disconnect Events
\r
6883 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6884 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6885 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6889 frmSSLCertificateADT::frmSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6891 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6893 wxBoxSizer* bSizer384;
\r
6894 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6896 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6897 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6898 wxBoxSizer* bSizer386;
\r
6899 bSizer386 = new wxBoxSizer( wxVERTICAL );
\r
6901 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6902 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
\r
6904 wxBoxSizer* bSizer389;
\r
6905 bSizer389 = new wxBoxSizer( wxVERTICAL );
\r
6907 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6908 lblCertName->Wrap( -1 );
\r
6909 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
\r
6911 bSizer389->Add( lblCertName, 0, wxALL, 5 );
\r
6913 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6914 lblValidityStatus->Wrap( -1 );
\r
6915 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
\r
6918 pnlTop->SetSizer( bSizer389 );
\r
6920 bSizer389->Fit( pnlTop );
\r
6921 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
\r
6923 wxBoxSizer* bSizer392;
\r
6924 bSizer392 = new wxBoxSizer( wxVERTICAL );
\r
6926 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6927 wxFlexGridSizer* fgSizer44;
\r
6928 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6929 fgSizer44->AddGrowableCol( 1 );
\r
6930 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
\r
6931 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6933 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6934 lblIssuedTo->Wrap( -1 );
\r
6935 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
\r
6937 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6938 lblIssuedToData->Wrap( -1 );
\r
6939 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
\r
6941 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6942 lblValidFrom->Wrap( -1 );
\r
6943 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
\r
6945 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6946 lblValidFromData->Wrap( -1 );
\r
6947 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
\r
6949 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6950 lblValidUntil->Wrap( -1 );
\r
6951 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
\r
6953 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6954 lblValidUntilData->Wrap( -1 );
\r
6955 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
\r
6958 m_panel54->SetSizer( fgSizer44 );
\r
6959 m_panel54->Layout();
\r
6960 fgSizer44->Fit( m_panel54 );
\r
6961 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
\r
6964 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
\r
6967 tabSummary->SetSizer( bSizer386 );
\r
6968 tabSummary->Layout();
\r
6969 bSizer386->Fit( tabSummary );
\r
6970 m_notebook28->AddPage( tabSummary, wxT("Summary"), false );
\r
6971 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6972 wxBoxSizer* bSizer3891;
\r
6973 bSizer3891 = new wxBoxSizer( wxVERTICAL );
\r
6975 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
6976 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
\r
6978 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
\r
6979 txtValueData->SetMaxLength( 0 );
\r
6980 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
6982 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
\r
6985 tabDetail->SetSizer( bSizer3891 );
\r
6986 tabDetail->Layout();
\r
6987 bSizer3891->Fit( tabDetail );
\r
6988 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
\r
6989 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6990 wxBoxSizer* bSizer390;
\r
6991 bSizer390 = new wxBoxSizer( wxVERTICAL );
\r
6993 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
\r
6994 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
6996 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6997 wxBoxSizer* bSizer393;
\r
6998 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
7000 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7001 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
\r
7004 m_panel57->SetSizer( bSizer393 );
\r
7005 m_panel57->Layout();
\r
7006 bSizer393->Fit( m_panel57 );
\r
7007 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
\r
7010 tabHierarchy->SetSizer( bSizer390 );
\r
7011 tabHierarchy->Layout();
\r
7012 bSizer390->Fit( tabHierarchy );
\r
7013 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), true );
\r
7015 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
7017 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
7018 wxBoxSizer* bSizer385;
\r
7019 bSizer385 = new wxBoxSizer( wxVERTICAL );
\r
7021 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7022 btnClose->SetDefault();
\r
7023 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
\r
7026 pnlButtons->SetSizer( bSizer385 );
\r
7027 pnlButtons->Layout();
\r
7028 bSizer385->Fit( pnlButtons );
\r
7029 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
\r
7032 this->SetSizer( bSizer384 );
\r
7035 this->Centre( wxBOTH );
\r
7038 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7039 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7040 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7041 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7044 frmSSLCertificateADT::~frmSSLCertificateADT()
\r
7046 // Disconnect Events
\r
7047 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7048 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7049 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7050 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7054 frmInvalidSSLCertificateADT::frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
7056 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7058 wxBoxSizer* bSizer387;
\r
7059 bSizer387 = new wxBoxSizer( wxVERTICAL );
\r
7061 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7062 lblSSLText->Wrap( -1 );
\r
7063 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
\r
7065 wxBoxSizer* bSizer388;
\r
7066 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
\r
7068 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7069 bSizer388->Add( btnAccept, 0, wxALL, 5 );
\r
7071 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7072 btnReject->SetDefault();
\r
7073 bSizer388->Add( btnReject, 0, wxALL, 5 );
\r
7075 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7076 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
\r
7079 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
\r
7082 this->SetSizer( bSizer387 );
\r
7085 this->Centre( wxBOTH );
\r
7088 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7089 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7090 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7093 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
\r
7095 // Disconnect Events
\r
7096 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7097 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7098 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7102 frmImportContactsADT::frmImportContactsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
7104 this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) );
\r
7106 wxBoxSizer* bSizer393;
\r
7107 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
7109 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 );
\r
7110 lblImportText->Wrap( 300 );
\r
7111 bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 );
\r
7113 wxArrayString lstContactsChoices;
\r
7114 lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
7115 bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
\r
7117 szrAccount = new wxBoxSizer( wxHORIZONTAL );
\r
7119 lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7120 lblAccountText->Wrap( -1 );
\r
7121 szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
7124 bSizer393->Add( szrAccount, 0, wxEXPAND, 5 );
\r
7126 wxBoxSizer* bSizer394;
\r
7127 bSizer394 = new wxBoxSizer( wxHORIZONTAL );
\r
7129 btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7130 btnImport->SetDefault();
\r
7131 bSizer394->Add( btnImport, 0, wxALL, 5 );
\r
7133 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7134 bSizer394->Add( btnCancel, 0, wxALL, 5 );
\r
7137 bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 );
\r
7140 this->SetSizer( bSizer393 );
\r
7143 this->Centre( wxBOTH );
\r
7146 btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7147 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7150 frmImportContactsADT::~frmImportContactsADT()
\r
7152 // Disconnect Events
\r
7153 btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7154 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7158 frmImportResultsADT::frmImportResultsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
7160 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7162 wxBoxSizer* bSizer396;
\r
7163 bSizer396 = new wxBoxSizer( wxVERTICAL );
\r
7165 lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7166 lblText->Wrap( -1 );
\r
7167 bSizer396->Add( lblText, 0, wxALL, 5 );
\r
7169 txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
\r
7170 txtResults->SetMaxLength( 0 );
\r
7171 bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 );
\r
7173 wxBoxSizer* bSizer397;
\r
7174 bSizer397 = new wxBoxSizer( wxHORIZONTAL );
\r
7176 btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7177 btnCopyClipboard->Hide();
\r
7179 bSizer397->Add( btnCopyClipboard, 0, 0, 5 );
\r
7181 btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7182 bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
\r
7185 bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
7188 this->SetSizer( bSizer396 );
\r
7191 this->Centre( wxBOTH );
\r
7194 btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7195 btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r
7198 frmImportResultsADT::~frmImportResultsADT()
\r
7200 // Disconnect Events
\r
7201 btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7202 btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r