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_MANAGE_IMPORT, wxString( wxT("Import...") ) , wxEmptyString, wxITEM_NORMAL );
\r
33 mnuManage->Append( mnuImport );
\r
35 wxMenuItem* mnuExport;
\r
36 mnuExport = new wxMenuItem( mnuManage, ID_MANAGE_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_MANAGE_IMPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
\r
265 this->Disconnect( ID_MANAGE_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 wxMenuItem* mnuContactEdit;
\r
477 mnuContactEdit = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
\r
478 mnuContact->Append( mnuContactEdit );
\r
480 wxMenuItem* mnuContactReveal;
\r
481 mnuContactReveal = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Reveal Contact") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
482 mnuContact->Append( mnuContactReveal );
\r
484 mnuContact->AppendSeparator();
\r
486 wxMenuItem* mnuContactClose;
\r
487 mnuContactClose = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
488 mnuContact->Append( mnuContactClose );
\r
490 m_menubar5->Append( mnuContact, wxT("Contact") );
\r
492 this->SetMenuBar( m_menubar5 );
\r
495 this->Centre( wxBOTH );
\r
498 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
\r
499 btnSelectAccounts->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
\r
500 btnSearch->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
\r
501 btnReset->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
\r
502 this->Connect( mnuContactOpen->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
\r
503 this->Connect( mnuContactEdit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
\r
504 this->Connect( mnuContactReveal->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
\r
505 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
\r
508 frmSearchADT::~frmSearchADT()
\r
510 // Disconnect Events
\r
511 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
\r
512 btnSelectAccounts->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
\r
513 btnSearch->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
\r
514 btnReset->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
\r
515 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
\r
516 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
\r
517 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
\r
518 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
\r
522 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
524 this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) );
\r
526 wxBoxSizer* szrMain;
\r
527 szrMain = new wxBoxSizer( wxVERTICAL );
\r
529 wxBoxSizer* szrTabs;
\r
530 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
532 NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
533 tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
534 wxBoxSizer* szrChecks;
\r
535 szrChecks = new wxBoxSizer( wxVERTICAL );
\r
537 chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
\r
538 szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 );
\r
540 chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 );
\r
541 szrChecks->Add( chkHideLocal, 0, wxALL, 5 );
\r
544 tabGeneral->SetSizer( szrChecks );
\r
545 tabGeneral->Layout();
\r
546 szrChecks->Fit( tabGeneral );
\r
547 NbtPreferences->AddPage( tabGeneral, wxT("General"), false );
\r
548 tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
551 wxGridSizer* szrTheme;
\r
552 szrTheme = new wxGridSizer( 1, 1, 0, 0 );
\r
554 wxBoxSizer* bSizer161;
\r
555 bSizer161 = new wxBoxSizer( wxVERTICAL );
\r
557 lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
558 bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
\r
560 wxBoxSizer* bSizer151;
\r
561 bSizer151 = new wxBoxSizer( wxHORIZONTAL );
\r
563 btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
564 bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
\r
566 btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
567 btnThemeModify->Enable( false );
\r
569 bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
\r
571 btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
572 btnThemeDelete->Enable( false );
\r
574 bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
\r
577 bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
\r
580 szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
\r
583 tabTheme->SetSizer( szrTheme );
\r
584 tabTheme->Layout();
\r
585 szrTheme->Fit( tabTheme );
\r
586 NbtPreferences->AddPage( tabTheme, wxT("Themes"), true );
\r
587 tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
588 wxGridSizer* szrAccounts;
\r
589 szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
\r
591 wxBoxSizer* bSizer16;
\r
592 bSizer16 = new wxBoxSizer( wxVERTICAL );
\r
594 lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
595 bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
\r
597 wxBoxSizer* bSizer15;
\r
598 bSizer15 = new wxBoxSizer( wxHORIZONTAL );
\r
600 btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
601 bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
\r
603 btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
604 btnAccountModify->Enable( false );
\r
606 bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
\r
608 btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
609 btnAccountDelete->Enable( false );
\r
611 bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
\r
614 bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
\r
617 szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
\r
620 tabAccounts->SetSizer( szrAccounts );
\r
621 tabAccounts->Layout();
\r
622 szrAccounts->Fit( tabAccounts );
\r
623 NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false );
\r
625 szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
\r
628 szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
\r
630 wxBoxSizer* szrButtons;
\r
631 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
634 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
636 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
637 btnSave->SetDefault();
\r
638 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
641 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
643 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
644 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
647 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
650 szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
653 this->SetSizer( szrMain );
\r
656 this->Centre( wxBOTH );
\r
659 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
\r
660 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
661 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
662 btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
663 btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
664 btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
665 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
666 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
667 btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
668 btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
669 btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
670 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
\r
671 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
\r
674 frmPreferencesADT::~frmPreferencesADT()
\r
676 // Disconnect Events
\r
677 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
\r
678 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
679 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
680 btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
681 btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
682 btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
683 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
684 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
685 btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
686 btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
687 btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
688 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
\r
689 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
\r
693 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
695 this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
\r
697 wxBoxSizer* szrMain;
\r
698 szrMain = new wxBoxSizer( wxVERTICAL );
\r
700 wxBoxSizer* szrLogo;
\r
701 szrLogo = new wxBoxSizer( wxVERTICAL );
\r
703 szrLogo->SetMinSize( wxSize( 350,100 ) );
\r
704 bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
\r
705 szrLogo->Add( bmpLogo, 0, wxALL, 0 );
\r
708 szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
\r
710 wxBoxSizer* szrDetails;
\r
711 szrDetails = new wxBoxSizer( wxVERTICAL );
\r
713 lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
\r
714 lblVersion->Wrap( -1 );
\r
715 lblVersion->SetFont( wxFont( 14, 70, 90, 92, false, wxEmptyString ) );
\r
717 szrDetails->Add( lblVersion, 0, wxALL, 5 );
\r
719 lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
\r
720 lblCompileTime->Wrap( -1 );
\r
721 szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
\r
723 lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
\r
724 lblCopyright->Wrap( -1 );
\r
725 szrDetails->Add( lblCopyright, 0, wxALL, 5 );
\r
728 szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
\r
730 wxBoxSizer* szrButtons;
\r
731 szrButtons = new wxBoxSizer( wxVERTICAL );
\r
733 szrButtons->SetMinSize( wxSize( -1,35 ) );
\r
734 btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
735 szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
738 szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
\r
741 this->SetSizer( szrMain );
\r
744 this->Centre( wxBOTH );
\r
747 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
\r
750 frmAboutADT::~frmAboutADT()
\r
752 // Disconnect Events
\r
753 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
\r
757 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
759 this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize );
\r
761 wxBoxSizer* bSizer13;
\r
762 bSizer13 = new wxBoxSizer( wxVERTICAL );
\r
764 htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
765 bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
\r
768 this->SetSizer( bSizer13 );
\r
770 m_menubar2 = new wxMenuBar( 0 );
\r
771 contact = new wxMenu();
\r
772 wxMenuItem* mnuContactClose;
\r
773 mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL );
\r
774 contact->Append( mnuContactClose );
\r
776 m_menubar2->Append( contact, wxT("Contact") );
\r
778 this->SetMenuBar( m_menubar2 );
\r
781 this->Centre( wxBOTH );
\r
784 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
\r
785 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
\r
788 frmContactADT::~frmContactADT()
\r
790 // Disconnect Events
\r
791 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
\r
792 this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
\r
796 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
798 this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
\r
800 wxFlexGridSizer* fgSizer30;
\r
801 fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
802 fgSizer30->AddGrowableCol( 0 );
\r
803 fgSizer30->AddGrowableRow( 0 );
\r
804 fgSizer30->SetFlexibleDirection( wxBOTH );
\r
805 fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
807 szrNewAccount = new wxBoxSizer( wxVERTICAL );
\r
809 tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
812 wxFlexGridSizer* fgSizer32;
\r
813 fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
814 fgSizer32->AddGrowableCol( 0 );
\r
815 fgSizer32->SetFlexibleDirection( wxBOTH );
\r
816 fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
\r
818 lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
\r
819 lblEnterText->Wrap( -1 );
\r
820 fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
\r
822 wxFlexGridSizer* fgSizer33;
\r
823 fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
824 fgSizer33->AddGrowableCol( 1 );
\r
825 fgSizer33->AddGrowableRow( 0 );
\r
826 fgSizer33->SetFlexibleDirection( wxBOTH );
\r
827 fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
\r
829 lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
830 lblType->Wrap( -1 );
\r
831 fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
833 wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") };
\r
834 int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
\r
835 cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
\r
836 cmbServerType->SetSelection( 1 );
\r
837 fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
\r
839 lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
840 lblServerAddress->Wrap( -1 );
\r
841 fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
843 txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
844 txtServerAddress->SetMaxLength( 0 );
\r
845 fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
\r
847 lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
848 lblServerPort->Wrap( -1 );
\r
849 fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
851 txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
852 txtServerPort->SetMaxLength( 0 );
\r
853 fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
\r
855 lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
856 lblUsername->Wrap( -1 );
\r
857 fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
859 txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
860 txtUsername->SetMaxLength( 0 );
\r
861 fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
\r
863 lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
864 lblPassword->Wrap( -1 );
\r
865 fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
867 txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
\r
868 txtPassword->SetMaxLength( 0 );
\r
869 fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
871 lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
872 lblSSL->Wrap( -1 );
\r
873 fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
875 wxBoxSizer* bSizer3221;
\r
876 bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
\r
878 chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
879 chkUseSSL->SetValue(true);
\r
880 bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
\r
883 fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
\r
886 fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
\r
889 tabType->SetSizer( fgSizer32 );
\r
891 fgSizer32->Fit( tabType );
\r
892 szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
\r
894 tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
895 wxBoxSizer* bSizer323;
\r
896 bSizer323 = new wxBoxSizer( wxVERTICAL );
\r
898 lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
899 lblConnectionResult->Wrap( -1 );
\r
900 lblConnectionResult->SetFont( wxFont( 9, 74, 90, 92, false, wxT("Sans") ) );
\r
902 bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
\r
904 wxFlexGridSizer* fgSizer34;
\r
905 fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
906 fgSizer34->SetFlexibleDirection( wxBOTH );
\r
907 fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
909 lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
910 lblServerConnected->Wrap( -1 );
\r
911 fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
\r
913 lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
914 lblServerConnResult->Wrap( -1 );
\r
915 fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
\r
917 lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
918 lblValidResponse->Wrap( -1 );
\r
919 fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
\r
921 lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
922 lblServerResponse->Wrap( -1 );
\r
923 fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
\r
925 lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
926 lblUseSSL->Wrap( -1 );
\r
927 fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
\r
929 lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
930 lblServerSSLResult->Wrap( -1 );
\r
931 fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
\r
933 lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
934 lblServerSSLCert->Wrap( -1 );
\r
935 fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
\r
937 lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
938 lblServerSSLValid->Wrap( -1 );
\r
939 fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
\r
941 lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
942 lblServerUsernamePassword->Wrap( -1 );
\r
943 fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
\r
945 lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
946 lblAbleToLoginResult->Wrap( -1 );
\r
947 fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
\r
949 lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
950 lblIsCalDAV->Wrap( -1 );
\r
951 fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
\r
953 lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
954 lblCardDAVSupportResult->Wrap( -1 );
\r
955 fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 );
\r
958 bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
\r
960 m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
961 bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
\r
963 lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
964 lblConnectionResultText->Wrap( 360 );
\r
965 lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
\r
967 bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
\r
970 tabConn->SetSizer( bSizer323 );
\r
972 bSizer323->Fit( tabConn );
\r
973 szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
\r
975 tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
978 wxBoxSizer* bSizer3231;
\r
979 bSizer3231 = new wxBoxSizer( wxVERTICAL );
\r
981 lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
\r
982 lblFinishText->Wrap( -1 );
\r
983 bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
\r
985 wxFlexGridSizer* fgSizer341;
\r
986 fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
987 fgSizer341->AddGrowableCol( 1 );
\r
988 fgSizer341->SetFlexibleDirection( wxBOTH );
\r
989 fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
991 lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
992 lblAccountName->Wrap( -1 );
\r
993 fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
995 txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
996 txtAccountName->SetMaxLength( 0 );
\r
997 fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
1000 bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
\r
1003 tabFinish->SetSizer( bSizer3231 );
\r
1004 tabFinish->Layout();
\r
1005 bSizer3231->Fit( tabFinish );
\r
1006 szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
\r
1009 fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
\r
1011 wxBoxSizer* bSizer322;
\r
1012 bSizer322 = new wxBoxSizer( wxHORIZONTAL );
\r
1014 btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1015 bSizer322->Add( btnPrevious, 0, wxALL, 5 );
\r
1017 btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1018 btnNext->SetDefault();
\r
1019 bSizer322->Add( btnNext, 0, wxALL, 5 );
\r
1021 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1022 bSizer322->Add( btnClose, 0, wxALL, 5 );
\r
1025 fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
\r
1028 this->SetSizer( fgSizer30 );
\r
1031 this->Centre( wxBOTH );
\r
1034 cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
\r
1035 txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
\r
1036 btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
\r
1037 btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
\r
1038 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
\r
1041 frmNewAccountADT::~frmNewAccountADT()
\r
1043 // Disconnect Events
\r
1044 cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
\r
1045 txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
\r
1046 btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
\r
1047 btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
\r
1048 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
\r
1052 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
1054 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
1055 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
1057 wxBoxSizer* bSizer17;
\r
1058 bSizer17 = new wxBoxSizer( wxVERTICAL );
\r
1060 nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
1061 tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
1062 tabGeneral->SetScrollRate( 5, 5 );
\r
1063 wxBoxSizer* bSizer18;
\r
1064 bSizer18 = new wxBoxSizer( wxVERTICAL );
\r
1066 wxGridSizer* gSizer7;
\r
1067 gSizer7 = new wxGridSizer( 0, 6, 0, 0 );
\r
1069 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1070 lblTitle->Wrap( -1 );
\r
1071 gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1073 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1074 txtTitle->SetMaxLength( 0 );
\r
1075 gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
1078 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1081 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1084 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1087 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1089 lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1090 lblForename->Wrap( -1 );
\r
1091 gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1093 txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1094 txtForename->SetMaxLength( 0 );
\r
1095 gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 );
\r
1097 lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1098 lblSurname->Wrap( -1 );
\r
1099 gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1101 txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1102 txtSurname->SetMaxLength( 0 );
\r
1103 gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 );
\r
1105 lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1106 lblOtherNames->Wrap( -1 );
\r
1107 gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1109 txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1110 txtOtherNames->SetMaxLength( 0 );
\r
1111 gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 );
\r
1113 lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1114 lblSuffix->Wrap( -1 );
\r
1115 gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1117 txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1118 txtSuffix->SetMaxLength( 0 );
\r
1119 gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 );
\r
1122 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1125 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1128 bSizer18->Add( gSizer7, 0, wxEXPAND, 5 );
\r
1130 wxFlexGridSizer* fgSizer5;
\r
1131 fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
1132 fgSizer5->AddGrowableCol( 1 );
\r
1133 fgSizer5->SetFlexibleDirection( wxBOTH );
\r
1134 fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
1136 lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 );
\r
1137 lblDisplayAs->Wrap( -1 );
\r
1138 fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1140 cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
1141 fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 );
\r
1143 lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1144 lblBirthday->Wrap( -1 );
\r
1145 fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1147 wxBoxSizer* bSizer318;
\r
1148 bSizer318 = new wxBoxSizer( wxHORIZONTAL );
\r
1150 dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
\r
1151 dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) );
\r
1152 dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
\r
1153 dapBirthday->SetMinSize( wxSize( -1,25 ) );
\r
1155 bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 );
\r
1157 txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1158 txtBirthday->SetMaxLength( 0 );
\r
1159 bSizer318->Add( txtBirthday, 1, wxALL, 5 );
\r
1162 fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 );
\r
1164 lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1165 lblAnniversary->Wrap( -1 );
\r
1166 fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1168 wxBoxSizer* bSizer319;
\r
1169 bSizer319 = new wxBoxSizer( wxHORIZONTAL );
\r
1171 dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
\r
1172 dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
\r
1173 dapAnniversary->SetMinSize( wxSize( -1,25 ) );
\r
1175 bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 );
\r
1177 txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1178 txtAnniversary->SetMaxLength( 0 );
\r
1179 bSizer319->Add( txtAnniversary, 1, wxALL, 5 );
\r
1182 fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 );
\r
1184 lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1185 lblGender->Wrap( -1 );
\r
1186 fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1188 wxBoxSizer* bSizer20;
\r
1189 bSizer20 = new wxBoxSizer( wxHORIZONTAL );
\r
1191 wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") };
\r
1192 int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString );
\r
1193 cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 );
\r
1194 cmbGender->SetSelection( 0 );
\r
1195 bSizer20->Add( cmbGender, 0, wxALL, 5 );
\r
1197 txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1198 txtGenderDescription->SetMaxLength( 0 );
\r
1199 bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1202 fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 );
\r
1204 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1205 lblType->Wrap( -1 );
\r
1206 fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1208 wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") };
\r
1209 int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString );
\r
1210 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 );
\r
1211 cmbType->SetSelection( 0 );
\r
1212 fgSizer5->Add( cmbType, 0, wxALL, 5 );
\r
1214 lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1215 lblNicknames->Wrap( -1 );
\r
1216 fgSizer5->Add( lblNicknames, 0, wxALL, 5 );
\r
1218 wxBoxSizer* szrNicknames;
\r
1219 szrNicknames = new wxBoxSizer( wxHORIZONTAL );
\r
1221 lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1222 szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 );
\r
1224 wxBoxSizer* szrAddressesOuter3;
\r
1225 szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL );
\r
1227 wxBoxSizer* bSizer464;
\r
1228 bSizer464 = new wxBoxSizer( wxHORIZONTAL );
\r
1230 wxBoxSizer* bSizer474;
\r
1231 bSizer474 = new wxBoxSizer( wxVERTICAL );
\r
1233 btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1234 bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 );
\r
1236 btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1237 bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 );
\r
1239 btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1240 bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 );
\r
1243 bSizer464->Add( bSizer474, 1, wxEXPAND, 5 );
\r
1246 szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 );
\r
1249 szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 );
\r
1252 fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 );
\r
1254 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1255 lblAddress->Wrap( -1 );
\r
1256 fgSizer5->Add( lblAddress, 0, wxALL, 5 );
\r
1258 wxBoxSizer* szrAddresses;
\r
1259 szrAddresses = new wxBoxSizer( wxHORIZONTAL );
\r
1261 lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1262 szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 );
\r
1264 wxBoxSizer* szrAddressesOuter;
\r
1265 szrAddressesOuter = new wxBoxSizer( wxVERTICAL );
\r
1267 wxBoxSizer* bSizer46;
\r
1268 bSizer46 = new wxBoxSizer( wxHORIZONTAL );
\r
1270 wxBoxSizer* bSizer47;
\r
1271 bSizer47 = new wxBoxSizer( wxVERTICAL );
\r
1273 btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1274 bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 );
\r
1276 btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1277 bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 );
\r
1279 btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1280 bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 );
\r
1283 bSizer46->Add( bSizer47, 1, wxEXPAND, 5 );
\r
1286 szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 );
\r
1289 szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 );
\r
1292 fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 );
\r
1294 lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1295 lblEmail->Wrap( -1 );
\r
1296 fgSizer5->Add( lblEmail, 0, wxALL, 5 );
\r
1298 wxBoxSizer* bSizer301;
\r
1299 bSizer301 = new wxBoxSizer( wxHORIZONTAL );
\r
1301 lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1302 bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 );
\r
1304 wxBoxSizer* bSizer351;
\r
1305 bSizer351 = new wxBoxSizer( wxVERTICAL );
\r
1307 wxBoxSizer* bSizer461;
\r
1308 bSizer461 = new wxBoxSizer( wxHORIZONTAL );
\r
1310 wxBoxSizer* bSizer471;
\r
1311 bSizer471 = new wxBoxSizer( wxVERTICAL );
\r
1313 btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1314 bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 );
\r
1316 btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1317 bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 );
\r
1319 btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1320 bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 );
\r
1323 bSizer461->Add( bSizer471, 1, wxEXPAND, 5 );
\r
1326 bSizer351->Add( bSizer461, 1, wxEXPAND, 5 );
\r
1329 bSizer301->Add( bSizer351, 0, wxEXPAND, 5 );
\r
1332 fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 );
\r
1334 lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1336 fgSizer5->Add( lblIM, 0, wxALL, 5 );
\r
1338 wxBoxSizer* bSizer3011;
\r
1339 bSizer3011 = new wxBoxSizer( wxHORIZONTAL );
\r
1341 lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1342 bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 );
\r
1344 wxBoxSizer* bSizer3511;
\r
1345 bSizer3511 = new wxBoxSizer( wxVERTICAL );
\r
1347 wxBoxSizer* bSizer4611;
\r
1348 bSizer4611 = new wxBoxSizer( wxHORIZONTAL );
\r
1350 wxBoxSizer* bSizer4711;
\r
1351 bSizer4711 = new wxBoxSizer( wxVERTICAL );
\r
1353 btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1354 bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 );
\r
1356 btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1357 bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 );
\r
1359 btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1360 bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 );
\r
1363 bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 );
\r
1366 bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 );
\r
1369 bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 );
\r
1372 fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 );
\r
1374 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1375 lblTelephone->Wrap( 0 );
\r
1376 fgSizer5->Add( lblTelephone, 0, wxALL, 5 );
\r
1378 wxBoxSizer* bSizer30111;
\r
1379 bSizer30111 = new wxBoxSizer( wxHORIZONTAL );
\r
1381 lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1382 bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 );
\r
1384 wxBoxSizer* bSizer35111;
\r
1385 bSizer35111 = new wxBoxSizer( wxVERTICAL );
\r
1387 wxBoxSizer* bSizer46111;
\r
1388 bSizer46111 = new wxBoxSizer( wxHORIZONTAL );
\r
1390 wxBoxSizer* bSizer47111;
\r
1391 bSizer47111 = new wxBoxSizer( wxVERTICAL );
\r
1393 btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1394 bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 );
\r
1396 btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1397 bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 );
\r
1399 btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1400 bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 );
\r
1403 bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 );
\r
1406 bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 );
\r
1409 bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 );
\r
1412 fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 );
\r
1414 lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1415 lblLanguages->Wrap( 0 );
\r
1416 fgSizer5->Add( lblLanguages, 0, wxALL, 5 );
\r
1418 wxBoxSizer* bSizer301111;
\r
1419 bSizer301111 = new wxBoxSizer( wxHORIZONTAL );
\r
1421 lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1422 bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 );
\r
1424 wxBoxSizer* bSizer351111;
\r
1425 bSizer351111 = new wxBoxSizer( wxVERTICAL );
\r
1427 wxBoxSizer* bSizer461111;
\r
1428 bSizer461111 = new wxBoxSizer( wxHORIZONTAL );
\r
1430 wxBoxSizer* bSizer471111;
\r
1431 bSizer471111 = new wxBoxSizer( wxVERTICAL );
\r
1433 btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1434 bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 );
\r
1436 btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1437 bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 );
\r
1439 btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1440 bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 );
\r
1443 bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 );
\r
1446 bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 );
\r
1449 bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 );
\r
1452 fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 );
\r
1454 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1455 lblTimezone->Wrap( 0 );
\r
1456 fgSizer5->Add( lblTimezone, 0, wxALL, 5 );
\r
1458 wxBoxSizer* bSizer3011111;
\r
1459 bSizer3011111 = new wxBoxSizer( wxHORIZONTAL );
\r
1461 lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1462 bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 );
\r
1464 wxBoxSizer* bSizer3511111;
\r
1465 bSizer3511111 = new wxBoxSizer( wxVERTICAL );
\r
1467 wxBoxSizer* bSizer4611111;
\r
1468 bSizer4611111 = new wxBoxSizer( wxHORIZONTAL );
\r
1470 wxBoxSizer* bSizer4711111;
\r
1471 bSizer4711111 = new wxBoxSizer( wxVERTICAL );
\r
1473 btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1474 bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 );
\r
1476 btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1477 bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 );
\r
1479 btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1480 bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 );
\r
1483 bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 );
\r
1486 bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 );
\r
1489 bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 );
\r
1492 fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 );
\r
1494 lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1495 lblGeopositioning->Wrap( -1 );
\r
1496 fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 );
\r
1498 wxBoxSizer* bSizer30111114;
\r
1499 bSizer30111114 = new wxBoxSizer( wxHORIZONTAL );
\r
1501 lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1502 bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
1504 wxBoxSizer* bSizer35111114;
\r
1505 bSizer35111114 = new wxBoxSizer( wxVERTICAL );
\r
1507 wxBoxSizer* bSizer46111114;
\r
1508 bSizer46111114 = new wxBoxSizer( wxHORIZONTAL );
\r
1510 wxBoxSizer* bSizer47111114;
\r
1511 bSizer47111114 = new wxBoxSizer( wxVERTICAL );
\r
1513 btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1514 bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 );
\r
1516 btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1517 bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 );
\r
1519 btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1520 bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 );
\r
1523 bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 );
\r
1526 bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 );
\r
1529 bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 );
\r
1532 fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 );
\r
1534 lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1535 lblRelated->Wrap( 1 );
\r
1536 fgSizer5->Add( lblRelated, 0, wxALL, 5 );
\r
1538 wxBoxSizer* bSizer30111111;
\r
1539 bSizer30111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1541 lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1542 bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 );
\r
1544 wxBoxSizer* bSizer35111111;
\r
1545 bSizer35111111 = new wxBoxSizer( wxVERTICAL );
\r
1547 wxBoxSizer* bSizer46111111;
\r
1548 bSizer46111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1550 wxBoxSizer* bSizer47111111;
\r
1551 bSizer47111111 = new wxBoxSizer( wxVERTICAL );
\r
1553 btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1554 bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 );
\r
1556 btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1557 bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 );
\r
1559 btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1560 bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 );
\r
1563 bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 );
\r
1566 bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 );
\r
1569 bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 );
\r
1572 fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 );
\r
1574 lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1575 lblWebsites->Wrap( 1 );
\r
1576 fgSizer5->Add( lblWebsites, 0, wxALL, 5 );
\r
1578 wxBoxSizer* bSizer301111111;
\r
1579 bSizer301111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1581 lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1582 bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 );
\r
1584 wxBoxSizer* bSizer351111111;
\r
1585 bSizer351111111 = new wxBoxSizer( wxVERTICAL );
\r
1587 wxBoxSizer* bSizer461111111;
\r
1588 bSizer461111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1590 wxBoxSizer* bSizer471111111;
\r
1591 bSizer471111111 = new wxBoxSizer( wxVERTICAL );
\r
1593 btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1594 bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 );
\r
1596 btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1597 bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 );
\r
1599 btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1600 bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 );
\r
1603 bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 );
\r
1606 bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 );
\r
1609 bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 );
\r
1612 fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 );
\r
1614 lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1615 lblTitles->Wrap( 1 );
\r
1616 fgSizer5->Add( lblTitles, 0, wxALL, 5 );
\r
1618 wxBoxSizer* bSizer3011111111;
\r
1619 bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1621 lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1622 bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 );
\r
1624 wxBoxSizer* bSizer3511111111;
\r
1625 bSizer3511111111 = new wxBoxSizer( wxVERTICAL );
\r
1627 wxBoxSizer* bSizer4611111111;
\r
1628 bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1630 wxBoxSizer* bSizer4711111111;
\r
1631 bSizer4711111111 = new wxBoxSizer( wxVERTICAL );
\r
1633 btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1634 bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 );
\r
1636 btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1637 bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 );
\r
1639 btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1640 bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 );
\r
1643 bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 );
\r
1646 bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 );
\r
1649 bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 );
\r
1652 fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 );
\r
1654 lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1655 lblRoles->Wrap( 1 );
\r
1656 fgSizer5->Add( lblRoles, 0, wxALL, 5 );
\r
1658 wxBoxSizer* bSizer30111111111;
\r
1659 bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1661 lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1662 bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 );
\r
1664 wxBoxSizer* bSizer35111111111;
\r
1665 bSizer35111111111 = new wxBoxSizer( wxVERTICAL );
\r
1667 wxBoxSizer* bSizer46111111111;
\r
1668 bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1670 wxBoxSizer* bSizer47111111111;
\r
1671 bSizer47111111111 = new wxBoxSizer( wxVERTICAL );
\r
1673 btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1674 bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 );
\r
1676 btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1677 bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 );
\r
1679 btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1680 bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 );
\r
1683 bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 );
\r
1686 bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 );
\r
1689 bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 );
\r
1692 fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 );
\r
1694 lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1695 lblOrganisations->Wrap( 1 );
\r
1696 fgSizer5->Add( lblOrganisations, 0, wxALL, 5 );
\r
1698 wxBoxSizer* bSizer301111111111;
\r
1699 bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1701 lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1702 bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
1704 wxBoxSizer* bSizer351111111111;
\r
1705 bSizer351111111111 = new wxBoxSizer( wxVERTICAL );
\r
1707 wxBoxSizer* bSizer461111111111;
\r
1708 bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1710 wxBoxSizer* bSizer471111111111;
\r
1711 bSizer471111111111 = new wxBoxSizer( wxVERTICAL );
\r
1713 btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1714 bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 );
\r
1716 btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1717 bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 );
\r
1719 btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1720 bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 );
\r
1723 bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 );
\r
1726 bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 );
\r
1729 bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 );
\r
1732 fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 );
\r
1734 lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1735 lblNotes->Wrap( 1 );
\r
1736 fgSizer5->Add( lblNotes, 0, wxALL, 5 );
\r
1738 wxBoxSizer* bSizer3011111111111;
\r
1739 bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1741 lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1742 bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 );
\r
1744 wxBoxSizer* bSizer3511111111111;
\r
1745 bSizer3511111111111 = new wxBoxSizer( wxVERTICAL );
\r
1747 wxBoxSizer* bSizer4611111111111;
\r
1748 bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1750 wxBoxSizer* bSizer4711111111111;
\r
1751 bSizer4711111111111 = new wxBoxSizer( wxVERTICAL );
\r
1753 btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1754 bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 );
\r
1756 btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1757 bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 );
\r
1759 btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1760 bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 );
\r
1763 bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 );
\r
1766 bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 );
\r
1769 bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 );
\r
1772 fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 );
\r
1775 bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 );
\r
1778 tabGeneral->SetSizer( bSizer18 );
\r
1779 tabGeneral->Layout();
\r
1780 bSizer18->Fit( tabGeneral );
\r
1781 nbkContact->AddPage( tabGeneral, wxT("General"), false );
\r
1782 tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
1783 tabHome->SetScrollRate( 5, 5 );
\r
1784 wxBoxSizer* bSizer181;
\r
1785 bSizer181 = new wxBoxSizer( wxVERTICAL );
\r
1787 wxGridSizer* gSizer71;
\r
1788 gSizer71 = new wxGridSizer( 2, 6, 0, 0 );
\r
1791 bSizer181->Add( gSizer71, 0, wxEXPAND, 5 );
\r
1793 wxFlexGridSizer* fgSizer51;
\r
1794 fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
1795 fgSizer51->AddGrowableCol( 1 );
\r
1796 fgSizer51->SetFlexibleDirection( wxBOTH );
\r
1797 fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
1799 lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1800 lblHomeNickname->Wrap( 0 );
\r
1801 fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 );
\r
1803 wxBoxSizer* szrAddresses12;
\r
1804 szrAddresses12 = new wxBoxSizer( wxHORIZONTAL );
\r
1806 lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1807 szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 );
\r
1809 wxBoxSizer* szrAddressesOuter11;
\r
1810 szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
1812 wxBoxSizer* bSizer4622;
\r
1813 bSizer4622 = new wxBoxSizer( wxHORIZONTAL );
\r
1815 wxBoxSizer* bSizer4722;
\r
1816 bSizer4722 = new wxBoxSizer( wxVERTICAL );
\r
1818 btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1819 bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 );
\r
1821 btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1822 bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 );
\r
1824 btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1825 bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 );
\r
1828 bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 );
\r
1831 szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 );
\r
1834 szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 );
\r
1837 fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 );
\r
1839 lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1840 lblHomeAddresses->Wrap( 1 );
\r
1841 fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 );
\r
1843 wxBoxSizer* szrAddresses1;
\r
1844 szrAddresses1 = new wxBoxSizer( wxHORIZONTAL );
\r
1846 lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1847 szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 );
\r
1849 wxBoxSizer* szrAddressesOuter1;
\r
1850 szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL );
\r
1852 wxBoxSizer* bSizer462;
\r
1853 bSizer462 = new wxBoxSizer( wxHORIZONTAL );
\r
1855 wxBoxSizer* bSizer472;
\r
1856 bSizer472 = new wxBoxSizer( wxVERTICAL );
\r
1858 btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1859 bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 );
\r
1861 btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1862 bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 );
\r
1864 btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1865 bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 );
\r
1868 bSizer462->Add( bSizer472, 1, wxEXPAND, 5 );
\r
1871 szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 );
\r
1874 szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 );
\r
1877 fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 );
\r
1879 lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1880 lblHomeEmail->Wrap( 1 );
\r
1881 fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 );
\r
1883 wxBoxSizer* bSizer3012;
\r
1884 bSizer3012 = new wxBoxSizer( wxHORIZONTAL );
\r
1886 lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1887 bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 );
\r
1889 wxBoxSizer* bSizer3512;
\r
1890 bSizer3512 = new wxBoxSizer( wxVERTICAL );
\r
1892 wxBoxSizer* bSizer4612;
\r
1893 bSizer4612 = new wxBoxSizer( wxHORIZONTAL );
\r
1895 wxBoxSizer* bSizer4712;
\r
1896 bSizer4712 = new wxBoxSizer( wxVERTICAL );
\r
1898 btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1899 bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 );
\r
1901 btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1902 bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 );
\r
1904 btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1905 bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 );
\r
1908 bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 );
\r
1911 bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 );
\r
1914 bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 );
\r
1917 fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 );
\r
1919 lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1920 lblHomeIM->Wrap( 0 );
\r
1921 fgSizer51->Add( lblHomeIM, 0, wxALL, 5 );
\r
1923 wxBoxSizer* bSizer30112;
\r
1924 bSizer30112 = new wxBoxSizer( wxHORIZONTAL );
\r
1926 lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1927 bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 );
\r
1929 wxBoxSizer* bSizer35112;
\r
1930 bSizer35112 = new wxBoxSizer( wxVERTICAL );
\r
1932 wxBoxSizer* bSizer46112;
\r
1933 bSizer46112 = new wxBoxSizer( wxHORIZONTAL );
\r
1935 wxBoxSizer* bSizer47112;
\r
1936 bSizer47112 = new wxBoxSizer( wxVERTICAL );
\r
1938 btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1939 bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 );
\r
1941 btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1942 bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 );
\r
1944 btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1945 bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 );
\r
1948 bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 );
\r
1951 bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 );
\r
1954 bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 );
\r
1957 fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 );
\r
1959 lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1960 lblHomeTelephone->Wrap( 0 );
\r
1961 fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 );
\r
1963 wxBoxSizer* bSizer301112;
\r
1964 bSizer301112 = new wxBoxSizer( wxHORIZONTAL );
\r
1966 lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1967 bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 );
\r
1969 wxBoxSizer* bSizer351112;
\r
1970 bSizer351112 = new wxBoxSizer( wxVERTICAL );
\r
1972 wxBoxSizer* bSizer461112;
\r
1973 bSizer461112 = new wxBoxSizer( wxHORIZONTAL );
\r
1975 wxBoxSizer* bSizer471112;
\r
1976 bSizer471112 = new wxBoxSizer( wxVERTICAL );
\r
1978 btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1979 bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 );
\r
1981 btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1982 bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 );
\r
1984 btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1985 bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 );
\r
1988 bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 );
\r
1991 bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 );
\r
1994 bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 );
\r
1997 fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 );
\r
1999 lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2000 lblHomeLanguages->Wrap( 0 );
\r
2001 fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 );
\r
2003 wxBoxSizer* bSizer3011112;
\r
2004 bSizer3011112 = new wxBoxSizer( wxHORIZONTAL );
\r
2006 lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2007 bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 );
\r
2009 wxBoxSizer* bSizer3511112;
\r
2010 bSizer3511112 = new wxBoxSizer( wxVERTICAL );
\r
2012 wxBoxSizer* bSizer4611112;
\r
2013 bSizer4611112 = new wxBoxSizer( wxHORIZONTAL );
\r
2015 wxBoxSizer* bSizer4711112;
\r
2016 bSizer4711112 = new wxBoxSizer( wxVERTICAL );
\r
2018 btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2019 bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 );
\r
2021 btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2022 bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 );
\r
2024 btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2025 bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 );
\r
2028 bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 );
\r
2031 bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 );
\r
2034 bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 );
\r
2037 fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 );
\r
2039 lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2040 lblHomeTimezone->Wrap( 0 );
\r
2041 fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 );
\r
2043 wxBoxSizer* bSizer30111112;
\r
2044 bSizer30111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2046 lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2047 bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 );
\r
2049 wxBoxSizer* bSizer35111112;
\r
2050 bSizer35111112 = new wxBoxSizer( wxVERTICAL );
\r
2052 wxBoxSizer* bSizer46111112;
\r
2053 bSizer46111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2055 wxBoxSizer* bSizer47111112;
\r
2056 bSizer47111112 = new wxBoxSizer( wxVERTICAL );
\r
2058 btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2059 bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 );
\r
2061 btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2062 bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 );
\r
2064 btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2065 bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 );
\r
2068 bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 );
\r
2071 bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 );
\r
2074 bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 );
\r
2077 fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 );
\r
2079 lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2080 lblHomeGeopositioning->Wrap( 0 );
\r
2081 fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 );
\r
2083 wxBoxSizer* bSizer301111141;
\r
2084 bSizer301111141 = new wxBoxSizer( wxHORIZONTAL );
\r
2086 lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2087 bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
2089 wxBoxSizer* bSizer351111141;
\r
2090 bSizer351111141 = new wxBoxSizer( wxVERTICAL );
\r
2092 wxBoxSizer* bSizer461111141;
\r
2093 bSizer461111141 = new wxBoxSizer( wxHORIZONTAL );
\r
2095 wxBoxSizer* bSizer471111141;
\r
2096 bSizer471111141 = new wxBoxSizer( wxVERTICAL );
\r
2098 btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2099 bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 );
\r
2101 btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2102 bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 );
\r
2104 btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2105 bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 );
\r
2108 bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 );
\r
2111 bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 );
\r
2114 bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 );
\r
2117 fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 );
\r
2119 lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2120 lblHomeWebsites->Wrap( 1 );
\r
2121 fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 );
\r
2123 wxBoxSizer* bSizer3011111112;
\r
2124 bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2126 lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2127 bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 );
\r
2129 wxBoxSizer* bSizer3511111112;
\r
2130 bSizer3511111112 = new wxBoxSizer( wxVERTICAL );
\r
2132 wxBoxSizer* bSizer4611111112;
\r
2133 bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2135 wxBoxSizer* bSizer4711111112;
\r
2136 bSizer4711111112 = new wxBoxSizer( wxVERTICAL );
\r
2138 btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2139 bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 );
\r
2141 btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2142 bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 );
\r
2144 btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2145 bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 );
\r
2148 bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 );
\r
2151 bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 );
\r
2154 bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 );
\r
2157 fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 );
\r
2159 lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2160 lblHomeTitles->Wrap( 1 );
\r
2161 fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 );
\r
2163 wxBoxSizer* bSizer30111111112;
\r
2164 bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2166 lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2167 bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 );
\r
2169 wxBoxSizer* bSizer35111111112;
\r
2170 bSizer35111111112 = new wxBoxSizer( wxVERTICAL );
\r
2172 wxBoxSizer* bSizer46111111112;
\r
2173 bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2175 wxBoxSizer* bSizer47111111112;
\r
2176 bSizer47111111112 = new wxBoxSizer( wxVERTICAL );
\r
2178 btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2179 bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 );
\r
2181 btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2182 bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 );
\r
2184 btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2185 bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 );
\r
2188 bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 );
\r
2191 bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 );
\r
2194 bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 );
\r
2197 fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 );
\r
2199 lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2200 lblHomeRoles->Wrap( 1 );
\r
2201 fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 );
\r
2203 wxBoxSizer* bSizer301111111112;
\r
2204 bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2206 lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2207 bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 );
\r
2209 wxBoxSizer* bSizer351111111112;
\r
2210 bSizer351111111112 = new wxBoxSizer( wxVERTICAL );
\r
2212 wxBoxSizer* bSizer461111111112;
\r
2213 bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2215 wxBoxSizer* bSizer471111111112;
\r
2216 bSizer471111111112 = new wxBoxSizer( wxVERTICAL );
\r
2218 btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2219 bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 );
\r
2221 btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2222 bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 );
\r
2224 btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2225 bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 );
\r
2228 bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 );
\r
2231 bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 );
\r
2234 bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 );
\r
2237 fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 );
\r
2239 lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2240 lblHomeOrganisations->Wrap( 1 );
\r
2241 fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 );
\r
2243 wxBoxSizer* bSizer3011111111112;
\r
2244 bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2246 lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2247 bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
2249 wxBoxSizer* bSizer3511111111112;
\r
2250 bSizer3511111111112 = new wxBoxSizer( wxVERTICAL );
\r
2252 wxBoxSizer* bSizer4611111111112;
\r
2253 bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2255 wxBoxSizer* bSizer4711111111112;
\r
2256 bSizer4711111111112 = new wxBoxSizer( wxVERTICAL );
\r
2258 btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2259 bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 );
\r
2261 btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2262 bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 );
\r
2264 btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2265 bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 );
\r
2268 bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 );
\r
2271 bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 );
\r
2274 bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 );
\r
2277 fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 );
\r
2279 lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2280 lblHomeNotes->Wrap( 1 );
\r
2281 fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 );
\r
2283 wxBoxSizer* bSizer30111111111111;
\r
2284 bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
2286 lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2287 bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 );
\r
2289 wxBoxSizer* bSizer35111111111111;
\r
2290 bSizer35111111111111 = new wxBoxSizer( wxVERTICAL );
\r
2292 wxBoxSizer* bSizer46111111111111;
\r
2293 bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
2295 wxBoxSizer* bSizer47111111111111;
\r
2296 bSizer47111111111111 = new wxBoxSizer( wxVERTICAL );
\r
2298 btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2299 bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 );
\r
2301 btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2302 bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 );
\r
2304 btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2305 bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 );
\r
2308 bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 );
\r
2311 bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 );
\r
2314 bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 );
\r
2317 fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 );
\r
2320 bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 );
\r
2323 tabHome->SetSizer( bSizer181 );
\r
2324 tabHome->Layout();
\r
2325 bSizer181->Fit( tabHome );
\r
2326 nbkContact->AddPage( tabHome, wxT("Home"), false );
\r
2327 tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2328 tabBusiness->SetScrollRate( 5, 5 );
\r
2329 wxBoxSizer* bSizer182;
\r
2330 bSizer182 = new wxBoxSizer( wxVERTICAL );
\r
2332 wxGridSizer* gSizer72;
\r
2333 gSizer72 = new wxGridSizer( 2, 6, 0, 0 );
\r
2336 bSizer182->Add( gSizer72, 0, wxEXPAND, 5 );
\r
2338 wxFlexGridSizer* fgSizer52;
\r
2339 fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
2340 fgSizer52->AddGrowableCol( 1 );
\r
2341 fgSizer52->SetFlexibleDirection( wxBOTH );
\r
2342 fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
2344 lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2345 lblBusinessNickname->Wrap( 0 );
\r
2346 fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 );
\r
2348 wxBoxSizer* szrAddresses22;
\r
2349 szrAddresses22 = new wxBoxSizer( wxHORIZONTAL );
\r
2351 lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2352 szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 );
\r
2354 wxBoxSizer* szrAddressesOuter22;
\r
2355 szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL );
\r
2357 wxBoxSizer* bSizer4632;
\r
2358 bSizer4632 = new wxBoxSizer( wxHORIZONTAL );
\r
2360 wxBoxSizer* bSizer4732;
\r
2361 bSizer4732 = new wxBoxSizer( wxVERTICAL );
\r
2363 btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2364 bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 );
\r
2366 btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2367 bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 );
\r
2369 btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2370 bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 );
\r
2373 bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 );
\r
2376 szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 );
\r
2379 szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 );
\r
2382 fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 );
\r
2384 lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2385 lblBusinessAddress->Wrap( 0 );
\r
2386 fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 );
\r
2388 wxBoxSizer* szrAddresses2;
\r
2389 szrAddresses2 = new wxBoxSizer( wxHORIZONTAL );
\r
2391 lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2392 szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 );
\r
2394 wxBoxSizer* szrAddressesOuter2;
\r
2395 szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL );
\r
2397 wxBoxSizer* bSizer463;
\r
2398 bSizer463 = new wxBoxSizer( wxHORIZONTAL );
\r
2400 wxBoxSizer* bSizer473;
\r
2401 bSizer473 = new wxBoxSizer( wxVERTICAL );
\r
2403 btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2404 bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 );
\r
2406 btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2407 bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 );
\r
2409 btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2410 bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 );
\r
2413 bSizer463->Add( bSizer473, 1, wxEXPAND, 5 );
\r
2416 szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 );
\r
2419 szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 );
\r
2422 fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 );
\r
2424 lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2425 lblBusinessEmail->Wrap( 0 );
\r
2426 fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 );
\r
2428 wxBoxSizer* bSizer3013;
\r
2429 bSizer3013 = new wxBoxSizer( wxHORIZONTAL );
\r
2431 lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2432 bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 );
\r
2434 wxBoxSizer* bSizer3513;
\r
2435 bSizer3513 = new wxBoxSizer( wxVERTICAL );
\r
2437 wxBoxSizer* bSizer4613;
\r
2438 bSizer4613 = new wxBoxSizer( wxHORIZONTAL );
\r
2440 wxBoxSizer* bSizer4713;
\r
2441 bSizer4713 = new wxBoxSizer( wxVERTICAL );
\r
2443 btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2444 bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 );
\r
2446 btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2447 bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 );
\r
2449 btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2450 bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 );
\r
2453 bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 );
\r
2456 bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 );
\r
2459 bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 );
\r
2462 fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 );
\r
2464 lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2465 lblBusinessIM->Wrap( 0 );
\r
2466 fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 );
\r
2468 wxBoxSizer* bSizer30113;
\r
2469 bSizer30113 = new wxBoxSizer( wxHORIZONTAL );
\r
2471 lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2472 bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 );
\r
2474 wxBoxSizer* bSizer35113;
\r
2475 bSizer35113 = new wxBoxSizer( wxVERTICAL );
\r
2477 wxBoxSizer* bSizer46113;
\r
2478 bSizer46113 = new wxBoxSizer( wxHORIZONTAL );
\r
2480 wxBoxSizer* bSizer47113;
\r
2481 bSizer47113 = new wxBoxSizer( wxVERTICAL );
\r
2483 btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2484 bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 );
\r
2486 btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2487 bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 );
\r
2489 btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2490 bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 );
\r
2493 bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 );
\r
2496 bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 );
\r
2499 bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 );
\r
2502 fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 );
\r
2504 lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2505 lblBusinessTelephone->Wrap( 0 );
\r
2506 fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 );
\r
2508 wxBoxSizer* bSizer301113;
\r
2509 bSizer301113 = new wxBoxSizer( wxHORIZONTAL );
\r
2511 lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2512 bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 );
\r
2514 wxBoxSizer* bSizer351113;
\r
2515 bSizer351113 = new wxBoxSizer( wxVERTICAL );
\r
2517 wxBoxSizer* bSizer461113;
\r
2518 bSizer461113 = new wxBoxSizer( wxHORIZONTAL );
\r
2520 wxBoxSizer* bSizer471113;
\r
2521 bSizer471113 = new wxBoxSizer( wxVERTICAL );
\r
2523 btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2524 bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 );
\r
2526 btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2527 bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 );
\r
2529 btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2530 bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 );
\r
2533 bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 );
\r
2536 bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 );
\r
2539 bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 );
\r
2542 fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 );
\r
2544 lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2545 lblBusinessLanguage->Wrap( 0 );
\r
2546 fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 );
\r
2548 wxBoxSizer* bSizer3011113;
\r
2549 bSizer3011113 = new wxBoxSizer( wxHORIZONTAL );
\r
2551 lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2552 bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 );
\r
2554 wxBoxSizer* bSizer3511113;
\r
2555 bSizer3511113 = new wxBoxSizer( wxVERTICAL );
\r
2557 wxBoxSizer* bSizer4611113;
\r
2558 bSizer4611113 = new wxBoxSizer( wxHORIZONTAL );
\r
2560 wxBoxSizer* bSizer4711113;
\r
2561 bSizer4711113 = new wxBoxSizer( wxVERTICAL );
\r
2563 btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2564 bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 );
\r
2566 btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2567 bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 );
\r
2569 btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2570 bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 );
\r
2573 bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 );
\r
2576 bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 );
\r
2579 bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 );
\r
2582 fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 );
\r
2584 lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2585 lblBusinessTimezones->Wrap( 0 );
\r
2586 fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 );
\r
2588 wxBoxSizer* bSizer30111113;
\r
2589 bSizer30111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2591 lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2592 bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 );
\r
2594 wxBoxSizer* bSizer35111113;
\r
2595 bSizer35111113 = new wxBoxSizer( wxVERTICAL );
\r
2597 wxBoxSizer* bSizer46111113;
\r
2598 bSizer46111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2600 wxBoxSizer* bSizer47111113;
\r
2601 bSizer47111113 = new wxBoxSizer( wxVERTICAL );
\r
2603 btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2604 bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 );
\r
2606 btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2607 bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 );
\r
2609 btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2610 bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 );
\r
2613 bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 );
\r
2616 bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 );
\r
2619 bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 );
\r
2622 fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 );
\r
2624 lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2625 lblBusinessGeopositioning->Wrap( 0 );
\r
2626 fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 );
\r
2628 wxBoxSizer* bSizer3011111411;
\r
2629 bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL );
\r
2631 lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2632 bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
2634 wxBoxSizer* bSizer3511111411;
\r
2635 bSizer3511111411 = new wxBoxSizer( wxVERTICAL );
\r
2637 wxBoxSizer* bSizer4611111411;
\r
2638 bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL );
\r
2640 wxBoxSizer* bSizer4711111411;
\r
2641 bSizer4711111411 = new wxBoxSizer( wxVERTICAL );
\r
2643 btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2644 bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 );
\r
2646 btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2647 bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 );
\r
2649 btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2650 bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 );
\r
2653 bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 );
\r
2656 bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 );
\r
2659 bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 );
\r
2662 fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 );
\r
2664 lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2665 lblBusinessWebsites->Wrap( 1 );
\r
2666 fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 );
\r
2668 wxBoxSizer* bSizer3011111113;
\r
2669 bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2671 lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2672 bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 );
\r
2674 wxBoxSizer* bSizer3511111113;
\r
2675 bSizer3511111113 = new wxBoxSizer( wxVERTICAL );
\r
2677 wxBoxSizer* bSizer4611111113;
\r
2678 bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2680 wxBoxSizer* bSizer4711111113;
\r
2681 bSizer4711111113 = new wxBoxSizer( wxVERTICAL );
\r
2683 btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2684 bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 );
\r
2686 btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2687 bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 );
\r
2689 btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2690 bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 );
\r
2693 bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 );
\r
2696 bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 );
\r
2699 bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 );
\r
2702 fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 );
\r
2704 lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2705 lblBusinessTitles->Wrap( 1 );
\r
2706 fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 );
\r
2708 wxBoxSizer* bSizer30111111113;
\r
2709 bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2711 lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
2712 bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 );
\r
2714 wxBoxSizer* bSizer35111111113;
\r
2715 bSizer35111111113 = new wxBoxSizer( wxVERTICAL );
\r
2717 wxBoxSizer* bSizer46111111113;
\r
2718 bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2720 wxBoxSizer* bSizer47111111113;
\r
2721 bSizer47111111113 = new wxBoxSizer( wxVERTICAL );
\r
2723 btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2724 bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 );
\r
2726 btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2727 bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 );
\r
2729 btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2730 bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 );
\r
2733 bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 );
\r
2736 bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 );
\r
2739 bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 );
\r
2742 fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 );
\r
2744 lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2745 lblBusinessRoles->Wrap( 1 );
\r
2746 fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 );
\r
2748 wxBoxSizer* bSizer301111111113;
\r
2749 bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2751 lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2752 bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 );
\r
2754 wxBoxSizer* bSizer351111111113;
\r
2755 bSizer351111111113 = new wxBoxSizer( wxVERTICAL );
\r
2757 wxBoxSizer* bSizer461111111113;
\r
2758 bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2760 wxBoxSizer* bSizer471111111113;
\r
2761 bSizer471111111113 = new wxBoxSizer( wxVERTICAL );
\r
2763 btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2764 bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 );
\r
2766 btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2767 bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 );
\r
2769 btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2770 bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 );
\r
2773 bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 );
\r
2776 bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 );
\r
2779 bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 );
\r
2782 fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 );
\r
2784 lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2785 lblBusinessOrganisations->Wrap( 1 );
\r
2786 fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 );
\r
2788 wxBoxSizer* bSizer3011111111113;
\r
2789 bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2791 lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2792 bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
2794 wxBoxSizer* bSizer3511111111113;
\r
2795 bSizer3511111111113 = new wxBoxSizer( wxVERTICAL );
\r
2797 wxBoxSizer* bSizer4611111111113;
\r
2798 bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2800 wxBoxSizer* bSizer4711111111113;
\r
2801 bSizer4711111111113 = new wxBoxSizer( wxVERTICAL );
\r
2803 btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2804 bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 );
\r
2806 btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2807 bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 );
\r
2809 btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2810 bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 );
\r
2813 bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 );
\r
2816 bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 );
\r
2819 bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 );
\r
2822 fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 );
\r
2824 lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2825 lblBusinessNotes->Wrap( 1 );
\r
2826 fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 );
\r
2828 wxBoxSizer* bSizer30111111111112;
\r
2829 bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2831 lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2832 bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 );
\r
2834 wxBoxSizer* bSizer35111111111112;
\r
2835 bSizer35111111111112 = new wxBoxSizer( wxVERTICAL );
\r
2837 wxBoxSizer* bSizer46111111111112;
\r
2838 bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2840 wxBoxSizer* bSizer47111111111112;
\r
2841 bSizer47111111111112 = new wxBoxSizer( wxVERTICAL );
\r
2843 btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2844 bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 );
\r
2846 btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2847 bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 );
\r
2849 btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2850 bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 );
\r
2853 bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 );
\r
2856 bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 );
\r
2859 bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 );
\r
2862 fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 );
\r
2865 bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 );
\r
2868 tabBusiness->SetSizer( bSizer182 );
\r
2869 tabBusiness->Layout();
\r
2870 bSizer182->Fit( tabBusiness );
\r
2871 nbkContact->AddPage( tabBusiness, wxT("Business"), false );
\r
2872 tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2873 tabCategories->SetScrollRate( 5, 5 );
\r
2874 wxBoxSizer* szrAddresses11;
\r
2875 szrAddresses11 = new wxBoxSizer( wxHORIZONTAL );
\r
2877 lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2878 szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 );
\r
2880 wxBoxSizer* szrCategoriesOuter;
\r
2881 szrCategoriesOuter = new wxBoxSizer( wxVERTICAL );
\r
2883 wxBoxSizer* bSizer4621;
\r
2884 bSizer4621 = new wxBoxSizer( wxHORIZONTAL );
\r
2886 wxBoxSizer* bSizer4721;
\r
2887 bSizer4721 = new wxBoxSizer( wxVERTICAL );
\r
2889 btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2890 bSizer4721->Add( btnAddCategory, 0, wxALL, 5 );
\r
2892 btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2893 bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 );
\r
2895 btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2896 bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 );
\r
2899 bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 );
\r
2902 szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 );
\r
2905 szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 );
\r
2908 tabCategories->SetSizer( szrAddresses11 );
\r
2909 tabCategories->Layout();
\r
2910 szrAddresses11->Fit( tabCategories );
\r
2911 nbkContact->AddPage( tabCategories, wxT("Categories"), false );
\r
2912 tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2913 tabMembers->SetScrollRate( 5, 5 );
\r
2914 wxBoxSizer* szrAddresses111;
\r
2915 szrAddresses111 = new wxBoxSizer( wxHORIZONTAL );
\r
2917 lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2918 szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 );
\r
2920 wxBoxSizer* szrCategoriesOuter1;
\r
2921 szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL );
\r
2923 wxBoxSizer* bSizer46211;
\r
2924 bSizer46211 = new wxBoxSizer( wxHORIZONTAL );
\r
2926 wxBoxSizer* bSizer47211;
\r
2927 bSizer47211 = new wxBoxSizer( wxVERTICAL );
\r
2929 btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2930 bSizer47211->Add( btnAddGroups, 0, wxALL, 5 );
\r
2932 btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2933 bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 );
\r
2935 btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2936 bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 );
\r
2939 bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 );
\r
2942 szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 );
\r
2945 szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 );
\r
2948 tabMembers->SetSizer( szrAddresses111 );
\r
2949 tabMembers->Layout();
\r
2950 szrAddresses111->Fit( tabMembers );
\r
2951 nbkContact->AddPage( tabMembers, wxT("Members"), false );
\r
2952 tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2953 tabPictures->SetScrollRate( 5, 5 );
\r
2954 wxBoxSizer* bSizer210;
\r
2955 bSizer210 = new wxBoxSizer( wxHORIZONTAL );
\r
2957 imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
2958 bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 );
\r
2960 wxBoxSizer* bSizer211;
\r
2961 bSizer211 = new wxBoxSizer( wxVERTICAL );
\r
2963 lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2964 bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 );
\r
2966 wxBoxSizer* bSizer212;
\r
2967 bSizer212 = new wxBoxSizer( wxVERTICAL );
\r
2969 wxBoxSizer* bSizer213;
\r
2970 bSizer213 = new wxBoxSizer( wxHORIZONTAL );
\r
2972 btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2973 bSizer213->Add( btnAddPicture, 0, wxALL, 5 );
\r
2975 btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2976 bSizer213->Add( btnModifyPicture, 0, wxALL, 5 );
\r
2978 btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2979 bSizer213->Add( btnDeletePicture, 0, wxALL, 5 );
\r
2982 bSizer212->Add( bSizer213, 1, wxEXPAND, 5 );
\r
2985 bSizer211->Add( bSizer212, 0, wxEXPAND, 5 );
\r
2988 bSizer210->Add( bSizer211, 1, wxEXPAND, 5 );
\r
2991 tabPictures->SetSizer( bSizer210 );
\r
2992 tabPictures->Layout();
\r
2993 bSizer210->Fit( tabPictures );
\r
2994 nbkContact->AddPage( tabPictures, wxT("Pictures"), false );
\r
2995 tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2996 tabLogo->SetScrollRate( 5, 5 );
\r
2997 wxBoxSizer* bSizer2101;
\r
2998 bSizer2101 = new wxBoxSizer( wxHORIZONTAL );
\r
3000 imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
3001 bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 );
\r
3003 wxBoxSizer* bSizer2111;
\r
3004 bSizer2111 = new wxBoxSizer( wxVERTICAL );
\r
3006 lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3007 bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 );
\r
3009 wxBoxSizer* bSizer2121;
\r
3010 bSizer2121 = new wxBoxSizer( wxVERTICAL );
\r
3012 wxBoxSizer* bSizer2131;
\r
3013 bSizer2131 = new wxBoxSizer( wxHORIZONTAL );
\r
3015 btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3016 bSizer2131->Add( btnAddLogo, 0, wxALL, 5 );
\r
3018 btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3019 bSizer2131->Add( btnModifyLogo, 0, wxALL, 5 );
\r
3021 btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3022 bSizer2131->Add( btnDeleteLogo, 0, wxALL, 5 );
\r
3025 bSizer2121->Add( bSizer2131, 1, wxEXPAND, 5 );
\r
3028 bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 );
\r
3031 bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 );
\r
3034 tabLogo->SetSizer( bSizer2101 );
\r
3035 tabLogo->Layout();
\r
3036 bSizer2101->Fit( tabLogo );
\r
3037 nbkContact->AddPage( tabLogo, wxT("Logos"), false );
\r
3038 tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3039 tabSounds->SetScrollRate( 5, 5 );
\r
3040 wxBoxSizer* szrAddresses1111;
\r
3041 szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL );
\r
3043 lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3044 szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 );
\r
3046 wxBoxSizer* szrCategoriesOuter11;
\r
3047 szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
3049 wxBoxSizer* bSizer462111;
\r
3050 bSizer462111 = new wxBoxSizer( wxHORIZONTAL );
\r
3052 wxBoxSizer* bSizer472111;
\r
3053 bSizer472111 = new wxBoxSizer( wxVERTICAL );
\r
3055 btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3056 bSizer472111->Add( btnAddSound, 0, wxALL, 5 );
\r
3058 btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3059 bSizer472111->Add( btnModifySound, 0, wxALL, 5 );
\r
3061 btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3062 bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 );
\r
3064 m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
3065 bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
\r
3067 wxBoxSizer* bSizer348;
\r
3068 bSizer348 = new wxBoxSizer( wxHORIZONTAL );
\r
3070 btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3071 btnPlay->SetMinSize( wxSize( -1,32 ) );
\r
3073 bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 );
\r
3075 btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3076 btnStop->SetMinSize( wxSize( -1,32 ) );
\r
3078 bSizer348->Add( btnStop, 0, wxALL, 5 );
\r
3081 bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 );
\r
3084 bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 );
\r
3087 szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 );
\r
3090 szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 );
\r
3093 tabSounds->SetSizer( szrAddresses1111 );
\r
3094 tabSounds->Layout();
\r
3095 szrAddresses1111->Fit( tabSounds );
\r
3096 nbkContact->AddPage( tabSounds, wxT("Sounds"), true );
\r
3097 tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3098 tabCalendaring->SetScrollRate( 5, 5 );
\r
3099 wxBoxSizer* bSizer1821;
\r
3100 bSizer1821 = new wxBoxSizer( wxVERTICAL );
\r
3102 wxFlexGridSizer* fgSizer521;
\r
3103 fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3104 fgSizer521->AddGrowableCol( 1 );
\r
3105 fgSizer521->SetFlexibleDirection( wxBOTH );
\r
3106 fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3108 lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3109 lblCalendarAddresses->Wrap( 0 );
\r
3110 fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 );
\r
3112 wxBoxSizer* szrAddresses21;
\r
3113 szrAddresses21 = new wxBoxSizer( wxHORIZONTAL );
\r
3115 lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3116 szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3118 wxBoxSizer* szrAddressesOuter21;
\r
3119 szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL );
\r
3121 wxBoxSizer* bSizer4631;
\r
3122 bSizer4631 = new wxBoxSizer( wxHORIZONTAL );
\r
3124 wxBoxSizer* bSizer4731;
\r
3125 bSizer4731 = new wxBoxSizer( wxVERTICAL );
\r
3127 btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3128 bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 );
\r
3130 btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3131 bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 );
\r
3133 btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3134 bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 );
\r
3137 bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 );
\r
3140 szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 );
\r
3143 szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 );
\r
3146 fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 );
\r
3148 lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3149 lblCalendarRequestAddresses->Wrap( 0 );
\r
3150 fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 );
\r
3152 wxBoxSizer* bSizer30131;
\r
3153 bSizer30131 = new wxBoxSizer( wxHORIZONTAL );
\r
3155 lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3156 bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 );
\r
3158 wxBoxSizer* bSizer35131;
\r
3159 bSizer35131 = new wxBoxSizer( wxVERTICAL );
\r
3161 wxBoxSizer* bSizer46131;
\r
3162 bSizer46131 = new wxBoxSizer( wxHORIZONTAL );
\r
3164 wxBoxSizer* bSizer47131;
\r
3165 bSizer47131 = new wxBoxSizer( wxVERTICAL );
\r
3167 btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3168 bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 );
\r
3170 btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3171 bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 );
\r
3173 btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3174 bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 );
\r
3177 bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 );
\r
3180 bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 );
\r
3183 bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 );
\r
3186 fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 );
\r
3188 lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3189 lblFreeBusyAddresses->Wrap( 0 );
\r
3190 fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 );
\r
3192 wxBoxSizer* bSizer301131;
\r
3193 bSizer301131 = new wxBoxSizer( wxHORIZONTAL );
\r
3195 lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3196 bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3198 wxBoxSizer* bSizer351131;
\r
3199 bSizer351131 = new wxBoxSizer( wxVERTICAL );
\r
3201 wxBoxSizer* bSizer461131;
\r
3202 bSizer461131 = new wxBoxSizer( wxHORIZONTAL );
\r
3204 wxBoxSizer* bSizer471131;
\r
3205 bSizer471131 = new wxBoxSizer( wxVERTICAL );
\r
3207 btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3208 bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 );
\r
3210 btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3211 bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 );
\r
3213 btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3214 bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 );
\r
3217 bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 );
\r
3220 bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 );
\r
3223 bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 );
\r
3226 fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 );
\r
3229 bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 );
\r
3232 tabCalendaring->SetSizer( bSizer1821 );
\r
3233 tabCalendaring->Layout();
\r
3234 bSizer1821->Fit( tabCalendaring );
\r
3235 nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false );
\r
3236 tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3237 tabSecurity->SetScrollRate( 5, 5 );
\r
3238 wxBoxSizer* szrAddresses1112;
\r
3239 szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL );
\r
3241 lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3242 szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 );
\r
3244 wxBoxSizer* szrCategoriesOuter12;
\r
3245 szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL );
\r
3247 wxBoxSizer* bSizer462112;
\r
3248 bSizer462112 = new wxBoxSizer( wxHORIZONTAL );
\r
3250 wxBoxSizer* bSizer472112;
\r
3251 bSizer472112 = new wxBoxSizer( wxVERTICAL );
\r
3253 btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3254 bSizer472112->Add( btnAddKey, 0, wxALL, 5 );
\r
3256 btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3257 bSizer472112->Add( btnModifyKey, 0, wxALL, 5 );
\r
3259 btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3260 bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 );
\r
3263 bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 );
\r
3266 szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 );
\r
3269 szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 );
\r
3272 tabSecurity->SetSizer( szrAddresses1112 );
\r
3273 tabSecurity->Layout();
\r
3274 szrAddresses1112->Fit( tabSecurity );
\r
3275 nbkContact->AddPage( tabSecurity, wxT("Security"), false );
\r
3276 tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3277 tabOther->SetScrollRate( 5, 5 );
\r
3278 wxFlexGridSizer* fgSizer5211;
\r
3279 fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3280 fgSizer5211->AddGrowableCol( 1 );
\r
3281 fgSizer5211->SetFlexibleDirection( wxBOTH );
\r
3282 fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3284 lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3285 lblVendorNamespace->Wrap( 0 );
\r
3286 fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 );
\r
3288 wxBoxSizer* szrAddresses211;
\r
3289 szrAddresses211 = new wxBoxSizer( wxHORIZONTAL );
\r
3291 lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
3292 szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 );
\r
3294 wxBoxSizer* szrAddressesOuter211;
\r
3295 szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL );
\r
3297 wxBoxSizer* bSizer46311;
\r
3298 bSizer46311 = new wxBoxSizer( wxHORIZONTAL );
\r
3300 wxBoxSizer* bSizer47311;
\r
3301 bSizer47311 = new wxBoxSizer( wxVERTICAL );
\r
3303 btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3304 bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 );
\r
3306 btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3307 bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 );
\r
3309 btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3310 bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 );
\r
3313 bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 );
\r
3316 szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 );
\r
3319 szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 );
\r
3322 fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 );
\r
3324 lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3325 lblXTokens->Wrap( 0 );
\r
3326 fgSizer5211->Add( lblXTokens, 0, wxALL, 5 );
\r
3328 wxBoxSizer* bSizer301311;
\r
3329 bSizer301311 = new wxBoxSizer( wxHORIZONTAL );
\r
3331 lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3332 bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 );
\r
3334 wxBoxSizer* bSizer351311;
\r
3335 bSizer351311 = new wxBoxSizer( wxVERTICAL );
\r
3337 wxBoxSizer* bSizer461311;
\r
3338 bSizer461311 = new wxBoxSizer( wxHORIZONTAL );
\r
3340 wxBoxSizer* bSizer471311;
\r
3341 bSizer471311 = new wxBoxSizer( wxVERTICAL );
\r
3343 btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3344 bSizer471311->Add( btnAddXToken, 0, wxALL, 5 );
\r
3346 btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3347 bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 );
\r
3349 btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3350 bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 );
\r
3353 bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 );
\r
3356 bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 );
\r
3359 bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 );
\r
3362 fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 );
\r
3365 tabOther->SetSizer( fgSizer5211 );
\r
3366 tabOther->Layout();
\r
3367 fgSizer5211->Fit( tabOther );
\r
3368 nbkContact->AddPage( tabOther, wxT("Other"), false );
\r
3370 bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 );
\r
3373 this->SetSizer( bSizer17 );
\r
3375 m_menubar3 = new wxMenuBar( 0 );
\r
3376 mnuContact = new wxMenu();
\r
3377 wxMenuItem* mnuContactSave;
\r
3378 mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL );
\r
3379 mnuContact->Append( mnuContactSave );
\r
3381 wxMenuItem* mnuContactSaveClose;
\r
3382 mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL );
\r
3383 mnuContact->Append( mnuContactSaveClose );
\r
3385 mnuContact->AppendSeparator();
\r
3387 wxMenuItem* mnuContactClose;
\r
3388 mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
\r
3389 mnuContact->Append( mnuContactClose );
\r
3391 m_menubar3->Append( mnuContact, wxT("&Contact") );
\r
3393 mnuEdit = new wxMenu();
\r
3394 wxMenuItem* mnuEditCut;
\r
3395 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL );
\r
3396 mnuEdit->Append( mnuEditCut );
\r
3398 wxMenuItem* mnuEditCopy;
\r
3399 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL );
\r
3400 mnuEdit->Append( mnuEditCopy );
\r
3402 wxMenuItem* mnuEditPaste;
\r
3403 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL );
\r
3404 mnuEdit->Append( mnuEditPaste );
\r
3406 m_menubar3->Append( mnuEdit, wxT("&Edit") );
\r
3408 this->SetMenuBar( m_menubar3 );
\r
3411 this->Centre( wxBOTH );
\r
3414 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3415 txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3416 txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3417 txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3418 txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3419 txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3420 cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3421 cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3422 cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3423 btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3424 btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3425 btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3426 btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3427 btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3428 btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3429 btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3430 btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3431 btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3432 btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3433 btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3434 btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3435 btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3436 btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3437 btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3438 btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3439 btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3440 btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3441 btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3442 btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3443 btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3444 btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3445 btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3446 btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3447 btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3448 btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3449 btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3450 btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3451 btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3452 btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3453 btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3454 btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3455 btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3456 btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3457 btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3458 btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3459 btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3460 btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3461 btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3462 btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3463 btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3464 btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3465 btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3466 btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3467 btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3468 btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3469 btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3470 btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3471 btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3472 btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3473 btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3474 btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3475 btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3476 btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3477 btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3478 btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3479 btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3480 btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3481 btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3482 btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3483 btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3484 btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3485 btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3486 btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3487 btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3488 btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3489 btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3490 btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3491 btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3492 btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3493 btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3494 btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3495 btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3496 btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3497 btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3498 btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3499 btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3500 btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3501 btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3502 btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3503 btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3504 btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3505 btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3506 btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3507 btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3508 btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3509 btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3510 btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3511 btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3512 btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3513 btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3514 btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3515 btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3516 btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3517 btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3518 btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3519 btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3520 btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3521 btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3522 btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3523 btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3524 btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3525 btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3526 btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3527 btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3528 btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3529 btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3530 btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3531 btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3532 btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3533 btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3534 btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3535 btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3536 btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3537 btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3538 btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3539 btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3540 btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3541 btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3542 btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3543 btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3544 btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3545 btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3546 btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3547 btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3548 btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3549 lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3550 btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3551 btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3552 btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3553 lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3554 btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3555 btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3556 btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3557 btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3558 btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3559 btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3560 btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3561 btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3562 btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3563 btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3564 btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3565 btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3566 btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3567 btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3568 btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3569 btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3570 btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3571 btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3572 btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3573 btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3574 btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3575 btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3576 btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3577 btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3578 btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3579 btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3580 this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3581 this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3582 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3583 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3584 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3585 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3588 frmContactEditorADT::~frmContactEditorADT()
\r
3590 // Disconnect Events
\r
3591 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3592 txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3593 txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3594 txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3595 txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3596 txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3597 cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3598 cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3599 cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3600 btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3601 btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3602 btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3603 btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3604 btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3605 btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3606 btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3607 btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3608 btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3609 btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3610 btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3611 btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3612 btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3613 btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3614 btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3615 btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3616 btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3617 btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3618 btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3619 btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3620 btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3621 btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3622 btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3623 btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3624 btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3625 btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3626 btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3627 btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3628 btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3629 btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3630 btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3631 btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3632 btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3633 btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3634 btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3635 btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3636 btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3637 btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3638 btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3639 btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3640 btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3641 btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3642 btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3643 btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3644 btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3645 btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3646 btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3647 btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3648 btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3649 btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3650 btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3651 btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3652 btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3653 btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3654 btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3655 btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3656 btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3657 btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3658 btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3659 btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3660 btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3661 btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3662 btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3663 btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3664 btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3665 btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3666 btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3667 btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3668 btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3669 btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3670 btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3671 btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3672 btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3673 btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3674 btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3675 btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3676 btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3677 btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3678 btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3679 btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3680 btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3681 btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3682 btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3683 btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3684 btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3685 btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3686 btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3687 btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3688 btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3689 btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3690 btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3691 btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3692 btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3693 btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3694 btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3695 btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3696 btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3697 btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3698 btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3699 btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3700 btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3701 btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3702 btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3703 btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3704 btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3705 btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3706 btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3707 btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3708 btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3709 btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3710 btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3711 btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3712 btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3713 btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3714 btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3715 btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3716 btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3717 btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3718 btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3719 btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3720 btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3721 btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3722 btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3723 btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3724 btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3725 btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3726 lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3727 btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3728 btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3729 btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3730 lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3731 btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3732 btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3733 btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3734 btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3735 btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3736 btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3737 btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3738 btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3739 btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3740 btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3741 btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3742 btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3743 btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3744 btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3745 btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3746 btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3747 btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3748 btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3749 btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3750 btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3751 btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3752 btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3753 btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3754 btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3755 btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3756 btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3757 this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3758 this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3759 this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3760 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3761 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3762 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3766 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
3768 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3770 wxBoxSizer* bSizer251;
\r
3771 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
3773 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
3774 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3775 wxFlexGridSizer* fgSizer6;
\r
3776 fgSizer6 = new wxFlexGridSizer( 2, 2, 0, 0 );
\r
3777 fgSizer6->AddGrowableCol( 1 );
\r
3778 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
3779 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3781 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3782 lblAddress->Wrap( -1 );
\r
3783 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3785 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3786 txtAddress->SetMaxLength( 0 );
\r
3787 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
3789 m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3790 m_staticText61->Wrap( -1 );
\r
3791 fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3793 txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3794 txtTownCity->SetMaxLength( 0 );
\r
3795 fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 );
\r
3797 lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3798 lblCountyState->Wrap( -1 );
\r
3799 fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3801 txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3802 txtCounty->SetMaxLength( 0 );
\r
3803 fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 );
\r
3805 lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3806 lblPostCode->Wrap( -1 );
\r
3807 fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3809 txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3810 txtPostCode->SetMaxLength( 0 );
\r
3811 fgSizer6->Add( txtPostCode, 0, wxALL, 5 );
\r
3813 lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3814 lblCountry->Wrap( -1 );
\r
3815 fgSizer6->Add( lblCountry, 0, wxALL, 5 );
\r
3817 txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3818 txtCountry->SetMaxLength( 0 );
\r
3819 fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 );
\r
3821 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3822 lblPriority->Wrap( -1 );
\r
3823 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
3825 wxBoxSizer* bSizer260;
\r
3826 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
3828 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3829 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
3831 wxBoxSizer* bSizer254;
\r
3832 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
3834 wxBoxSizer* bSizer256;
\r
3835 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
3837 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
3838 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
3841 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
3843 wxBoxSizer* bSizer255;
\r
3844 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
3846 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3847 lblHigh->Wrap( -1 );
\r
3848 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
3851 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3853 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3854 lblLow->Wrap( -1 );
\r
3855 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
3858 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
3861 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
3864 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
3867 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3870 tabGeneral->SetSizer( fgSizer6 );
\r
3871 tabGeneral->Layout();
\r
3872 fgSizer6->Fit( tabGeneral );
\r
3873 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
3874 tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3875 wxBoxSizer* bSizer253;
\r
3876 bSizer253 = new wxBoxSizer( wxVERTICAL );
\r
3878 btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3879 bSizer253->Add( btnCopyMailing, 0, wxALL, 5 );
\r
3881 txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
3882 txtLabel->SetMaxLength( 0 );
\r
3883 bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 );
\r
3886 tabLabel->SetSizer( bSizer253 );
\r
3887 tabLabel->Layout();
\r
3888 bSizer253->Fit( tabLabel );
\r
3889 nbkAddress->AddPage( tabLabel, wxT("Label"), false );
\r
3890 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3891 wxFlexGridSizer* fgSizer61;
\r
3892 fgSizer61 = new wxFlexGridSizer( 2, 2, 0, 0 );
\r
3893 fgSizer61->AddGrowableCol( 1 );
\r
3894 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
3895 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3897 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3898 lblLanguage->Wrap( -1 );
\r
3899 fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3901 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
3902 fgSizer61->Add( cmbLanguage, 0, wxALL, 5 );
\r
3904 lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3905 lblGeography->Wrap( -1 );
\r
3906 fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3908 txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3909 txtGeo->SetMaxLength( 0 );
\r
3910 fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 );
\r
3912 lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3913 lblTimezone->Wrap( -1 );
\r
3914 fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3916 txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3917 txtTimezone->SetMaxLength( 0 );
\r
3918 fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 );
\r
3921 tabOther->SetSizer( fgSizer61 );
\r
3922 tabOther->Layout();
\r
3923 fgSizer61->Fit( tabOther );
\r
3924 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
3926 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
3928 wxBoxSizer* bSizer252;
\r
3929 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
3931 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3932 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
3934 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3935 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
3938 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
3941 this->SetSizer( bSizer251 );
\r
3944 this->Centre( wxBOTH );
\r
3947 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3948 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3949 btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3950 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3951 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3954 frmContactEditorAddressADT::~frmContactEditorAddressADT()
\r
3956 // Disconnect Events
\r
3957 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3958 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3959 btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3960 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3961 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3965 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
3967 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3969 wxFlexGridSizer* fgSizer39;
\r
3970 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
3971 fgSizer39->AddGrowableCol( 0 );
\r
3972 fgSizer39->AddGrowableRow( 0 );
\r
3973 fgSizer39->SetFlexibleDirection( wxBOTH );
\r
3974 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3976 wxBoxSizer* bSizer363;
\r
3977 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
3979 wxBoxSizer* bSizer364;
\r
3980 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
3982 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
3983 lblText->Wrap( -1 );
\r
3984 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
\r
3986 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
3987 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
\r
3989 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3990 wxBoxSizer* bSizer365;
\r
3991 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
3993 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
3994 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
\r
3997 m_panel44->SetSizer( bSizer365 );
\r
3998 m_panel44->Layout();
\r
3999 bSizer365->Fit( m_panel44 );
\r
4000 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4001 wxBoxSizer* bSizer366;
\r
4002 bSizer366 = new wxBoxSizer( wxVERTICAL );
\r
4004 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
4005 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
\r
4008 m_panel45->SetSizer( bSizer366 );
\r
4009 m_panel45->Layout();
\r
4010 bSizer366->Fit( m_panel45 );
\r
4011 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
\r
4012 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
\r
4014 wxBoxSizer* bSizer367;
\r
4015 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
\r
4018 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4020 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4021 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
\r
4023 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4024 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
\r
4026 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4027 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
\r
4030 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4033 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
\r
4036 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
\r
4039 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
\r
4042 this->SetSizer( fgSizer39 );
\r
4045 this->Centre( wxBOTH );
\r
4048 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4049 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4050 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4053 frmConflictResolutionADT::~frmConflictResolutionADT()
\r
4055 // Disconnect Events
\r
4056 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4057 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4058 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4062 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
4064 this->SetSizeHints( wxSize( 400,300 ), wxDefaultSize );
\r
4066 mnuMenuBar = new wxMenuBar( 0 );
\r
4067 mnuWindow = new wxMenu();
\r
4068 wxMenuItem* mnuStopActivity;
\r
4069 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4070 mnuWindow->Append( mnuStopActivity );
\r
4072 wxMenuItem* mnuActivityStopAll;
\r
4073 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4074 mnuWindow->Append( mnuActivityStopAll );
\r
4076 wxMenuItem* mnuRetryActivity;
\r
4077 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
4078 mnuWindow->Append( mnuRetryActivity );
\r
4080 mnuWindow->AppendSeparator();
\r
4082 wxMenuItem* mnuSleepMode;
\r
4083 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
\r
4085 mnuSleepMode->SetBitmaps( wxNullBitmap );
\r
4086 #elif (defined( __WXGTK__ ) || defined( __WXOSX__ ))
\r
4087 mnuSleepMode->SetBitmap( wxNullBitmap );
\r
4089 mnuWindow->Append( mnuSleepMode );
\r
4091 mnuWindow->AppendSeparator();
\r
4093 wxMenuItem* mnuWindowClose;
\r
4094 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
4095 mnuWindow->Append( mnuWindowClose );
\r
4097 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
\r
4099 this->SetMenuBar( mnuMenuBar );
\r
4101 wxFlexGridSizer* fgSizer38;
\r
4102 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
4103 fgSizer38->AddGrowableCol( 0 );
\r
4104 fgSizer38->AddGrowableRow( 1 );
\r
4105 fgSizer38->SetFlexibleDirection( wxBOTH );
\r
4106 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4108 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4109 wxBoxSizer* bSizer363;
\r
4110 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
4112 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
\r
4113 bmpActivity->SetMinSize( wxSize( 64,64 ) );
\r
4115 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
\r
4117 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4118 wxBoxSizer* bSizer364;
\r
4119 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
4122 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4124 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
\r
4125 lblDetails->Wrap( -1 );
\r
4126 bSizer364->Add( lblDetails, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 0 );
\r
4129 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4131 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
\r
4132 GauProgress->SetValue( 0 );
\r
4133 GauProgress->SetMinSize( wxSize( -1,20 ) );
\r
4135 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
\r
4138 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4141 m_panel46->SetSizer( bSizer364 );
\r
4142 m_panel46->Layout();
\r
4143 bSizer364->Fit( m_panel46 );
\r
4144 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
\r
4147 m_panel43->SetSizer( bSizer363 );
\r
4148 m_panel43->Layout();
\r
4149 bSizer363->Fit( m_panel43 );
\r
4150 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
\r
4152 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4153 wxBoxSizer* bSizer365;
\r
4154 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
4156 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
4157 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
\r
4160 m_panel44->SetSizer( bSizer365 );
\r
4161 m_panel44->Layout();
\r
4162 bSizer365->Fit( m_panel44 );
\r
4163 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
\r
4166 this->SetSizer( fgSizer38 );
\r
4169 this->Centre( wxBOTH );
\r
4172 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4173 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4174 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4175 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4176 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4177 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4180 frmActivityMgrADT::~frmActivityMgrADT()
\r
4182 // Disconnect Events
\r
4183 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4184 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4185 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4186 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4187 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4188 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4192 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
4194 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4196 wxBoxSizer* bSizer251;
\r
4197 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4199 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4200 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4201 wxFlexGridSizer* fgSizer6;
\r
4202 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4203 fgSizer6->AddGrowableCol( 1 );
\r
4204 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4205 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4207 lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4208 lblNickname->Wrap( -1 );
\r
4209 fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4211 txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4212 txtNickname->SetMaxLength( 0 );
\r
4213 fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 );
\r
4215 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4216 lblPriority->Wrap( -1 );
\r
4217 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4219 wxBoxSizer* bSizer260;
\r
4220 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4222 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4223 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4225 wxBoxSizer* bSizer254;
\r
4226 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4228 wxBoxSizer* bSizer256;
\r
4229 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4231 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4232 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4235 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4237 wxBoxSizer* bSizer255;
\r
4238 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4240 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4241 lblHigh->Wrap( -1 );
\r
4242 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4245 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4247 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4248 lblLow->Wrap( -1 );
\r
4249 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4252 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4255 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4258 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4261 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4264 tabGeneral->SetSizer( fgSizer6 );
\r
4265 tabGeneral->Layout();
\r
4266 fgSizer6->Fit( tabGeneral );
\r
4267 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
4268 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4269 wxFlexGridSizer* fgSizer61;
\r
4270 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4271 fgSizer61->AddGrowableCol( 1 );
\r
4272 fgSizer61->SetFlexibleDirection( wxBOTH );
\r
4273 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4275 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4276 lblLanguage->Wrap( -1 );
\r
4277 fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4279 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4280 fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 );
\r
4283 tabOther->SetSizer( fgSizer61 );
\r
4284 tabOther->Layout();
\r
4285 fgSizer61->Fit( tabOther );
\r
4286 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
4288 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
4290 wxBoxSizer* bSizer252;
\r
4291 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4293 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4294 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4296 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4297 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4300 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4303 this->SetSizer( bSizer251 );
\r
4306 this->Centre( wxBOTH );
\r
4309 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4310 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4311 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4312 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4315 frmContactEditorNicknameADT::~frmContactEditorNicknameADT()
\r
4317 // Disconnect Events
\r
4318 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4319 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4320 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4321 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4325 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
4327 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
4329 wxBoxSizer* bSizer251;
\r
4330 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4332 nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4333 tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4334 wxFlexGridSizer* fgSizer6;
\r
4335 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4336 fgSizer6->AddGrowableCol( 1 );
\r
4337 fgSizer6->AddGrowableRow( 0 );
\r
4338 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4339 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4341 lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4342 lblContacts->Wrap( -1 );
\r
4343 fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 );
\r
4345 wxArrayString chkContactsChoices;
\r
4346 chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
\r
4347 fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 );
\r
4350 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4353 tabGeneral->SetSizer( fgSizer6 );
\r
4354 tabGeneral->Layout();
\r
4355 fgSizer6->Fit( tabGeneral );
\r
4356 nbkGroup->AddPage( tabGeneral, wxT("General"), false );
\r
4358 bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 );
\r
4360 wxBoxSizer* bSizer252;
\r
4361 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4363 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4364 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4366 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4367 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4370 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4373 this->SetSizer( bSizer251 );
\r
4376 this->Centre( wxBOTH );
\r
4379 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4380 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4381 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4384 frmContactEditorGroupsADT::~frmContactEditorGroupsADT()
\r
4386 // Disconnect Events
\r
4387 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4388 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4389 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4393 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
4395 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4397 wxBoxSizer* bSizer251;
\r
4398 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4400 nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4401 tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4402 wxFlexGridSizer* fgSizer6;
\r
4403 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4404 fgSizer6->AddGrowableCol( 1 );
\r
4405 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4406 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4408 lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4409 lblRole->Wrap( -1 );
\r
4410 fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4412 txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4413 txtRole->SetMaxLength( 0 );
\r
4414 fgSizer6->Add( txtRole, 0, wxALL|wxEXPAND, 5 );
\r
4416 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4417 lblPriority->Wrap( -1 );
\r
4418 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4420 wxBoxSizer* bSizer260;
\r
4421 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4423 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4424 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4426 wxBoxSizer* bSizer254;
\r
4427 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4429 wxBoxSizer* bSizer256;
\r
4430 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4432 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4433 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4436 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4438 wxBoxSizer* bSizer255;
\r
4439 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4441 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4442 lblHigh->Wrap( -1 );
\r
4443 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4446 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4448 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4449 lblLow->Wrap( -1 );
\r
4450 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4453 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4456 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4459 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4462 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4465 tabGeneral->SetSizer( fgSizer6 );
\r
4466 tabGeneral->Layout();
\r
4467 fgSizer6->Fit( tabGeneral );
\r
4468 nbkRole->AddPage( tabGeneral, wxT("General"), false );
\r
4470 bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 );
\r
4472 wxBoxSizer* bSizer252;
\r
4473 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4475 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4476 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4478 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4479 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4482 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4485 this->SetSizer( bSizer251 );
\r
4488 this->Centre( wxBOTH );
\r
4491 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4492 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4493 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4496 frmContactEditorRolesADT::~frmContactEditorRolesADT()
\r
4498 // Disconnect Events
\r
4499 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4500 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4501 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4505 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
4507 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4509 wxBoxSizer* bSizer251;
\r
4510 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4512 nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4513 tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4514 wxFlexGridSizer* fgSizer6;
\r
4515 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4516 fgSizer6->AddGrowableCol( 1 );
\r
4517 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4518 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4520 lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4521 lblOrganisation->Wrap( -1 );
\r
4522 fgSizer6->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4524 txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4525 txtOrganisation->SetMaxLength( 0 );
\r
4526 fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 );
\r
4528 lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4529 lblSortAs->Wrap( -1 );
\r
4530 fgSizer6->Add( lblSortAs, 0, wxALL, 5 );
\r
4532 cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4533 fgSizer6->Add( cmbSortAs, 1, wxALL, 5 );
\r
4535 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4536 lblPriority->Wrap( -1 );
\r
4537 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4539 wxBoxSizer* bSizer260;
\r
4540 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4542 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4543 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4545 wxBoxSizer* bSizer254;
\r
4546 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4548 wxBoxSizer* bSizer256;
\r
4549 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4551 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4552 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4555 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4557 wxBoxSizer* bSizer255;
\r
4558 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4560 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4561 lblHigh->Wrap( -1 );
\r
4562 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4565 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4567 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4568 lblLow->Wrap( -1 );
\r
4569 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4572 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4575 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4578 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4581 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4584 tabGeneral->SetSizer( fgSizer6 );
\r
4585 tabGeneral->Layout();
\r
4586 fgSizer6->Fit( tabGeneral );
\r
4587 nbkOrganisation->AddPage( tabGeneral, wxT("General"), false );
\r
4589 bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 );
\r
4591 wxBoxSizer* bSizer252;
\r
4592 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4594 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4595 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4597 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4598 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4601 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4604 this->SetSizer( bSizer251 );
\r
4607 this->Centre( wxBOTH );
\r
4610 txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4611 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4612 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4613 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4616 frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT()
\r
4618 // Disconnect Events
\r
4619 txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4620 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4621 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4622 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4626 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
4628 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4630 wxBoxSizer* bSizer251;
\r
4631 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4633 nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4634 tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4635 wxBoxSizer* bSizer353;
\r
4636 bSizer353 = new wxBoxSizer( wxVERTICAL );
\r
4638 txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
4639 txtNote->SetMaxLength( 0 );
\r
4640 bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 );
\r
4643 tabGeneral->SetSizer( bSizer353 );
\r
4644 tabGeneral->Layout();
\r
4645 bSizer353->Fit( tabGeneral );
\r
4646 nbkNotes->AddPage( tabGeneral, wxT("General"), true );
\r
4647 tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4648 wxFlexGridSizer* fgSizer61;
\r
4649 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4650 fgSizer61->AddGrowableCol( 1 );
\r
4651 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
4652 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4654 lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4655 lblPriority->Wrap( -1 );
\r
4656 fgSizer61->Add( lblPriority, 0, wxALL, 5 );
\r
4658 wxBoxSizer* bSizer2601;
\r
4659 bSizer2601 = new wxBoxSizer( wxHORIZONTAL );
\r
4661 chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4662 bSizer2601->Add( chkUsePref, 0, wxALL, 5 );
\r
4664 wxBoxSizer* bSizer2541;
\r
4665 bSizer2541 = new wxBoxSizer( wxVERTICAL );
\r
4667 wxBoxSizer* bSizer2561;
\r
4668 bSizer2561 = new wxBoxSizer( wxHORIZONTAL );
\r
4670 sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4671 bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4674 bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 );
\r
4676 wxBoxSizer* bSizer2551;
\r
4677 bSizer2551 = new wxBoxSizer( wxHORIZONTAL );
\r
4679 lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4680 lblHigh->Wrap( -1 );
\r
4681 bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4684 bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4686 lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4687 lblLow->Wrap( -1 );
\r
4688 bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4691 bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 );
\r
4694 bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 );
\r
4697 fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 );
\r
4700 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4703 tabPriority->SetSizer( fgSizer61 );
\r
4704 tabPriority->Layout();
\r
4705 fgSizer61->Fit( tabPriority );
\r
4706 nbkNotes->AddPage( tabPriority, wxT("Priority"), false );
\r
4707 tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4708 wxFlexGridSizer* fgSizer611;
\r
4709 fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4710 fgSizer611->AddGrowableCol( 0 );
\r
4711 fgSizer611->SetFlexibleDirection( wxBOTH );
\r
4712 fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4714 lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4715 lblLanguage->Wrap( -1 );
\r
4716 fgSizer611->Add( lblLanguage, 1, wxALL, 5 );
\r
4718 cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4719 fgSizer611->Add( cmbLanguage, 1, wxALL, 5 );
\r
4722 tabLanguage->SetSizer( fgSizer611 );
\r
4723 tabLanguage->Layout();
\r
4724 fgSizer611->Fit( tabLanguage );
\r
4725 nbkNotes->AddPage( tabLanguage, wxT("Language"), false );
\r
4727 bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 );
\r
4729 wxBoxSizer* bSizer252;
\r
4730 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4732 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4733 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4735 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4736 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4739 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4742 this->SetSizer( bSizer251 );
\r
4745 this->Centre( wxBOTH );
\r
4748 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4749 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4750 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4753 frmContactEditorNotesADT::~frmContactEditorNotesADT()
\r
4755 // Disconnect Events
\r
4756 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4757 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4758 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4762 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
4764 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4766 wxBoxSizer* bSizer251;
\r
4767 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4769 nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4770 tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4771 wxFlexGridSizer* fgSizer6;
\r
4772 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4773 fgSizer6->AddGrowableCol( 1 );
\r
4774 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4775 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4777 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4778 lblTitle->Wrap( -1 );
\r
4779 fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4781 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4782 txtTitle->SetMaxLength( 0 );
\r
4783 fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
4785 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4786 lblPriority->Wrap( -1 );
\r
4787 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4789 wxBoxSizer* bSizer260;
\r
4790 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4792 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4793 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4795 wxBoxSizer* bSizer254;
\r
4796 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4798 wxBoxSizer* bSizer256;
\r
4799 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4801 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4802 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4805 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4807 wxBoxSizer* bSizer255;
\r
4808 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4810 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4811 lblHigh->Wrap( -1 );
\r
4812 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4815 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4817 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4818 lblLow->Wrap( -1 );
\r
4819 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4822 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4825 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4828 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4831 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4834 tabGeneral->SetSizer( fgSizer6 );
\r
4835 tabGeneral->Layout();
\r
4836 fgSizer6->Fit( tabGeneral );
\r
4837 nbkTitles->AddPage( tabGeneral, wxT("General"), false );
\r
4839 bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 );
\r
4841 wxBoxSizer* bSizer252;
\r
4842 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4844 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4845 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4847 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4848 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4851 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4854 this->SetSizer( bSizer251 );
\r
4857 this->Centre( wxBOTH );
\r
4860 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4861 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4862 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4865 frmContactEditorTitlesADT::~frmContactEditorTitlesADT()
\r
4867 // Disconnect Events
\r
4868 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4869 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4870 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4874 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
4876 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4878 wxBoxSizer* bSizer251;
\r
4879 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4881 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4882 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4883 wxFlexGridSizer* fgSizer6;
\r
4884 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4885 fgSizer6->AddGrowableCol( 0 );
\r
4886 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4887 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4889 lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4890 lblRelation->Wrap( -1 );
\r
4891 fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4893 txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4894 txtRelated->SetMaxLength( 0 );
\r
4895 fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 );
\r
4897 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4898 lblType->Wrap( -1 );
\r
4899 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
4901 cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4902 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
4904 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4905 lblPriority->Wrap( -1 );
\r
4906 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4908 wxBoxSizer* bSizer260;
\r
4909 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4911 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4912 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4914 wxBoxSizer* bSizer254;
\r
4915 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4917 wxBoxSizer* bSizer256;
\r
4918 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4920 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4921 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4924 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4926 wxBoxSizer* bSizer255;
\r
4927 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4929 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4930 lblHigh->Wrap( -1 );
\r
4931 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4934 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4936 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4937 lblLow->Wrap( -1 );
\r
4938 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4941 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4944 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4947 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4950 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4953 tabGeneral->SetSizer( fgSizer6 );
\r
4954 tabGeneral->Layout();
\r
4955 fgSizer6->Fit( tabGeneral );
\r
4956 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
4958 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
4960 wxBoxSizer* bSizer252;
\r
4961 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4963 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4964 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4966 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4967 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4970 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4973 this->SetSizer( bSizer251 );
\r
4976 this->Centre( wxBOTH );
\r
4979 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4980 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4981 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4984 frmContactEditorRelatedADT::~frmContactEditorRelatedADT()
\r
4986 // Disconnect Events
\r
4987 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4988 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4989 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4993 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
4995 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4997 wxBoxSizer* bSizer251;
\r
4998 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5000 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5001 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5002 wxFlexGridSizer* fgSizer6;
\r
5003 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5004 fgSizer6->AddGrowableCol( 1 );
\r
5005 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
5006 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5008 lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5009 lblSoundFile->Wrap( -1 );
\r
5010 fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5012 fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5013 fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 );
\r
5015 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5016 lblType->Wrap( -1 );
\r
5017 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5019 wxArrayString cmbTypeChoices;
\r
5020 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5021 cmbType->SetSelection( 0 );
\r
5022 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5024 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5025 lblPriority->Wrap( -1 );
\r
5026 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5028 wxBoxSizer* bSizer260;
\r
5029 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5031 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5032 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5034 wxBoxSizer* bSizer254;
\r
5035 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5037 wxBoxSizer* bSizer256;
\r
5038 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5040 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5041 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5044 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5046 wxBoxSizer* bSizer255;
\r
5047 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5049 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5050 lblHigh->Wrap( -1 );
\r
5051 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5054 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5056 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5057 lblLow->Wrap( -1 );
\r
5058 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5061 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5064 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5067 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5070 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5073 tabGeneral->SetSizer( fgSizer6 );
\r
5074 tabGeneral->Layout();
\r
5075 fgSizer6->Fit( tabGeneral );
\r
5076 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5078 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5080 wxBoxSizer* bSizer252;
\r
5081 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5083 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5084 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5086 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5087 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5090 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5093 this->SetSizer( bSizer251 );
\r
5096 this->Centre( wxBOTH );
\r
5099 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5100 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5101 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5104 frmContactEditorSoundADT::~frmContactEditorSoundADT()
\r
5106 // Disconnect Events
\r
5107 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5108 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5109 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5113 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
5115 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5117 wxBoxSizer* bSizer251;
\r
5118 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5120 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5121 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5122 wxFlexGridSizer* fgSizer6;
\r
5123 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5124 fgSizer6->AddGrowableCol( 1 );
\r
5125 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
5126 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5128 lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5129 lblPictureFile->Wrap( -1 );
\r
5130 fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5132 fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5133 fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 );
\r
5135 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5136 lblType->Wrap( -1 );
\r
5137 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5139 wxArrayString cmbTypeChoices;
\r
5140 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5141 cmbType->SetSelection( 0 );
\r
5142 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5144 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5145 lblPriority->Wrap( -1 );
\r
5146 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5148 wxBoxSizer* bSizer260;
\r
5149 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5151 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5152 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5154 wxBoxSizer* bSizer254;
\r
5155 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5157 wxBoxSizer* bSizer256;
\r
5158 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5160 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5161 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5164 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5166 wxBoxSizer* bSizer255;
\r
5167 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5169 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5170 lblHigh->Wrap( -1 );
\r
5171 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5174 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5176 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5177 lblLow->Wrap( -1 );
\r
5178 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5181 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5184 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5187 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5190 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5193 tabGeneral->SetSizer( fgSizer6 );
\r
5194 tabGeneral->Layout();
\r
5195 fgSizer6->Fit( tabGeneral );
\r
5196 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5198 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5200 wxBoxSizer* bSizer252;
\r
5201 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5203 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5204 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5206 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5207 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5210 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5213 this->SetSizer( bSizer251 );
\r
5216 this->Centre( wxBOTH );
\r
5219 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5220 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5221 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5224 frmContactEditorPictureADT::~frmContactEditorPictureADT()
\r
5226 // Disconnect Events
\r
5227 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5228 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5229 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5233 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
5235 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5237 wxBoxSizer* bSizer251;
\r
5238 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5240 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5241 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5242 wxFlexGridSizer* fgSizer6;
\r
5243 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5244 fgSizer6->AddGrowableCol( 1 );
\r
5245 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5246 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5248 lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5249 lblWebsite->Wrap( -1 );
\r
5250 fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5252 txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5253 txtWebsite->SetMaxLength( 0 );
\r
5254 fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 );
\r
5256 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5257 lblPriority->Wrap( -1 );
\r
5258 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5260 wxBoxSizer* bSizer260;
\r
5261 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5263 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5264 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5266 wxBoxSizer* bSizer254;
\r
5267 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5269 wxBoxSizer* bSizer256;
\r
5270 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5272 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5273 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5276 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5278 wxBoxSizer* bSizer255;
\r
5279 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5281 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5282 lblHigh->Wrap( -1 );
\r
5283 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5286 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5288 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5289 lblLow->Wrap( -1 );
\r
5290 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5293 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5296 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5299 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5302 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5305 tabGeneral->SetSizer( fgSizer6 );
\r
5306 tabGeneral->Layout();
\r
5307 fgSizer6->Fit( tabGeneral );
\r
5308 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5310 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5312 wxBoxSizer* bSizer252;
\r
5313 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5315 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5316 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5318 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5319 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5322 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5325 this->SetSizer( bSizer251 );
\r
5328 this->Centre( wxBOTH );
\r
5331 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5332 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5333 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5336 frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT()
\r
5338 // Disconnect Events
\r
5339 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5340 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5341 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5345 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
5347 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5349 wxBoxSizer* bSizer251;
\r
5350 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5352 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5353 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5354 wxFlexGridSizer* fgSizer6;
\r
5355 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5356 fgSizer6->AddGrowableCol( 1 );
\r
5357 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5358 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5360 lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5361 lblGeoposition->Wrap( -1 );
\r
5362 fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5364 txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5365 txtGeoposition->SetMaxLength( 0 );
\r
5366 fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 );
\r
5368 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5369 lblPriority->Wrap( -1 );
\r
5370 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5372 wxBoxSizer* bSizer260;
\r
5373 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5375 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5376 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5378 wxBoxSizer* bSizer254;
\r
5379 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5381 wxBoxSizer* bSizer256;
\r
5382 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5384 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5385 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5388 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5390 wxBoxSizer* bSizer255;
\r
5391 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5393 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5394 lblHigh->Wrap( -1 );
\r
5395 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5398 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5400 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5401 lblLow->Wrap( -1 );
\r
5402 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5405 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5408 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5411 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5414 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5417 tabGeneral->SetSizer( fgSizer6 );
\r
5418 tabGeneral->Layout();
\r
5419 fgSizer6->Fit( tabGeneral );
\r
5420 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5422 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5424 wxBoxSizer* bSizer252;
\r
5425 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5427 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5428 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5430 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5431 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5434 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5437 this->SetSizer( bSizer251 );
\r
5440 this->Centre( wxBOTH );
\r
5443 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5444 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5445 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5448 frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT()
\r
5450 // Disconnect Events
\r
5451 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5452 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5453 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5457 frmContactEditorCalAdrADT::frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
5459 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5461 wxBoxSizer* bSizer251;
\r
5462 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5464 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5465 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5466 wxFlexGridSizer* fgSizer6;
\r
5467 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5468 fgSizer6->AddGrowableCol( 1 );
\r
5469 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5470 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5472 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5473 lblAddress->Wrap( -1 );
\r
5474 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5476 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5477 txtAddress->SetMaxLength( 0 );
\r
5478 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
5480 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5481 lblType->Wrap( -1 );
\r
5482 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5484 wxArrayString cmbTypeChoices;
\r
5485 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5486 cmbType->SetSelection( 0 );
\r
5487 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5489 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5490 lblPriority->Wrap( -1 );
\r
5491 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5493 wxBoxSizer* bSizer260;
\r
5494 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5496 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5497 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5499 wxBoxSizer* bSizer254;
\r
5500 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5502 wxBoxSizer* bSizer256;
\r
5503 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5505 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5506 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5509 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5511 wxBoxSizer* bSizer255;
\r
5512 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5514 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5515 lblHigh->Wrap( -1 );
\r
5516 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5519 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5521 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5522 lblLow->Wrap( -1 );
\r
5523 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5526 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5529 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5532 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5535 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5538 tabGeneral->SetSizer( fgSizer6 );
\r
5539 tabGeneral->Layout();
\r
5540 fgSizer6->Fit( tabGeneral );
\r
5541 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5543 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5545 wxBoxSizer* bSizer252;
\r
5546 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5548 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5549 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5551 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5552 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5555 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5558 this->SetSizer( bSizer251 );
\r
5561 this->Centre( wxBOTH );
\r
5564 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5565 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5566 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5569 frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT()
\r
5571 // Disconnect Events
\r
5572 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5573 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5574 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5578 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
5580 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5582 wxBoxSizer* bSizer251;
\r
5583 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5585 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5586 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5587 wxFlexGridSizer* fgSizer6;
\r
5588 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5589 fgSizer6->AddGrowableCol( 1 );
\r
5590 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5591 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5593 lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5594 lblVendorPEN->Wrap( -1 );
\r
5595 fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5597 txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5598 txtPEN->SetMaxLength( 0 );
\r
5599 fgSizer6->Add( txtPEN, 0, wxALL, 5 );
\r
5601 lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5602 lblElement->Wrap( -1 );
\r
5603 fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5605 txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5606 txtElement->SetMaxLength( 0 );
\r
5607 fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 );
\r
5609 lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5610 lblValue->Wrap( -1 );
\r
5611 fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5613 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5614 txtValue->SetMaxLength( 0 );
\r
5615 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5618 tabGeneral->SetSizer( fgSizer6 );
\r
5619 tabGeneral->Layout();
\r
5620 fgSizer6->Fit( tabGeneral );
\r
5621 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5623 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5625 wxBoxSizer* bSizer252;
\r
5626 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5628 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5629 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5631 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5632 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5635 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5638 this->SetSizer( bSizer251 );
\r
5641 this->Centre( wxBOTH );
\r
5644 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5645 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5648 frmContactEditorVendorADT::~frmContactEditorVendorADT()
\r
5650 // Disconnect Events
\r
5651 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5652 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5656 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
5658 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5660 wxBoxSizer* bSizer251;
\r
5661 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5663 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5664 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5665 wxFlexGridSizer* fgSizer6;
\r
5666 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5667 fgSizer6->AddGrowableCol( 1 );
\r
5668 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5669 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5671 lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5672 lblTokenName->Wrap( -1 );
\r
5673 fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5675 txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5676 txtTokenName->SetMaxLength( 0 );
\r
5677 fgSizer6->Add( txtTokenName, 0, wxALL, 5 );
\r
5679 lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5680 lblXT->Wrap( -1 );
\r
5681 fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5683 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5684 txtValue->SetMaxLength( 0 );
\r
5685 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5688 tabGeneral->SetSizer( fgSizer6 );
\r
5689 tabGeneral->Layout();
\r
5690 fgSizer6->Fit( tabGeneral );
\r
5691 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5693 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5695 wxBoxSizer* bSizer252;
\r
5696 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5698 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5699 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5701 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5702 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5705 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5708 this->SetSizer( bSizer251 );
\r
5711 this->Centre( wxBOTH );
\r
5714 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5715 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5718 frmContactEditorXTokenADT::~frmContactEditorXTokenADT()
\r
5720 // Disconnect Events
\r
5721 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5722 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5726 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
5728 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5730 wxBoxSizer* bSizer251;
\r
5731 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5733 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5734 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5735 wxFlexGridSizer* fgSizer6;
\r
5736 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5737 fgSizer6->AddGrowableCol( 1 );
\r
5738 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5739 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5741 lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5742 lblKeyType->Wrap( -1 );
\r
5743 fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5745 wxArrayString cmbKeyMainTypeChoices;
\r
5746 cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 );
\r
5747 cmbKeyMainType->SetSelection( 0 );
\r
5748 fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 );
\r
5750 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5751 lblType->Wrap( -1 );
\r
5752 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5754 wxArrayString cmbTypeChoices;
\r
5755 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5756 cmbType->SetSelection( 0 );
\r
5757 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5759 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5760 lblPriority->Wrap( -1 );
\r
5761 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5763 wxBoxSizer* bSizer260;
\r
5764 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5766 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5767 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5769 wxBoxSizer* bSizer254;
\r
5770 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5772 wxBoxSizer* bSizer256;
\r
5773 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5775 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5776 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5779 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5781 wxBoxSizer* bSizer255;
\r
5782 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5784 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5785 lblHigh->Wrap( -1 );
\r
5786 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5789 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5791 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5792 lblLow->Wrap( -1 );
\r
5793 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5796 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5799 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5802 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5805 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5808 tabGeneral->SetSizer( fgSizer6 );
\r
5809 tabGeneral->Layout();
\r
5810 fgSizer6->Fit( tabGeneral );
\r
5811 nbkWebsite->AddPage( tabGeneral, wxT("General"), true );
\r
5812 tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5813 wxFlexGridSizer* fgSizer61;
\r
5814 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5815 fgSizer61->AddGrowableCol( 1 );
\r
5816 fgSizer61->SetFlexibleDirection( wxHORIZONTAL );
\r
5817 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5819 lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5820 lblKeyFormat->Wrap( -1 );
\r
5821 fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5823 cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5824 fgSizer61->Add( cmbURL, 0, wxALL, 5 );
\r
5826 lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5827 lblAddress->Wrap( -1 );
\r
5828 fgSizer61->Add( lblAddress, 0, wxALL, 5 );
\r
5830 txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5831 txtAddress->SetMaxLength( 0 );
\r
5832 fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 );
\r
5835 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5838 tabURL->SetSizer( fgSizer61 );
\r
5840 fgSizer61->Fit( tabURL );
\r
5841 nbkWebsite->AddPage( tabURL, wxT("URL"), false );
\r
5842 tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5843 wxFlexGridSizer* fgSizer62;
\r
5844 fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5845 fgSizer62->AddGrowableCol( 1 );
\r
5846 fgSizer62->AddGrowableRow( 1 );
\r
5847 fgSizer62->SetFlexibleDirection( wxBOTH );
\r
5848 fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5850 lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5851 lblKeyFormatData->Wrap( -1 );
\r
5852 fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 );
\r
5854 cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5855 fgSizer62->Add( cmbKeyType, 0, wxALL, 5 );
\r
5857 lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5858 lblKeyData->Wrap( -1 );
\r
5859 fgSizer62->Add( lblKeyData, 0, wxALL, 5 );
\r
5861 txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
5862 txtKeyData->SetMaxLength( 0 );
\r
5863 fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 );
\r
5866 tabKey->SetSizer( fgSizer62 );
\r
5868 fgSizer62->Fit( tabKey );
\r
5869 nbkWebsite->AddPage( tabKey, wxT("Key"), false );
\r
5871 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5873 wxBoxSizer* bSizer252;
\r
5874 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5876 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5877 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5879 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5880 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5883 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5886 this->SetSizer( bSizer251 );
\r
5889 this->Centre( wxBOTH );
\r
5892 cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5893 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5894 cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5895 cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5896 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5897 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5900 frmContactEditorKeyADT::~frmContactEditorKeyADT()
\r
5902 // Disconnect Events
\r
5903 cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5904 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5905 cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5906 cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5907 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5908 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5912 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
5914 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5916 wxBoxSizer* bSizer251;
\r
5917 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5919 nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5920 tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5921 wxFlexGridSizer* fgSizer6;
\r
5922 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5923 fgSizer6->AddGrowableCol( 1 );
\r
5924 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5925 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5927 lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5928 lblEmailAddress->Wrap( -1 );
\r
5929 fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5931 txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5932 txtEmail->SetMaxLength( 0 );
\r
5933 fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 );
\r
5935 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5936 lblPriority->Wrap( -1 );
\r
5937 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5939 wxBoxSizer* bSizer260;
\r
5940 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5942 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5943 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5945 wxBoxSizer* bSizer254;
\r
5946 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5948 wxBoxSizer* bSizer256;
\r
5949 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5951 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5952 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5955 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5957 wxBoxSizer* bSizer255;
\r
5958 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5960 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5961 lblHigh->Wrap( -1 );
\r
5962 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5965 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5967 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5968 lblLow->Wrap( -1 );
\r
5969 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5972 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5975 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5978 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5981 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5984 tabGeneral->SetSizer( fgSizer6 );
\r
5985 tabGeneral->Layout();
\r
5986 fgSizer6->Fit( tabGeneral );
\r
5987 nbkEmail->AddPage( tabGeneral, wxT("General"), false );
\r
5989 bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 );
\r
5991 wxBoxSizer* bSizer252;
\r
5992 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5994 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5995 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5997 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5998 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6001 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6004 this->SetSizer( bSizer251 );
\r
6007 this->Centre( wxBOTH );
\r
6010 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
6011 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6012 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6015 frmContactEditorEmailADT::~frmContactEditorEmailADT()
\r
6017 // Disconnect Events
\r
6018 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
6019 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6020 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6024 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
6026 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6028 wxBoxSizer* bSizer251;
\r
6029 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6031 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6032 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6033 wxFlexGridSizer* fgSizer6;
\r
6034 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6035 fgSizer6->AddGrowableCol( 1 );
\r
6036 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6037 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6039 lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6040 lblIMType->Wrap( -1 );
\r
6041 fgSizer6->Add( lblIMType, 0, wxALL, 5 );
\r
6043 cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN );
\r
6044 fgSizer6->Add( cmbIMType, 0, wxALL, 5 );
\r
6046 lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6047 lblUsername->Wrap( 0 );
\r
6048 fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6050 txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6051 txtUsername->SetMaxLength( 0 );
\r
6052 fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6054 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6055 lblPriority->Wrap( -1 );
\r
6056 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6058 wxBoxSizer* bSizer260;
\r
6059 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6061 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6062 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6064 wxBoxSizer* bSizer254;
\r
6065 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6067 wxBoxSizer* bSizer256;
\r
6068 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6070 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6071 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6074 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6076 wxBoxSizer* bSizer255;
\r
6077 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6079 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6080 lblHigh->Wrap( -1 );
\r
6081 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6084 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6086 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6087 lblLow->Wrap( -1 );
\r
6088 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6091 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6094 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6097 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6100 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6103 tabGeneral->SetSizer( fgSizer6 );
\r
6104 tabGeneral->Layout();
\r
6105 fgSizer6->Fit( tabGeneral );
\r
6106 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6108 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6110 wxBoxSizer* bSizer252;
\r
6111 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6113 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6114 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6116 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6117 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6120 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6123 this->SetSizer( bSizer251 );
\r
6126 this->Centre( wxBOTH );
\r
6129 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6130 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6131 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6134 frmContactEditorIMADT::~frmContactEditorIMADT()
\r
6136 // Disconnect Events
\r
6137 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6138 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6139 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6143 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
6145 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6147 wxBoxSizer* bSizer251;
\r
6148 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6150 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6151 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6152 wxFlexGridSizer* fgSizer6;
\r
6153 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6154 fgSizer6->AddGrowableCol( 1 );
\r
6155 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6156 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6158 lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6159 lblCategory->Wrap( 0 );
\r
6160 fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6162 txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6163 txtCategory->SetMaxLength( 0 );
\r
6164 fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 );
\r
6166 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6167 lblType->Wrap( -1 );
\r
6168 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
6170 wxArrayString cmbTypeChoices;
\r
6171 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
6172 cmbType->SetSelection( 0 );
\r
6173 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
6175 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6176 lblPriority->Wrap( -1 );
\r
6177 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6179 wxBoxSizer* bSizer260;
\r
6180 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6182 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6183 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6185 wxBoxSizer* bSizer254;
\r
6186 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6188 wxBoxSizer* bSizer256;
\r
6189 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6191 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6192 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6195 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6197 wxBoxSizer* bSizer255;
\r
6198 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6200 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6201 lblHigh->Wrap( -1 );
\r
6202 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6205 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6207 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6208 lblLow->Wrap( -1 );
\r
6209 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6212 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6215 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6218 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6221 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6224 tabGeneral->SetSizer( fgSizer6 );
\r
6225 tabGeneral->Layout();
\r
6226 fgSizer6->Fit( tabGeneral );
\r
6227 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6229 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6231 wxBoxSizer* bSizer252;
\r
6232 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6234 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6235 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6237 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6238 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6241 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6244 this->SetSizer( bSizer251 );
\r
6247 this->Centre( wxBOTH );
\r
6250 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6251 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6252 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6255 frmContactEditorCategoryADT::~frmContactEditorCategoryADT()
\r
6257 // Disconnect Events
\r
6258 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6259 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6260 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6264 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
6266 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6268 wxBoxSizer* bSizer251;
\r
6269 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6271 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6272 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6273 wxFlexGridSizer* fgSizer6;
\r
6274 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6275 fgSizer6->AddGrowableCol( 1 );
\r
6276 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6277 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6279 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6280 lblTelephone->Wrap( -1 );
\r
6281 fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6283 txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6284 txtTelephone->SetMaxLength( 0 );
\r
6285 fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 );
\r
6287 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6288 lblPriority->Wrap( -1 );
\r
6289 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6291 wxBoxSizer* bSizer260;
\r
6292 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6294 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6295 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6297 wxBoxSizer* bSizer254;
\r
6298 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6300 wxBoxSizer* bSizer256;
\r
6301 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6303 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6304 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6307 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6309 wxBoxSizer* bSizer255;
\r
6310 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6312 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6313 lblHigh->Wrap( -1 );
\r
6314 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6317 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6319 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6320 lblLow->Wrap( -1 );
\r
6321 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6324 bSizer254->Add( bSizer255, 0, wxEXPAND, 0 );
\r
6327 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6330 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6332 lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6333 lblTelephoneType->Wrap( 0 );
\r
6334 fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 );
\r
6336 wxGridSizer* gSizer5;
\r
6337 gSizer5 = new wxGridSizer( 2, 2, 0, 0 );
\r
6339 chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6340 gSizer5->Add( chkVoice, 0, wxALL, 2 );
\r
6342 chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6343 gSizer5->Add( chkText, 0, wxALL, 2 );
\r
6345 chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6346 gSizer5->Add( chkFax, 0, wxALL, 2 );
\r
6348 chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6349 gSizer5->Add( chkMobile, 0, wxALL, 2 );
\r
6351 chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6352 gSizer5->Add( chkVideo, 0, wxALL, 2 );
\r
6354 chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6355 gSizer5->Add( chkTextphone, 0, wxALL, 2 );
\r
6357 chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6358 gSizer5->Add( chkPager, 0, wxALL, 2 );
\r
6361 fgSizer6->Add( gSizer5, 1, 0, 5 );
\r
6364 tabGeneral->SetSizer( fgSizer6 );
\r
6365 tabGeneral->Layout();
\r
6366 fgSizer6->Fit( tabGeneral );
\r
6367 nbkAddress->AddPage( tabGeneral, wxT("General"), false );
\r
6369 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
6371 wxBoxSizer* bSizer252;
\r
6372 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6374 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6375 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6377 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6378 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6381 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6384 this->SetSizer( bSizer251 );
\r
6387 this->Centre( wxBOTH );
\r
6390 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6391 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6392 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6395 frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT()
\r
6397 // Disconnect Events
\r
6398 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6399 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6400 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6404 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
6406 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6408 wxBoxSizer* bSizer251;
\r
6409 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6411 nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6412 tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6413 wxFlexGridSizer* fgSizer6;
\r
6414 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6415 fgSizer6->AddGrowableCol( 1 );
\r
6416 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6417 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6419 lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6420 lblLanguage->Wrap( -1 );
\r
6421 fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6423 txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6424 txtLanguage->SetMaxLength( 0 );
\r
6425 fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 );
\r
6427 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6428 lblPriority->Wrap( -1 );
\r
6429 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6431 wxBoxSizer* bSizer260;
\r
6432 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6434 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6435 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6437 wxBoxSizer* bSizer254;
\r
6438 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6440 wxBoxSizer* bSizer256;
\r
6441 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6443 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6444 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6447 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6449 wxBoxSizer* bSizer255;
\r
6450 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6452 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6453 lblHigh->Wrap( -1 );
\r
6454 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6457 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6459 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6460 lblLow->Wrap( -1 );
\r
6461 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6464 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6467 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6470 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6473 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6476 tabGeneral->SetSizer( fgSizer6 );
\r
6477 tabGeneral->Layout();
\r
6478 fgSizer6->Fit( tabGeneral );
\r
6479 nbkLanguages->AddPage( tabGeneral, wxT("General"), false );
\r
6481 bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 );
\r
6483 wxBoxSizer* bSizer252;
\r
6484 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6486 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6487 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6489 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6490 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6493 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6496 this->SetSizer( bSizer251 );
\r
6499 this->Centre( wxBOTH );
\r
6502 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6503 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6504 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6507 frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT()
\r
6509 // Disconnect Events
\r
6510 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6511 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6512 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6516 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
6518 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6520 wxBoxSizer* bSizer251;
\r
6521 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6523 nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6524 tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6525 wxFlexGridSizer* fgSizer6;
\r
6526 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6527 fgSizer6->AddGrowableCol( 1 );
\r
6528 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6529 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6531 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6532 lblTimezone->Wrap( -1 );
\r
6533 fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6535 cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
6536 fgSizer6->Add( cmbTimezone, 0, wxALL, 5 );
\r
6538 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6539 lblPriority->Wrap( -1 );
\r
6540 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6542 wxBoxSizer* bSizer260;
\r
6543 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6545 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6546 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6548 wxBoxSizer* bSizer254;
\r
6549 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6551 wxBoxSizer* bSizer256;
\r
6552 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6554 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6555 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6558 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6560 wxBoxSizer* bSizer255;
\r
6561 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6563 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6564 lblHigh->Wrap( -1 );
\r
6565 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6568 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6570 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6571 lblLow->Wrap( -1 );
\r
6572 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6575 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6578 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6581 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6584 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6587 tabGeneral->SetSizer( fgSizer6 );
\r
6588 tabGeneral->Layout();
\r
6589 fgSizer6->Fit( tabGeneral );
\r
6590 nbkTimezone->AddPage( tabGeneral, wxT("General"), false );
\r
6592 bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 );
\r
6594 wxBoxSizer* bSizer252;
\r
6595 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6597 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6598 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6600 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6601 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6604 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6607 this->SetSizer( bSizer251 );
\r
6610 this->Centre( wxBOTH );
\r
6613 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6614 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6615 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6618 frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT()
\r
6620 // Disconnect Events
\r
6621 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6622 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6623 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6627 XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
\r
6629 this->SetMinSize( wxSize( -1,40 ) );
\r
6630 this->SetMaxSize( wxSize( -1,40 ) );
\r
6632 wxFlexGridSizer* fgSizer40;
\r
6633 fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 );
\r
6634 fgSizer40->AddGrowableCol( 1 );
\r
6635 fgSizer40->SetFlexibleDirection( wxBOTH );
\r
6636 fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6638 wxArrayString choOptionChoices;
\r
6639 choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 );
\r
6640 choOption->SetSelection( 0 );
\r
6641 fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 );
\r
6643 szrSSet = new wxBoxSizer( wxHORIZONTAL );
\r
6645 chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6646 szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6648 txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6649 txtSearch->SetMaxLength( 0 );
\r
6650 szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6653 fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 );
\r
6655 wxBoxSizer* bSizer376;
\r
6656 bSizer376 = new wxBoxSizer( wxHORIZONTAL );
\r
6658 btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6659 btnAdd->SetMinSize( wxSize( 28,28 ) );
\r
6660 btnAdd->SetMaxSize( wxSize( 28,28 ) );
\r
6662 bSizer376->Add( btnAdd, 0, wxALL, 5 );
\r
6664 btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6665 btnDelete->SetMinSize( wxSize( 28,28 ) );
\r
6666 btnDelete->SetMaxSize( wxSize( 28,28 ) );
\r
6668 bSizer376->Add( btnDelete, 0, wxALL, 5 );
\r
6671 fgSizer40->Add( bSizer376, 0, 0, 5 );
\r
6674 this->SetSizer( fgSizer40 );
\r
6678 choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6679 btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6680 btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6683 XABSearchPanelADT::~XABSearchPanelADT()
\r
6685 // Disconnect Events
\r
6686 choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6687 btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6688 btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6692 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
6694 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6696 wxBoxSizer* bSizer376;
\r
6697 bSizer376 = new wxBoxSizer( wxVERTICAL );
\r
6699 wxArrayString chlAccountsChoices;
\r
6700 chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
6701 bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 );
\r
6703 wxBoxSizer* bSizer377;
\r
6704 bSizer377 = new wxBoxSizer( wxHORIZONTAL );
\r
6707 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6709 btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6710 bSizer377->Add( btnSelect, 0, wxALL, 5 );
\r
6712 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6713 bSizer377->Add( btnCancel, 0, wxALL, 5 );
\r
6716 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6719 bSizer376->Add( bSizer377, 0, wxEXPAND, 5 );
\r
6722 this->SetSizer( bSizer376 );
\r
6725 this->Centre( wxBOTH );
\r
6728 btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6729 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6732 frmSearchAccountsADT::~frmSearchAccountsADT()
\r
6734 // Disconnect Events
\r
6735 btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6736 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6740 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
6742 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6744 wxBoxSizer* bSizer384;
\r
6745 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6747 wxBoxSizer* szrTabs;
\r
6748 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
6750 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6751 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6752 wxFlexGridSizer* fgSizer43;
\r
6753 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6754 fgSizer43->AddGrowableCol( 1 );
\r
6755 fgSizer43->SetFlexibleDirection( wxBOTH );
\r
6756 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6758 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6759 lblAccName->Wrap( -1 );
\r
6760 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6762 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6763 txtAccountName->SetMaxLength( 0 );
\r
6764 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
6766 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6767 lblAccAdr->Wrap( -1 );
\r
6768 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6770 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6771 txtAddress->SetMaxLength( 0 );
\r
6772 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
6774 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6775 m_staticText193->Wrap( -1 );
\r
6776 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6778 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6779 txtPort->SetMaxLength( 5 );
\r
6780 fgSizer43->Add( txtPort, 0, wxALL, 5 );
\r
6782 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6783 lblPort->Wrap( -1 );
\r
6784 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6786 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6787 txtUsername->SetMaxLength( 0 );
\r
6788 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6790 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6791 lblPassword->Wrap( -1 );
\r
6792 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6794 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6795 txtPassword->SetMaxLength( 0 );
\r
6796 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
6798 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6799 lblPrefix->Wrap( -1 );
\r
6800 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6802 wxBoxSizer* bSizer391;
\r
6803 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
\r
6805 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6806 txtPrefix->SetMaxLength( 0 );
\r
6807 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
\r
6809 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
\r
6810 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
\r
6813 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
\r
6815 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6816 txtSSL->Wrap( -1 );
\r
6817 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6819 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6820 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
\r
6823 tabProperties->SetSizer( fgSizer43 );
\r
6824 tabProperties->Layout();
\r
6825 fgSizer43->Fit( tabProperties );
\r
6826 tabAccount->AddPage( tabProperties, wxT("General"), true );
\r
6827 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6828 wxFlexGridSizer* fgSizer431;
\r
6829 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6830 fgSizer431->AddGrowableCol( 1 );
\r
6831 fgSizer431->SetFlexibleDirection( wxBOTH );
\r
6832 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6834 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6835 lblRefresh->Wrap( -1 );
\r
6836 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6838 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6839 txtRefresh->SetMaxLength( 5 );
\r
6840 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
\r
6843 tabRefresh->SetSizer( fgSizer431 );
\r
6844 tabRefresh->Layout();
\r
6845 fgSizer431->Fit( tabRefresh );
\r
6846 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
\r
6848 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
\r
6851 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
\r
6853 wxBoxSizer* szrButtons;
\r
6854 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
6857 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
6859 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6860 btnSave->SetDefault();
\r
6861 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
6864 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
6866 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6867 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
6870 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
6873 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
6876 this->SetSizer( bSizer384 );
\r
6879 this->Centre( wxBOTH );
\r
6882 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6883 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6884 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6887 frmEditAccountADT::~frmEditAccountADT()
\r
6889 // Disconnect Events
\r
6890 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6891 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6892 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6896 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
6898 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6900 wxBoxSizer* bSizer384;
\r
6901 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6903 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6904 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6905 wxBoxSizer* bSizer386;
\r
6906 bSizer386 = new wxBoxSizer( wxVERTICAL );
\r
6908 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6909 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
\r
6911 wxBoxSizer* bSizer389;
\r
6912 bSizer389 = new wxBoxSizer( wxVERTICAL );
\r
6914 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6915 lblCertName->Wrap( -1 );
\r
6916 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
\r
6918 bSizer389->Add( lblCertName, 0, wxALL, 5 );
\r
6920 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6921 lblValidityStatus->Wrap( -1 );
\r
6922 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
\r
6925 pnlTop->SetSizer( bSizer389 );
\r
6927 bSizer389->Fit( pnlTop );
\r
6928 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
\r
6930 wxBoxSizer* bSizer392;
\r
6931 bSizer392 = new wxBoxSizer( wxVERTICAL );
\r
6933 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6934 wxFlexGridSizer* fgSizer44;
\r
6935 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6936 fgSizer44->AddGrowableCol( 1 );
\r
6937 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
\r
6938 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6940 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6941 lblIssuedTo->Wrap( -1 );
\r
6942 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
\r
6944 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6945 lblIssuedToData->Wrap( -1 );
\r
6946 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
\r
6948 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6949 lblValidFrom->Wrap( -1 );
\r
6950 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
\r
6952 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6953 lblValidFromData->Wrap( -1 );
\r
6954 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
\r
6956 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6957 lblValidUntil->Wrap( -1 );
\r
6958 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
\r
6960 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6961 lblValidUntilData->Wrap( -1 );
\r
6962 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
\r
6965 m_panel54->SetSizer( fgSizer44 );
\r
6966 m_panel54->Layout();
\r
6967 fgSizer44->Fit( m_panel54 );
\r
6968 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
\r
6971 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
\r
6974 tabSummary->SetSizer( bSizer386 );
\r
6975 tabSummary->Layout();
\r
6976 bSizer386->Fit( tabSummary );
\r
6977 m_notebook28->AddPage( tabSummary, wxT("Summary"), false );
\r
6978 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6979 wxBoxSizer* bSizer3891;
\r
6980 bSizer3891 = new wxBoxSizer( wxVERTICAL );
\r
6982 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
6983 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
\r
6985 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
\r
6986 txtValueData->SetMaxLength( 0 );
\r
6987 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
6989 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
\r
6992 tabDetail->SetSizer( bSizer3891 );
\r
6993 tabDetail->Layout();
\r
6994 bSizer3891->Fit( tabDetail );
\r
6995 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
\r
6996 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6997 wxBoxSizer* bSizer390;
\r
6998 bSizer390 = new wxBoxSizer( wxVERTICAL );
\r
7000 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
\r
7001 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
7003 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
7004 wxBoxSizer* bSizer393;
\r
7005 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
7007 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7008 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
\r
7011 m_panel57->SetSizer( bSizer393 );
\r
7012 m_panel57->Layout();
\r
7013 bSizer393->Fit( m_panel57 );
\r
7014 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
\r
7017 tabHierarchy->SetSizer( bSizer390 );
\r
7018 tabHierarchy->Layout();
\r
7019 bSizer390->Fit( tabHierarchy );
\r
7020 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), true );
\r
7022 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
7024 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
7025 wxBoxSizer* bSizer385;
\r
7026 bSizer385 = new wxBoxSizer( wxVERTICAL );
\r
7028 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7029 btnClose->SetDefault();
\r
7030 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
\r
7033 pnlButtons->SetSizer( bSizer385 );
\r
7034 pnlButtons->Layout();
\r
7035 bSizer385->Fit( pnlButtons );
\r
7036 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
\r
7039 this->SetSizer( bSizer384 );
\r
7042 this->Centre( wxBOTH );
\r
7045 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7046 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7047 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7048 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7051 frmSSLCertificateADT::~frmSSLCertificateADT()
\r
7053 // Disconnect Events
\r
7054 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7055 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7056 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7057 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7061 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
7063 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7065 wxBoxSizer* bSizer387;
\r
7066 bSizer387 = new wxBoxSizer( wxVERTICAL );
\r
7068 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7069 lblSSLText->Wrap( -1 );
\r
7070 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
\r
7072 wxBoxSizer* bSizer388;
\r
7073 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
\r
7075 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7076 bSizer388->Add( btnAccept, 0, wxALL, 5 );
\r
7078 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7079 btnReject->SetDefault();
\r
7080 bSizer388->Add( btnReject, 0, wxALL, 5 );
\r
7082 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7083 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
\r
7086 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
\r
7089 this->SetSizer( bSizer387 );
\r
7092 this->Centre( wxBOTH );
\r
7095 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7096 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7097 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7100 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
\r
7102 // Disconnect Events
\r
7103 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7104 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7105 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7109 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
7111 this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) );
\r
7113 wxBoxSizer* bSizer393;
\r
7114 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
7116 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
7117 lblImportText->Wrap( 300 );
\r
7118 bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 );
\r
7120 wxArrayString lstContactsChoices;
\r
7121 lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
7122 bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
\r
7124 szrAccount = new wxBoxSizer( wxHORIZONTAL );
\r
7126 lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7127 lblAccountText->Wrap( -1 );
\r
7128 szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
7131 bSizer393->Add( szrAccount, 0, wxEXPAND, 5 );
\r
7133 wxBoxSizer* bSizer394;
\r
7134 bSizer394 = new wxBoxSizer( wxHORIZONTAL );
\r
7136 btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7137 btnImport->SetDefault();
\r
7138 bSizer394->Add( btnImport, 0, wxALL, 5 );
\r
7140 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7141 bSizer394->Add( btnCancel, 0, wxALL, 5 );
\r
7144 bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 );
\r
7147 this->SetSizer( bSizer393 );
\r
7150 this->Centre( wxBOTH );
\r
7153 btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7154 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7157 frmImportContactsADT::~frmImportContactsADT()
\r
7159 // Disconnect Events
\r
7160 btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7161 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7165 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
7167 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7169 wxBoxSizer* bSizer396;
\r
7170 bSizer396 = new wxBoxSizer( wxVERTICAL );
\r
7172 lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7173 lblText->Wrap( -1 );
\r
7174 bSizer396->Add( lblText, 0, wxALL, 5 );
\r
7176 txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
\r
7177 txtResults->SetMaxLength( 0 );
\r
7178 bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 );
\r
7180 wxBoxSizer* bSizer397;
\r
7181 bSizer397 = new wxBoxSizer( wxHORIZONTAL );
\r
7183 btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7184 btnCopyClipboard->Hide();
\r
7186 bSizer397->Add( btnCopyClipboard, 0, 0, 5 );
\r
7188 btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7189 bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
\r
7192 bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
7195 this->SetSizer( bSizer396 );
\r
7198 this->Centre( wxBOTH );
\r
7201 btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7202 btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r
7205 frmImportResultsADT::~frmImportResultsADT()
\r
7207 // Disconnect Events
\r
7208 btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7209 btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r