1 ///////////////////////////////////////////////////////////////////////////
\r
2 // C++ code generated with wxFormBuilder (version Jun 17 2015)
\r
3 // http://www.wxformbuilder.org/
\r
5 // PLEASE DO "NOT" EDIT THIS FILE!
\r
6 ///////////////////////////////////////////////////////////////////////////
\r
8 #include "AppXestiaAddrBk.h"
\r
10 ///////////////////////////////////////////////////////////////////////////
\r
12 frmMainADT::frmMainADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
\r
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
15 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
17 mnuMain = new wxMenuBar( 0 );
\r
18 mnuManage = new wxMenu();
\r
19 wxMenuItem* mnuNewAB;
\r
20 mnuNewAB = new wxMenuItem( mnuManage, ID_MANAGE_NEWAB, wxString( wxT("New Address Book...") ) , wxEmptyString, wxITEM_NORMAL );
\r
21 mnuManage->Append( mnuNewAB );
\r
23 mnuManage->AppendSeparator();
\r
25 wxMenuItem* mnuRefreshAB;
\r
26 mnuRefreshAB = new wxMenuItem( mnuManage, wxID_ANY, wxString( wxT("Refresh Address Book") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
27 mnuManage->Append( mnuRefreshAB );
\r
29 mnuManage->AppendSeparator();
\r
31 wxMenuItem* mnuImport;
\r
32 mnuImport = new wxMenuItem( mnuManage, ID_IMPORT, wxString( wxT("Import...") ) , wxEmptyString, wxITEM_NORMAL );
\r
33 mnuManage->Append( mnuImport );
\r
35 wxMenuItem* mnuExport;
\r
36 mnuExport = new wxMenuItem( mnuManage, ID_EXPORT, wxString( wxT("Export...") ) , wxEmptyString, wxITEM_NORMAL );
\r
37 mnuManage->Append( mnuExport );
\r
39 mnuPrefSep = mnuManage->AppendSeparator();
\r
41 wxMenuItem* mnuPreferences;
\r
42 mnuPreferences = new wxMenuItem( mnuManage, wxID_PREFERENCES, wxString( wxT("Preferences...") ) , wxEmptyString, wxITEM_NORMAL );
\r
43 mnuManage->Append( mnuPreferences );
\r
45 mnuExitSep = mnuManage->AppendSeparator();
\r
47 wxMenuItem* mnuExit;
\r
48 mnuExit = new wxMenuItem( mnuManage, wxID_EXIT, wxString( wxT("Exit") ) + wxT('\t') + wxT("CTRL+Q"), wxEmptyString, wxITEM_NORMAL );
\r
50 mnuExit->SetBitmaps( wxNullBitmap );
\r
51 #elif (defined( __WXGTK__ ) || defined( __WXOSX__ ))
\r
52 mnuExit->SetBitmap( wxNullBitmap );
\r
54 mnuManage->Append( mnuExit );
\r
56 mnuMain->Append( mnuManage, wxT("Manage") );
\r
58 mnuContact = new wxMenu();
\r
59 wxMenuItem* mnuNewContact;
\r
60 mnuNewContact = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("New Contact...") ) + wxT('\t') + wxT("CTRL+N"), wxEmptyString, wxITEM_NORMAL );
\r
61 mnuContact->Append( mnuNewContact );
\r
63 wxMenuItem* mnuEditContact;
\r
64 mnuEditContact = new wxMenuItem( mnuContact, ID_CONTACT_EDIT, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
\r
65 mnuContact->Append( mnuEditContact );
\r
67 wxMenuItem* deleteContact;
\r
68 deleteContact = new wxMenuItem( mnuContact, ID_CONTACT_DELETE, wxString( wxT("Delete Contact...") ) + wxT('\t') + wxT("CTRL+D"), wxEmptyString, wxITEM_NORMAL );
\r
69 mnuContact->Append( deleteContact );
\r
71 mnuContact->AppendSeparator();
\r
73 wxMenuItem* mnuFindContact;
\r
74 mnuFindContact = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Find Contacts...") ) + wxT('\t') + wxT("CTRL+F"), wxEmptyString, wxITEM_NORMAL );
\r
75 mnuContact->Append( mnuFindContact );
\r
77 mnuMain->Append( mnuContact, wxT("Contact") );
\r
79 mnuView = new wxMenu();
\r
80 mnuShowContactsAs = new wxMenu();
\r
81 wxMenuItem* mnuShowContactsAsItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show Contacts As"), wxEmptyString, wxITEM_NORMAL, mnuShowContactsAs );
\r
82 wxMenuItem* mnuViewFNLN;
\r
83 mnuViewFNLN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_FNLN, wxString( wxT("First Name, Last Name") ) , wxEmptyString, wxITEM_NORMAL );
\r
84 mnuShowContactsAs->Append( mnuViewFNLN );
\r
86 wxMenuItem* mnuViewLNFN;
\r
87 mnuViewLNFN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_LNFN, wxString( wxT("Last Name, First Name") ) , wxEmptyString, wxITEM_NORMAL );
\r
88 mnuShowContactsAs->Append( mnuViewLNFN );
\r
90 wxMenuItem* mnuViewNick;
\r
91 mnuViewNick = new wxMenuItem( mnuShowContactsAs, ID_VIEW_NICK, wxString( wxT("Nickname") ) , wxEmptyString, wxITEM_NORMAL );
\r
92 mnuShowContactsAs->Append( mnuViewNick );
\r
94 wxMenuItem* mnuViewDisplayAs;
\r
95 mnuViewDisplayAs = new wxMenuItem( mnuShowContactsAs, wxID_ANY, wxString( wxT("Display As Name") ) , wxEmptyString, wxITEM_NORMAL );
\r
96 mnuShowContactsAs->Append( mnuViewDisplayAs );
\r
98 mnuView->Append( mnuShowContactsAsItem );
\r
100 mnuViewSortBy = new wxMenu();
\r
101 wxMenuItem* mnuViewSortByItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Sort By"), wxEmptyString, wxITEM_NORMAL, mnuViewSortBy );
\r
102 wxMenuItem* mnuViewAsc;
\r
103 mnuViewAsc = new wxMenuItem( mnuViewSortBy, ID_VIEW_ASC, wxString( wxT("Ascending") ) , wxEmptyString, wxITEM_NORMAL );
\r
104 mnuViewSortBy->Append( mnuViewAsc );
\r
106 wxMenuItem* mnuViewDesc;
\r
107 mnuViewDesc = new wxMenuItem( mnuViewSortBy, ID_VIEW_DESC, wxString( wxT("Descending") ) , wxEmptyString, wxITEM_NORMAL );
\r
108 mnuViewSortBy->Append( mnuViewDesc );
\r
110 mnuView->Append( mnuViewSortByItem );
\r
112 mnuViewShow = new wxMenu();
\r
113 wxMenuItem* mnuViewShowItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show"), wxEmptyString, wxITEM_NORMAL, mnuViewShow );
\r
114 wxMenuItem* mnuViewStatusBar;
\r
115 mnuViewStatusBar = new wxMenuItem( mnuViewShow, ID_VIEW_STATUSBAR, wxString( wxT("Status Bar") ) , wxEmptyString, wxITEM_NORMAL );
\r
116 mnuViewShow->Append( mnuViewStatusBar );
\r
118 mnuView->Append( mnuViewShowItem );
\r
120 mnuView->AppendSeparator();
\r
122 wxMenuItem* mnuViewActivity;
\r
123 mnuViewActivity = new wxMenuItem( mnuView, wxID_ANY, wxString( wxT("Activity Manager") ) , wxEmptyString, wxITEM_NORMAL );
\r
124 mnuView->Append( mnuViewActivity );
\r
126 mnuMain->Append( mnuView, wxT("View") );
\r
128 mnuEdit = new wxMenu();
\r
129 wxMenuItem* mnuCut;
\r
130 mnuCut = new wxMenuItem( mnuEdit, ID_MANAGE_CUT, wxString( wxT("Cut") ) + wxT('\t') + wxT("CTRL+X"), wxEmptyString, wxITEM_NORMAL );
\r
131 mnuEdit->Append( mnuCut );
\r
133 wxMenuItem* mnuCopy;
\r
134 mnuCopy = new wxMenuItem( mnuEdit, ID_MANAGE_COPY, wxString( wxT("Copy") ) + wxT('\t') + wxT("CTRL+C"), wxEmptyString, wxITEM_NORMAL );
\r
135 mnuEdit->Append( mnuCopy );
\r
137 wxMenuItem* mnuPaste;
\r
138 mnuPaste = new wxMenuItem( mnuEdit, ID_MANAGE_PASTE, wxString( wxT("Paste") ) + wxT('\t') + wxT("CTRL+V"), wxEmptyString, wxITEM_NORMAL );
\r
139 mnuEdit->Append( mnuPaste );
\r
141 mnuMain->Append( mnuEdit, wxT("Edit") );
\r
143 mnuWindow = new wxMenu();
\r
144 mnuMain->Append( mnuWindow, wxT("Window") );
\r
146 mnuHelp = new wxMenu();
\r
147 wxMenuItem* showHelp;
\r
148 showHelp = new wxMenuItem( mnuHelp, ID_HELP_SHOW, wxString( wxT("Show Help...") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL );
\r
149 mnuHelp->Append( showHelp );
\r
151 mnuHelp->AppendSeparator();
\r
153 wxMenuItem* mnuHelpUpdates;
\r
154 mnuHelpUpdates = new wxMenuItem( mnuHelp, ID_MANAGE_UPDATE, wxString( wxT("Check for updates...") ) , wxEmptyString, wxITEM_NORMAL );
\r
155 mnuHelp->Append( mnuHelpUpdates );
\r
157 mnuHelpAboutSep = mnuHelp->AppendSeparator();
\r
159 wxMenuItem* mnuAbout;
\r
160 mnuAbout = new wxMenuItem( mnuHelp, wxID_ABOUT, wxString( wxT("About") ) + wxT('\t') + wxT("SHIFT+CTRL+A"), wxEmptyString, wxITEM_NORMAL );
\r
161 mnuHelp->Append( mnuAbout );
\r
163 mnuMain->Append( mnuHelp, wxT("Help") );
\r
165 this->SetMenuBar( mnuMain );
\r
167 szrMain = new wxBoxSizer( wxVERTICAL );
\r
169 wxBoxSizer* bSizer396;
\r
170 bSizer396 = new wxBoxSizer( wxHORIZONTAL );
\r
172 bmpIcon = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
\r
173 bSizer396->Add( bmpIcon, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
175 AccCtrl = new wxComboCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxCB_READONLY|wxEXPAND);
\r
176 bSizer396->Add( AccCtrl, 0, wxALL, 5 );
\r
179 szrMain->Add( bSizer396, 0, wxEXPAND|wxLEFT, 5 );
\r
181 m_splitter13 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
182 m_splitter13->Connect( wxEVT_IDLE, wxIdleEventHandler( frmMainADT::m_splitter13OnIdle ), NULL, this );
\r
183 m_splitter13->SetMinimumPaneSize( 1 );
\r
185 m_panel19 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
186 szrContactList = new wxBoxSizer( wxVERTICAL );
\r
188 lstContacts = new wxListCtrl( m_panel19, wxID_ANY, wxDefaultPosition, wxSize( 50,-1 ), wxLC_NO_HEADER|wxLC_REPORT|wxSUNKEN_BORDER );
\r
189 szrContactList->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
\r
192 m_panel19->SetSizer( szrContactList );
\r
193 m_panel19->Layout();
\r
194 szrContactList->Fit( m_panel19 );
\r
195 m_panel20 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
196 wxBoxSizer* bSizer12;
\r
197 bSizer12 = new wxBoxSizer( wxVERTICAL );
\r
199 htmContactData = new wxHtmlWindow( m_panel20, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
200 bSizer12->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
\r
203 m_panel20->SetSizer( bSizer12 );
\r
204 m_panel20->Layout();
\r
205 bSizer12->Fit( m_panel20 );
\r
206 m_splitter13->SplitVertically( m_panel19, m_panel20, 201 );
\r
207 szrMain->Add( m_splitter13, 1, wxEXPAND, 5 );
\r
210 this->SetSizer( szrMain );
\r
212 stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
\r
214 this->Centre( wxBOTH );
\r
217 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
\r
218 this->Connect( mnuNewAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
\r
219 this->Connect( mnuRefreshAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
\r
220 this->Connect( mnuImport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
\r
221 this->Connect( mnuExport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
\r
222 this->Connect( mnuPreferences->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
\r
223 this->Connect( mnuExit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
\r
224 this->Connect( mnuNewContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
\r
225 this->Connect( mnuEditContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
\r
226 this->Connect( deleteContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
\r
227 this->Connect( mnuFindContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
\r
228 this->Connect( mnuViewFNLN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
\r
229 this->Connect( mnuViewLNFN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
\r
230 this->Connect( mnuViewNick->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
\r
231 this->Connect( mnuViewDisplayAs->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
\r
232 this->Connect( mnuViewAsc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
\r
233 this->Connect( mnuViewDesc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
\r
234 this->Connect( mnuViewStatusBar->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
\r
235 this->Connect( mnuViewActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
\r
236 this->Connect( mnuCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
\r
237 this->Connect( mnuCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
\r
238 this->Connect( mnuPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
\r
239 this->Connect( showHelp->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
\r
240 this->Connect( mnuHelpUpdates->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
\r
241 this->Connect( mnuAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
\r
242 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this );
\r
243 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
244 lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
245 lstContacts->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this );
\r
246 htmContactData->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
\r
247 stbBottom->Connect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
\r
250 frmMainADT::~frmMainADT()
\r
252 // Disconnect Events
\r
253 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
\r
254 this->Disconnect( ID_MANAGE_NEWAB, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
\r
255 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
\r
256 this->Disconnect( ID_IMPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
\r
257 this->Disconnect( ID_EXPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
\r
258 this->Disconnect( wxID_PREFERENCES, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
\r
259 this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
\r
260 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
\r
261 this->Disconnect( ID_CONTACT_EDIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
\r
262 this->Disconnect( ID_CONTACT_DELETE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
\r
263 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
\r
264 this->Disconnect( ID_VIEW_FNLN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
\r
265 this->Disconnect( ID_VIEW_LNFN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
\r
266 this->Disconnect( ID_VIEW_NICK, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
\r
267 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
\r
268 this->Disconnect( ID_VIEW_ASC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
\r
269 this->Disconnect( ID_VIEW_DESC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
\r
270 this->Disconnect( ID_VIEW_STATUSBAR, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
\r
271 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
\r
272 this->Disconnect( ID_MANAGE_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
\r
273 this->Disconnect( ID_MANAGE_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
\r
274 this->Disconnect( ID_MANAGE_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
\r
275 this->Disconnect( ID_HELP_SHOW, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
\r
276 this->Disconnect( ID_MANAGE_UPDATE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
\r
277 this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
\r
278 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this );
\r
279 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
280 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
281 lstContacts->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this );
\r
282 htmContactData->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
\r
283 stbBottom->Disconnect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
\r
287 frmUpdateADT::frmUpdateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
289 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
291 wxBoxSizer* bSizer390;
\r
292 bSizer390 = new wxBoxSizer( wxVERTICAL );
\r
294 pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
295 wxBoxSizer* bSizer391;
\r
296 bSizer391 = new wxBoxSizer( wxVERTICAL );
\r
298 wxFlexGridSizer* fgSizer45;
\r
299 fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 );
\r
300 fgSizer45->SetFlexibleDirection( wxBOTH );
\r
301 fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
303 lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
304 lblRunningText->Wrap( -1 );
\r
305 fgSizer45->Add( lblRunningText, 0, wxALL, 5 );
\r
307 lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 );
\r
308 lblRunningVer->Wrap( -1 );
\r
309 fgSizer45->Add( lblRunningVer, 0, wxALL, 5 );
\r
311 lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
312 lblAvailableText->Wrap( -1 );
\r
313 fgSizer45->Add( lblAvailableText, 0, wxALL, 5 );
\r
315 lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 );
\r
316 lblAvailableVer->Wrap( -1 );
\r
317 fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 );
\r
319 lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
320 lblBuildTypeText->Wrap( -1 );
\r
321 fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 );
\r
323 lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 );
\r
324 lblBuildType->Wrap( -1 );
\r
325 fgSizer45->Add( lblBuildType, 0, wxALL, 5 );
\r
328 bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 );
\r
330 lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 );
\r
331 lblUpdateMessage->Wrap( -1 );
\r
332 bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 );
\r
335 pnlUpdateData->SetSizer( bSizer391 );
\r
336 pnlUpdateData->Layout();
\r
337 bSizer391->Fit( pnlUpdateData );
\r
338 bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 );
\r
340 statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
341 bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 );
\r
343 wxBoxSizer* bSizer392;
\r
344 bSizer392 = new wxBoxSizer( wxHORIZONTAL );
\r
346 btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 );
\r
347 bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
\r
349 btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 );
\r
350 bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 );
\r
352 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
353 bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
\r
356 bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 );
\r
359 this->SetSizer( bSizer390 );
\r
362 this->Centre( wxBOTH );
\r
365 btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
\r
366 btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
\r
367 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
\r
370 frmUpdateADT::~frmUpdateADT()
\r
372 // Disconnect Events
\r
373 btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
\r
374 btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
\r
375 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
\r
379 frmSearchADT::frmSearchADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
\r
381 this->SetSizeHints( wxSize( 300,450 ), wxDefaultSize );
\r
383 stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
\r
384 wxBoxSizer* bSizer368;
\r
385 bSizer368 = new wxBoxSizer( wxVERTICAL );
\r
387 m_splitter4 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
388 m_splitter4->Connect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this );
\r
389 m_splitter4->SetMinimumPaneSize( 1 );
\r
391 m_panel60 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
392 wxBoxSizer* bSizer382;
\r
393 bSizer382 = new wxBoxSizer( wxVERTICAL );
\r
395 wxBoxSizer* bSizer369;
\r
396 bSizer369 = new wxBoxSizer( wxHORIZONTAL );
\r
398 nbkSearch = new wxNotebook( m_panel60, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
399 tabSearch = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE|wxHSCROLL|wxVSCROLL );
\r
400 tabSearch->SetScrollRate( 5, 5 );
\r
401 szrSearch = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
402 szrSearch->AddGrowableCol( 0 );
\r
403 szrSearch->SetFlexibleDirection( wxVERTICAL );
\r
404 szrSearch->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
407 tabSearch->SetSizer( szrSearch );
\r
408 tabSearch->Layout();
\r
409 szrSearch->Fit( tabSearch );
\r
410 nbkSearch->AddPage( tabSearch, wxT("Search"), true );
\r
411 tabAdvanced = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
412 tabAdvanced->SetScrollRate( 5, 5 );
\r
413 wxBoxSizer* bSizer384;
\r
414 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
416 btnSelectAccounts = new wxButton( tabAdvanced, wxID_ANY, wxT("Select Accounts..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
417 bSizer384->Add( btnSelectAccounts, 0, wxALL, 5 );
\r
420 tabAdvanced->SetSizer( bSizer384 );
\r
421 tabAdvanced->Layout();
\r
422 bSizer384->Fit( tabAdvanced );
\r
423 nbkSearch->AddPage( tabAdvanced, wxT("Advanced"), false );
\r
425 bSizer369->Add( nbkSearch, 1, wxEXPAND | wxALL, 5 );
\r
427 wxBoxSizer* bSizer371;
\r
428 bSizer371 = new wxBoxSizer( wxVERTICAL );
\r
430 btnSearch = new wxButton( m_panel60, wxID_ANY, wxT("Search"), wxDefaultPosition, wxDefaultSize, 0 );
\r
431 bSizer371->Add( btnSearch, 0, wxALL, 5 );
\r
433 btnReset = new wxButton( m_panel60, wxID_ANY, wxT("Reset"), wxDefaultPosition, wxDefaultSize, 0 );
\r
434 bSizer371->Add( btnReset, 0, wxALL, 5 );
\r
437 bSizer369->Add( bSizer371, 0, wxEXPAND, 5 );
\r
440 bSizer382->Add( bSizer369, 1, wxEXPAND, 5 );
\r
443 m_panel60->SetSizer( bSizer382 );
\r
444 m_panel60->Layout();
\r
445 bSizer382->Fit( m_panel60 );
\r
446 m_panel61 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
447 wxBoxSizer* bSizer386;
\r
448 bSizer386 = new wxBoxSizer( wxVERTICAL );
\r
450 lstResults = new wxListCtrl( m_panel61, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
451 bSizer386->Add( lstResults, 1, wxALL|wxEXPAND, 5 );
\r
454 m_panel61->SetSizer( bSizer386 );
\r
455 m_panel61->Layout();
\r
456 bSizer386->Fit( m_panel61 );
\r
457 m_splitter4->SplitHorizontally( m_panel60, m_panel61, 178 );
\r
458 bSizer368->Add( m_splitter4, 1, wxEXPAND, 5 );
\r
461 this->SetSizer( bSizer368 );
\r
463 m_menubar5 = new wxMenuBar( 0 );
\r
464 mnuContact = new wxMenu();
\r
465 wxMenuItem* mnuContactOpen;
\r
466 mnuContactOpen = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Open Contact...") ) + wxT('\t') + wxT("CTRL+O"), wxEmptyString, wxITEM_NORMAL );
\r
467 mnuContact->Append( mnuContactOpen );
\r
469 mnuContactEdit = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
\r
470 mnuContact->Append( mnuContactEdit );
\r
472 mnuContactReveal = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Reveal Contact") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
473 mnuContact->Append( mnuContactReveal );
\r
475 mnuContact->AppendSeparator();
\r
477 wxMenuItem* mnuContactClose;
\r
478 mnuContactClose = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
479 mnuContact->Append( mnuContactClose );
\r
481 m_menubar5->Append( mnuContact, wxT("Contact") );
\r
483 this->SetMenuBar( m_menubar5 );
\r
486 this->Centre( wxBOTH );
\r
489 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
\r
490 btnSelectAccounts->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
\r
491 btnSearch->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
\r
492 btnReset->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
\r
493 lstResults->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this );
\r
494 this->Connect( mnuContactOpen->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
\r
495 this->Connect( mnuContactEdit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
\r
496 this->Connect( mnuContactReveal->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
\r
497 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
\r
500 frmSearchADT::~frmSearchADT()
\r
502 // Disconnect Events
\r
503 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
\r
504 btnSelectAccounts->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
\r
505 btnSearch->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
\r
506 btnReset->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
\r
507 lstResults->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this );
\r
508 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
\r
509 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
\r
510 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
\r
511 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
\r
515 frmPreferencesADT::frmPreferencesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
517 this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) );
\r
519 wxBoxSizer* szrMain;
\r
520 szrMain = new wxBoxSizer( wxVERTICAL );
\r
522 wxBoxSizer* szrTabs;
\r
523 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
525 NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
526 tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
527 wxBoxSizer* szrChecks;
\r
528 szrChecks = new wxBoxSizer( wxVERTICAL );
\r
530 chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
\r
531 szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 );
\r
533 chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 );
\r
534 szrChecks->Add( chkHideLocal, 0, wxALL, 5 );
\r
537 tabGeneral->SetSizer( szrChecks );
\r
538 tabGeneral->Layout();
\r
539 szrChecks->Fit( tabGeneral );
\r
540 NbtPreferences->AddPage( tabGeneral, wxT("General"), true );
\r
541 tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
544 wxGridSizer* szrTheme;
\r
545 szrTheme = new wxGridSizer( 1, 1, 0, 0 );
\r
547 wxBoxSizer* bSizer161;
\r
548 bSizer161 = new wxBoxSizer( wxVERTICAL );
\r
550 lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
551 bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
\r
553 wxBoxSizer* bSizer151;
\r
554 bSizer151 = new wxBoxSizer( wxHORIZONTAL );
\r
556 btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
557 bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
\r
559 btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
560 btnThemeModify->Enable( false );
\r
562 bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
\r
564 btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
565 btnThemeDelete->Enable( false );
\r
567 bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
\r
570 bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
\r
573 szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
\r
576 tabTheme->SetSizer( szrTheme );
\r
577 tabTheme->Layout();
\r
578 szrTheme->Fit( tabTheme );
\r
579 NbtPreferences->AddPage( tabTheme, wxT("Themes"), false );
\r
580 tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
581 wxGridSizer* szrAccounts;
\r
582 szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
\r
584 wxBoxSizer* bSizer16;
\r
585 bSizer16 = new wxBoxSizer( wxVERTICAL );
\r
587 lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
588 bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
\r
590 wxBoxSizer* bSizer15;
\r
591 bSizer15 = new wxBoxSizer( wxHORIZONTAL );
\r
593 btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
594 bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
\r
596 btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
597 btnAccountModify->Enable( false );
\r
599 bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
\r
601 btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
602 btnAccountDelete->Enable( false );
\r
604 bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
\r
607 bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
\r
610 szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
\r
613 tabAccounts->SetSizer( szrAccounts );
\r
614 tabAccounts->Layout();
\r
615 szrAccounts->Fit( tabAccounts );
\r
616 NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false );
\r
618 szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
\r
621 szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
\r
623 wxBoxSizer* szrButtons;
\r
624 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
627 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
629 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
630 btnSave->SetDefault();
\r
631 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
634 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
636 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
637 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
640 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
643 szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
646 this->SetSizer( szrMain );
\r
649 this->Centre( wxBOTH );
\r
652 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
\r
653 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
654 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
655 btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
656 btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
657 btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
658 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
659 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
660 btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
661 btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
662 btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
663 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
\r
664 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
\r
667 frmPreferencesADT::~frmPreferencesADT()
\r
669 // Disconnect Events
\r
670 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
\r
671 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
672 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
673 btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
674 btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
675 btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
676 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
677 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
678 btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
679 btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
680 btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
681 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
\r
682 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
\r
686 frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
688 this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
\r
690 wxBoxSizer* szrMain;
\r
691 szrMain = new wxBoxSizer( wxVERTICAL );
\r
693 wxBoxSizer* szrLogo;
\r
694 szrLogo = new wxBoxSizer( wxVERTICAL );
\r
696 szrLogo->SetMinSize( wxSize( 350,100 ) );
\r
697 bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
\r
698 szrLogo->Add( bmpLogo, 0, wxALL, 0 );
\r
701 szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
\r
703 wxBoxSizer* szrDetails;
\r
704 szrDetails = new wxBoxSizer( wxVERTICAL );
\r
706 lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
\r
707 lblVersion->Wrap( -1 );
\r
708 lblVersion->SetFont( wxFont( 14, 70, 90, 92, false, wxEmptyString ) );
\r
710 szrDetails->Add( lblVersion, 0, wxALL, 5 );
\r
712 lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
\r
713 lblCompileTime->Wrap( -1 );
\r
714 szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
\r
716 lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
\r
717 lblCopyright->Wrap( -1 );
\r
718 szrDetails->Add( lblCopyright, 0, wxALL, 5 );
\r
721 szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
\r
723 wxBoxSizer* szrButtons;
\r
724 szrButtons = new wxBoxSizer( wxVERTICAL );
\r
726 szrButtons->SetMinSize( wxSize( -1,35 ) );
\r
727 btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
728 szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
731 szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
\r
734 this->SetSizer( szrMain );
\r
737 this->Centre( wxBOTH );
\r
740 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
\r
743 frmAboutADT::~frmAboutADT()
\r
745 // Disconnect Events
\r
746 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
\r
750 frmContactADT::frmContactADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
\r
752 this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize );
\r
754 wxBoxSizer* bSizer13;
\r
755 bSizer13 = new wxBoxSizer( wxVERTICAL );
\r
757 htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
758 bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
\r
761 this->SetSizer( bSizer13 );
\r
763 m_menubar2 = new wxMenuBar( 0 );
\r
764 contact = new wxMenu();
\r
765 wxMenuItem* mnuContactClose;
\r
766 mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL );
\r
767 contact->Append( mnuContactClose );
\r
769 m_menubar2->Append( contact, wxT("Contact") );
\r
771 this->SetMenuBar( m_menubar2 );
\r
774 this->Centre( wxBOTH );
\r
777 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
\r
778 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
\r
781 frmContactADT::~frmContactADT()
\r
783 // Disconnect Events
\r
784 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
\r
785 this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
\r
789 frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
791 this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
\r
793 wxFlexGridSizer* fgSizer30;
\r
794 fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
795 fgSizer30->AddGrowableCol( 0 );
\r
796 fgSizer30->AddGrowableRow( 0 );
\r
797 fgSizer30->SetFlexibleDirection( wxBOTH );
\r
798 fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
800 szrNewAccount = new wxBoxSizer( wxVERTICAL );
\r
802 tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
803 wxFlexGridSizer* fgSizer32;
\r
804 fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
805 fgSizer32->AddGrowableCol( 0 );
\r
806 fgSizer32->SetFlexibleDirection( wxBOTH );
\r
807 fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
\r
809 lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
\r
810 lblEnterText->Wrap( -1 );
\r
811 fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
\r
813 wxFlexGridSizer* fgSizer33;
\r
814 fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
815 fgSizer33->AddGrowableCol( 1 );
\r
816 fgSizer33->AddGrowableRow( 0 );
\r
817 fgSizer33->SetFlexibleDirection( wxBOTH );
\r
818 fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
\r
820 lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
821 lblType->Wrap( -1 );
\r
822 fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
824 wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") };
\r
825 int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
\r
826 cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
\r
827 cmbServerType->SetSelection( 1 );
\r
828 fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
\r
830 lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
831 lblServerAddress->Wrap( -1 );
\r
832 fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
834 txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
835 txtServerAddress->SetMaxLength( 0 );
\r
836 fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
\r
838 lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
839 lblServerPort->Wrap( -1 );
\r
840 fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
842 txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
843 txtServerPort->SetMaxLength( 0 );
\r
844 fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
\r
846 lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
847 lblUsername->Wrap( -1 );
\r
848 fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
850 txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
851 txtUsername->SetMaxLength( 0 );
\r
852 fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
\r
854 lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
855 lblPassword->Wrap( -1 );
\r
856 fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
858 txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
\r
859 txtPassword->SetMaxLength( 0 );
\r
860 fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
862 lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
863 lblSSL->Wrap( -1 );
\r
864 fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
866 wxBoxSizer* bSizer3221;
\r
867 bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
\r
869 chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
870 chkUseSSL->SetValue(true);
\r
871 bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
\r
874 fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
\r
877 fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
\r
880 tabType->SetSizer( fgSizer32 );
\r
882 fgSizer32->Fit( tabType );
\r
883 szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
\r
885 tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
888 wxBoxSizer* bSizer323;
\r
889 bSizer323 = new wxBoxSizer( wxVERTICAL );
\r
891 lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
892 lblConnectionResult->Wrap( -1 );
\r
893 lblConnectionResult->SetFont( wxFont( 9, 74, 90, 92, false, wxT("Sans") ) );
\r
895 bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
\r
897 wxFlexGridSizer* fgSizer34;
\r
898 fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
899 fgSizer34->SetFlexibleDirection( wxBOTH );
\r
900 fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
902 lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
903 lblServerConnected->Wrap( -1 );
\r
904 fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
\r
906 lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
907 lblServerConnResult->Wrap( -1 );
\r
908 fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
\r
910 lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
911 lblValidResponse->Wrap( -1 );
\r
912 fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
\r
914 lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
915 lblServerResponse->Wrap( -1 );
\r
916 fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
\r
918 lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
919 lblUseSSL->Wrap( -1 );
\r
920 fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
\r
922 lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
923 lblServerSSLResult->Wrap( -1 );
\r
924 fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
\r
926 lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
927 lblServerSSLCert->Wrap( -1 );
\r
928 fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
\r
930 lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
931 lblServerSSLValid->Wrap( -1 );
\r
932 fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
\r
934 lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
935 lblServerUsernamePassword->Wrap( -1 );
\r
936 fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
\r
938 lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
939 lblAbleToLoginResult->Wrap( -1 );
\r
940 fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
\r
942 lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
943 lblIsCalDAV->Wrap( -1 );
\r
944 fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
\r
946 lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
947 lblCardDAVSupportResult->Wrap( -1 );
\r
948 fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 );
\r
951 bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
\r
953 m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
954 bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
\r
956 lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
957 lblConnectionResultText->Wrap( 360 );
\r
958 lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
\r
960 bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
\r
963 tabConn->SetSizer( bSizer323 );
\r
965 bSizer323->Fit( tabConn );
\r
966 szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
\r
968 tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
971 wxBoxSizer* bSizer3231;
\r
972 bSizer3231 = new wxBoxSizer( wxVERTICAL );
\r
974 lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
\r
975 lblFinishText->Wrap( -1 );
\r
976 bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
\r
978 wxFlexGridSizer* fgSizer341;
\r
979 fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
980 fgSizer341->AddGrowableCol( 1 );
\r
981 fgSizer341->SetFlexibleDirection( wxBOTH );
\r
982 fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
984 lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
985 lblAccountName->Wrap( -1 );
\r
986 fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
988 txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
989 txtAccountName->SetMaxLength( 0 );
\r
990 fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
993 bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
\r
996 tabFinish->SetSizer( bSizer3231 );
\r
997 tabFinish->Layout();
\r
998 bSizer3231->Fit( tabFinish );
\r
999 szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
\r
1002 fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
\r
1004 wxBoxSizer* bSizer322;
\r
1005 bSizer322 = new wxBoxSizer( wxHORIZONTAL );
\r
1007 btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1008 bSizer322->Add( btnPrevious, 0, wxALL, 5 );
\r
1010 btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1011 btnNext->SetDefault();
\r
1012 bSizer322->Add( btnNext, 0, wxALL, 5 );
\r
1014 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1015 bSizer322->Add( btnClose, 0, wxALL, 5 );
\r
1018 fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
\r
1021 this->SetSizer( fgSizer30 );
\r
1024 this->Centre( wxBOTH );
\r
1027 cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
\r
1028 txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
\r
1029 btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
\r
1030 btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
\r
1031 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
\r
1034 frmNewAccountADT::~frmNewAccountADT()
\r
1036 // Disconnect Events
\r
1037 cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
\r
1038 txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
\r
1039 btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
\r
1040 btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
\r
1041 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
\r
1045 frmContactEditorADT::frmContactEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
\r
1047 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
1048 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
1050 wxBoxSizer* bSizer17;
\r
1051 bSizer17 = new wxBoxSizer( wxVERTICAL );
\r
1053 nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
1054 tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
1055 tabGeneral->SetScrollRate( 5, 5 );
\r
1056 wxBoxSizer* bSizer18;
\r
1057 bSizer18 = new wxBoxSizer( wxVERTICAL );
\r
1059 wxGridSizer* gSizer7;
\r
1060 gSizer7 = new wxGridSizer( 0, 6, 0, 0 );
\r
1062 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1063 lblTitle->Wrap( -1 );
\r
1064 gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1066 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1067 txtTitle->SetMaxLength( 0 );
\r
1068 gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
1071 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1074 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1077 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1080 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1082 lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1083 lblForename->Wrap( -1 );
\r
1084 gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1086 txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1087 txtForename->SetMaxLength( 0 );
\r
1088 gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 );
\r
1090 lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1091 lblSurname->Wrap( -1 );
\r
1092 gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1094 txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1095 txtSurname->SetMaxLength( 0 );
\r
1096 gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 );
\r
1098 lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1099 lblOtherNames->Wrap( -1 );
\r
1100 gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1102 txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1103 txtOtherNames->SetMaxLength( 0 );
\r
1104 gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 );
\r
1106 lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1107 lblSuffix->Wrap( -1 );
\r
1108 gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1110 txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1111 txtSuffix->SetMaxLength( 0 );
\r
1112 gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 );
\r
1115 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1118 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1121 bSizer18->Add( gSizer7, 0, wxEXPAND, 5 );
\r
1123 wxFlexGridSizer* fgSizer5;
\r
1124 fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
1125 fgSizer5->AddGrowableCol( 1 );
\r
1126 fgSizer5->SetFlexibleDirection( wxBOTH );
\r
1127 fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
1129 lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 );
\r
1130 lblDisplayAs->Wrap( -1 );
\r
1131 fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1133 cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
1134 fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 );
\r
1136 lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1137 lblBirthday->Wrap( -1 );
\r
1138 fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1140 wxBoxSizer* bSizer318;
\r
1141 bSizer318 = new wxBoxSizer( wxHORIZONTAL );
\r
1143 dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
\r
1144 dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) );
\r
1145 dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
\r
1146 dapBirthday->SetMinSize( wxSize( -1,25 ) );
\r
1148 bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 );
\r
1150 txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1151 txtBirthday->SetMaxLength( 0 );
\r
1152 bSizer318->Add( txtBirthday, 1, wxALL, 5 );
\r
1155 fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 );
\r
1157 lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1158 lblAnniversary->Wrap( -1 );
\r
1159 fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1161 wxBoxSizer* bSizer319;
\r
1162 bSizer319 = new wxBoxSizer( wxHORIZONTAL );
\r
1164 dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
\r
1165 dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
\r
1166 dapAnniversary->SetMinSize( wxSize( -1,25 ) );
\r
1168 bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 );
\r
1170 txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1171 txtAnniversary->SetMaxLength( 0 );
\r
1172 bSizer319->Add( txtAnniversary, 1, wxALL, 5 );
\r
1175 fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 );
\r
1177 lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1178 lblGender->Wrap( -1 );
\r
1179 fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1181 wxBoxSizer* bSizer20;
\r
1182 bSizer20 = new wxBoxSizer( wxHORIZONTAL );
\r
1184 wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") };
\r
1185 int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString );
\r
1186 cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 );
\r
1187 cmbGender->SetSelection( 0 );
\r
1188 bSizer20->Add( cmbGender, 0, wxALL, 5 );
\r
1190 txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1191 txtGenderDescription->SetMaxLength( 0 );
\r
1192 bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1195 fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 );
\r
1197 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1198 lblType->Wrap( -1 );
\r
1199 fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1201 wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") };
\r
1202 int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString );
\r
1203 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 );
\r
1204 cmbType->SetSelection( 0 );
\r
1205 fgSizer5->Add( cmbType, 0, wxALL, 5 );
\r
1207 lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1208 lblNicknames->Wrap( -1 );
\r
1209 fgSizer5->Add( lblNicknames, 0, wxALL, 5 );
\r
1211 wxBoxSizer* szrNicknames;
\r
1212 szrNicknames = new wxBoxSizer( wxHORIZONTAL );
\r
1214 lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1215 szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 );
\r
1217 wxBoxSizer* szrAddressesOuter3;
\r
1218 szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL );
\r
1220 wxBoxSizer* bSizer464;
\r
1221 bSizer464 = new wxBoxSizer( wxHORIZONTAL );
\r
1223 wxBoxSizer* bSizer474;
\r
1224 bSizer474 = new wxBoxSizer( wxVERTICAL );
\r
1226 btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1227 bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 );
\r
1229 btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1230 bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 );
\r
1232 btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1233 bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 );
\r
1236 bSizer464->Add( bSizer474, 1, wxEXPAND, 5 );
\r
1239 szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 );
\r
1242 szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 );
\r
1245 fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 );
\r
1247 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1248 lblAddress->Wrap( -1 );
\r
1249 fgSizer5->Add( lblAddress, 0, wxALL, 5 );
\r
1251 wxBoxSizer* szrAddresses;
\r
1252 szrAddresses = new wxBoxSizer( wxHORIZONTAL );
\r
1254 lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1255 szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 );
\r
1257 wxBoxSizer* szrAddressesOuter;
\r
1258 szrAddressesOuter = new wxBoxSizer( wxVERTICAL );
\r
1260 wxBoxSizer* bSizer46;
\r
1261 bSizer46 = new wxBoxSizer( wxHORIZONTAL );
\r
1263 wxBoxSizer* bSizer47;
\r
1264 bSizer47 = new wxBoxSizer( wxVERTICAL );
\r
1266 btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1267 bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 );
\r
1269 btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1270 bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 );
\r
1272 btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1273 bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 );
\r
1276 bSizer46->Add( bSizer47, 1, wxEXPAND, 5 );
\r
1279 szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 );
\r
1282 szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 );
\r
1285 fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 );
\r
1287 lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1288 lblEmail->Wrap( -1 );
\r
1289 fgSizer5->Add( lblEmail, 0, wxALL, 5 );
\r
1291 wxBoxSizer* bSizer301;
\r
1292 bSizer301 = new wxBoxSizer( wxHORIZONTAL );
\r
1294 lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1295 bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 );
\r
1297 wxBoxSizer* bSizer351;
\r
1298 bSizer351 = new wxBoxSizer( wxVERTICAL );
\r
1300 wxBoxSizer* bSizer461;
\r
1301 bSizer461 = new wxBoxSizer( wxHORIZONTAL );
\r
1303 wxBoxSizer* bSizer471;
\r
1304 bSizer471 = new wxBoxSizer( wxVERTICAL );
\r
1306 btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1307 bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 );
\r
1309 btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1310 bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 );
\r
1312 btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1313 bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 );
\r
1316 bSizer461->Add( bSizer471, 1, wxEXPAND, 5 );
\r
1319 bSizer351->Add( bSizer461, 1, wxEXPAND, 5 );
\r
1322 bSizer301->Add( bSizer351, 0, wxEXPAND, 5 );
\r
1325 fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 );
\r
1327 lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1329 fgSizer5->Add( lblIM, 0, wxALL, 5 );
\r
1331 wxBoxSizer* bSizer3011;
\r
1332 bSizer3011 = new wxBoxSizer( wxHORIZONTAL );
\r
1334 lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1335 bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 );
\r
1337 wxBoxSizer* bSizer3511;
\r
1338 bSizer3511 = new wxBoxSizer( wxVERTICAL );
\r
1340 wxBoxSizer* bSizer4611;
\r
1341 bSizer4611 = new wxBoxSizer( wxHORIZONTAL );
\r
1343 wxBoxSizer* bSizer4711;
\r
1344 bSizer4711 = new wxBoxSizer( wxVERTICAL );
\r
1346 btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1347 bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 );
\r
1349 btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1350 bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 );
\r
1352 btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1353 bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 );
\r
1356 bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 );
\r
1359 bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 );
\r
1362 bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 );
\r
1365 fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 );
\r
1367 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1368 lblTelephone->Wrap( 0 );
\r
1369 fgSizer5->Add( lblTelephone, 0, wxALL, 5 );
\r
1371 wxBoxSizer* bSizer30111;
\r
1372 bSizer30111 = new wxBoxSizer( wxHORIZONTAL );
\r
1374 lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1375 bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 );
\r
1377 wxBoxSizer* bSizer35111;
\r
1378 bSizer35111 = new wxBoxSizer( wxVERTICAL );
\r
1380 wxBoxSizer* bSizer46111;
\r
1381 bSizer46111 = new wxBoxSizer( wxHORIZONTAL );
\r
1383 wxBoxSizer* bSizer47111;
\r
1384 bSizer47111 = new wxBoxSizer( wxVERTICAL );
\r
1386 btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1387 bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 );
\r
1389 btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1390 bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 );
\r
1392 btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1393 bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 );
\r
1396 bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 );
\r
1399 bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 );
\r
1402 bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 );
\r
1405 fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 );
\r
1407 lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1408 lblLanguages->Wrap( 0 );
\r
1409 fgSizer5->Add( lblLanguages, 0, wxALL, 5 );
\r
1411 wxBoxSizer* bSizer301111;
\r
1412 bSizer301111 = new wxBoxSizer( wxHORIZONTAL );
\r
1414 lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1415 bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 );
\r
1417 wxBoxSizer* bSizer351111;
\r
1418 bSizer351111 = new wxBoxSizer( wxVERTICAL );
\r
1420 wxBoxSizer* bSizer461111;
\r
1421 bSizer461111 = new wxBoxSizer( wxHORIZONTAL );
\r
1423 wxBoxSizer* bSizer471111;
\r
1424 bSizer471111 = new wxBoxSizer( wxVERTICAL );
\r
1426 btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1427 bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 );
\r
1429 btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1430 bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 );
\r
1432 btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1433 bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 );
\r
1436 bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 );
\r
1439 bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 );
\r
1442 bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 );
\r
1445 fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 );
\r
1447 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1448 lblTimezone->Wrap( 0 );
\r
1449 fgSizer5->Add( lblTimezone, 0, wxALL, 5 );
\r
1451 wxBoxSizer* bSizer3011111;
\r
1452 bSizer3011111 = new wxBoxSizer( wxHORIZONTAL );
\r
1454 lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1455 bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 );
\r
1457 wxBoxSizer* bSizer3511111;
\r
1458 bSizer3511111 = new wxBoxSizer( wxVERTICAL );
\r
1460 wxBoxSizer* bSizer4611111;
\r
1461 bSizer4611111 = new wxBoxSizer( wxHORIZONTAL );
\r
1463 wxBoxSizer* bSizer4711111;
\r
1464 bSizer4711111 = new wxBoxSizer( wxVERTICAL );
\r
1466 btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1467 bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 );
\r
1469 btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1470 bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 );
\r
1472 btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1473 bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 );
\r
1476 bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 );
\r
1479 bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 );
\r
1482 bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 );
\r
1485 fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 );
\r
1487 lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1488 lblGeopositioning->Wrap( -1 );
\r
1489 fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 );
\r
1491 wxBoxSizer* bSizer30111114;
\r
1492 bSizer30111114 = new wxBoxSizer( wxHORIZONTAL );
\r
1494 lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1495 bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
1497 wxBoxSizer* bSizer35111114;
\r
1498 bSizer35111114 = new wxBoxSizer( wxVERTICAL );
\r
1500 wxBoxSizer* bSizer46111114;
\r
1501 bSizer46111114 = new wxBoxSizer( wxHORIZONTAL );
\r
1503 wxBoxSizer* bSizer47111114;
\r
1504 bSizer47111114 = new wxBoxSizer( wxVERTICAL );
\r
1506 btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1507 bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 );
\r
1509 btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1510 bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 );
\r
1512 btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1513 bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 );
\r
1516 bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 );
\r
1519 bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 );
\r
1522 bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 );
\r
1525 fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 );
\r
1527 lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1528 lblRelated->Wrap( 1 );
\r
1529 fgSizer5->Add( lblRelated, 0, wxALL, 5 );
\r
1531 wxBoxSizer* bSizer30111111;
\r
1532 bSizer30111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1534 lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1535 bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 );
\r
1537 wxBoxSizer* bSizer35111111;
\r
1538 bSizer35111111 = new wxBoxSizer( wxVERTICAL );
\r
1540 wxBoxSizer* bSizer46111111;
\r
1541 bSizer46111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1543 wxBoxSizer* bSizer47111111;
\r
1544 bSizer47111111 = new wxBoxSizer( wxVERTICAL );
\r
1546 btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1547 bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 );
\r
1549 btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1550 bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 );
\r
1552 btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1553 bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 );
\r
1556 bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 );
\r
1559 bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 );
\r
1562 bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 );
\r
1565 fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 );
\r
1567 lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1568 lblWebsites->Wrap( 1 );
\r
1569 fgSizer5->Add( lblWebsites, 0, wxALL, 5 );
\r
1571 wxBoxSizer* bSizer301111111;
\r
1572 bSizer301111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1574 lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1575 bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 );
\r
1577 wxBoxSizer* bSizer351111111;
\r
1578 bSizer351111111 = new wxBoxSizer( wxVERTICAL );
\r
1580 wxBoxSizer* bSizer461111111;
\r
1581 bSizer461111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1583 wxBoxSizer* bSizer471111111;
\r
1584 bSizer471111111 = new wxBoxSizer( wxVERTICAL );
\r
1586 btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1587 bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 );
\r
1589 btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1590 bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 );
\r
1592 btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1593 bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 );
\r
1596 bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 );
\r
1599 bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 );
\r
1602 bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 );
\r
1605 fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 );
\r
1607 lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1608 lblTitles->Wrap( 1 );
\r
1609 fgSizer5->Add( lblTitles, 0, wxALL, 5 );
\r
1611 wxBoxSizer* bSizer3011111111;
\r
1612 bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1614 lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1615 bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 );
\r
1617 wxBoxSizer* bSizer3511111111;
\r
1618 bSizer3511111111 = new wxBoxSizer( wxVERTICAL );
\r
1620 wxBoxSizer* bSizer4611111111;
\r
1621 bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1623 wxBoxSizer* bSizer4711111111;
\r
1624 bSizer4711111111 = new wxBoxSizer( wxVERTICAL );
\r
1626 btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1627 bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 );
\r
1629 btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1630 bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 );
\r
1632 btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1633 bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 );
\r
1636 bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 );
\r
1639 bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 );
\r
1642 bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 );
\r
1645 fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 );
\r
1647 lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1648 lblRoles->Wrap( 1 );
\r
1649 fgSizer5->Add( lblRoles, 0, wxALL, 5 );
\r
1651 wxBoxSizer* bSizer30111111111;
\r
1652 bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1654 lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1655 bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 );
\r
1657 wxBoxSizer* bSizer35111111111;
\r
1658 bSizer35111111111 = new wxBoxSizer( wxVERTICAL );
\r
1660 wxBoxSizer* bSizer46111111111;
\r
1661 bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1663 wxBoxSizer* bSizer47111111111;
\r
1664 bSizer47111111111 = new wxBoxSizer( wxVERTICAL );
\r
1666 btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1667 bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 );
\r
1669 btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1670 bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 );
\r
1672 btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1673 bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 );
\r
1676 bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 );
\r
1679 bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 );
\r
1682 bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 );
\r
1685 fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 );
\r
1687 lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1688 lblOrganisations->Wrap( 1 );
\r
1689 fgSizer5->Add( lblOrganisations, 0, wxALL, 5 );
\r
1691 wxBoxSizer* bSizer301111111111;
\r
1692 bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1694 lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1695 bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
1697 wxBoxSizer* bSizer351111111111;
\r
1698 bSizer351111111111 = new wxBoxSizer( wxVERTICAL );
\r
1700 wxBoxSizer* bSizer461111111111;
\r
1701 bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1703 wxBoxSizer* bSizer471111111111;
\r
1704 bSizer471111111111 = new wxBoxSizer( wxVERTICAL );
\r
1706 btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1707 bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 );
\r
1709 btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1710 bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 );
\r
1712 btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1713 bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 );
\r
1716 bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 );
\r
1719 bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 );
\r
1722 bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 );
\r
1725 fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 );
\r
1727 lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1728 lblNotes->Wrap( 1 );
\r
1729 fgSizer5->Add( lblNotes, 0, wxALL, 5 );
\r
1731 wxBoxSizer* bSizer3011111111111;
\r
1732 bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1734 lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1735 bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 );
\r
1737 wxBoxSizer* bSizer3511111111111;
\r
1738 bSizer3511111111111 = new wxBoxSizer( wxVERTICAL );
\r
1740 wxBoxSizer* bSizer4611111111111;
\r
1741 bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1743 wxBoxSizer* bSizer4711111111111;
\r
1744 bSizer4711111111111 = new wxBoxSizer( wxVERTICAL );
\r
1746 btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1747 bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 );
\r
1749 btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1750 bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 );
\r
1752 btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1753 bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 );
\r
1756 bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 );
\r
1759 bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 );
\r
1762 bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 );
\r
1765 fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 );
\r
1768 bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 );
\r
1771 tabGeneral->SetSizer( bSizer18 );
\r
1772 tabGeneral->Layout();
\r
1773 bSizer18->Fit( tabGeneral );
\r
1774 nbkContact->AddPage( tabGeneral, wxT("General"), true );
\r
1775 tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
1776 tabHome->SetScrollRate( 5, 5 );
\r
1777 wxBoxSizer* bSizer181;
\r
1778 bSizer181 = new wxBoxSizer( wxVERTICAL );
\r
1780 wxGridSizer* gSizer71;
\r
1781 gSizer71 = new wxGridSizer( 2, 6, 0, 0 );
\r
1784 bSizer181->Add( gSizer71, 0, wxEXPAND, 5 );
\r
1786 wxFlexGridSizer* fgSizer51;
\r
1787 fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
1788 fgSizer51->AddGrowableCol( 1 );
\r
1789 fgSizer51->SetFlexibleDirection( wxBOTH );
\r
1790 fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
1792 lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1793 lblHomeNickname->Wrap( 0 );
\r
1794 fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 );
\r
1796 wxBoxSizer* szrAddresses12;
\r
1797 szrAddresses12 = new wxBoxSizer( wxHORIZONTAL );
\r
1799 lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1800 szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 );
\r
1802 wxBoxSizer* szrAddressesOuter11;
\r
1803 szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
1805 wxBoxSizer* bSizer4622;
\r
1806 bSizer4622 = new wxBoxSizer( wxHORIZONTAL );
\r
1808 wxBoxSizer* bSizer4722;
\r
1809 bSizer4722 = new wxBoxSizer( wxVERTICAL );
\r
1811 btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1812 bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 );
\r
1814 btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1815 bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 );
\r
1817 btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1818 bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 );
\r
1821 bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 );
\r
1824 szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 );
\r
1827 szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 );
\r
1830 fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 );
\r
1832 lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1833 lblHomeAddresses->Wrap( 1 );
\r
1834 fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 );
\r
1836 wxBoxSizer* szrAddresses1;
\r
1837 szrAddresses1 = new wxBoxSizer( wxHORIZONTAL );
\r
1839 lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1840 szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 );
\r
1842 wxBoxSizer* szrAddressesOuter1;
\r
1843 szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL );
\r
1845 wxBoxSizer* bSizer462;
\r
1846 bSizer462 = new wxBoxSizer( wxHORIZONTAL );
\r
1848 wxBoxSizer* bSizer472;
\r
1849 bSizer472 = new wxBoxSizer( wxVERTICAL );
\r
1851 btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1852 bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 );
\r
1854 btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1855 bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 );
\r
1857 btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1858 bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 );
\r
1861 bSizer462->Add( bSizer472, 1, wxEXPAND, 5 );
\r
1864 szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 );
\r
1867 szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 );
\r
1870 fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 );
\r
1872 lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1873 lblHomeEmail->Wrap( 1 );
\r
1874 fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 );
\r
1876 wxBoxSizer* bSizer3012;
\r
1877 bSizer3012 = new wxBoxSizer( wxHORIZONTAL );
\r
1879 lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1880 bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 );
\r
1882 wxBoxSizer* bSizer3512;
\r
1883 bSizer3512 = new wxBoxSizer( wxVERTICAL );
\r
1885 wxBoxSizer* bSizer4612;
\r
1886 bSizer4612 = new wxBoxSizer( wxHORIZONTAL );
\r
1888 wxBoxSizer* bSizer4712;
\r
1889 bSizer4712 = new wxBoxSizer( wxVERTICAL );
\r
1891 btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1892 bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 );
\r
1894 btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1895 bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 );
\r
1897 btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1898 bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 );
\r
1901 bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 );
\r
1904 bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 );
\r
1907 bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 );
\r
1910 fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 );
\r
1912 lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1913 lblHomeIM->Wrap( 0 );
\r
1914 fgSizer51->Add( lblHomeIM, 0, wxALL, 5 );
\r
1916 wxBoxSizer* bSizer30112;
\r
1917 bSizer30112 = new wxBoxSizer( wxHORIZONTAL );
\r
1919 lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1920 bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 );
\r
1922 wxBoxSizer* bSizer35112;
\r
1923 bSizer35112 = new wxBoxSizer( wxVERTICAL );
\r
1925 wxBoxSizer* bSizer46112;
\r
1926 bSizer46112 = new wxBoxSizer( wxHORIZONTAL );
\r
1928 wxBoxSizer* bSizer47112;
\r
1929 bSizer47112 = new wxBoxSizer( wxVERTICAL );
\r
1931 btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1932 bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 );
\r
1934 btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1935 bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 );
\r
1937 btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1938 bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 );
\r
1941 bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 );
\r
1944 bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 );
\r
1947 bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 );
\r
1950 fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 );
\r
1952 lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1953 lblHomeTelephone->Wrap( 0 );
\r
1954 fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 );
\r
1956 wxBoxSizer* bSizer301112;
\r
1957 bSizer301112 = new wxBoxSizer( wxHORIZONTAL );
\r
1959 lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1960 bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 );
\r
1962 wxBoxSizer* bSizer351112;
\r
1963 bSizer351112 = new wxBoxSizer( wxVERTICAL );
\r
1965 wxBoxSizer* bSizer461112;
\r
1966 bSizer461112 = new wxBoxSizer( wxHORIZONTAL );
\r
1968 wxBoxSizer* bSizer471112;
\r
1969 bSizer471112 = new wxBoxSizer( wxVERTICAL );
\r
1971 btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1972 bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 );
\r
1974 btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1975 bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 );
\r
1977 btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1978 bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 );
\r
1981 bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 );
\r
1984 bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 );
\r
1987 bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 );
\r
1990 fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 );
\r
1992 lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1993 lblHomeLanguages->Wrap( 0 );
\r
1994 fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 );
\r
1996 wxBoxSizer* bSizer3011112;
\r
1997 bSizer3011112 = new wxBoxSizer( wxHORIZONTAL );
\r
1999 lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2000 bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 );
\r
2002 wxBoxSizer* bSizer3511112;
\r
2003 bSizer3511112 = new wxBoxSizer( wxVERTICAL );
\r
2005 wxBoxSizer* bSizer4611112;
\r
2006 bSizer4611112 = new wxBoxSizer( wxHORIZONTAL );
\r
2008 wxBoxSizer* bSizer4711112;
\r
2009 bSizer4711112 = new wxBoxSizer( wxVERTICAL );
\r
2011 btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2012 bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 );
\r
2014 btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2015 bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 );
\r
2017 btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2018 bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 );
\r
2021 bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 );
\r
2024 bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 );
\r
2027 bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 );
\r
2030 fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 );
\r
2032 lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2033 lblHomeTimezone->Wrap( 0 );
\r
2034 fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 );
\r
2036 wxBoxSizer* bSizer30111112;
\r
2037 bSizer30111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2039 lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2040 bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 );
\r
2042 wxBoxSizer* bSizer35111112;
\r
2043 bSizer35111112 = new wxBoxSizer( wxVERTICAL );
\r
2045 wxBoxSizer* bSizer46111112;
\r
2046 bSizer46111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2048 wxBoxSizer* bSizer47111112;
\r
2049 bSizer47111112 = new wxBoxSizer( wxVERTICAL );
\r
2051 btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2052 bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 );
\r
2054 btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2055 bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 );
\r
2057 btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2058 bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 );
\r
2061 bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 );
\r
2064 bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 );
\r
2067 bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 );
\r
2070 fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 );
\r
2072 lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2073 lblHomeGeopositioning->Wrap( 0 );
\r
2074 fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 );
\r
2076 wxBoxSizer* bSizer301111141;
\r
2077 bSizer301111141 = new wxBoxSizer( wxHORIZONTAL );
\r
2079 lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2080 bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
2082 wxBoxSizer* bSizer351111141;
\r
2083 bSizer351111141 = new wxBoxSizer( wxVERTICAL );
\r
2085 wxBoxSizer* bSizer461111141;
\r
2086 bSizer461111141 = new wxBoxSizer( wxHORIZONTAL );
\r
2088 wxBoxSizer* bSizer471111141;
\r
2089 bSizer471111141 = new wxBoxSizer( wxVERTICAL );
\r
2091 btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2092 bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 );
\r
2094 btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2095 bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 );
\r
2097 btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2098 bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 );
\r
2101 bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 );
\r
2104 bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 );
\r
2107 bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 );
\r
2110 fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 );
\r
2112 lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2113 lblHomeWebsites->Wrap( 1 );
\r
2114 fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 );
\r
2116 wxBoxSizer* bSizer3011111112;
\r
2117 bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2119 lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2120 bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 );
\r
2122 wxBoxSizer* bSizer3511111112;
\r
2123 bSizer3511111112 = new wxBoxSizer( wxVERTICAL );
\r
2125 wxBoxSizer* bSizer4611111112;
\r
2126 bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2128 wxBoxSizer* bSizer4711111112;
\r
2129 bSizer4711111112 = new wxBoxSizer( wxVERTICAL );
\r
2131 btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2132 bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 );
\r
2134 btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2135 bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 );
\r
2137 btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2138 bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 );
\r
2141 bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 );
\r
2144 bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 );
\r
2147 bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 );
\r
2150 fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 );
\r
2152 lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2153 lblHomeTitles->Wrap( 1 );
\r
2154 fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 );
\r
2156 wxBoxSizer* bSizer30111111112;
\r
2157 bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2159 lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2160 bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 );
\r
2162 wxBoxSizer* bSizer35111111112;
\r
2163 bSizer35111111112 = new wxBoxSizer( wxVERTICAL );
\r
2165 wxBoxSizer* bSizer46111111112;
\r
2166 bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2168 wxBoxSizer* bSizer47111111112;
\r
2169 bSizer47111111112 = new wxBoxSizer( wxVERTICAL );
\r
2171 btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2172 bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 );
\r
2174 btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2175 bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 );
\r
2177 btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2178 bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 );
\r
2181 bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 );
\r
2184 bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 );
\r
2187 bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 );
\r
2190 fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 );
\r
2192 lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2193 lblHomeRoles->Wrap( 1 );
\r
2194 fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 );
\r
2196 wxBoxSizer* bSizer301111111112;
\r
2197 bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2199 lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2200 bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 );
\r
2202 wxBoxSizer* bSizer351111111112;
\r
2203 bSizer351111111112 = new wxBoxSizer( wxVERTICAL );
\r
2205 wxBoxSizer* bSizer461111111112;
\r
2206 bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2208 wxBoxSizer* bSizer471111111112;
\r
2209 bSizer471111111112 = new wxBoxSizer( wxVERTICAL );
\r
2211 btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2212 bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 );
\r
2214 btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2215 bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 );
\r
2217 btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2218 bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 );
\r
2221 bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 );
\r
2224 bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 );
\r
2227 bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 );
\r
2230 fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 );
\r
2232 lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2233 lblHomeOrganisations->Wrap( 1 );
\r
2234 fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 );
\r
2236 wxBoxSizer* bSizer3011111111112;
\r
2237 bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2239 lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2240 bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
2242 wxBoxSizer* bSizer3511111111112;
\r
2243 bSizer3511111111112 = new wxBoxSizer( wxVERTICAL );
\r
2245 wxBoxSizer* bSizer4611111111112;
\r
2246 bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2248 wxBoxSizer* bSizer4711111111112;
\r
2249 bSizer4711111111112 = new wxBoxSizer( wxVERTICAL );
\r
2251 btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2252 bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 );
\r
2254 btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2255 bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 );
\r
2257 btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2258 bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 );
\r
2261 bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 );
\r
2264 bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 );
\r
2267 bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 );
\r
2270 fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 );
\r
2272 lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2273 lblHomeNotes->Wrap( 1 );
\r
2274 fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 );
\r
2276 wxBoxSizer* bSizer30111111111111;
\r
2277 bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
2279 lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2280 bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 );
\r
2282 wxBoxSizer* bSizer35111111111111;
\r
2283 bSizer35111111111111 = new wxBoxSizer( wxVERTICAL );
\r
2285 wxBoxSizer* bSizer46111111111111;
\r
2286 bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
2288 wxBoxSizer* bSizer47111111111111;
\r
2289 bSizer47111111111111 = new wxBoxSizer( wxVERTICAL );
\r
2291 btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2292 bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 );
\r
2294 btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2295 bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 );
\r
2297 btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2298 bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 );
\r
2301 bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 );
\r
2304 bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 );
\r
2307 bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 );
\r
2310 fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 );
\r
2313 bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 );
\r
2316 tabHome->SetSizer( bSizer181 );
\r
2317 tabHome->Layout();
\r
2318 bSizer181->Fit( tabHome );
\r
2319 nbkContact->AddPage( tabHome, wxT("Home"), false );
\r
2320 tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2321 tabBusiness->SetScrollRate( 5, 5 );
\r
2322 wxBoxSizer* bSizer182;
\r
2323 bSizer182 = new wxBoxSizer( wxVERTICAL );
\r
2325 wxGridSizer* gSizer72;
\r
2326 gSizer72 = new wxGridSizer( 2, 6, 0, 0 );
\r
2329 bSizer182->Add( gSizer72, 0, wxEXPAND, 5 );
\r
2331 wxFlexGridSizer* fgSizer52;
\r
2332 fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
2333 fgSizer52->AddGrowableCol( 1 );
\r
2334 fgSizer52->SetFlexibleDirection( wxBOTH );
\r
2335 fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
2337 lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2338 lblBusinessNickname->Wrap( 0 );
\r
2339 fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 );
\r
2341 wxBoxSizer* szrAddresses22;
\r
2342 szrAddresses22 = new wxBoxSizer( wxHORIZONTAL );
\r
2344 lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2345 szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 );
\r
2347 wxBoxSizer* szrAddressesOuter22;
\r
2348 szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL );
\r
2350 wxBoxSizer* bSizer4632;
\r
2351 bSizer4632 = new wxBoxSizer( wxHORIZONTAL );
\r
2353 wxBoxSizer* bSizer4732;
\r
2354 bSizer4732 = new wxBoxSizer( wxVERTICAL );
\r
2356 btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2357 bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 );
\r
2359 btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2360 bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 );
\r
2362 btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2363 bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 );
\r
2366 bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 );
\r
2369 szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 );
\r
2372 szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 );
\r
2375 fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 );
\r
2377 lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2378 lblBusinessAddress->Wrap( 0 );
\r
2379 fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 );
\r
2381 wxBoxSizer* szrAddresses2;
\r
2382 szrAddresses2 = new wxBoxSizer( wxHORIZONTAL );
\r
2384 lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2385 szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 );
\r
2387 wxBoxSizer* szrAddressesOuter2;
\r
2388 szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL );
\r
2390 wxBoxSizer* bSizer463;
\r
2391 bSizer463 = new wxBoxSizer( wxHORIZONTAL );
\r
2393 wxBoxSizer* bSizer473;
\r
2394 bSizer473 = new wxBoxSizer( wxVERTICAL );
\r
2396 btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2397 bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 );
\r
2399 btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2400 bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 );
\r
2402 btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2403 bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 );
\r
2406 bSizer463->Add( bSizer473, 1, wxEXPAND, 5 );
\r
2409 szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 );
\r
2412 szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 );
\r
2415 fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 );
\r
2417 lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2418 lblBusinessEmail->Wrap( 0 );
\r
2419 fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 );
\r
2421 wxBoxSizer* bSizer3013;
\r
2422 bSizer3013 = new wxBoxSizer( wxHORIZONTAL );
\r
2424 lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2425 bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 );
\r
2427 wxBoxSizer* bSizer3513;
\r
2428 bSizer3513 = new wxBoxSizer( wxVERTICAL );
\r
2430 wxBoxSizer* bSizer4613;
\r
2431 bSizer4613 = new wxBoxSizer( wxHORIZONTAL );
\r
2433 wxBoxSizer* bSizer4713;
\r
2434 bSizer4713 = new wxBoxSizer( wxVERTICAL );
\r
2436 btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2437 bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 );
\r
2439 btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2440 bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 );
\r
2442 btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2443 bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 );
\r
2446 bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 );
\r
2449 bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 );
\r
2452 bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 );
\r
2455 fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 );
\r
2457 lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2458 lblBusinessIM->Wrap( 0 );
\r
2459 fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 );
\r
2461 wxBoxSizer* bSizer30113;
\r
2462 bSizer30113 = new wxBoxSizer( wxHORIZONTAL );
\r
2464 lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2465 bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 );
\r
2467 wxBoxSizer* bSizer35113;
\r
2468 bSizer35113 = new wxBoxSizer( wxVERTICAL );
\r
2470 wxBoxSizer* bSizer46113;
\r
2471 bSizer46113 = new wxBoxSizer( wxHORIZONTAL );
\r
2473 wxBoxSizer* bSizer47113;
\r
2474 bSizer47113 = new wxBoxSizer( wxVERTICAL );
\r
2476 btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2477 bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 );
\r
2479 btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2480 bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 );
\r
2482 btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2483 bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 );
\r
2486 bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 );
\r
2489 bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 );
\r
2492 bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 );
\r
2495 fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 );
\r
2497 lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2498 lblBusinessTelephone->Wrap( 0 );
\r
2499 fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 );
\r
2501 wxBoxSizer* bSizer301113;
\r
2502 bSizer301113 = new wxBoxSizer( wxHORIZONTAL );
\r
2504 lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2505 bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 );
\r
2507 wxBoxSizer* bSizer351113;
\r
2508 bSizer351113 = new wxBoxSizer( wxVERTICAL );
\r
2510 wxBoxSizer* bSizer461113;
\r
2511 bSizer461113 = new wxBoxSizer( wxHORIZONTAL );
\r
2513 wxBoxSizer* bSizer471113;
\r
2514 bSizer471113 = new wxBoxSizer( wxVERTICAL );
\r
2516 btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2517 bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 );
\r
2519 btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2520 bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 );
\r
2522 btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2523 bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 );
\r
2526 bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 );
\r
2529 bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 );
\r
2532 bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 );
\r
2535 fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 );
\r
2537 lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2538 lblBusinessLanguage->Wrap( 0 );
\r
2539 fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 );
\r
2541 wxBoxSizer* bSizer3011113;
\r
2542 bSizer3011113 = new wxBoxSizer( wxHORIZONTAL );
\r
2544 lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2545 bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 );
\r
2547 wxBoxSizer* bSizer3511113;
\r
2548 bSizer3511113 = new wxBoxSizer( wxVERTICAL );
\r
2550 wxBoxSizer* bSizer4611113;
\r
2551 bSizer4611113 = new wxBoxSizer( wxHORIZONTAL );
\r
2553 wxBoxSizer* bSizer4711113;
\r
2554 bSizer4711113 = new wxBoxSizer( wxVERTICAL );
\r
2556 btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2557 bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 );
\r
2559 btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2560 bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 );
\r
2562 btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2563 bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 );
\r
2566 bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 );
\r
2569 bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 );
\r
2572 bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 );
\r
2575 fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 );
\r
2577 lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2578 lblBusinessTimezones->Wrap( 0 );
\r
2579 fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 );
\r
2581 wxBoxSizer* bSizer30111113;
\r
2582 bSizer30111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2584 lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2585 bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 );
\r
2587 wxBoxSizer* bSizer35111113;
\r
2588 bSizer35111113 = new wxBoxSizer( wxVERTICAL );
\r
2590 wxBoxSizer* bSizer46111113;
\r
2591 bSizer46111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2593 wxBoxSizer* bSizer47111113;
\r
2594 bSizer47111113 = new wxBoxSizer( wxVERTICAL );
\r
2596 btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2597 bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 );
\r
2599 btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2600 bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 );
\r
2602 btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2603 bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 );
\r
2606 bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 );
\r
2609 bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 );
\r
2612 bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 );
\r
2615 fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 );
\r
2617 lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2618 lblBusinessGeopositioning->Wrap( 0 );
\r
2619 fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 );
\r
2621 wxBoxSizer* bSizer3011111411;
\r
2622 bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL );
\r
2624 lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2625 bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
2627 wxBoxSizer* bSizer3511111411;
\r
2628 bSizer3511111411 = new wxBoxSizer( wxVERTICAL );
\r
2630 wxBoxSizer* bSizer4611111411;
\r
2631 bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL );
\r
2633 wxBoxSizer* bSizer4711111411;
\r
2634 bSizer4711111411 = new wxBoxSizer( wxVERTICAL );
\r
2636 btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2637 bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 );
\r
2639 btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2640 bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 );
\r
2642 btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2643 bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 );
\r
2646 bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 );
\r
2649 bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 );
\r
2652 bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 );
\r
2655 fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 );
\r
2657 lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2658 lblBusinessWebsites->Wrap( 1 );
\r
2659 fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 );
\r
2661 wxBoxSizer* bSizer3011111113;
\r
2662 bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2664 lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2665 bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 );
\r
2667 wxBoxSizer* bSizer3511111113;
\r
2668 bSizer3511111113 = new wxBoxSizer( wxVERTICAL );
\r
2670 wxBoxSizer* bSizer4611111113;
\r
2671 bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2673 wxBoxSizer* bSizer4711111113;
\r
2674 bSizer4711111113 = new wxBoxSizer( wxVERTICAL );
\r
2676 btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2677 bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 );
\r
2679 btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2680 bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 );
\r
2682 btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2683 bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 );
\r
2686 bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 );
\r
2689 bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 );
\r
2692 bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 );
\r
2695 fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 );
\r
2697 lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2698 lblBusinessTitles->Wrap( 1 );
\r
2699 fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 );
\r
2701 wxBoxSizer* bSizer30111111113;
\r
2702 bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2704 lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
2705 bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 );
\r
2707 wxBoxSizer* bSizer35111111113;
\r
2708 bSizer35111111113 = new wxBoxSizer( wxVERTICAL );
\r
2710 wxBoxSizer* bSizer46111111113;
\r
2711 bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2713 wxBoxSizer* bSizer47111111113;
\r
2714 bSizer47111111113 = new wxBoxSizer( wxVERTICAL );
\r
2716 btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2717 bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 );
\r
2719 btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2720 bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 );
\r
2722 btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2723 bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 );
\r
2726 bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 );
\r
2729 bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 );
\r
2732 bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 );
\r
2735 fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 );
\r
2737 lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2738 lblBusinessRoles->Wrap( 1 );
\r
2739 fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 );
\r
2741 wxBoxSizer* bSizer301111111113;
\r
2742 bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2744 lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2745 bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 );
\r
2747 wxBoxSizer* bSizer351111111113;
\r
2748 bSizer351111111113 = new wxBoxSizer( wxVERTICAL );
\r
2750 wxBoxSizer* bSizer461111111113;
\r
2751 bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2753 wxBoxSizer* bSizer471111111113;
\r
2754 bSizer471111111113 = new wxBoxSizer( wxVERTICAL );
\r
2756 btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2757 bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 );
\r
2759 btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2760 bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 );
\r
2762 btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2763 bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 );
\r
2766 bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 );
\r
2769 bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 );
\r
2772 bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 );
\r
2775 fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 );
\r
2777 lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2778 lblBusinessOrganisations->Wrap( 1 );
\r
2779 fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 );
\r
2781 wxBoxSizer* bSizer3011111111113;
\r
2782 bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2784 lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2785 bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
2787 wxBoxSizer* bSizer3511111111113;
\r
2788 bSizer3511111111113 = new wxBoxSizer( wxVERTICAL );
\r
2790 wxBoxSizer* bSizer4611111111113;
\r
2791 bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2793 wxBoxSizer* bSizer4711111111113;
\r
2794 bSizer4711111111113 = new wxBoxSizer( wxVERTICAL );
\r
2796 btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2797 bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 );
\r
2799 btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2800 bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 );
\r
2802 btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2803 bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 );
\r
2806 bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 );
\r
2809 bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 );
\r
2812 bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 );
\r
2815 fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 );
\r
2817 lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2818 lblBusinessNotes->Wrap( 1 );
\r
2819 fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 );
\r
2821 wxBoxSizer* bSizer30111111111112;
\r
2822 bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2824 lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2825 bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 );
\r
2827 wxBoxSizer* bSizer35111111111112;
\r
2828 bSizer35111111111112 = new wxBoxSizer( wxVERTICAL );
\r
2830 wxBoxSizer* bSizer46111111111112;
\r
2831 bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2833 wxBoxSizer* bSizer47111111111112;
\r
2834 bSizer47111111111112 = new wxBoxSizer( wxVERTICAL );
\r
2836 btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2837 bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 );
\r
2839 btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2840 bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 );
\r
2842 btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2843 bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 );
\r
2846 bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 );
\r
2849 bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 );
\r
2852 bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 );
\r
2855 fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 );
\r
2858 bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 );
\r
2861 tabBusiness->SetSizer( bSizer182 );
\r
2862 tabBusiness->Layout();
\r
2863 bSizer182->Fit( tabBusiness );
\r
2864 nbkContact->AddPage( tabBusiness, wxT("Business"), false );
\r
2865 tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2866 tabCategories->SetScrollRate( 5, 5 );
\r
2867 wxBoxSizer* szrAddresses11;
\r
2868 szrAddresses11 = new wxBoxSizer( wxHORIZONTAL );
\r
2870 lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2871 szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 );
\r
2873 wxBoxSizer* szrCategoriesOuter;
\r
2874 szrCategoriesOuter = new wxBoxSizer( wxVERTICAL );
\r
2876 wxBoxSizer* bSizer4621;
\r
2877 bSizer4621 = new wxBoxSizer( wxHORIZONTAL );
\r
2879 wxBoxSizer* bSizer4721;
\r
2880 bSizer4721 = new wxBoxSizer( wxVERTICAL );
\r
2882 btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2883 bSizer4721->Add( btnAddCategory, 0, wxALL, 5 );
\r
2885 btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2886 bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 );
\r
2888 btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2889 bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 );
\r
2892 bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 );
\r
2895 szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 );
\r
2898 szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 );
\r
2901 tabCategories->SetSizer( szrAddresses11 );
\r
2902 tabCategories->Layout();
\r
2903 szrAddresses11->Fit( tabCategories );
\r
2904 nbkContact->AddPage( tabCategories, wxT("Categories"), false );
\r
2905 tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2906 tabMembers->SetScrollRate( 5, 5 );
\r
2907 wxBoxSizer* szrAddresses111;
\r
2908 szrAddresses111 = new wxBoxSizer( wxHORIZONTAL );
\r
2910 lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2911 szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 );
\r
2913 wxBoxSizer* szrCategoriesOuter1;
\r
2914 szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL );
\r
2916 wxBoxSizer* bSizer46211;
\r
2917 bSizer46211 = new wxBoxSizer( wxHORIZONTAL );
\r
2919 wxBoxSizer* bSizer47211;
\r
2920 bSizer47211 = new wxBoxSizer( wxVERTICAL );
\r
2922 btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2923 bSizer47211->Add( btnAddGroups, 0, wxALL, 5 );
\r
2925 btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2926 bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 );
\r
2928 btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2929 bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 );
\r
2932 bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 );
\r
2935 szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 );
\r
2938 szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 );
\r
2941 tabMembers->SetSizer( szrAddresses111 );
\r
2942 tabMembers->Layout();
\r
2943 szrAddresses111->Fit( tabMembers );
\r
2944 nbkContact->AddPage( tabMembers, wxT("Members"), false );
\r
2945 tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2946 tabPictures->SetScrollRate( 5, 5 );
\r
2947 wxBoxSizer* bSizer210;
\r
2948 bSizer210 = new wxBoxSizer( wxHORIZONTAL );
\r
2950 imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
2951 bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 );
\r
2953 wxBoxSizer* bSizer211;
\r
2954 bSizer211 = new wxBoxSizer( wxVERTICAL );
\r
2956 lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2957 bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 );
\r
2959 wxBoxSizer* bSizer212;
\r
2960 bSizer212 = new wxBoxSizer( wxVERTICAL );
\r
2962 wxFlexGridSizer* fgSizer46;
\r
2963 fgSizer46 = new wxFlexGridSizer( 2, 3, 0, 0 );
\r
2964 fgSizer46->SetFlexibleDirection( wxBOTH );
\r
2965 fgSizer46->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
2967 btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2968 fgSizer46->Add( btnAddPicture, 0, wxALL, 5 );
\r
2970 btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2971 fgSizer46->Add( btnModifyPicture, 0, wxALL, 5 );
\r
2973 btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2974 fgSizer46->Add( btnDeletePicture, 0, wxALL, 5 );
\r
2976 btnSavePicture = new wxButton( tabPictures, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2977 fgSizer46->Add( btnSavePicture, 0, wxALL, 5 );
\r
2980 bSizer212->Add( fgSizer46, 1, wxEXPAND, 5 );
\r
2983 bSizer211->Add( bSizer212, 0, wxEXPAND, 5 );
\r
2986 bSizer210->Add( bSizer211, 1, wxEXPAND, 5 );
\r
2989 tabPictures->SetSizer( bSizer210 );
\r
2990 tabPictures->Layout();
\r
2991 bSizer210->Fit( tabPictures );
\r
2992 nbkContact->AddPage( tabPictures, wxT("Pictures"), false );
\r
2993 tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2994 tabLogo->SetScrollRate( 5, 5 );
\r
2995 wxBoxSizer* bSizer2101;
\r
2996 bSizer2101 = new wxBoxSizer( wxHORIZONTAL );
\r
2998 imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
2999 bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 );
\r
3001 wxBoxSizer* bSizer2111;
\r
3002 bSizer2111 = new wxBoxSizer( wxVERTICAL );
\r
3004 lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3005 bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 );
\r
3007 wxBoxSizer* bSizer2121;
\r
3008 bSizer2121 = new wxBoxSizer( wxVERTICAL );
\r
3010 wxFlexGridSizer* fgSizer47;
\r
3011 fgSizer47 = new wxFlexGridSizer( 2, 3, 0, 0 );
\r
3012 fgSizer47->SetFlexibleDirection( wxBOTH );
\r
3013 fgSizer47->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3015 btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3016 fgSizer47->Add( btnAddLogo, 0, wxALL, 5 );
\r
3018 btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3019 fgSizer47->Add( btnModifyLogo, 0, wxALL, 5 );
\r
3021 btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3022 fgSizer47->Add( btnDeleteLogo, 0, wxALL, 5 );
\r
3024 btnSaveLogo = new wxButton( tabLogo, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3025 fgSizer47->Add( btnSaveLogo, 0, wxALL, 5 );
\r
3028 bSizer2121->Add( fgSizer47, 1, wxEXPAND, 5 );
\r
3031 bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 );
\r
3034 bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 );
\r
3037 tabLogo->SetSizer( bSizer2101 );
\r
3038 tabLogo->Layout();
\r
3039 bSizer2101->Fit( tabLogo );
\r
3040 nbkContact->AddPage( tabLogo, wxT("Logos"), false );
\r
3041 tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3042 tabSounds->SetScrollRate( 5, 5 );
\r
3043 wxBoxSizer* szrAddresses1111;
\r
3044 szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL );
\r
3046 lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3047 szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 );
\r
3049 wxBoxSizer* szrCategoriesOuter11;
\r
3050 szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
3052 wxBoxSizer* bSizer462111;
\r
3053 bSizer462111 = new wxBoxSizer( wxHORIZONTAL );
\r
3055 wxBoxSizer* bSizer472111;
\r
3056 bSizer472111 = new wxBoxSizer( wxVERTICAL );
\r
3058 btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3059 bSizer472111->Add( btnAddSound, 0, wxALL, 5 );
\r
3061 btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3062 bSizer472111->Add( btnModifySound, 0, wxALL, 5 );
\r
3064 btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3065 bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 );
\r
3067 btnSaveSound = new wxButton( tabSounds, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3068 bSizer472111->Add( btnSaveSound, 0, wxALL, 5 );
\r
3070 m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
3071 bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
\r
3073 wxBoxSizer* bSizer348;
\r
3074 bSizer348 = new wxBoxSizer( wxHORIZONTAL );
\r
3076 btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3077 btnPlay->SetMinSize( wxSize( -1,32 ) );
\r
3079 bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 );
\r
3081 btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3082 btnStop->SetMinSize( wxSize( -1,32 ) );
\r
3084 bSizer348->Add( btnStop, 0, wxALL, 5 );
\r
3087 bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 );
\r
3090 bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 );
\r
3093 szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 );
\r
3096 szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 );
\r
3099 tabSounds->SetSizer( szrAddresses1111 );
\r
3100 tabSounds->Layout();
\r
3101 szrAddresses1111->Fit( tabSounds );
\r
3102 nbkContact->AddPage( tabSounds, wxT("Sounds"), false );
\r
3103 tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3104 tabCalendaring->SetScrollRate( 5, 5 );
\r
3105 wxBoxSizer* bSizer1821;
\r
3106 bSizer1821 = new wxBoxSizer( wxVERTICAL );
\r
3108 wxFlexGridSizer* fgSizer521;
\r
3109 fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3110 fgSizer521->AddGrowableCol( 1 );
\r
3111 fgSizer521->SetFlexibleDirection( wxBOTH );
\r
3112 fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3114 lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3115 lblCalendarAddresses->Wrap( 0 );
\r
3116 fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 );
\r
3118 wxBoxSizer* szrAddresses21;
\r
3119 szrAddresses21 = new wxBoxSizer( wxHORIZONTAL );
\r
3121 lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3122 szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3124 wxBoxSizer* szrAddressesOuter21;
\r
3125 szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL );
\r
3127 wxBoxSizer* bSizer4631;
\r
3128 bSizer4631 = new wxBoxSizer( wxHORIZONTAL );
\r
3130 wxBoxSizer* bSizer4731;
\r
3131 bSizer4731 = new wxBoxSizer( wxVERTICAL );
\r
3133 btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3134 bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 );
\r
3136 btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3137 bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 );
\r
3139 btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3140 bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 );
\r
3143 bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 );
\r
3146 szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 );
\r
3149 szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 );
\r
3152 fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 );
\r
3154 lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3155 lblCalendarRequestAddresses->Wrap( 0 );
\r
3156 fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 );
\r
3158 wxBoxSizer* bSizer30131;
\r
3159 bSizer30131 = new wxBoxSizer( wxHORIZONTAL );
\r
3161 lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3162 bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 );
\r
3164 wxBoxSizer* bSizer35131;
\r
3165 bSizer35131 = new wxBoxSizer( wxVERTICAL );
\r
3167 wxBoxSizer* bSizer46131;
\r
3168 bSizer46131 = new wxBoxSizer( wxHORIZONTAL );
\r
3170 wxBoxSizer* bSizer47131;
\r
3171 bSizer47131 = new wxBoxSizer( wxVERTICAL );
\r
3173 btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3174 bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 );
\r
3176 btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3177 bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 );
\r
3179 btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3180 bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 );
\r
3183 bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 );
\r
3186 bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 );
\r
3189 bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 );
\r
3192 fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 );
\r
3194 lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3195 lblFreeBusyAddresses->Wrap( 0 );
\r
3196 fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 );
\r
3198 wxBoxSizer* bSizer301131;
\r
3199 bSizer301131 = new wxBoxSizer( wxHORIZONTAL );
\r
3201 lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3202 bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3204 wxBoxSizer* bSizer351131;
\r
3205 bSizer351131 = new wxBoxSizer( wxVERTICAL );
\r
3207 wxBoxSizer* bSizer461131;
\r
3208 bSizer461131 = new wxBoxSizer( wxHORIZONTAL );
\r
3210 wxBoxSizer* bSizer471131;
\r
3211 bSizer471131 = new wxBoxSizer( wxVERTICAL );
\r
3213 btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3214 bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 );
\r
3216 btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3217 bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 );
\r
3219 btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3220 bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 );
\r
3223 bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 );
\r
3226 bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 );
\r
3229 bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 );
\r
3232 fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 );
\r
3235 bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 );
\r
3238 tabCalendaring->SetSizer( bSizer1821 );
\r
3239 tabCalendaring->Layout();
\r
3240 bSizer1821->Fit( tabCalendaring );
\r
3241 nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false );
\r
3242 tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3243 tabSecurity->SetScrollRate( 5, 5 );
\r
3244 wxBoxSizer* szrAddresses1112;
\r
3245 szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL );
\r
3247 lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3248 szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 );
\r
3250 wxBoxSizer* szrCategoriesOuter12;
\r
3251 szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL );
\r
3253 wxBoxSizer* bSizer462112;
\r
3254 bSizer462112 = new wxBoxSizer( wxHORIZONTAL );
\r
3256 wxBoxSizer* bSizer472112;
\r
3257 bSizer472112 = new wxBoxSizer( wxVERTICAL );
\r
3259 btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3260 bSizer472112->Add( btnAddKey, 0, wxALL, 5 );
\r
3262 btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3263 bSizer472112->Add( btnModifyKey, 0, wxALL, 5 );
\r
3265 btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3266 bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 );
\r
3269 bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 );
\r
3272 szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 );
\r
3275 szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 );
\r
3278 tabSecurity->SetSizer( szrAddresses1112 );
\r
3279 tabSecurity->Layout();
\r
3280 szrAddresses1112->Fit( tabSecurity );
\r
3281 nbkContact->AddPage( tabSecurity, wxT("Security"), false );
\r
3282 tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3283 tabOther->SetScrollRate( 5, 5 );
\r
3284 wxFlexGridSizer* fgSizer5211;
\r
3285 fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3286 fgSizer5211->AddGrowableCol( 1 );
\r
3287 fgSizer5211->SetFlexibleDirection( wxBOTH );
\r
3288 fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3290 lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3291 lblVendorNamespace->Wrap( 0 );
\r
3292 fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 );
\r
3294 wxBoxSizer* szrAddresses211;
\r
3295 szrAddresses211 = new wxBoxSizer( wxHORIZONTAL );
\r
3297 lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
3298 szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 );
\r
3300 wxBoxSizer* szrAddressesOuter211;
\r
3301 szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL );
\r
3303 wxBoxSizer* bSizer46311;
\r
3304 bSizer46311 = new wxBoxSizer( wxHORIZONTAL );
\r
3306 wxBoxSizer* bSizer47311;
\r
3307 bSizer47311 = new wxBoxSizer( wxVERTICAL );
\r
3309 btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3310 bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 );
\r
3312 btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3313 bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 );
\r
3315 btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3316 bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 );
\r
3319 bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 );
\r
3322 szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 );
\r
3325 szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 );
\r
3328 fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 );
\r
3330 lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3331 lblXTokens->Wrap( 0 );
\r
3332 fgSizer5211->Add( lblXTokens, 0, wxALL, 5 );
\r
3334 wxBoxSizer* bSizer301311;
\r
3335 bSizer301311 = new wxBoxSizer( wxHORIZONTAL );
\r
3337 lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3338 bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 );
\r
3340 wxBoxSizer* bSizer351311;
\r
3341 bSizer351311 = new wxBoxSizer( wxVERTICAL );
\r
3343 wxBoxSizer* bSizer461311;
\r
3344 bSizer461311 = new wxBoxSizer( wxHORIZONTAL );
\r
3346 wxBoxSizer* bSizer471311;
\r
3347 bSizer471311 = new wxBoxSizer( wxVERTICAL );
\r
3349 btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3350 bSizer471311->Add( btnAddXToken, 0, wxALL, 5 );
\r
3352 btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3353 bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 );
\r
3355 btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3356 bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 );
\r
3359 bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 );
\r
3362 bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 );
\r
3365 bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 );
\r
3368 fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 );
\r
3371 tabOther->SetSizer( fgSizer5211 );
\r
3372 tabOther->Layout();
\r
3373 fgSizer5211->Fit( tabOther );
\r
3374 nbkContact->AddPage( tabOther, wxT("Other"), false );
\r
3376 bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 );
\r
3379 this->SetSizer( bSizer17 );
\r
3381 m_menubar3 = new wxMenuBar( 0 );
\r
3382 mnuContact = new wxMenu();
\r
3383 wxMenuItem* mnuContactSave;
\r
3384 mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL );
\r
3385 mnuContact->Append( mnuContactSave );
\r
3387 wxMenuItem* mnuContactSaveClose;
\r
3388 mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL );
\r
3389 mnuContact->Append( mnuContactSaveClose );
\r
3391 mnuContact->AppendSeparator();
\r
3393 wxMenuItem* mnuContactClose;
\r
3394 mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
\r
3395 mnuContact->Append( mnuContactClose );
\r
3397 m_menubar3->Append( mnuContact, wxT("&Contact") );
\r
3399 mnuEdit = new wxMenu();
\r
3400 wxMenuItem* mnuEditCut;
\r
3401 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL );
\r
3402 mnuEdit->Append( mnuEditCut );
\r
3404 wxMenuItem* mnuEditCopy;
\r
3405 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL );
\r
3406 mnuEdit->Append( mnuEditCopy );
\r
3408 wxMenuItem* mnuEditPaste;
\r
3409 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL );
\r
3410 mnuEdit->Append( mnuEditPaste );
\r
3412 m_menubar3->Append( mnuEdit, wxT("&Edit") );
\r
3414 this->SetMenuBar( m_menubar3 );
\r
3417 this->Centre( wxBOTH );
\r
3420 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3421 txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3422 txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3423 txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3424 txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3425 txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3426 cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3427 cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3428 cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3429 btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3430 btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3431 btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3432 btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3433 btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3434 btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3435 btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3436 btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3437 btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3438 btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3439 btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3440 btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3441 btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3442 btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3443 btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3444 btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3445 btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3446 btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3447 btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3448 btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3449 btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3450 btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3451 btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3452 btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3453 btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3454 btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3455 btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3456 btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3457 btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3458 btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3459 btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3460 btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3461 btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3462 btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3463 btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3464 btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3465 btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3466 btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3467 btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3468 btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3469 btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3470 btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3471 btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3472 btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3473 btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3474 btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3475 btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3476 btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3477 btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3478 btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3479 btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3480 btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3481 btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3482 btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3483 btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3484 btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3485 btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3486 btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3487 btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3488 btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3489 btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3490 btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3491 btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3492 btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3493 btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3494 btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3495 btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3496 btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3497 btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3498 btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3499 btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3500 btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3501 btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3502 btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3503 btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3504 btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3505 btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3506 btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3507 btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3508 btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3509 btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3510 btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3511 btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3512 btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3513 btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3514 btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3515 btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3516 btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3517 btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3518 btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3519 btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3520 btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3521 btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3522 btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3523 btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3524 btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3525 btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3526 btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3527 btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3528 btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3529 btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3530 btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3531 btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3532 btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3533 btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3534 btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3535 btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3536 btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3537 btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3538 btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3539 btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3540 btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3541 btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3542 btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3543 btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3544 btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3545 btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3546 btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3547 btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3548 btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3549 btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3550 btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3551 btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3552 btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3553 btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3554 btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3555 lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3556 btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3557 btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3558 btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3559 btnSavePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this );
\r
3560 lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3561 btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3562 btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3563 btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3564 btnSaveLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this );
\r
3565 btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3566 btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3567 btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3568 btnSaveSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this );
\r
3569 btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3570 btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3571 btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3572 btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3573 btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3574 btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3575 btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3576 btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3577 btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3578 btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3579 btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3580 btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3581 btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3582 btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3583 btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3584 btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3585 btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3586 btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3587 btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3588 btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3589 this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3590 this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3591 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3592 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3593 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3594 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3597 frmContactEditorADT::~frmContactEditorADT()
\r
3599 // Disconnect Events
\r
3600 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3601 txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3602 txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3603 txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3604 txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3605 txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3606 cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3607 cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3608 cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3609 btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3610 btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3611 btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3612 btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3613 btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3614 btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3615 btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3616 btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3617 btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3618 btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3619 btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3620 btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3621 btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3622 btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3623 btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3624 btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3625 btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3626 btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3627 btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3628 btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3629 btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3630 btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3631 btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3632 btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3633 btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3634 btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3635 btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3636 btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3637 btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3638 btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3639 btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3640 btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3641 btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3642 btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3643 btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3644 btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3645 btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3646 btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3647 btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3648 btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3649 btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3650 btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3651 btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3652 btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3653 btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3654 btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3655 btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3656 btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3657 btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3658 btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3659 btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3660 btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3661 btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3662 btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3663 btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3664 btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3665 btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3666 btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3667 btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3668 btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3669 btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3670 btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3671 btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3672 btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3673 btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3674 btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3675 btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3676 btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3677 btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3678 btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3679 btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3680 btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3681 btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3682 btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3683 btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3684 btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3685 btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3686 btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3687 btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3688 btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3689 btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3690 btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3691 btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3692 btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3693 btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3694 btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3695 btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3696 btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3697 btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3698 btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3699 btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3700 btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3701 btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3702 btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3703 btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3704 btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3705 btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3706 btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3707 btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3708 btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3709 btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3710 btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3711 btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3712 btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3713 btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3714 btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3715 btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3716 btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3717 btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3718 btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3719 btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3720 btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3721 btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3722 btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3723 btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3724 btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3725 btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3726 btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3727 btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3728 btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3729 btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3730 btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3731 btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3732 btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3733 btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3734 btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3735 lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3736 btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3737 btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3738 btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3739 btnSavePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this );
\r
3740 lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3741 btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3742 btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3743 btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3744 btnSaveLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this );
\r
3745 btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3746 btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3747 btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3748 btnSaveSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this );
\r
3749 btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3750 btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3751 btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3752 btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3753 btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3754 btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3755 btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3756 btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3757 btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3758 btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3759 btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3760 btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3761 btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3762 btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3763 btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3764 btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3765 btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3766 btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3767 btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3768 btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3769 this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3770 this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3771 this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3772 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3773 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3774 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3778 frmContactEditorAddressADT::frmContactEditorAddressADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
3780 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3782 wxBoxSizer* bSizer251;
\r
3783 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
3785 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
3786 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3787 wxFlexGridSizer* fgSizer6;
\r
3788 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3789 fgSizer6->AddGrowableCol( 1 );
\r
3790 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
3791 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3793 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3794 lblAddress->Wrap( -1 );
\r
3795 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3797 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3798 txtAddress->SetMaxLength( 0 );
\r
3799 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
3801 m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3802 m_staticText61->Wrap( -1 );
\r
3803 fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3805 txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3806 txtTownCity->SetMaxLength( 0 );
\r
3807 fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 );
\r
3809 lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3810 lblCountyState->Wrap( -1 );
\r
3811 fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3813 txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3814 txtCounty->SetMaxLength( 0 );
\r
3815 fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 );
\r
3817 lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3818 lblPostCode->Wrap( -1 );
\r
3819 fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3821 txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3822 txtPostCode->SetMaxLength( 0 );
\r
3823 fgSizer6->Add( txtPostCode, 0, wxALL, 5 );
\r
3825 lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3826 lblCountry->Wrap( -1 );
\r
3827 fgSizer6->Add( lblCountry, 0, wxALL, 5 );
\r
3829 txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3830 txtCountry->SetMaxLength( 0 );
\r
3831 fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 );
\r
3833 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3834 lblPriority->Wrap( -1 );
\r
3835 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
3837 wxBoxSizer* bSizer260;
\r
3838 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
3840 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3841 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
3843 wxBoxSizer* bSizer254;
\r
3844 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
3846 wxBoxSizer* bSizer256;
\r
3847 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
3849 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
3850 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
3853 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
3855 wxBoxSizer* bSizer255;
\r
3856 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
3858 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3859 lblHigh->Wrap( -1 );
\r
3860 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
3863 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3865 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3866 lblLow->Wrap( -1 );
\r
3867 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
3870 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
3873 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
3876 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
3879 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3882 tabGeneral->SetSizer( fgSizer6 );
\r
3883 tabGeneral->Layout();
\r
3884 fgSizer6->Fit( tabGeneral );
\r
3885 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
3886 tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3887 wxBoxSizer* bSizer253;
\r
3888 bSizer253 = new wxBoxSizer( wxVERTICAL );
\r
3890 btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3891 bSizer253->Add( btnCopyMailing, 0, wxALL, 5 );
\r
3893 txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
3894 txtLabel->SetMaxLength( 0 );
\r
3895 bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 );
\r
3898 tabLabel->SetSizer( bSizer253 );
\r
3899 tabLabel->Layout();
\r
3900 bSizer253->Fit( tabLabel );
\r
3901 nbkAddress->AddPage( tabLabel, wxT("Label"), false );
\r
3902 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3903 wxFlexGridSizer* fgSizer61;
\r
3904 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3905 fgSizer61->AddGrowableCol( 1 );
\r
3906 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
3907 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3909 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3910 lblLanguage->Wrap( -1 );
\r
3911 fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3913 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
3914 fgSizer61->Add( cmbLanguage, 0, wxALL, 5 );
\r
3916 lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3917 lblGeography->Wrap( -1 );
\r
3918 fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3920 txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3921 txtGeo->SetMaxLength( 0 );
\r
3922 fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 );
\r
3924 lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3925 lblTimezone->Wrap( -1 );
\r
3926 fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3928 txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3929 txtTimezone->SetMaxLength( 0 );
\r
3930 fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 );
\r
3933 tabOther->SetSizer( fgSizer61 );
\r
3934 tabOther->Layout();
\r
3935 fgSizer61->Fit( tabOther );
\r
3936 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
3938 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
3940 wxBoxSizer* bSizer252;
\r
3941 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
3943 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3944 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
3946 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3947 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
3950 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
3953 this->SetSizer( bSizer251 );
\r
3956 this->Centre( wxBOTH );
\r
3959 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3960 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3961 btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3962 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3963 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3966 frmContactEditorAddressADT::~frmContactEditorAddressADT()
\r
3968 // Disconnect Events
\r
3969 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3970 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3971 btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3972 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3973 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3977 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
3979 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3981 wxFlexGridSizer* fgSizer39;
\r
3982 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
3983 fgSizer39->AddGrowableCol( 0 );
\r
3984 fgSizer39->AddGrowableRow( 0 );
\r
3985 fgSizer39->SetFlexibleDirection( wxBOTH );
\r
3986 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3988 wxBoxSizer* bSizer363;
\r
3989 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
3991 wxBoxSizer* bSizer364;
\r
3992 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
3994 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
3995 lblText->Wrap( -1 );
\r
3996 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
\r
3998 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
3999 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
\r
4001 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4002 wxBoxSizer* bSizer365;
\r
4003 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
4005 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
4006 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
\r
4009 m_panel44->SetSizer( bSizer365 );
\r
4010 m_panel44->Layout();
\r
4011 bSizer365->Fit( m_panel44 );
\r
4012 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4013 wxBoxSizer* bSizer366;
\r
4014 bSizer366 = new wxBoxSizer( wxVERTICAL );
\r
4016 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
4017 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
\r
4020 m_panel45->SetSizer( bSizer366 );
\r
4021 m_panel45->Layout();
\r
4022 bSizer366->Fit( m_panel45 );
\r
4023 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
\r
4024 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
\r
4026 wxBoxSizer* bSizer367;
\r
4027 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
\r
4030 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4032 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4033 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
\r
4035 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4036 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
\r
4038 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4039 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
\r
4042 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4045 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
\r
4048 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
\r
4051 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
\r
4054 this->SetSizer( fgSizer39 );
\r
4057 this->Centre( wxBOTH );
\r
4060 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4061 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4062 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4065 frmConflictResolutionADT::~frmConflictResolutionADT()
\r
4067 // Disconnect Events
\r
4068 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4069 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4070 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4074 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
4076 this->SetSizeHints( wxSize( 400,300 ), wxDefaultSize );
\r
4078 mnuMenuBar = new wxMenuBar( 0 );
\r
4079 mnuWindow = new wxMenu();
\r
4080 wxMenuItem* mnuStopActivity;
\r
4081 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4082 mnuWindow->Append( mnuStopActivity );
\r
4084 wxMenuItem* mnuActivityStopAll;
\r
4085 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4086 mnuWindow->Append( mnuActivityStopAll );
\r
4088 wxMenuItem* mnuRetryActivity;
\r
4089 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
4090 mnuWindow->Append( mnuRetryActivity );
\r
4092 mnuWindow->AppendSeparator();
\r
4094 wxMenuItem* mnuSleepMode;
\r
4095 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
\r
4096 mnuWindow->Append( mnuSleepMode );
\r
4098 mnuWindow->AppendSeparator();
\r
4100 wxMenuItem* mnuWindowClose;
\r
4101 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
4102 mnuWindow->Append( mnuWindowClose );
\r
4104 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
\r
4106 this->SetMenuBar( mnuMenuBar );
\r
4108 wxFlexGridSizer* fgSizer38;
\r
4109 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
4110 fgSizer38->AddGrowableCol( 0 );
\r
4111 fgSizer38->AddGrowableRow( 1 );
\r
4112 fgSizer38->SetFlexibleDirection( wxBOTH );
\r
4113 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4115 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4116 wxBoxSizer* bSizer363;
\r
4117 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
4119 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
\r
4120 bmpActivity->SetMinSize( wxSize( 64,64 ) );
\r
4122 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
\r
4124 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4125 wxBoxSizer* bSizer364;
\r
4126 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
4129 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4131 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
\r
4132 lblDetails->Wrap( -1 );
\r
4133 bSizer364->Add( lblDetails, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 0 );
\r
4136 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4138 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
\r
4139 GauProgress->SetValue( 0 );
\r
4140 GauProgress->SetMinSize( wxSize( -1,20 ) );
\r
4142 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
\r
4145 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4148 m_panel46->SetSizer( bSizer364 );
\r
4149 m_panel46->Layout();
\r
4150 bSizer364->Fit( m_panel46 );
\r
4151 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
\r
4154 m_panel43->SetSizer( bSizer363 );
\r
4155 m_panel43->Layout();
\r
4156 bSizer363->Fit( m_panel43 );
\r
4157 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
\r
4159 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4160 wxBoxSizer* bSizer365;
\r
4161 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
4163 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
4164 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
\r
4167 m_panel44->SetSizer( bSizer365 );
\r
4168 m_panel44->Layout();
\r
4169 bSizer365->Fit( m_panel44 );
\r
4170 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
\r
4173 this->SetSizer( fgSizer38 );
\r
4176 this->Centre( wxBOTH );
\r
4179 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4180 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4181 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4182 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4183 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4184 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4187 frmActivityMgrADT::~frmActivityMgrADT()
\r
4189 // Disconnect Events
\r
4190 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4191 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4192 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4193 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4194 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4195 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4199 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
4201 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4203 wxBoxSizer* bSizer251;
\r
4204 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4206 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4207 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4208 wxFlexGridSizer* fgSizer6;
\r
4209 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4210 fgSizer6->AddGrowableCol( 1 );
\r
4211 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4212 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4214 lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4215 lblNickname->Wrap( -1 );
\r
4216 fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4218 txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4219 txtNickname->SetMaxLength( 0 );
\r
4220 fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 );
\r
4222 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4223 lblPriority->Wrap( -1 );
\r
4224 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4226 wxBoxSizer* bSizer260;
\r
4227 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4229 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4230 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4232 wxBoxSizer* bSizer254;
\r
4233 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4235 wxBoxSizer* bSizer256;
\r
4236 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4238 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4239 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4242 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4244 wxBoxSizer* bSizer255;
\r
4245 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4247 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4248 lblHigh->Wrap( -1 );
\r
4249 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4252 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4254 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4255 lblLow->Wrap( -1 );
\r
4256 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4259 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4262 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4265 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4268 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4271 tabGeneral->SetSizer( fgSizer6 );
\r
4272 tabGeneral->Layout();
\r
4273 fgSizer6->Fit( tabGeneral );
\r
4274 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
4275 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4276 wxFlexGridSizer* fgSizer61;
\r
4277 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4278 fgSizer61->AddGrowableCol( 1 );
\r
4279 fgSizer61->SetFlexibleDirection( wxBOTH );
\r
4280 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4282 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4283 lblLanguage->Wrap( -1 );
\r
4284 fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4286 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4287 fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 );
\r
4290 tabOther->SetSizer( fgSizer61 );
\r
4291 tabOther->Layout();
\r
4292 fgSizer61->Fit( tabOther );
\r
4293 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
4295 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
4297 wxBoxSizer* bSizer252;
\r
4298 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4300 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4301 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4303 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4304 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4307 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4310 this->SetSizer( bSizer251 );
\r
4313 this->Centre( wxBOTH );
\r
4316 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4317 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4318 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4319 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4322 frmContactEditorNicknameADT::~frmContactEditorNicknameADT()
\r
4324 // Disconnect Events
\r
4325 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4326 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4327 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4328 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4332 frmContactEditorGroupsADT::frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4334 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
4336 wxBoxSizer* bSizer251;
\r
4337 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4339 nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4340 tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4341 wxFlexGridSizer* fgSizer6;
\r
4342 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4343 fgSizer6->AddGrowableCol( 1 );
\r
4344 fgSizer6->AddGrowableRow( 0 );
\r
4345 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4346 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4348 lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4349 lblContacts->Wrap( -1 );
\r
4350 fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 );
\r
4352 wxArrayString chkContactsChoices;
\r
4353 chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
\r
4354 fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 );
\r
4357 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4360 tabGeneral->SetSizer( fgSizer6 );
\r
4361 tabGeneral->Layout();
\r
4362 fgSizer6->Fit( tabGeneral );
\r
4363 nbkGroup->AddPage( tabGeneral, wxT("General"), false );
\r
4365 bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 );
\r
4367 wxBoxSizer* bSizer252;
\r
4368 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4370 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4371 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4373 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4374 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4377 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4380 this->SetSizer( bSizer251 );
\r
4383 this->Centre( wxBOTH );
\r
4386 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4387 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4388 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4391 frmContactEditorGroupsADT::~frmContactEditorGroupsADT()
\r
4393 // Disconnect Events
\r
4394 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4395 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4396 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4400 frmContactEditorRolesADT::frmContactEditorRolesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
4402 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4404 wxBoxSizer* bSizer251;
\r
4405 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4407 nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4408 tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4409 wxFlexGridSizer* fgSizer6;
\r
4410 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4411 fgSizer6->AddGrowableCol( 1 );
\r
4412 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4413 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4415 lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4416 lblRole->Wrap( -1 );
\r
4417 fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4419 txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4420 txtRole->SetMaxLength( 0 );
\r
4421 fgSizer6->Add( txtRole, 0, wxALL|wxEXPAND, 5 );
\r
4423 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4424 lblPriority->Wrap( -1 );
\r
4425 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4427 wxBoxSizer* bSizer260;
\r
4428 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4430 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4431 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4433 wxBoxSizer* bSizer254;
\r
4434 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4436 wxBoxSizer* bSizer256;
\r
4437 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4439 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4440 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4443 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4445 wxBoxSizer* bSizer255;
\r
4446 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4448 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4449 lblHigh->Wrap( -1 );
\r
4450 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4453 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4455 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4456 lblLow->Wrap( -1 );
\r
4457 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4460 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4463 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4466 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4469 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4472 tabGeneral->SetSizer( fgSizer6 );
\r
4473 tabGeneral->Layout();
\r
4474 fgSizer6->Fit( tabGeneral );
\r
4475 nbkRole->AddPage( tabGeneral, wxT("General"), false );
\r
4477 bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 );
\r
4479 wxBoxSizer* bSizer252;
\r
4480 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4482 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4483 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4485 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4486 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4489 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4492 this->SetSizer( bSizer251 );
\r
4495 this->Centre( wxBOTH );
\r
4498 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4499 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4500 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4503 frmContactEditorRolesADT::~frmContactEditorRolesADT()
\r
4505 // Disconnect Events
\r
4506 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4507 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4508 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4512 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
4514 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4516 wxBoxSizer* bSizer251;
\r
4517 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4519 nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4520 tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4521 wxFlexGridSizer* fgSizer6;
\r
4522 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4523 fgSizer6->AddGrowableCol( 1 );
\r
4524 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4525 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4527 lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4528 lblOrganisation->Wrap( -1 );
\r
4529 fgSizer6->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4531 txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4532 txtOrganisation->SetMaxLength( 0 );
\r
4533 fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 );
\r
4535 lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4536 lblSortAs->Wrap( -1 );
\r
4537 fgSizer6->Add( lblSortAs, 0, wxALL, 5 );
\r
4539 cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4540 fgSizer6->Add( cmbSortAs, 1, wxALL, 5 );
\r
4542 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4543 lblPriority->Wrap( -1 );
\r
4544 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4546 wxBoxSizer* bSizer260;
\r
4547 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4549 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4550 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4552 wxBoxSizer* bSizer254;
\r
4553 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4555 wxBoxSizer* bSizer256;
\r
4556 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4558 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4559 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4562 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4564 wxBoxSizer* bSizer255;
\r
4565 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4567 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4568 lblHigh->Wrap( -1 );
\r
4569 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4572 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4574 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4575 lblLow->Wrap( -1 );
\r
4576 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4579 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4582 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4585 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4588 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4591 tabGeneral->SetSizer( fgSizer6 );
\r
4592 tabGeneral->Layout();
\r
4593 fgSizer6->Fit( tabGeneral );
\r
4594 nbkOrganisation->AddPage( tabGeneral, wxT("General"), false );
\r
4596 bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 );
\r
4598 wxBoxSizer* bSizer252;
\r
4599 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4601 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4602 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4604 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4605 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4608 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4611 this->SetSizer( bSizer251 );
\r
4614 this->Centre( wxBOTH );
\r
4617 txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4618 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4619 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4620 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4623 frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT()
\r
4625 // Disconnect Events
\r
4626 txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4627 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4628 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4629 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4633 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
4635 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4637 wxBoxSizer* bSizer251;
\r
4638 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4640 nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4641 tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4642 wxBoxSizer* bSizer353;
\r
4643 bSizer353 = new wxBoxSizer( wxVERTICAL );
\r
4645 txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
4646 txtNote->SetMaxLength( 0 );
\r
4647 bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 );
\r
4650 tabGeneral->SetSizer( bSizer353 );
\r
4651 tabGeneral->Layout();
\r
4652 bSizer353->Fit( tabGeneral );
\r
4653 nbkNotes->AddPage( tabGeneral, wxT("General"), true );
\r
4654 tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4655 wxFlexGridSizer* fgSizer61;
\r
4656 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4657 fgSizer61->AddGrowableCol( 1 );
\r
4658 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
4659 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4661 lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4662 lblPriority->Wrap( -1 );
\r
4663 fgSizer61->Add( lblPriority, 0, wxALL, 5 );
\r
4665 wxBoxSizer* bSizer2601;
\r
4666 bSizer2601 = new wxBoxSizer( wxHORIZONTAL );
\r
4668 chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4669 bSizer2601->Add( chkUsePref, 0, wxALL, 5 );
\r
4671 wxBoxSizer* bSizer2541;
\r
4672 bSizer2541 = new wxBoxSizer( wxVERTICAL );
\r
4674 wxBoxSizer* bSizer2561;
\r
4675 bSizer2561 = new wxBoxSizer( wxHORIZONTAL );
\r
4677 sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4678 bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4681 bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 );
\r
4683 wxBoxSizer* bSizer2551;
\r
4684 bSizer2551 = new wxBoxSizer( wxHORIZONTAL );
\r
4686 lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4687 lblHigh->Wrap( -1 );
\r
4688 bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4691 bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4693 lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4694 lblLow->Wrap( -1 );
\r
4695 bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4698 bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 );
\r
4701 bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 );
\r
4704 fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 );
\r
4707 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4710 tabPriority->SetSizer( fgSizer61 );
\r
4711 tabPriority->Layout();
\r
4712 fgSizer61->Fit( tabPriority );
\r
4713 nbkNotes->AddPage( tabPriority, wxT("Priority"), false );
\r
4714 tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4715 wxFlexGridSizer* fgSizer611;
\r
4716 fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4717 fgSizer611->AddGrowableCol( 0 );
\r
4718 fgSizer611->SetFlexibleDirection( wxBOTH );
\r
4719 fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4721 lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4722 lblLanguage->Wrap( -1 );
\r
4723 fgSizer611->Add( lblLanguage, 1, wxALL, 5 );
\r
4725 cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4726 fgSizer611->Add( cmbLanguage, 1, wxALL, 5 );
\r
4729 tabLanguage->SetSizer( fgSizer611 );
\r
4730 tabLanguage->Layout();
\r
4731 fgSizer611->Fit( tabLanguage );
\r
4732 nbkNotes->AddPage( tabLanguage, wxT("Language"), false );
\r
4734 bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 );
\r
4736 wxBoxSizer* bSizer252;
\r
4737 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4739 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4740 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4742 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4743 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4746 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4749 this->SetSizer( bSizer251 );
\r
4752 this->Centre( wxBOTH );
\r
4755 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4756 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4757 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4760 frmContactEditorNotesADT::~frmContactEditorNotesADT()
\r
4762 // Disconnect Events
\r
4763 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4764 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4765 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4769 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
4771 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4773 wxBoxSizer* bSizer251;
\r
4774 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4776 nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4777 tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4778 wxFlexGridSizer* fgSizer6;
\r
4779 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4780 fgSizer6->AddGrowableCol( 1 );
\r
4781 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4782 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4784 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4785 lblTitle->Wrap( -1 );
\r
4786 fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4788 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4789 txtTitle->SetMaxLength( 0 );
\r
4790 fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
4792 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4793 lblPriority->Wrap( -1 );
\r
4794 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4796 wxBoxSizer* bSizer260;
\r
4797 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4799 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4800 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4802 wxBoxSizer* bSizer254;
\r
4803 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4805 wxBoxSizer* bSizer256;
\r
4806 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4808 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4809 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4812 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4814 wxBoxSizer* bSizer255;
\r
4815 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4817 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4818 lblHigh->Wrap( -1 );
\r
4819 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4822 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4824 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4825 lblLow->Wrap( -1 );
\r
4826 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4829 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4832 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4835 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4838 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4841 tabGeneral->SetSizer( fgSizer6 );
\r
4842 tabGeneral->Layout();
\r
4843 fgSizer6->Fit( tabGeneral );
\r
4844 nbkTitles->AddPage( tabGeneral, wxT("General"), false );
\r
4846 bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 );
\r
4848 wxBoxSizer* bSizer252;
\r
4849 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4851 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4852 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4854 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4855 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4858 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4861 this->SetSizer( bSizer251 );
\r
4864 this->Centre( wxBOTH );
\r
4867 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4868 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4869 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4872 frmContactEditorTitlesADT::~frmContactEditorTitlesADT()
\r
4874 // Disconnect Events
\r
4875 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4876 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4877 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4881 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
4883 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4885 wxBoxSizer* bSizer251;
\r
4886 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4888 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4889 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4890 wxFlexGridSizer* fgSizer6;
\r
4891 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4892 fgSizer6->AddGrowableCol( 0 );
\r
4893 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4894 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4896 lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4897 lblRelation->Wrap( -1 );
\r
4898 fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4900 txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4901 txtRelated->SetMaxLength( 0 );
\r
4902 fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 );
\r
4904 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4905 lblType->Wrap( -1 );
\r
4906 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
4908 cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4909 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
4911 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4912 lblPriority->Wrap( -1 );
\r
4913 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4915 wxBoxSizer* bSizer260;
\r
4916 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4918 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4919 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4921 wxBoxSizer* bSizer254;
\r
4922 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4924 wxBoxSizer* bSizer256;
\r
4925 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4927 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4928 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4931 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4933 wxBoxSizer* bSizer255;
\r
4934 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4936 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4937 lblHigh->Wrap( -1 );
\r
4938 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4941 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4943 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4944 lblLow->Wrap( -1 );
\r
4945 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4948 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4951 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4954 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4957 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4960 tabGeneral->SetSizer( fgSizer6 );
\r
4961 tabGeneral->Layout();
\r
4962 fgSizer6->Fit( tabGeneral );
\r
4963 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
4965 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
4967 wxBoxSizer* bSizer252;
\r
4968 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4970 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4971 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4973 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4974 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4977 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4980 this->SetSizer( bSizer251 );
\r
4983 this->Centre( wxBOTH );
\r
4986 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4987 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4988 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4991 frmContactEditorRelatedADT::~frmContactEditorRelatedADT()
\r
4993 // Disconnect Events
\r
4994 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4995 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4996 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
5000 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
5002 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5004 wxBoxSizer* bSizer251;
\r
5005 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5007 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5008 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5009 wxFlexGridSizer* fgSizer6;
\r
5010 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5011 fgSizer6->AddGrowableCol( 1 );
\r
5012 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
5013 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5015 lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5016 lblSoundFile->Wrap( -1 );
\r
5017 fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5019 fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5020 fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 );
\r
5022 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5023 lblType->Wrap( -1 );
\r
5024 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5026 wxArrayString cmbTypeChoices;
\r
5027 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5028 cmbType->SetSelection( 0 );
\r
5029 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5031 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5032 lblPriority->Wrap( -1 );
\r
5033 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5035 wxBoxSizer* bSizer260;
\r
5036 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5038 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5039 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5041 wxBoxSizer* bSizer254;
\r
5042 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5044 wxBoxSizer* bSizer256;
\r
5045 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5047 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5048 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5051 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5053 wxBoxSizer* bSizer255;
\r
5054 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5056 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5057 lblHigh->Wrap( -1 );
\r
5058 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5061 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5063 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5064 lblLow->Wrap( -1 );
\r
5065 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5068 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5071 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5074 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5077 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5080 tabGeneral->SetSizer( fgSizer6 );
\r
5081 tabGeneral->Layout();
\r
5082 fgSizer6->Fit( tabGeneral );
\r
5083 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5085 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5087 wxBoxSizer* bSizer252;
\r
5088 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5090 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5091 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5093 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5094 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5097 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5100 this->SetSizer( bSizer251 );
\r
5103 this->Centre( wxBOTH );
\r
5106 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5107 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5108 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5111 frmContactEditorSoundADT::~frmContactEditorSoundADT()
\r
5113 // Disconnect Events
\r
5114 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5115 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5116 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5120 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
5122 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5124 wxBoxSizer* bSizer251;
\r
5125 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5127 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5128 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5129 wxFlexGridSizer* fgSizer6;
\r
5130 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5131 fgSizer6->AddGrowableCol( 1 );
\r
5132 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
5133 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5135 lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5136 lblPictureFile->Wrap( -1 );
\r
5137 fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5139 fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5140 fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 );
\r
5142 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5143 lblType->Wrap( -1 );
\r
5144 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5146 wxArrayString cmbTypeChoices;
\r
5147 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5148 cmbType->SetSelection( 0 );
\r
5149 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5151 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5152 lblPriority->Wrap( -1 );
\r
5153 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5155 wxBoxSizer* bSizer260;
\r
5156 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5158 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5159 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5161 wxBoxSizer* bSizer254;
\r
5162 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5164 wxBoxSizer* bSizer256;
\r
5165 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5167 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5168 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5171 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5173 wxBoxSizer* bSizer255;
\r
5174 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5176 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5177 lblHigh->Wrap( -1 );
\r
5178 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5181 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5183 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5184 lblLow->Wrap( -1 );
\r
5185 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5188 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5191 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5194 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5197 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5200 tabGeneral->SetSizer( fgSizer6 );
\r
5201 tabGeneral->Layout();
\r
5202 fgSizer6->Fit( tabGeneral );
\r
5203 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5205 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5207 wxBoxSizer* bSizer252;
\r
5208 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5210 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5211 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5213 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5214 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5217 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5220 this->SetSizer( bSizer251 );
\r
5223 this->Centre( wxBOTH );
\r
5226 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5227 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5228 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5231 frmContactEditorPictureADT::~frmContactEditorPictureADT()
\r
5233 // Disconnect Events
\r
5234 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5235 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5236 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5240 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
5242 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5244 wxBoxSizer* bSizer251;
\r
5245 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5247 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5248 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5249 wxFlexGridSizer* fgSizer6;
\r
5250 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5251 fgSizer6->AddGrowableCol( 1 );
\r
5252 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5253 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5255 lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5256 lblWebsite->Wrap( -1 );
\r
5257 fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5259 txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5260 txtWebsite->SetMaxLength( 0 );
\r
5261 fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 );
\r
5263 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5264 lblPriority->Wrap( -1 );
\r
5265 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5267 wxBoxSizer* bSizer260;
\r
5268 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5270 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5271 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5273 wxBoxSizer* bSizer254;
\r
5274 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5276 wxBoxSizer* bSizer256;
\r
5277 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5279 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5280 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5283 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5285 wxBoxSizer* bSizer255;
\r
5286 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5288 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5289 lblHigh->Wrap( -1 );
\r
5290 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5293 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5295 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5296 lblLow->Wrap( -1 );
\r
5297 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5300 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5303 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5306 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5309 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5312 tabGeneral->SetSizer( fgSizer6 );
\r
5313 tabGeneral->Layout();
\r
5314 fgSizer6->Fit( tabGeneral );
\r
5315 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5317 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5319 wxBoxSizer* bSizer252;
\r
5320 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5322 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5323 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5325 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5326 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5329 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5332 this->SetSizer( bSizer251 );
\r
5335 this->Centre( wxBOTH );
\r
5338 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5339 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5340 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5343 frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT()
\r
5345 // Disconnect Events
\r
5346 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5347 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5348 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5352 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
5354 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5356 wxBoxSizer* bSizer251;
\r
5357 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5359 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5360 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5361 wxFlexGridSizer* fgSizer6;
\r
5362 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5363 fgSizer6->AddGrowableCol( 1 );
\r
5364 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5365 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5367 lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5368 lblGeoposition->Wrap( -1 );
\r
5369 fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5371 txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5372 txtGeoposition->SetMaxLength( 0 );
\r
5373 fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 );
\r
5375 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5376 lblPriority->Wrap( -1 );
\r
5377 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5379 wxBoxSizer* bSizer260;
\r
5380 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5382 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5383 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5385 wxBoxSizer* bSizer254;
\r
5386 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5388 wxBoxSizer* bSizer256;
\r
5389 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5391 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5392 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5395 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5397 wxBoxSizer* bSizer255;
\r
5398 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5400 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5401 lblHigh->Wrap( -1 );
\r
5402 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5405 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5407 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5408 lblLow->Wrap( -1 );
\r
5409 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5412 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5415 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5418 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5421 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5424 tabGeneral->SetSizer( fgSizer6 );
\r
5425 tabGeneral->Layout();
\r
5426 fgSizer6->Fit( tabGeneral );
\r
5427 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5429 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5431 wxBoxSizer* bSizer252;
\r
5432 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5434 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5435 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5437 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5438 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5441 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5444 this->SetSizer( bSizer251 );
\r
5447 this->Centre( wxBOTH );
\r
5450 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5451 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5452 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5455 frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT()
\r
5457 // Disconnect Events
\r
5458 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5459 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5460 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5464 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
5466 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5468 wxBoxSizer* bSizer251;
\r
5469 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5471 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5472 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5473 wxFlexGridSizer* fgSizer6;
\r
5474 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5475 fgSizer6->AddGrowableCol( 1 );
\r
5476 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5477 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5479 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5480 lblAddress->Wrap( -1 );
\r
5481 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5483 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5484 txtAddress->SetMaxLength( 0 );
\r
5485 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
5487 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5488 lblType->Wrap( -1 );
\r
5489 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5491 wxArrayString cmbTypeChoices;
\r
5492 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5493 cmbType->SetSelection( 0 );
\r
5494 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5496 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5497 lblPriority->Wrap( -1 );
\r
5498 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5500 wxBoxSizer* bSizer260;
\r
5501 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5503 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5504 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5506 wxBoxSizer* bSizer254;
\r
5507 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5509 wxBoxSizer* bSizer256;
\r
5510 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5512 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5513 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5516 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5518 wxBoxSizer* bSizer255;
\r
5519 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5521 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5522 lblHigh->Wrap( -1 );
\r
5523 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5526 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5528 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5529 lblLow->Wrap( -1 );
\r
5530 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5533 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5536 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5539 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5542 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5545 tabGeneral->SetSizer( fgSizer6 );
\r
5546 tabGeneral->Layout();
\r
5547 fgSizer6->Fit( tabGeneral );
\r
5548 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5550 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5552 wxBoxSizer* bSizer252;
\r
5553 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5555 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5556 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5558 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5559 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5562 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5565 this->SetSizer( bSizer251 );
\r
5568 this->Centre( wxBOTH );
\r
5571 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5572 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5573 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5576 frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT()
\r
5578 // Disconnect Events
\r
5579 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5580 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5581 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5585 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
5587 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5589 wxBoxSizer* bSizer251;
\r
5590 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5592 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5593 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5594 wxFlexGridSizer* fgSizer6;
\r
5595 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5596 fgSizer6->AddGrowableCol( 1 );
\r
5597 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5598 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5600 lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5601 lblVendorPEN->Wrap( -1 );
\r
5602 fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5604 txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5605 txtPEN->SetMaxLength( 0 );
\r
5606 fgSizer6->Add( txtPEN, 0, wxALL, 5 );
\r
5608 lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5609 lblElement->Wrap( -1 );
\r
5610 fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5612 txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5613 txtElement->SetMaxLength( 0 );
\r
5614 fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 );
\r
5616 lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5617 lblValue->Wrap( -1 );
\r
5618 fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5620 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5621 txtValue->SetMaxLength( 0 );
\r
5622 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5625 tabGeneral->SetSizer( fgSizer6 );
\r
5626 tabGeneral->Layout();
\r
5627 fgSizer6->Fit( tabGeneral );
\r
5628 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5630 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5632 wxBoxSizer* bSizer252;
\r
5633 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5635 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5636 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5638 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5639 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5642 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5645 this->SetSizer( bSizer251 );
\r
5648 this->Centre( wxBOTH );
\r
5651 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5652 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5655 frmContactEditorVendorADT::~frmContactEditorVendorADT()
\r
5657 // Disconnect Events
\r
5658 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5659 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5663 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
5665 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5667 wxBoxSizer* bSizer251;
\r
5668 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5670 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5671 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5672 wxFlexGridSizer* fgSizer6;
\r
5673 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5674 fgSizer6->AddGrowableCol( 1 );
\r
5675 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5676 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5678 lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5679 lblTokenName->Wrap( -1 );
\r
5680 fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5682 txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5683 txtTokenName->SetMaxLength( 0 );
\r
5684 fgSizer6->Add( txtTokenName, 0, wxALL, 5 );
\r
5686 lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5687 lblXT->Wrap( -1 );
\r
5688 fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5690 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5691 txtValue->SetMaxLength( 0 );
\r
5692 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5695 tabGeneral->SetSizer( fgSizer6 );
\r
5696 tabGeneral->Layout();
\r
5697 fgSizer6->Fit( tabGeneral );
\r
5698 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5700 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5702 wxBoxSizer* bSizer252;
\r
5703 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5705 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5706 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5708 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5709 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5712 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5715 this->SetSizer( bSizer251 );
\r
5718 this->Centre( wxBOTH );
\r
5721 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5722 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5725 frmContactEditorXTokenADT::~frmContactEditorXTokenADT()
\r
5727 // Disconnect Events
\r
5728 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5729 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5733 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
5735 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5737 wxBoxSizer* bSizer251;
\r
5738 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5740 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5741 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5742 wxFlexGridSizer* fgSizer6;
\r
5743 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5744 fgSizer6->AddGrowableCol( 1 );
\r
5745 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5746 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5748 lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5749 lblKeyType->Wrap( -1 );
\r
5750 fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5752 wxArrayString cmbKeyMainTypeChoices;
\r
5753 cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 );
\r
5754 cmbKeyMainType->SetSelection( 0 );
\r
5755 fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 );
\r
5757 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5758 lblType->Wrap( -1 );
\r
5759 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5761 wxArrayString cmbTypeChoices;
\r
5762 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5763 cmbType->SetSelection( 0 );
\r
5764 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5766 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5767 lblPriority->Wrap( -1 );
\r
5768 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5770 wxBoxSizer* bSizer260;
\r
5771 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5773 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5774 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5776 wxBoxSizer* bSizer254;
\r
5777 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5779 wxBoxSizer* bSizer256;
\r
5780 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5782 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5783 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5786 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5788 wxBoxSizer* bSizer255;
\r
5789 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5791 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5792 lblHigh->Wrap( -1 );
\r
5793 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5796 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5798 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5799 lblLow->Wrap( -1 );
\r
5800 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5803 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5806 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5809 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5812 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5815 tabGeneral->SetSizer( fgSizer6 );
\r
5816 tabGeneral->Layout();
\r
5817 fgSizer6->Fit( tabGeneral );
\r
5818 nbkWebsite->AddPage( tabGeneral, wxT("General"), true );
\r
5819 tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5820 wxFlexGridSizer* fgSizer61;
\r
5821 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5822 fgSizer61->AddGrowableCol( 1 );
\r
5823 fgSizer61->SetFlexibleDirection( wxHORIZONTAL );
\r
5824 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5826 lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5827 lblKeyFormat->Wrap( -1 );
\r
5828 fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5830 cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5831 fgSizer61->Add( cmbURL, 0, wxALL, 5 );
\r
5833 lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5834 lblAddress->Wrap( -1 );
\r
5835 fgSizer61->Add( lblAddress, 0, wxALL, 5 );
\r
5837 txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5838 txtAddress->SetMaxLength( 0 );
\r
5839 fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 );
\r
5842 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5845 tabURL->SetSizer( fgSizer61 );
\r
5847 fgSizer61->Fit( tabURL );
\r
5848 nbkWebsite->AddPage( tabURL, wxT("URL"), false );
\r
5849 tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5850 wxFlexGridSizer* fgSizer62;
\r
5851 fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5852 fgSizer62->AddGrowableCol( 1 );
\r
5853 fgSizer62->AddGrowableRow( 1 );
\r
5854 fgSizer62->SetFlexibleDirection( wxBOTH );
\r
5855 fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5857 lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5858 lblKeyFormatData->Wrap( -1 );
\r
5859 fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 );
\r
5861 cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5862 fgSizer62->Add( cmbKeyType, 0, wxALL, 5 );
\r
5864 lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5865 lblKeyData->Wrap( -1 );
\r
5866 fgSizer62->Add( lblKeyData, 0, wxALL, 5 );
\r
5868 txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
5869 txtKeyData->SetMaxLength( 0 );
\r
5870 fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 );
\r
5873 tabKey->SetSizer( fgSizer62 );
\r
5875 fgSizer62->Fit( tabKey );
\r
5876 nbkWebsite->AddPage( tabKey, wxT("Key"), false );
\r
5878 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5880 wxBoxSizer* bSizer252;
\r
5881 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5883 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5884 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5886 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5887 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5890 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5893 this->SetSizer( bSizer251 );
\r
5896 this->Centre( wxBOTH );
\r
5899 cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5900 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5901 cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5902 cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5903 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5904 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5907 frmContactEditorKeyADT::~frmContactEditorKeyADT()
\r
5909 // Disconnect Events
\r
5910 cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5911 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5912 cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5913 cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5914 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5915 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5919 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
5921 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5923 wxBoxSizer* bSizer251;
\r
5924 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5926 nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5927 tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5928 wxFlexGridSizer* fgSizer6;
\r
5929 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5930 fgSizer6->AddGrowableCol( 1 );
\r
5931 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5932 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5934 lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5935 lblEmailAddress->Wrap( -1 );
\r
5936 fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5938 txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5939 txtEmail->SetMaxLength( 0 );
\r
5940 fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 );
\r
5942 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5943 lblPriority->Wrap( -1 );
\r
5944 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5946 wxBoxSizer* bSizer260;
\r
5947 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5949 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5950 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5952 wxBoxSizer* bSizer254;
\r
5953 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5955 wxBoxSizer* bSizer256;
\r
5956 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5958 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5959 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5962 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5964 wxBoxSizer* bSizer255;
\r
5965 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5967 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5968 lblHigh->Wrap( -1 );
\r
5969 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5972 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5974 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5975 lblLow->Wrap( -1 );
\r
5976 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5979 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5982 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5985 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5988 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5991 tabGeneral->SetSizer( fgSizer6 );
\r
5992 tabGeneral->Layout();
\r
5993 fgSizer6->Fit( tabGeneral );
\r
5994 nbkEmail->AddPage( tabGeneral, wxT("General"), false );
\r
5996 bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 );
\r
5998 wxBoxSizer* bSizer252;
\r
5999 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6001 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6002 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6004 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6005 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6008 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6011 this->SetSizer( bSizer251 );
\r
6014 this->Centre( wxBOTH );
\r
6017 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
6018 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6019 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6022 frmContactEditorEmailADT::~frmContactEditorEmailADT()
\r
6024 // Disconnect Events
\r
6025 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
6026 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6027 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6031 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
6033 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6035 wxBoxSizer* bSizer251;
\r
6036 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6038 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6039 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6040 wxFlexGridSizer* fgSizer6;
\r
6041 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6042 fgSizer6->AddGrowableCol( 1 );
\r
6043 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6044 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6046 lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6047 lblIMType->Wrap( -1 );
\r
6048 fgSizer6->Add( lblIMType, 0, wxALL, 5 );
\r
6050 cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN );
\r
6051 fgSizer6->Add( cmbIMType, 0, wxALL, 5 );
\r
6053 lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6054 lblUsername->Wrap( 0 );
\r
6055 fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6057 txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6058 txtUsername->SetMaxLength( 0 );
\r
6059 fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6061 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6062 lblPriority->Wrap( -1 );
\r
6063 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6065 wxBoxSizer* bSizer260;
\r
6066 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6068 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6069 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6071 wxBoxSizer* bSizer254;
\r
6072 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6074 wxBoxSizer* bSizer256;
\r
6075 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6077 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6078 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6081 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6083 wxBoxSizer* bSizer255;
\r
6084 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6086 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6087 lblHigh->Wrap( -1 );
\r
6088 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6091 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6093 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6094 lblLow->Wrap( -1 );
\r
6095 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6098 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6101 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6104 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6107 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6110 tabGeneral->SetSizer( fgSizer6 );
\r
6111 tabGeneral->Layout();
\r
6112 fgSizer6->Fit( tabGeneral );
\r
6113 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6115 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6117 wxBoxSizer* bSizer252;
\r
6118 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6120 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6121 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6123 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6124 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6127 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6130 this->SetSizer( bSizer251 );
\r
6133 this->Centre( wxBOTH );
\r
6136 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6137 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6138 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6141 frmContactEditorIMADT::~frmContactEditorIMADT()
\r
6143 // Disconnect Events
\r
6144 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6145 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6146 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6150 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
6152 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6154 wxBoxSizer* bSizer251;
\r
6155 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6157 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6158 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6159 wxFlexGridSizer* fgSizer6;
\r
6160 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6161 fgSizer6->AddGrowableCol( 1 );
\r
6162 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6163 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6165 lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6166 lblCategory->Wrap( 0 );
\r
6167 fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6169 txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6170 txtCategory->SetMaxLength( 0 );
\r
6171 fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 );
\r
6173 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6174 lblType->Wrap( -1 );
\r
6175 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
6177 wxArrayString cmbTypeChoices;
\r
6178 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
6179 cmbType->SetSelection( 0 );
\r
6180 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
6182 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6183 lblPriority->Wrap( -1 );
\r
6184 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6186 wxBoxSizer* bSizer260;
\r
6187 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6189 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6190 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6192 wxBoxSizer* bSizer254;
\r
6193 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6195 wxBoxSizer* bSizer256;
\r
6196 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6198 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6199 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6202 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6204 wxBoxSizer* bSizer255;
\r
6205 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6207 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6208 lblHigh->Wrap( -1 );
\r
6209 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6212 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6214 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6215 lblLow->Wrap( -1 );
\r
6216 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6219 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6222 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6225 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6228 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6231 tabGeneral->SetSizer( fgSizer6 );
\r
6232 tabGeneral->Layout();
\r
6233 fgSizer6->Fit( tabGeneral );
\r
6234 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6236 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6238 wxBoxSizer* bSizer252;
\r
6239 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6241 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6242 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6244 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6245 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6248 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6251 this->SetSizer( bSizer251 );
\r
6254 this->Centre( wxBOTH );
\r
6257 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6258 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6259 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6262 frmContactEditorCategoryADT::~frmContactEditorCategoryADT()
\r
6264 // Disconnect Events
\r
6265 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6266 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6267 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6271 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
6273 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6275 wxBoxSizer* bSizer251;
\r
6276 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6278 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6279 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6280 wxFlexGridSizer* fgSizer6;
\r
6281 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6282 fgSizer6->AddGrowableCol( 1 );
\r
6283 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6284 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6286 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6287 lblTelephone->Wrap( -1 );
\r
6288 fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6290 txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6291 txtTelephone->SetMaxLength( 0 );
\r
6292 fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 );
\r
6294 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6295 lblPriority->Wrap( -1 );
\r
6296 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6298 wxBoxSizer* bSizer260;
\r
6299 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6301 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6302 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6304 wxBoxSizer* bSizer254;
\r
6305 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6307 wxBoxSizer* bSizer256;
\r
6308 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6310 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6311 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6314 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6316 wxBoxSizer* bSizer255;
\r
6317 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6319 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6320 lblHigh->Wrap( -1 );
\r
6321 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6324 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6326 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6327 lblLow->Wrap( -1 );
\r
6328 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6331 bSizer254->Add( bSizer255, 0, wxEXPAND, 0 );
\r
6334 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6337 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6339 lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6340 lblTelephoneType->Wrap( 0 );
\r
6341 fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 );
\r
6343 wxGridSizer* gSizer5;
\r
6344 gSizer5 = new wxGridSizer( 0, 2, 0, 0 );
\r
6346 chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6347 gSizer5->Add( chkVoice, 0, wxALL, 2 );
\r
6349 chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6350 gSizer5->Add( chkText, 0, wxALL, 2 );
\r
6352 chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6353 gSizer5->Add( chkFax, 0, wxALL, 2 );
\r
6355 chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6356 gSizer5->Add( chkMobile, 0, wxALL, 2 );
\r
6358 chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6359 gSizer5->Add( chkVideo, 0, wxALL, 2 );
\r
6361 chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6362 gSizer5->Add( chkTextphone, 0, wxALL, 2 );
\r
6364 chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6365 gSizer5->Add( chkPager, 0, wxALL, 2 );
\r
6368 fgSizer6->Add( gSizer5, 1, 0, 5 );
\r
6371 tabGeneral->SetSizer( fgSizer6 );
\r
6372 tabGeneral->Layout();
\r
6373 fgSizer6->Fit( tabGeneral );
\r
6374 nbkAddress->AddPage( tabGeneral, wxT("General"), false );
\r
6376 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
6378 wxBoxSizer* bSizer252;
\r
6379 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6381 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6382 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6384 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6385 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6388 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6391 this->SetSizer( bSizer251 );
\r
6394 this->Centre( wxBOTH );
\r
6397 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6398 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6399 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6402 frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT()
\r
6404 // Disconnect Events
\r
6405 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6406 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6407 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6411 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
6413 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6415 wxBoxSizer* bSizer251;
\r
6416 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6418 nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6419 tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6420 wxFlexGridSizer* fgSizer6;
\r
6421 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6422 fgSizer6->AddGrowableCol( 1 );
\r
6423 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6424 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6426 lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6427 lblLanguage->Wrap( -1 );
\r
6428 fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6430 txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6431 txtLanguage->SetMaxLength( 0 );
\r
6432 fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 );
\r
6434 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6435 lblPriority->Wrap( -1 );
\r
6436 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6438 wxBoxSizer* bSizer260;
\r
6439 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6441 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6442 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6444 wxBoxSizer* bSizer254;
\r
6445 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6447 wxBoxSizer* bSizer256;
\r
6448 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6450 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6451 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6454 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6456 wxBoxSizer* bSizer255;
\r
6457 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6459 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6460 lblHigh->Wrap( -1 );
\r
6461 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6464 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6466 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6467 lblLow->Wrap( -1 );
\r
6468 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6471 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6474 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6477 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6480 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6483 tabGeneral->SetSizer( fgSizer6 );
\r
6484 tabGeneral->Layout();
\r
6485 fgSizer6->Fit( tabGeneral );
\r
6486 nbkLanguages->AddPage( tabGeneral, wxT("General"), false );
\r
6488 bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 );
\r
6490 wxBoxSizer* bSizer252;
\r
6491 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6493 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6494 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6496 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6497 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6500 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6503 this->SetSizer( bSizer251 );
\r
6506 this->Centre( wxBOTH );
\r
6509 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6510 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6511 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6514 frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT()
\r
6516 // Disconnect Events
\r
6517 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6518 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6519 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6523 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
6525 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6527 wxBoxSizer* bSizer251;
\r
6528 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6530 nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6531 tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6532 wxFlexGridSizer* fgSizer6;
\r
6533 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6534 fgSizer6->AddGrowableCol( 1 );
\r
6535 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6536 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6538 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6539 lblTimezone->Wrap( -1 );
\r
6540 fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6542 cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
6543 fgSizer6->Add( cmbTimezone, 0, wxALL, 5 );
\r
6545 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6546 lblPriority->Wrap( -1 );
\r
6547 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6549 wxBoxSizer* bSizer260;
\r
6550 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6552 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6553 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6555 wxBoxSizer* bSizer254;
\r
6556 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6558 wxBoxSizer* bSizer256;
\r
6559 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6561 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6562 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6565 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6567 wxBoxSizer* bSizer255;
\r
6568 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6570 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6571 lblHigh->Wrap( -1 );
\r
6572 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6575 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6577 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6578 lblLow->Wrap( -1 );
\r
6579 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6582 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6585 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6588 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6591 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6594 tabGeneral->SetSizer( fgSizer6 );
\r
6595 tabGeneral->Layout();
\r
6596 fgSizer6->Fit( tabGeneral );
\r
6597 nbkTimezone->AddPage( tabGeneral, wxT("General"), false );
\r
6599 bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 );
\r
6601 wxBoxSizer* bSizer252;
\r
6602 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6604 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6605 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6607 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6608 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6611 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6614 this->SetSizer( bSizer251 );
\r
6617 this->Centre( wxBOTH );
\r
6620 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6621 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6622 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6625 frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT()
\r
6627 // Disconnect Events
\r
6628 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6629 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6630 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6634 XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
\r
6636 this->SetMinSize( wxSize( -1,40 ) );
\r
6637 this->SetMaxSize( wxSize( -1,40 ) );
\r
6639 wxFlexGridSizer* fgSizer40;
\r
6640 fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 );
\r
6641 fgSizer40->AddGrowableCol( 1 );
\r
6642 fgSizer40->SetFlexibleDirection( wxBOTH );
\r
6643 fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6645 wxArrayString choOptionChoices;
\r
6646 choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 );
\r
6647 choOption->SetSelection( 0 );
\r
6648 fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 );
\r
6650 szrSSet = new wxBoxSizer( wxHORIZONTAL );
\r
6652 chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6653 szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6655 txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6656 txtSearch->SetMaxLength( 0 );
\r
6657 szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6660 fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 );
\r
6662 wxBoxSizer* bSizer376;
\r
6663 bSizer376 = new wxBoxSizer( wxHORIZONTAL );
\r
6665 btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6666 btnAdd->SetMinSize( wxSize( 28,28 ) );
\r
6667 btnAdd->SetMaxSize( wxSize( 28,28 ) );
\r
6669 bSizer376->Add( btnAdd, 0, wxALL, 5 );
\r
6671 btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6672 btnDelete->SetMinSize( wxSize( 28,28 ) );
\r
6673 btnDelete->SetMaxSize( wxSize( 28,28 ) );
\r
6675 bSizer376->Add( btnDelete, 0, wxALL, 5 );
\r
6678 fgSizer40->Add( bSizer376, 0, 0, 5 );
\r
6681 this->SetSizer( fgSizer40 );
\r
6685 choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6686 btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6687 btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6690 XABSearchPanelADT::~XABSearchPanelADT()
\r
6692 // Disconnect Events
\r
6693 choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6694 btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6695 btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6699 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
6701 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6703 wxBoxSizer* bSizer376;
\r
6704 bSizer376 = new wxBoxSizer( wxVERTICAL );
\r
6706 wxArrayString chlAccountsChoices;
\r
6707 chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
6708 bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 );
\r
6710 wxBoxSizer* bSizer377;
\r
6711 bSizer377 = new wxBoxSizer( wxHORIZONTAL );
\r
6714 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6716 btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6717 bSizer377->Add( btnSelect, 0, wxALL, 5 );
\r
6719 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6720 bSizer377->Add( btnCancel, 0, wxALL, 5 );
\r
6723 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6726 bSizer376->Add( bSizer377, 0, wxEXPAND, 5 );
\r
6729 this->SetSizer( bSizer376 );
\r
6732 this->Centre( wxBOTH );
\r
6735 btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6736 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6739 frmSearchAccountsADT::~frmSearchAccountsADT()
\r
6741 // Disconnect Events
\r
6742 btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6743 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6747 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
6749 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6751 wxBoxSizer* bSizer384;
\r
6752 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6754 wxBoxSizer* szrTabs;
\r
6755 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
6757 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6758 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6759 wxFlexGridSizer* fgSizer43;
\r
6760 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6761 fgSizer43->AddGrowableCol( 1 );
\r
6762 fgSizer43->SetFlexibleDirection( wxBOTH );
\r
6763 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6765 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6766 lblAccName->Wrap( -1 );
\r
6767 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6769 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6770 txtAccountName->SetMaxLength( 0 );
\r
6771 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
6773 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6774 lblAccAdr->Wrap( -1 );
\r
6775 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6777 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6778 txtAddress->SetMaxLength( 0 );
\r
6779 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
6781 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6782 m_staticText193->Wrap( -1 );
\r
6783 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6785 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6786 txtPort->SetMaxLength( 5 );
\r
6787 fgSizer43->Add( txtPort, 0, wxALL, 5 );
\r
6789 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6790 lblPort->Wrap( -1 );
\r
6791 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6793 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6794 txtUsername->SetMaxLength( 0 );
\r
6795 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6797 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6798 lblPassword->Wrap( -1 );
\r
6799 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6801 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6802 txtPassword->SetMaxLength( 0 );
\r
6803 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
6805 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6806 lblPrefix->Wrap( -1 );
\r
6807 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6809 wxBoxSizer* bSizer391;
\r
6810 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
\r
6812 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6813 txtPrefix->SetMaxLength( 0 );
\r
6814 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
\r
6816 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
\r
6817 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
\r
6820 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
\r
6822 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6823 txtSSL->Wrap( -1 );
\r
6824 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6826 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6827 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
\r
6830 tabProperties->SetSizer( fgSizer43 );
\r
6831 tabProperties->Layout();
\r
6832 fgSizer43->Fit( tabProperties );
\r
6833 tabAccount->AddPage( tabProperties, wxT("General"), true );
\r
6834 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6835 wxFlexGridSizer* fgSizer431;
\r
6836 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6837 fgSizer431->AddGrowableCol( 1 );
\r
6838 fgSizer431->SetFlexibleDirection( wxBOTH );
\r
6839 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6841 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6842 lblRefresh->Wrap( -1 );
\r
6843 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6845 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6846 txtRefresh->SetMaxLength( 5 );
\r
6847 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
\r
6850 tabRefresh->SetSizer( fgSizer431 );
\r
6851 tabRefresh->Layout();
\r
6852 fgSizer431->Fit( tabRefresh );
\r
6853 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
\r
6855 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
\r
6858 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
\r
6860 wxBoxSizer* szrButtons;
\r
6861 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
6864 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
6866 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6867 btnSave->SetDefault();
\r
6868 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
6871 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
6873 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6874 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
6877 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
6880 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
6883 this->SetSizer( bSizer384 );
\r
6886 this->Centre( wxBOTH );
\r
6889 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6890 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6891 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6894 frmEditAccountADT::~frmEditAccountADT()
\r
6896 // Disconnect Events
\r
6897 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6898 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6899 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6903 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
6905 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6907 wxBoxSizer* bSizer384;
\r
6908 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6910 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6911 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6912 wxBoxSizer* bSizer386;
\r
6913 bSizer386 = new wxBoxSizer( wxVERTICAL );
\r
6915 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6916 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
\r
6918 wxBoxSizer* bSizer389;
\r
6919 bSizer389 = new wxBoxSizer( wxVERTICAL );
\r
6921 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6922 lblCertName->Wrap( -1 );
\r
6923 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
\r
6925 bSizer389->Add( lblCertName, 0, wxALL, 5 );
\r
6927 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6928 lblValidityStatus->Wrap( -1 );
\r
6929 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
\r
6932 pnlTop->SetSizer( bSizer389 );
\r
6934 bSizer389->Fit( pnlTop );
\r
6935 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
\r
6937 wxBoxSizer* bSizer392;
\r
6938 bSizer392 = new wxBoxSizer( wxVERTICAL );
\r
6940 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6941 wxFlexGridSizer* fgSizer44;
\r
6942 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6943 fgSizer44->AddGrowableCol( 1 );
\r
6944 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
\r
6945 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6947 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6948 lblIssuedTo->Wrap( -1 );
\r
6949 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
\r
6951 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6952 lblIssuedToData->Wrap( -1 );
\r
6953 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
\r
6955 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6956 lblValidFrom->Wrap( -1 );
\r
6957 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
\r
6959 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6960 lblValidFromData->Wrap( -1 );
\r
6961 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
\r
6963 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6964 lblValidUntil->Wrap( -1 );
\r
6965 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
\r
6967 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6968 lblValidUntilData->Wrap( -1 );
\r
6969 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
\r
6972 m_panel54->SetSizer( fgSizer44 );
\r
6973 m_panel54->Layout();
\r
6974 fgSizer44->Fit( m_panel54 );
\r
6975 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
\r
6978 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
\r
6981 tabSummary->SetSizer( bSizer386 );
\r
6982 tabSummary->Layout();
\r
6983 bSizer386->Fit( tabSummary );
\r
6984 m_notebook28->AddPage( tabSummary, wxT("Summary"), true );
\r
6985 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6986 wxBoxSizer* bSizer3891;
\r
6987 bSizer3891 = new wxBoxSizer( wxVERTICAL );
\r
6989 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
6990 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
\r
6992 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
\r
6993 txtValueData->SetMaxLength( 0 );
\r
6994 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
6996 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
\r
6999 tabDetail->SetSizer( bSizer3891 );
\r
7000 tabDetail->Layout();
\r
7001 bSizer3891->Fit( tabDetail );
\r
7002 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
\r
7003 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
7004 wxBoxSizer* bSizer390;
\r
7005 bSizer390 = new wxBoxSizer( wxVERTICAL );
\r
7007 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
\r
7008 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
7010 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
7011 wxBoxSizer* bSizer393;
\r
7012 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
7014 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7015 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
\r
7018 m_panel57->SetSizer( bSizer393 );
\r
7019 m_panel57->Layout();
\r
7020 bSizer393->Fit( m_panel57 );
\r
7021 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
\r
7024 tabHierarchy->SetSizer( bSizer390 );
\r
7025 tabHierarchy->Layout();
\r
7026 bSizer390->Fit( tabHierarchy );
\r
7027 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false );
\r
7029 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
7031 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
7032 wxBoxSizer* bSizer385;
\r
7033 bSizer385 = new wxBoxSizer( wxVERTICAL );
\r
7035 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7036 btnClose->SetDefault();
\r
7037 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
\r
7040 pnlButtons->SetSizer( bSizer385 );
\r
7041 pnlButtons->Layout();
\r
7042 bSizer385->Fit( pnlButtons );
\r
7043 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
\r
7046 this->SetSizer( bSizer384 );
\r
7049 this->Centre( wxBOTH );
\r
7052 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7053 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7054 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7055 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7058 frmSSLCertificateADT::~frmSSLCertificateADT()
\r
7060 // Disconnect Events
\r
7061 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7062 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7063 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7064 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7068 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
7070 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7072 wxBoxSizer* bSizer387;
\r
7073 bSizer387 = new wxBoxSizer( wxVERTICAL );
\r
7075 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7076 lblSSLText->Wrap( -1 );
\r
7077 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
\r
7079 wxBoxSizer* bSizer388;
\r
7080 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
\r
7082 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7083 bSizer388->Add( btnAccept, 0, wxALL, 5 );
\r
7085 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7086 btnReject->SetDefault();
\r
7087 bSizer388->Add( btnReject, 0, wxALL, 5 );
\r
7089 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7090 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
\r
7093 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
\r
7096 this->SetSizer( bSizer387 );
\r
7099 this->Centre( wxBOTH );
\r
7102 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7103 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7104 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7107 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
\r
7109 // Disconnect Events
\r
7110 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7111 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7112 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7116 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
7118 this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) );
\r
7120 wxBoxSizer* bSizer393;
\r
7121 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
7123 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
7124 lblImportText->Wrap( 300 );
\r
7125 bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 );
\r
7127 wxArrayString lstContactsChoices;
\r
7128 lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
7129 bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
\r
7131 szrAccount = new wxBoxSizer( wxHORIZONTAL );
\r
7133 lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7134 lblAccountText->Wrap( -1 );
\r
7135 szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
7138 bSizer393->Add( szrAccount, 0, wxEXPAND, 5 );
\r
7140 wxBoxSizer* bSizer394;
\r
7141 bSizer394 = new wxBoxSizer( wxHORIZONTAL );
\r
7143 btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7144 btnImport->SetDefault();
\r
7145 bSizer394->Add( btnImport, 0, wxALL, 5 );
\r
7147 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7148 bSizer394->Add( btnCancel, 0, wxALL, 5 );
\r
7151 bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 );
\r
7154 this->SetSizer( bSizer393 );
\r
7157 this->Centre( wxBOTH );
\r
7160 btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7161 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7164 frmImportContactsADT::~frmImportContactsADT()
\r
7166 // Disconnect Events
\r
7167 btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7168 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7172 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
7174 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7176 wxBoxSizer* bSizer396;
\r
7177 bSizer396 = new wxBoxSizer( wxVERTICAL );
\r
7179 lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7180 lblText->Wrap( -1 );
\r
7181 bSizer396->Add( lblText, 0, wxALL, 5 );
\r
7183 txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
\r
7184 txtResults->SetMaxLength( 0 );
\r
7185 bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 );
\r
7187 wxBoxSizer* bSizer397;
\r
7188 bSizer397 = new wxBoxSizer( wxHORIZONTAL );
\r
7190 btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7191 btnCopyClipboard->Hide();
\r
7193 bSizer397->Add( btnCopyClipboard, 0, 0, 5 );
\r
7195 btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7196 bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
\r
7199 bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
7202 this->SetSizer( bSizer396 );
\r
7205 this->Centre( wxBOTH );
\r
7208 btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7209 btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r
7212 frmImportResultsADT::~frmImportResultsADT()
\r
7214 // Disconnect Events
\r
7215 btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7216 btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r