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"), false );
\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 wxBoxSizer* bSizer213;
\r
2963 bSizer213 = new wxBoxSizer( wxHORIZONTAL );
\r
2965 btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2966 bSizer213->Add( btnAddPicture, 0, wxALL, 5 );
\r
2968 btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2969 bSizer213->Add( btnModifyPicture, 0, wxALL, 5 );
\r
2971 btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2972 bSizer213->Add( btnDeletePicture, 0, wxALL, 5 );
\r
2975 bSizer212->Add( bSizer213, 1, wxEXPAND, 5 );
\r
2978 bSizer211->Add( bSizer212, 0, wxEXPAND, 5 );
\r
2981 bSizer210->Add( bSizer211, 1, wxEXPAND, 5 );
\r
2984 tabPictures->SetSizer( bSizer210 );
\r
2985 tabPictures->Layout();
\r
2986 bSizer210->Fit( tabPictures );
\r
2987 nbkContact->AddPage( tabPictures, wxT("Pictures"), false );
\r
2988 tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2989 tabLogo->SetScrollRate( 5, 5 );
\r
2990 wxBoxSizer* bSizer2101;
\r
2991 bSizer2101 = new wxBoxSizer( wxHORIZONTAL );
\r
2993 imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
2994 bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 );
\r
2996 wxBoxSizer* bSizer2111;
\r
2997 bSizer2111 = new wxBoxSizer( wxVERTICAL );
\r
2999 lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3000 bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 );
\r
3002 wxBoxSizer* bSizer2121;
\r
3003 bSizer2121 = new wxBoxSizer( wxVERTICAL );
\r
3005 wxBoxSizer* bSizer2131;
\r
3006 bSizer2131 = new wxBoxSizer( wxHORIZONTAL );
\r
3008 btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3009 bSizer2131->Add( btnAddLogo, 0, wxALL, 5 );
\r
3011 btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3012 bSizer2131->Add( btnModifyLogo, 0, wxALL, 5 );
\r
3014 btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3015 bSizer2131->Add( btnDeleteLogo, 0, wxALL, 5 );
\r
3018 bSizer2121->Add( bSizer2131, 1, wxEXPAND, 5 );
\r
3021 bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 );
\r
3024 bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 );
\r
3027 tabLogo->SetSizer( bSizer2101 );
\r
3028 tabLogo->Layout();
\r
3029 bSizer2101->Fit( tabLogo );
\r
3030 nbkContact->AddPage( tabLogo, wxT("Logos"), false );
\r
3031 tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3032 tabSounds->SetScrollRate( 5, 5 );
\r
3033 wxBoxSizer* szrAddresses1111;
\r
3034 szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL );
\r
3036 lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3037 szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 );
\r
3039 wxBoxSizer* szrCategoriesOuter11;
\r
3040 szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
3042 wxBoxSizer* bSizer462111;
\r
3043 bSizer462111 = new wxBoxSizer( wxHORIZONTAL );
\r
3045 wxBoxSizer* bSizer472111;
\r
3046 bSizer472111 = new wxBoxSizer( wxVERTICAL );
\r
3048 btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3049 bSizer472111->Add( btnAddSound, 0, wxALL, 5 );
\r
3051 btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3052 bSizer472111->Add( btnModifySound, 0, wxALL, 5 );
\r
3054 btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3055 bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 );
\r
3057 m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
3058 bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
\r
3060 wxBoxSizer* bSizer348;
\r
3061 bSizer348 = new wxBoxSizer( wxHORIZONTAL );
\r
3063 btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3064 btnPlay->SetMinSize( wxSize( -1,32 ) );
\r
3066 bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 );
\r
3068 btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3069 btnStop->SetMinSize( wxSize( -1,32 ) );
\r
3071 bSizer348->Add( btnStop, 0, wxALL, 5 );
\r
3074 bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 );
\r
3077 bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 );
\r
3080 szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 );
\r
3083 szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 );
\r
3086 tabSounds->SetSizer( szrAddresses1111 );
\r
3087 tabSounds->Layout();
\r
3088 szrAddresses1111->Fit( tabSounds );
\r
3089 nbkContact->AddPage( tabSounds, wxT("Sounds"), true );
\r
3090 tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3091 tabCalendaring->SetScrollRate( 5, 5 );
\r
3092 wxBoxSizer* bSizer1821;
\r
3093 bSizer1821 = new wxBoxSizer( wxVERTICAL );
\r
3095 wxFlexGridSizer* fgSizer521;
\r
3096 fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3097 fgSizer521->AddGrowableCol( 1 );
\r
3098 fgSizer521->SetFlexibleDirection( wxBOTH );
\r
3099 fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3101 lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3102 lblCalendarAddresses->Wrap( 0 );
\r
3103 fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 );
\r
3105 wxBoxSizer* szrAddresses21;
\r
3106 szrAddresses21 = new wxBoxSizer( wxHORIZONTAL );
\r
3108 lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3109 szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3111 wxBoxSizer* szrAddressesOuter21;
\r
3112 szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL );
\r
3114 wxBoxSizer* bSizer4631;
\r
3115 bSizer4631 = new wxBoxSizer( wxHORIZONTAL );
\r
3117 wxBoxSizer* bSizer4731;
\r
3118 bSizer4731 = new wxBoxSizer( wxVERTICAL );
\r
3120 btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3121 bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 );
\r
3123 btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3124 bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 );
\r
3126 btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3127 bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 );
\r
3130 bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 );
\r
3133 szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 );
\r
3136 szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 );
\r
3139 fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 );
\r
3141 lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3142 lblCalendarRequestAddresses->Wrap( 0 );
\r
3143 fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 );
\r
3145 wxBoxSizer* bSizer30131;
\r
3146 bSizer30131 = new wxBoxSizer( wxHORIZONTAL );
\r
3148 lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3149 bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 );
\r
3151 wxBoxSizer* bSizer35131;
\r
3152 bSizer35131 = new wxBoxSizer( wxVERTICAL );
\r
3154 wxBoxSizer* bSizer46131;
\r
3155 bSizer46131 = new wxBoxSizer( wxHORIZONTAL );
\r
3157 wxBoxSizer* bSizer47131;
\r
3158 bSizer47131 = new wxBoxSizer( wxVERTICAL );
\r
3160 btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3161 bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 );
\r
3163 btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3164 bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 );
\r
3166 btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3167 bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 );
\r
3170 bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 );
\r
3173 bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 );
\r
3176 bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 );
\r
3179 fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 );
\r
3181 lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3182 lblFreeBusyAddresses->Wrap( 0 );
\r
3183 fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 );
\r
3185 wxBoxSizer* bSizer301131;
\r
3186 bSizer301131 = new wxBoxSizer( wxHORIZONTAL );
\r
3188 lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3189 bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3191 wxBoxSizer* bSizer351131;
\r
3192 bSizer351131 = new wxBoxSizer( wxVERTICAL );
\r
3194 wxBoxSizer* bSizer461131;
\r
3195 bSizer461131 = new wxBoxSizer( wxHORIZONTAL );
\r
3197 wxBoxSizer* bSizer471131;
\r
3198 bSizer471131 = new wxBoxSizer( wxVERTICAL );
\r
3200 btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3201 bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 );
\r
3203 btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3204 bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 );
\r
3206 btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3207 bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 );
\r
3210 bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 );
\r
3213 bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 );
\r
3216 bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 );
\r
3219 fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 );
\r
3222 bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 );
\r
3225 tabCalendaring->SetSizer( bSizer1821 );
\r
3226 tabCalendaring->Layout();
\r
3227 bSizer1821->Fit( tabCalendaring );
\r
3228 nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false );
\r
3229 tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3230 tabSecurity->SetScrollRate( 5, 5 );
\r
3231 wxBoxSizer* szrAddresses1112;
\r
3232 szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL );
\r
3234 lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3235 szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 );
\r
3237 wxBoxSizer* szrCategoriesOuter12;
\r
3238 szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL );
\r
3240 wxBoxSizer* bSizer462112;
\r
3241 bSizer462112 = new wxBoxSizer( wxHORIZONTAL );
\r
3243 wxBoxSizer* bSizer472112;
\r
3244 bSizer472112 = new wxBoxSizer( wxVERTICAL );
\r
3246 btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3247 bSizer472112->Add( btnAddKey, 0, wxALL, 5 );
\r
3249 btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3250 bSizer472112->Add( btnModifyKey, 0, wxALL, 5 );
\r
3252 btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3253 bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 );
\r
3256 bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 );
\r
3259 szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 );
\r
3262 szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 );
\r
3265 tabSecurity->SetSizer( szrAddresses1112 );
\r
3266 tabSecurity->Layout();
\r
3267 szrAddresses1112->Fit( tabSecurity );
\r
3268 nbkContact->AddPage( tabSecurity, wxT("Security"), false );
\r
3269 tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3270 tabOther->SetScrollRate( 5, 5 );
\r
3271 wxFlexGridSizer* fgSizer5211;
\r
3272 fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3273 fgSizer5211->AddGrowableCol( 1 );
\r
3274 fgSizer5211->SetFlexibleDirection( wxBOTH );
\r
3275 fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3277 lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3278 lblVendorNamespace->Wrap( 0 );
\r
3279 fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 );
\r
3281 wxBoxSizer* szrAddresses211;
\r
3282 szrAddresses211 = new wxBoxSizer( wxHORIZONTAL );
\r
3284 lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
3285 szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 );
\r
3287 wxBoxSizer* szrAddressesOuter211;
\r
3288 szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL );
\r
3290 wxBoxSizer* bSizer46311;
\r
3291 bSizer46311 = new wxBoxSizer( wxHORIZONTAL );
\r
3293 wxBoxSizer* bSizer47311;
\r
3294 bSizer47311 = new wxBoxSizer( wxVERTICAL );
\r
3296 btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3297 bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 );
\r
3299 btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3300 bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 );
\r
3302 btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3303 bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 );
\r
3306 bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 );
\r
3309 szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 );
\r
3312 szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 );
\r
3315 fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 );
\r
3317 lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3318 lblXTokens->Wrap( 0 );
\r
3319 fgSizer5211->Add( lblXTokens, 0, wxALL, 5 );
\r
3321 wxBoxSizer* bSizer301311;
\r
3322 bSizer301311 = new wxBoxSizer( wxHORIZONTAL );
\r
3324 lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3325 bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 );
\r
3327 wxBoxSizer* bSizer351311;
\r
3328 bSizer351311 = new wxBoxSizer( wxVERTICAL );
\r
3330 wxBoxSizer* bSizer461311;
\r
3331 bSizer461311 = new wxBoxSizer( wxHORIZONTAL );
\r
3333 wxBoxSizer* bSizer471311;
\r
3334 bSizer471311 = new wxBoxSizer( wxVERTICAL );
\r
3336 btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3337 bSizer471311->Add( btnAddXToken, 0, wxALL, 5 );
\r
3339 btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3340 bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 );
\r
3342 btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3343 bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 );
\r
3346 bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 );
\r
3349 bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 );
\r
3352 bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 );
\r
3355 fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 );
\r
3358 tabOther->SetSizer( fgSizer5211 );
\r
3359 tabOther->Layout();
\r
3360 fgSizer5211->Fit( tabOther );
\r
3361 nbkContact->AddPage( tabOther, wxT("Other"), false );
\r
3363 bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 );
\r
3366 this->SetSizer( bSizer17 );
\r
3368 m_menubar3 = new wxMenuBar( 0 );
\r
3369 mnuContact = new wxMenu();
\r
3370 wxMenuItem* mnuContactSave;
\r
3371 mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL );
\r
3372 mnuContact->Append( mnuContactSave );
\r
3374 wxMenuItem* mnuContactSaveClose;
\r
3375 mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL );
\r
3376 mnuContact->Append( mnuContactSaveClose );
\r
3378 mnuContact->AppendSeparator();
\r
3380 wxMenuItem* mnuContactClose;
\r
3381 mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
\r
3382 mnuContact->Append( mnuContactClose );
\r
3384 m_menubar3->Append( mnuContact, wxT("&Contact") );
\r
3386 mnuEdit = new wxMenu();
\r
3387 wxMenuItem* mnuEditCut;
\r
3388 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL );
\r
3389 mnuEdit->Append( mnuEditCut );
\r
3391 wxMenuItem* mnuEditCopy;
\r
3392 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL );
\r
3393 mnuEdit->Append( mnuEditCopy );
\r
3395 wxMenuItem* mnuEditPaste;
\r
3396 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL );
\r
3397 mnuEdit->Append( mnuEditPaste );
\r
3399 m_menubar3->Append( mnuEdit, wxT("&Edit") );
\r
3401 this->SetMenuBar( m_menubar3 );
\r
3404 this->Centre( wxBOTH );
\r
3407 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3408 txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3409 txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3410 txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3411 txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3412 txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3413 cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3414 cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3415 cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3416 btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3417 btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3418 btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3419 btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3420 btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3421 btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3422 btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3423 btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3424 btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3425 btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3426 btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3427 btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3428 btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3429 btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3430 btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3431 btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3432 btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3433 btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3434 btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3435 btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3436 btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3437 btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3438 btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3439 btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3440 btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3441 btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3442 btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3443 btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3444 btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3445 btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3446 btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3447 btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3448 btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3449 btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3450 btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3451 btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3452 btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3453 btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3454 btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3455 btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3456 btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3457 btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3458 btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3459 btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3460 btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3461 btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3462 btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3463 btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3464 btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3465 btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3466 btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3467 btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3468 btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3469 btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3470 btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3471 btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3472 btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3473 btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3474 btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3475 btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3476 btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3477 btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3478 btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3479 btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3480 btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3481 btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3482 btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3483 btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3484 btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3485 btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3486 btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3487 btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3488 btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3489 btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3490 btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3491 btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3492 btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3493 btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3494 btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3495 btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3496 btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3497 btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3498 btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3499 btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3500 btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3501 btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3502 btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3503 btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3504 btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3505 btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3506 btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3507 btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3508 btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3509 btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3510 btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3511 btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3512 btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3513 btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3514 btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3515 btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3516 btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3517 btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3518 btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3519 btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3520 btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3521 btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3522 btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3523 btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3524 btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3525 btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3526 btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3527 btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3528 btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3529 btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3530 btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3531 btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3532 btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3533 btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3534 btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3535 btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3536 btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3537 btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3538 btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3539 btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3540 btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3541 btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3542 lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3543 btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3544 btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3545 btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3546 lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3547 btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3548 btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3549 btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3550 btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3551 btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3552 btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3553 btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3554 btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3555 btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3556 btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3557 btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3558 btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3559 btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3560 btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3561 btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3562 btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3563 btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3564 btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3565 btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3566 btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3567 btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3568 btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3569 btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3570 btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3571 btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3572 btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3573 this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3574 this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3575 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3576 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3577 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3578 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3581 frmContactEditorADT::~frmContactEditorADT()
\r
3583 // Disconnect Events
\r
3584 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3585 txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3586 txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3587 txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3588 txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3589 txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3590 cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3591 cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3592 cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3593 btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3594 btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3595 btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3596 btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3597 btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3598 btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3599 btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3600 btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3601 btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3602 btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3603 btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3604 btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3605 btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3606 btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3607 btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3608 btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3609 btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3610 btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3611 btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3612 btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3613 btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3614 btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3615 btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3616 btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3617 btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3618 btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3619 btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3620 btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3621 btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3622 btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3623 btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3624 btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3625 btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3626 btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3627 btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3628 btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3629 btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3630 btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3631 btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3632 btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3633 btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3634 btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3635 btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3636 btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3637 btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3638 btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3639 btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3640 btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3641 btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3642 btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3643 btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3644 btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3645 btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3646 btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3647 btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3648 btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3649 btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3650 btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3651 btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3652 btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3653 btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3654 btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3655 btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3656 btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3657 btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3658 btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3659 btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3660 btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3661 btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3662 btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3663 btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3664 btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3665 btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3666 btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3667 btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3668 btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3669 btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3670 btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3671 btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3672 btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3673 btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3674 btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3675 btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3676 btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3677 btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3678 btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3679 btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3680 btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3681 btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3682 btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3683 btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3684 btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3685 btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3686 btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3687 btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3688 btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3689 btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3690 btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3691 btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3692 btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3693 btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3694 btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3695 btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3696 btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3697 btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3698 btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3699 btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3700 btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3701 btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3702 btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3703 btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3704 btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3705 btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3706 btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3707 btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3708 btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3709 btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3710 btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3711 btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3712 btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3713 btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3714 btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3715 btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3716 btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3717 btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3718 btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3719 lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3720 btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3721 btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3722 btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3723 lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3724 btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3725 btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3726 btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3727 btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3728 btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3729 btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3730 btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3731 btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3732 btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3733 btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3734 btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3735 btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3736 btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3737 btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3738 btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3739 btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3740 btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3741 btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3742 btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3743 btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3744 btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3745 btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3746 btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3747 btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3748 btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3749 btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3750 this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3751 this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3752 this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3753 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3754 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3755 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3759 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
3761 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3763 wxBoxSizer* bSizer251;
\r
3764 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
3766 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
3767 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3768 wxFlexGridSizer* fgSizer6;
\r
3769 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3770 fgSizer6->AddGrowableCol( 1 );
\r
3771 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
3772 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3774 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3775 lblAddress->Wrap( -1 );
\r
3776 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3778 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3779 txtAddress->SetMaxLength( 0 );
\r
3780 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
3782 m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3783 m_staticText61->Wrap( -1 );
\r
3784 fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3786 txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3787 txtTownCity->SetMaxLength( 0 );
\r
3788 fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 );
\r
3790 lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3791 lblCountyState->Wrap( -1 );
\r
3792 fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3794 txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3795 txtCounty->SetMaxLength( 0 );
\r
3796 fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 );
\r
3798 lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3799 lblPostCode->Wrap( -1 );
\r
3800 fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3802 txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3803 txtPostCode->SetMaxLength( 0 );
\r
3804 fgSizer6->Add( txtPostCode, 0, wxALL, 5 );
\r
3806 lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3807 lblCountry->Wrap( -1 );
\r
3808 fgSizer6->Add( lblCountry, 0, wxALL, 5 );
\r
3810 txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3811 txtCountry->SetMaxLength( 0 );
\r
3812 fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 );
\r
3814 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3815 lblPriority->Wrap( -1 );
\r
3816 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
3818 wxBoxSizer* bSizer260;
\r
3819 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
3821 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3822 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
3824 wxBoxSizer* bSizer254;
\r
3825 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
3827 wxBoxSizer* bSizer256;
\r
3828 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
3830 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
3831 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
3834 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
3836 wxBoxSizer* bSizer255;
\r
3837 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
3839 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3840 lblHigh->Wrap( -1 );
\r
3841 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
3844 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3846 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3847 lblLow->Wrap( -1 );
\r
3848 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
3851 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
3854 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
3857 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
3860 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3863 tabGeneral->SetSizer( fgSizer6 );
\r
3864 tabGeneral->Layout();
\r
3865 fgSizer6->Fit( tabGeneral );
\r
3866 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
3867 tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3868 wxBoxSizer* bSizer253;
\r
3869 bSizer253 = new wxBoxSizer( wxVERTICAL );
\r
3871 btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3872 bSizer253->Add( btnCopyMailing, 0, wxALL, 5 );
\r
3874 txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
3875 txtLabel->SetMaxLength( 0 );
\r
3876 bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 );
\r
3879 tabLabel->SetSizer( bSizer253 );
\r
3880 tabLabel->Layout();
\r
3881 bSizer253->Fit( tabLabel );
\r
3882 nbkAddress->AddPage( tabLabel, wxT("Label"), false );
\r
3883 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3884 wxFlexGridSizer* fgSizer61;
\r
3885 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3886 fgSizer61->AddGrowableCol( 1 );
\r
3887 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
3888 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3890 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3891 lblLanguage->Wrap( -1 );
\r
3892 fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3894 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
3895 fgSizer61->Add( cmbLanguage, 0, wxALL, 5 );
\r
3897 lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3898 lblGeography->Wrap( -1 );
\r
3899 fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3901 txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3902 txtGeo->SetMaxLength( 0 );
\r
3903 fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 );
\r
3905 lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3906 lblTimezone->Wrap( -1 );
\r
3907 fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3909 txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3910 txtTimezone->SetMaxLength( 0 );
\r
3911 fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 );
\r
3914 tabOther->SetSizer( fgSizer61 );
\r
3915 tabOther->Layout();
\r
3916 fgSizer61->Fit( tabOther );
\r
3917 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
3919 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
3921 wxBoxSizer* bSizer252;
\r
3922 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
3924 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3925 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
3927 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3928 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
3931 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
3934 this->SetSizer( bSizer251 );
\r
3937 this->Centre( wxBOTH );
\r
3940 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3941 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3942 btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3943 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3944 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3947 frmContactEditorAddressADT::~frmContactEditorAddressADT()
\r
3949 // Disconnect Events
\r
3950 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3951 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3952 btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3953 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3954 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3958 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
3960 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3962 wxFlexGridSizer* fgSizer39;
\r
3963 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
3964 fgSizer39->AddGrowableCol( 0 );
\r
3965 fgSizer39->AddGrowableRow( 0 );
\r
3966 fgSizer39->SetFlexibleDirection( wxBOTH );
\r
3967 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3969 wxBoxSizer* bSizer363;
\r
3970 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
3972 wxBoxSizer* bSizer364;
\r
3973 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
3975 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
3976 lblText->Wrap( -1 );
\r
3977 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
\r
3979 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
3980 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
\r
3982 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3983 wxBoxSizer* bSizer365;
\r
3984 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
3986 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
3987 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
\r
3990 m_panel44->SetSizer( bSizer365 );
\r
3991 m_panel44->Layout();
\r
3992 bSizer365->Fit( m_panel44 );
\r
3993 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3994 wxBoxSizer* bSizer366;
\r
3995 bSizer366 = new wxBoxSizer( wxVERTICAL );
\r
3997 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
3998 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
\r
4001 m_panel45->SetSizer( bSizer366 );
\r
4002 m_panel45->Layout();
\r
4003 bSizer366->Fit( m_panel45 );
\r
4004 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
\r
4005 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
\r
4007 wxBoxSizer* bSizer367;
\r
4008 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
\r
4011 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4013 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4014 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
\r
4016 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4017 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
\r
4019 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4020 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
\r
4023 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4026 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
\r
4029 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
\r
4032 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
\r
4035 this->SetSizer( fgSizer39 );
\r
4038 this->Centre( wxBOTH );
\r
4041 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4042 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4043 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4046 frmConflictResolutionADT::~frmConflictResolutionADT()
\r
4048 // Disconnect Events
\r
4049 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4050 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4051 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4055 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
4057 this->SetSizeHints( wxSize( 400,300 ), wxDefaultSize );
\r
4059 mnuMenuBar = new wxMenuBar( 0 );
\r
4060 mnuWindow = new wxMenu();
\r
4061 wxMenuItem* mnuStopActivity;
\r
4062 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4063 mnuWindow->Append( mnuStopActivity );
\r
4065 wxMenuItem* mnuActivityStopAll;
\r
4066 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4067 mnuWindow->Append( mnuActivityStopAll );
\r
4069 wxMenuItem* mnuRetryActivity;
\r
4070 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
4071 mnuWindow->Append( mnuRetryActivity );
\r
4073 mnuWindow->AppendSeparator();
\r
4075 wxMenuItem* mnuSleepMode;
\r
4076 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
\r
4077 mnuWindow->Append( mnuSleepMode );
\r
4079 mnuWindow->AppendSeparator();
\r
4081 wxMenuItem* mnuWindowClose;
\r
4082 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
4083 mnuWindow->Append( mnuWindowClose );
\r
4085 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
\r
4087 this->SetMenuBar( mnuMenuBar );
\r
4089 wxFlexGridSizer* fgSizer38;
\r
4090 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
4091 fgSizer38->AddGrowableCol( 0 );
\r
4092 fgSizer38->AddGrowableRow( 1 );
\r
4093 fgSizer38->SetFlexibleDirection( wxBOTH );
\r
4094 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4096 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4097 wxBoxSizer* bSizer363;
\r
4098 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
4100 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
\r
4101 bmpActivity->SetMinSize( wxSize( 64,64 ) );
\r
4103 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
\r
4105 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4106 wxBoxSizer* bSizer364;
\r
4107 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
4110 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4112 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
\r
4113 lblDetails->Wrap( -1 );
\r
4114 bSizer364->Add( lblDetails, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 0 );
\r
4117 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4119 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
\r
4120 GauProgress->SetValue( 0 );
\r
4121 GauProgress->SetMinSize( wxSize( -1,20 ) );
\r
4123 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
\r
4126 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4129 m_panel46->SetSizer( bSizer364 );
\r
4130 m_panel46->Layout();
\r
4131 bSizer364->Fit( m_panel46 );
\r
4132 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
\r
4135 m_panel43->SetSizer( bSizer363 );
\r
4136 m_panel43->Layout();
\r
4137 bSizer363->Fit( m_panel43 );
\r
4138 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
\r
4140 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4141 wxBoxSizer* bSizer365;
\r
4142 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
4144 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
4145 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
\r
4148 m_panel44->SetSizer( bSizer365 );
\r
4149 m_panel44->Layout();
\r
4150 bSizer365->Fit( m_panel44 );
\r
4151 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
\r
4154 this->SetSizer( fgSizer38 );
\r
4157 this->Centre( wxBOTH );
\r
4160 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4161 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4162 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4163 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4164 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4165 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4168 frmActivityMgrADT::~frmActivityMgrADT()
\r
4170 // Disconnect Events
\r
4171 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4172 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4173 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4174 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4175 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4176 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4180 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
4182 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4184 wxBoxSizer* bSizer251;
\r
4185 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4187 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4188 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4189 wxFlexGridSizer* fgSizer6;
\r
4190 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4191 fgSizer6->AddGrowableCol( 1 );
\r
4192 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4193 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4195 lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4196 lblNickname->Wrap( -1 );
\r
4197 fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4199 txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4200 txtNickname->SetMaxLength( 0 );
\r
4201 fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 );
\r
4203 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4204 lblPriority->Wrap( -1 );
\r
4205 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4207 wxBoxSizer* bSizer260;
\r
4208 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4210 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4211 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4213 wxBoxSizer* bSizer254;
\r
4214 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4216 wxBoxSizer* bSizer256;
\r
4217 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4219 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4220 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4223 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4225 wxBoxSizer* bSizer255;
\r
4226 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4228 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4229 lblHigh->Wrap( -1 );
\r
4230 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4233 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4235 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4236 lblLow->Wrap( -1 );
\r
4237 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4240 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4243 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4246 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4249 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4252 tabGeneral->SetSizer( fgSizer6 );
\r
4253 tabGeneral->Layout();
\r
4254 fgSizer6->Fit( tabGeneral );
\r
4255 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
4256 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4257 wxFlexGridSizer* fgSizer61;
\r
4258 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4259 fgSizer61->AddGrowableCol( 1 );
\r
4260 fgSizer61->SetFlexibleDirection( wxBOTH );
\r
4261 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4263 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4264 lblLanguage->Wrap( -1 );
\r
4265 fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4267 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4268 fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 );
\r
4271 tabOther->SetSizer( fgSizer61 );
\r
4272 tabOther->Layout();
\r
4273 fgSizer61->Fit( tabOther );
\r
4274 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
4276 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
4278 wxBoxSizer* bSizer252;
\r
4279 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4281 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4282 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4284 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4285 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4288 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4291 this->SetSizer( bSizer251 );
\r
4294 this->Centre( wxBOTH );
\r
4297 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4298 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4299 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4300 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4303 frmContactEditorNicknameADT::~frmContactEditorNicknameADT()
\r
4305 // Disconnect Events
\r
4306 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4307 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4308 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4309 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4313 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
4315 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
4317 wxBoxSizer* bSizer251;
\r
4318 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4320 nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4321 tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4322 wxFlexGridSizer* fgSizer6;
\r
4323 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4324 fgSizer6->AddGrowableCol( 1 );
\r
4325 fgSizer6->AddGrowableRow( 0 );
\r
4326 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4327 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4329 lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4330 lblContacts->Wrap( -1 );
\r
4331 fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 );
\r
4333 wxArrayString chkContactsChoices;
\r
4334 chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
\r
4335 fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 );
\r
4338 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4341 tabGeneral->SetSizer( fgSizer6 );
\r
4342 tabGeneral->Layout();
\r
4343 fgSizer6->Fit( tabGeneral );
\r
4344 nbkGroup->AddPage( tabGeneral, wxT("General"), false );
\r
4346 bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 );
\r
4348 wxBoxSizer* bSizer252;
\r
4349 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4351 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4352 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4354 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4355 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4358 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4361 this->SetSizer( bSizer251 );
\r
4364 this->Centre( wxBOTH );
\r
4367 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4368 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4369 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4372 frmContactEditorGroupsADT::~frmContactEditorGroupsADT()
\r
4374 // Disconnect Events
\r
4375 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4376 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4377 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4381 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
4383 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4385 wxBoxSizer* bSizer251;
\r
4386 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4388 nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4389 tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4390 wxFlexGridSizer* fgSizer6;
\r
4391 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4392 fgSizer6->AddGrowableCol( 1 );
\r
4393 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4394 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4396 lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4397 lblRole->Wrap( -1 );
\r
4398 fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4400 txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4401 txtRole->SetMaxLength( 0 );
\r
4402 fgSizer6->Add( txtRole, 0, wxALL|wxEXPAND, 5 );
\r
4404 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4405 lblPriority->Wrap( -1 );
\r
4406 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4408 wxBoxSizer* bSizer260;
\r
4409 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4411 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4412 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4414 wxBoxSizer* bSizer254;
\r
4415 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4417 wxBoxSizer* bSizer256;
\r
4418 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4420 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4421 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4424 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4426 wxBoxSizer* bSizer255;
\r
4427 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4429 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4430 lblHigh->Wrap( -1 );
\r
4431 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4434 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4436 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4437 lblLow->Wrap( -1 );
\r
4438 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4441 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4444 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4447 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4450 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4453 tabGeneral->SetSizer( fgSizer6 );
\r
4454 tabGeneral->Layout();
\r
4455 fgSizer6->Fit( tabGeneral );
\r
4456 nbkRole->AddPage( tabGeneral, wxT("General"), false );
\r
4458 bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 );
\r
4460 wxBoxSizer* bSizer252;
\r
4461 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4463 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4464 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4466 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4467 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4470 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4473 this->SetSizer( bSizer251 );
\r
4476 this->Centre( wxBOTH );
\r
4479 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4480 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4481 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4484 frmContactEditorRolesADT::~frmContactEditorRolesADT()
\r
4486 // Disconnect Events
\r
4487 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4488 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4489 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4493 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
4495 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4497 wxBoxSizer* bSizer251;
\r
4498 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4500 nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4501 tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4502 wxFlexGridSizer* fgSizer6;
\r
4503 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4504 fgSizer6->AddGrowableCol( 1 );
\r
4505 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4506 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4508 lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4509 lblOrganisation->Wrap( -1 );
\r
4510 fgSizer6->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4512 txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4513 txtOrganisation->SetMaxLength( 0 );
\r
4514 fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 );
\r
4516 lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4517 lblSortAs->Wrap( -1 );
\r
4518 fgSizer6->Add( lblSortAs, 0, wxALL, 5 );
\r
4520 cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4521 fgSizer6->Add( cmbSortAs, 1, wxALL, 5 );
\r
4523 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4524 lblPriority->Wrap( -1 );
\r
4525 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4527 wxBoxSizer* bSizer260;
\r
4528 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4530 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4531 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4533 wxBoxSizer* bSizer254;
\r
4534 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4536 wxBoxSizer* bSizer256;
\r
4537 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4539 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4540 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4543 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4545 wxBoxSizer* bSizer255;
\r
4546 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4548 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4549 lblHigh->Wrap( -1 );
\r
4550 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4553 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4555 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4556 lblLow->Wrap( -1 );
\r
4557 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4560 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4563 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4566 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4569 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4572 tabGeneral->SetSizer( fgSizer6 );
\r
4573 tabGeneral->Layout();
\r
4574 fgSizer6->Fit( tabGeneral );
\r
4575 nbkOrganisation->AddPage( tabGeneral, wxT("General"), false );
\r
4577 bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 );
\r
4579 wxBoxSizer* bSizer252;
\r
4580 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4582 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4583 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4585 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4586 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4589 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4592 this->SetSizer( bSizer251 );
\r
4595 this->Centre( wxBOTH );
\r
4598 txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4599 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4600 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4601 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4604 frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT()
\r
4606 // Disconnect Events
\r
4607 txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4608 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4609 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4610 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4614 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
4616 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4618 wxBoxSizer* bSizer251;
\r
4619 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4621 nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4622 tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4623 wxBoxSizer* bSizer353;
\r
4624 bSizer353 = new wxBoxSizer( wxVERTICAL );
\r
4626 txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
4627 txtNote->SetMaxLength( 0 );
\r
4628 bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 );
\r
4631 tabGeneral->SetSizer( bSizer353 );
\r
4632 tabGeneral->Layout();
\r
4633 bSizer353->Fit( tabGeneral );
\r
4634 nbkNotes->AddPage( tabGeneral, wxT("General"), true );
\r
4635 tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4636 wxFlexGridSizer* fgSizer61;
\r
4637 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4638 fgSizer61->AddGrowableCol( 1 );
\r
4639 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
4640 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4642 lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4643 lblPriority->Wrap( -1 );
\r
4644 fgSizer61->Add( lblPriority, 0, wxALL, 5 );
\r
4646 wxBoxSizer* bSizer2601;
\r
4647 bSizer2601 = new wxBoxSizer( wxHORIZONTAL );
\r
4649 chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4650 bSizer2601->Add( chkUsePref, 0, wxALL, 5 );
\r
4652 wxBoxSizer* bSizer2541;
\r
4653 bSizer2541 = new wxBoxSizer( wxVERTICAL );
\r
4655 wxBoxSizer* bSizer2561;
\r
4656 bSizer2561 = new wxBoxSizer( wxHORIZONTAL );
\r
4658 sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4659 bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4662 bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 );
\r
4664 wxBoxSizer* bSizer2551;
\r
4665 bSizer2551 = new wxBoxSizer( wxHORIZONTAL );
\r
4667 lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4668 lblHigh->Wrap( -1 );
\r
4669 bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4672 bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4674 lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4675 lblLow->Wrap( -1 );
\r
4676 bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4679 bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 );
\r
4682 bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 );
\r
4685 fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 );
\r
4688 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4691 tabPriority->SetSizer( fgSizer61 );
\r
4692 tabPriority->Layout();
\r
4693 fgSizer61->Fit( tabPriority );
\r
4694 nbkNotes->AddPage( tabPriority, wxT("Priority"), false );
\r
4695 tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4696 wxFlexGridSizer* fgSizer611;
\r
4697 fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4698 fgSizer611->AddGrowableCol( 0 );
\r
4699 fgSizer611->SetFlexibleDirection( wxBOTH );
\r
4700 fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4702 lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4703 lblLanguage->Wrap( -1 );
\r
4704 fgSizer611->Add( lblLanguage, 1, wxALL, 5 );
\r
4706 cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4707 fgSizer611->Add( cmbLanguage, 1, wxALL, 5 );
\r
4710 tabLanguage->SetSizer( fgSizer611 );
\r
4711 tabLanguage->Layout();
\r
4712 fgSizer611->Fit( tabLanguage );
\r
4713 nbkNotes->AddPage( tabLanguage, wxT("Language"), false );
\r
4715 bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 );
\r
4717 wxBoxSizer* bSizer252;
\r
4718 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4720 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4721 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4723 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4724 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4727 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4730 this->SetSizer( bSizer251 );
\r
4733 this->Centre( wxBOTH );
\r
4736 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4737 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4738 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4741 frmContactEditorNotesADT::~frmContactEditorNotesADT()
\r
4743 // Disconnect Events
\r
4744 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4745 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4746 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4750 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
4752 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4754 wxBoxSizer* bSizer251;
\r
4755 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4757 nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4758 tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4759 wxFlexGridSizer* fgSizer6;
\r
4760 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4761 fgSizer6->AddGrowableCol( 1 );
\r
4762 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4763 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4765 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4766 lblTitle->Wrap( -1 );
\r
4767 fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4769 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4770 txtTitle->SetMaxLength( 0 );
\r
4771 fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
4773 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4774 lblPriority->Wrap( -1 );
\r
4775 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4777 wxBoxSizer* bSizer260;
\r
4778 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4780 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4781 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4783 wxBoxSizer* bSizer254;
\r
4784 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4786 wxBoxSizer* bSizer256;
\r
4787 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4789 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4790 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4793 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4795 wxBoxSizer* bSizer255;
\r
4796 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4798 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4799 lblHigh->Wrap( -1 );
\r
4800 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4803 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4805 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4806 lblLow->Wrap( -1 );
\r
4807 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4810 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4813 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4816 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4819 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4822 tabGeneral->SetSizer( fgSizer6 );
\r
4823 tabGeneral->Layout();
\r
4824 fgSizer6->Fit( tabGeneral );
\r
4825 nbkTitles->AddPage( tabGeneral, wxT("General"), false );
\r
4827 bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 );
\r
4829 wxBoxSizer* bSizer252;
\r
4830 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4832 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4833 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4835 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4836 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4839 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4842 this->SetSizer( bSizer251 );
\r
4845 this->Centre( wxBOTH );
\r
4848 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4849 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4850 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4853 frmContactEditorTitlesADT::~frmContactEditorTitlesADT()
\r
4855 // Disconnect Events
\r
4856 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4857 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4858 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4862 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
4864 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4866 wxBoxSizer* bSizer251;
\r
4867 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4869 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4870 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4871 wxFlexGridSizer* fgSizer6;
\r
4872 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4873 fgSizer6->AddGrowableCol( 0 );
\r
4874 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4875 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4877 lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4878 lblRelation->Wrap( -1 );
\r
4879 fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4881 txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4882 txtRelated->SetMaxLength( 0 );
\r
4883 fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 );
\r
4885 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4886 lblType->Wrap( -1 );
\r
4887 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
4889 cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4890 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
4892 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4893 lblPriority->Wrap( -1 );
\r
4894 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4896 wxBoxSizer* bSizer260;
\r
4897 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4899 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4900 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4902 wxBoxSizer* bSizer254;
\r
4903 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4905 wxBoxSizer* bSizer256;
\r
4906 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4908 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4909 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4912 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4914 wxBoxSizer* bSizer255;
\r
4915 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4917 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4918 lblHigh->Wrap( -1 );
\r
4919 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4922 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4924 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4925 lblLow->Wrap( -1 );
\r
4926 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4929 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4932 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4935 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4938 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4941 tabGeneral->SetSizer( fgSizer6 );
\r
4942 tabGeneral->Layout();
\r
4943 fgSizer6->Fit( tabGeneral );
\r
4944 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
4946 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
4948 wxBoxSizer* bSizer252;
\r
4949 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4951 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4952 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4954 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4955 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4958 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4961 this->SetSizer( bSizer251 );
\r
4964 this->Centre( wxBOTH );
\r
4967 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4968 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4969 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4972 frmContactEditorRelatedADT::~frmContactEditorRelatedADT()
\r
4974 // Disconnect Events
\r
4975 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4976 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4977 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4981 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
4983 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4985 wxBoxSizer* bSizer251;
\r
4986 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4988 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4989 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4990 wxFlexGridSizer* fgSizer6;
\r
4991 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4992 fgSizer6->AddGrowableCol( 1 );
\r
4993 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4994 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4996 lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4997 lblSoundFile->Wrap( -1 );
\r
4998 fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5000 fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5001 fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 );
\r
5003 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5004 lblType->Wrap( -1 );
\r
5005 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5007 wxArrayString cmbTypeChoices;
\r
5008 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5009 cmbType->SetSelection( 0 );
\r
5010 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5012 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5013 lblPriority->Wrap( -1 );
\r
5014 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5016 wxBoxSizer* bSizer260;
\r
5017 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5019 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5020 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5022 wxBoxSizer* bSizer254;
\r
5023 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5025 wxBoxSizer* bSizer256;
\r
5026 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5028 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5029 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5032 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5034 wxBoxSizer* bSizer255;
\r
5035 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5037 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5038 lblHigh->Wrap( -1 );
\r
5039 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5042 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5044 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5045 lblLow->Wrap( -1 );
\r
5046 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5049 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5052 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5055 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5058 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5061 tabGeneral->SetSizer( fgSizer6 );
\r
5062 tabGeneral->Layout();
\r
5063 fgSizer6->Fit( tabGeneral );
\r
5064 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5066 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5068 wxBoxSizer* bSizer252;
\r
5069 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5071 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5072 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5074 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5075 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5078 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5081 this->SetSizer( bSizer251 );
\r
5084 this->Centre( wxBOTH );
\r
5087 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5088 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5089 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5092 frmContactEditorSoundADT::~frmContactEditorSoundADT()
\r
5094 // Disconnect Events
\r
5095 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5096 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5097 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5101 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
5103 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5105 wxBoxSizer* bSizer251;
\r
5106 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5108 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5109 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5110 wxFlexGridSizer* fgSizer6;
\r
5111 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5112 fgSizer6->AddGrowableCol( 1 );
\r
5113 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
5114 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5116 lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5117 lblPictureFile->Wrap( -1 );
\r
5118 fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5120 fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5121 fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 );
\r
5123 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5124 lblType->Wrap( -1 );
\r
5125 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5127 wxArrayString cmbTypeChoices;
\r
5128 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5129 cmbType->SetSelection( 0 );
\r
5130 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5132 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5133 lblPriority->Wrap( -1 );
\r
5134 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5136 wxBoxSizer* bSizer260;
\r
5137 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5139 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5140 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5142 wxBoxSizer* bSizer254;
\r
5143 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5145 wxBoxSizer* bSizer256;
\r
5146 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5148 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5149 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5152 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5154 wxBoxSizer* bSizer255;
\r
5155 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5157 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5158 lblHigh->Wrap( -1 );
\r
5159 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5162 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5164 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5165 lblLow->Wrap( -1 );
\r
5166 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5169 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5172 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5175 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5178 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5181 tabGeneral->SetSizer( fgSizer6 );
\r
5182 tabGeneral->Layout();
\r
5183 fgSizer6->Fit( tabGeneral );
\r
5184 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5186 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5188 wxBoxSizer* bSizer252;
\r
5189 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5191 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5192 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5194 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5195 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5198 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5201 this->SetSizer( bSizer251 );
\r
5204 this->Centre( wxBOTH );
\r
5207 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5208 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5209 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5212 frmContactEditorPictureADT::~frmContactEditorPictureADT()
\r
5214 // Disconnect Events
\r
5215 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5216 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5217 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5221 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
5223 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5225 wxBoxSizer* bSizer251;
\r
5226 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5228 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5229 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5230 wxFlexGridSizer* fgSizer6;
\r
5231 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5232 fgSizer6->AddGrowableCol( 1 );
\r
5233 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5234 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5236 lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5237 lblWebsite->Wrap( -1 );
\r
5238 fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5240 txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5241 txtWebsite->SetMaxLength( 0 );
\r
5242 fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 );
\r
5244 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5245 lblPriority->Wrap( -1 );
\r
5246 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5248 wxBoxSizer* bSizer260;
\r
5249 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5251 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5252 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5254 wxBoxSizer* bSizer254;
\r
5255 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5257 wxBoxSizer* bSizer256;
\r
5258 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5260 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5261 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5264 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5266 wxBoxSizer* bSizer255;
\r
5267 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5269 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5270 lblHigh->Wrap( -1 );
\r
5271 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5274 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5276 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5277 lblLow->Wrap( -1 );
\r
5278 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5281 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5284 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5287 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5290 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5293 tabGeneral->SetSizer( fgSizer6 );
\r
5294 tabGeneral->Layout();
\r
5295 fgSizer6->Fit( tabGeneral );
\r
5296 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5298 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5300 wxBoxSizer* bSizer252;
\r
5301 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5303 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5304 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5306 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5307 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5310 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5313 this->SetSizer( bSizer251 );
\r
5316 this->Centre( wxBOTH );
\r
5319 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5320 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5321 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5324 frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT()
\r
5326 // Disconnect Events
\r
5327 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5328 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5329 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5333 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
5335 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5337 wxBoxSizer* bSizer251;
\r
5338 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5340 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5341 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5342 wxFlexGridSizer* fgSizer6;
\r
5343 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5344 fgSizer6->AddGrowableCol( 1 );
\r
5345 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5346 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5348 lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5349 lblGeoposition->Wrap( -1 );
\r
5350 fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5352 txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5353 txtGeoposition->SetMaxLength( 0 );
\r
5354 fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 );
\r
5356 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5357 lblPriority->Wrap( -1 );
\r
5358 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5360 wxBoxSizer* bSizer260;
\r
5361 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5363 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5364 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5366 wxBoxSizer* bSizer254;
\r
5367 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5369 wxBoxSizer* bSizer256;
\r
5370 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5372 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5373 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5376 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5378 wxBoxSizer* bSizer255;
\r
5379 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5381 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5382 lblHigh->Wrap( -1 );
\r
5383 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5386 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5388 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5389 lblLow->Wrap( -1 );
\r
5390 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5393 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5396 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5399 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5402 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5405 tabGeneral->SetSizer( fgSizer6 );
\r
5406 tabGeneral->Layout();
\r
5407 fgSizer6->Fit( tabGeneral );
\r
5408 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5410 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5412 wxBoxSizer* bSizer252;
\r
5413 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5415 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5416 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5418 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5419 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5422 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5425 this->SetSizer( bSizer251 );
\r
5428 this->Centre( wxBOTH );
\r
5431 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5432 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5433 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5436 frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT()
\r
5438 // Disconnect Events
\r
5439 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5440 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5441 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5445 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
5447 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5449 wxBoxSizer* bSizer251;
\r
5450 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5452 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5453 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5454 wxFlexGridSizer* fgSizer6;
\r
5455 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5456 fgSizer6->AddGrowableCol( 1 );
\r
5457 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5458 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5460 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5461 lblAddress->Wrap( -1 );
\r
5462 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5464 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5465 txtAddress->SetMaxLength( 0 );
\r
5466 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
5468 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5469 lblType->Wrap( -1 );
\r
5470 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5472 wxArrayString cmbTypeChoices;
\r
5473 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5474 cmbType->SetSelection( 0 );
\r
5475 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5477 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5478 lblPriority->Wrap( -1 );
\r
5479 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5481 wxBoxSizer* bSizer260;
\r
5482 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5484 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5485 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5487 wxBoxSizer* bSizer254;
\r
5488 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5490 wxBoxSizer* bSizer256;
\r
5491 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5493 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5494 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5497 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5499 wxBoxSizer* bSizer255;
\r
5500 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5502 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5503 lblHigh->Wrap( -1 );
\r
5504 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5507 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5509 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5510 lblLow->Wrap( -1 );
\r
5511 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5514 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5517 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5520 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5523 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5526 tabGeneral->SetSizer( fgSizer6 );
\r
5527 tabGeneral->Layout();
\r
5528 fgSizer6->Fit( tabGeneral );
\r
5529 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5531 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5533 wxBoxSizer* bSizer252;
\r
5534 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5536 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5537 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5539 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5540 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5543 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5546 this->SetSizer( bSizer251 );
\r
5549 this->Centre( wxBOTH );
\r
5552 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5553 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5554 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5557 frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT()
\r
5559 // Disconnect Events
\r
5560 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5561 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5562 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5566 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
5568 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5570 wxBoxSizer* bSizer251;
\r
5571 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5573 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5574 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5575 wxFlexGridSizer* fgSizer6;
\r
5576 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5577 fgSizer6->AddGrowableCol( 1 );
\r
5578 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5579 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5581 lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5582 lblVendorPEN->Wrap( -1 );
\r
5583 fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5585 txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5586 txtPEN->SetMaxLength( 0 );
\r
5587 fgSizer6->Add( txtPEN, 0, wxALL, 5 );
\r
5589 lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5590 lblElement->Wrap( -1 );
\r
5591 fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5593 txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5594 txtElement->SetMaxLength( 0 );
\r
5595 fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 );
\r
5597 lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5598 lblValue->Wrap( -1 );
\r
5599 fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5601 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5602 txtValue->SetMaxLength( 0 );
\r
5603 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5606 tabGeneral->SetSizer( fgSizer6 );
\r
5607 tabGeneral->Layout();
\r
5608 fgSizer6->Fit( tabGeneral );
\r
5609 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5611 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5613 wxBoxSizer* bSizer252;
\r
5614 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5616 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5617 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5619 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5620 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5623 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5626 this->SetSizer( bSizer251 );
\r
5629 this->Centre( wxBOTH );
\r
5632 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5633 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5636 frmContactEditorVendorADT::~frmContactEditorVendorADT()
\r
5638 // Disconnect Events
\r
5639 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5640 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5644 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
5646 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5648 wxBoxSizer* bSizer251;
\r
5649 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5651 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5652 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5653 wxFlexGridSizer* fgSizer6;
\r
5654 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5655 fgSizer6->AddGrowableCol( 1 );
\r
5656 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5657 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5659 lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5660 lblTokenName->Wrap( -1 );
\r
5661 fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5663 txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5664 txtTokenName->SetMaxLength( 0 );
\r
5665 fgSizer6->Add( txtTokenName, 0, wxALL, 5 );
\r
5667 lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5668 lblXT->Wrap( -1 );
\r
5669 fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5671 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5672 txtValue->SetMaxLength( 0 );
\r
5673 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5676 tabGeneral->SetSizer( fgSizer6 );
\r
5677 tabGeneral->Layout();
\r
5678 fgSizer6->Fit( tabGeneral );
\r
5679 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5681 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5683 wxBoxSizer* bSizer252;
\r
5684 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5686 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5687 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5689 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5690 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5693 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5696 this->SetSizer( bSizer251 );
\r
5699 this->Centre( wxBOTH );
\r
5702 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5703 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5706 frmContactEditorXTokenADT::~frmContactEditorXTokenADT()
\r
5708 // Disconnect Events
\r
5709 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5710 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5714 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
5716 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5718 wxBoxSizer* bSizer251;
\r
5719 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5721 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5722 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5723 wxFlexGridSizer* fgSizer6;
\r
5724 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5725 fgSizer6->AddGrowableCol( 1 );
\r
5726 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5727 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5729 lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5730 lblKeyType->Wrap( -1 );
\r
5731 fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5733 wxArrayString cmbKeyMainTypeChoices;
\r
5734 cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 );
\r
5735 cmbKeyMainType->SetSelection( 0 );
\r
5736 fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 );
\r
5738 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5739 lblType->Wrap( -1 );
\r
5740 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5742 wxArrayString cmbTypeChoices;
\r
5743 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5744 cmbType->SetSelection( 0 );
\r
5745 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5747 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5748 lblPriority->Wrap( -1 );
\r
5749 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5751 wxBoxSizer* bSizer260;
\r
5752 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5754 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5755 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5757 wxBoxSizer* bSizer254;
\r
5758 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5760 wxBoxSizer* bSizer256;
\r
5761 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5763 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5764 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5767 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5769 wxBoxSizer* bSizer255;
\r
5770 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5772 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5773 lblHigh->Wrap( -1 );
\r
5774 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5777 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5779 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5780 lblLow->Wrap( -1 );
\r
5781 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5784 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5787 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5790 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5793 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5796 tabGeneral->SetSizer( fgSizer6 );
\r
5797 tabGeneral->Layout();
\r
5798 fgSizer6->Fit( tabGeneral );
\r
5799 nbkWebsite->AddPage( tabGeneral, wxT("General"), true );
\r
5800 tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5801 wxFlexGridSizer* fgSizer61;
\r
5802 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5803 fgSizer61->AddGrowableCol( 1 );
\r
5804 fgSizer61->SetFlexibleDirection( wxHORIZONTAL );
\r
5805 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5807 lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5808 lblKeyFormat->Wrap( -1 );
\r
5809 fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5811 cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5812 fgSizer61->Add( cmbURL, 0, wxALL, 5 );
\r
5814 lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5815 lblAddress->Wrap( -1 );
\r
5816 fgSizer61->Add( lblAddress, 0, wxALL, 5 );
\r
5818 txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5819 txtAddress->SetMaxLength( 0 );
\r
5820 fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 );
\r
5823 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5826 tabURL->SetSizer( fgSizer61 );
\r
5828 fgSizer61->Fit( tabURL );
\r
5829 nbkWebsite->AddPage( tabURL, wxT("URL"), false );
\r
5830 tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5831 wxFlexGridSizer* fgSizer62;
\r
5832 fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5833 fgSizer62->AddGrowableCol( 1 );
\r
5834 fgSizer62->AddGrowableRow( 1 );
\r
5835 fgSizer62->SetFlexibleDirection( wxBOTH );
\r
5836 fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5838 lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5839 lblKeyFormatData->Wrap( -1 );
\r
5840 fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 );
\r
5842 cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5843 fgSizer62->Add( cmbKeyType, 0, wxALL, 5 );
\r
5845 lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5846 lblKeyData->Wrap( -1 );
\r
5847 fgSizer62->Add( lblKeyData, 0, wxALL, 5 );
\r
5849 txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
5850 txtKeyData->SetMaxLength( 0 );
\r
5851 fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 );
\r
5854 tabKey->SetSizer( fgSizer62 );
\r
5856 fgSizer62->Fit( tabKey );
\r
5857 nbkWebsite->AddPage( tabKey, wxT("Key"), false );
\r
5859 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5861 wxBoxSizer* bSizer252;
\r
5862 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5864 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5865 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5867 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5868 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5871 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5874 this->SetSizer( bSizer251 );
\r
5877 this->Centre( wxBOTH );
\r
5880 cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5881 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5882 cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5883 cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5884 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5885 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5888 frmContactEditorKeyADT::~frmContactEditorKeyADT()
\r
5890 // Disconnect Events
\r
5891 cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5892 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5893 cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5894 cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5895 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5896 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5900 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
5902 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5904 wxBoxSizer* bSizer251;
\r
5905 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5907 nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5908 tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5909 wxFlexGridSizer* fgSizer6;
\r
5910 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5911 fgSizer6->AddGrowableCol( 1 );
\r
5912 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5913 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5915 lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5916 lblEmailAddress->Wrap( -1 );
\r
5917 fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5919 txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5920 txtEmail->SetMaxLength( 0 );
\r
5921 fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 );
\r
5923 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5924 lblPriority->Wrap( -1 );
\r
5925 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5927 wxBoxSizer* bSizer260;
\r
5928 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5930 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5931 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5933 wxBoxSizer* bSizer254;
\r
5934 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5936 wxBoxSizer* bSizer256;
\r
5937 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5939 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5940 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5943 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5945 wxBoxSizer* bSizer255;
\r
5946 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5948 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5949 lblHigh->Wrap( -1 );
\r
5950 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5953 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5955 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5956 lblLow->Wrap( -1 );
\r
5957 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5960 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5963 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5966 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5969 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5972 tabGeneral->SetSizer( fgSizer6 );
\r
5973 tabGeneral->Layout();
\r
5974 fgSizer6->Fit( tabGeneral );
\r
5975 nbkEmail->AddPage( tabGeneral, wxT("General"), false );
\r
5977 bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 );
\r
5979 wxBoxSizer* bSizer252;
\r
5980 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5982 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5983 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5985 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5986 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5989 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5992 this->SetSizer( bSizer251 );
\r
5995 this->Centre( wxBOTH );
\r
5998 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
5999 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6000 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6003 frmContactEditorEmailADT::~frmContactEditorEmailADT()
\r
6005 // Disconnect Events
\r
6006 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
6007 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6008 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6012 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
6014 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6016 wxBoxSizer* bSizer251;
\r
6017 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6019 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6020 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6021 wxFlexGridSizer* fgSizer6;
\r
6022 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6023 fgSizer6->AddGrowableCol( 1 );
\r
6024 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6025 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6027 lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6028 lblIMType->Wrap( -1 );
\r
6029 fgSizer6->Add( lblIMType, 0, wxALL, 5 );
\r
6031 cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN );
\r
6032 fgSizer6->Add( cmbIMType, 0, wxALL, 5 );
\r
6034 lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6035 lblUsername->Wrap( 0 );
\r
6036 fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6038 txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6039 txtUsername->SetMaxLength( 0 );
\r
6040 fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6042 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6043 lblPriority->Wrap( -1 );
\r
6044 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6046 wxBoxSizer* bSizer260;
\r
6047 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6049 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6050 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6052 wxBoxSizer* bSizer254;
\r
6053 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6055 wxBoxSizer* bSizer256;
\r
6056 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6058 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6059 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6062 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6064 wxBoxSizer* bSizer255;
\r
6065 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6067 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6068 lblHigh->Wrap( -1 );
\r
6069 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6072 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6074 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6075 lblLow->Wrap( -1 );
\r
6076 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6079 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6082 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6085 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6088 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6091 tabGeneral->SetSizer( fgSizer6 );
\r
6092 tabGeneral->Layout();
\r
6093 fgSizer6->Fit( tabGeneral );
\r
6094 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6096 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6098 wxBoxSizer* bSizer252;
\r
6099 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6101 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6102 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6104 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6105 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6108 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6111 this->SetSizer( bSizer251 );
\r
6114 this->Centre( wxBOTH );
\r
6117 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6118 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6119 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6122 frmContactEditorIMADT::~frmContactEditorIMADT()
\r
6124 // Disconnect Events
\r
6125 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6126 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6127 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6131 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
6133 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6135 wxBoxSizer* bSizer251;
\r
6136 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6138 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6139 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6140 wxFlexGridSizer* fgSizer6;
\r
6141 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6142 fgSizer6->AddGrowableCol( 1 );
\r
6143 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6144 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6146 lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6147 lblCategory->Wrap( 0 );
\r
6148 fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6150 txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6151 txtCategory->SetMaxLength( 0 );
\r
6152 fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 );
\r
6154 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6155 lblType->Wrap( -1 );
\r
6156 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
6158 wxArrayString cmbTypeChoices;
\r
6159 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
6160 cmbType->SetSelection( 0 );
\r
6161 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
6163 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6164 lblPriority->Wrap( -1 );
\r
6165 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6167 wxBoxSizer* bSizer260;
\r
6168 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6170 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6171 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6173 wxBoxSizer* bSizer254;
\r
6174 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6176 wxBoxSizer* bSizer256;
\r
6177 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6179 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6180 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6183 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6185 wxBoxSizer* bSizer255;
\r
6186 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6188 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6189 lblHigh->Wrap( -1 );
\r
6190 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6193 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6195 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6196 lblLow->Wrap( -1 );
\r
6197 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6200 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6203 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6206 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6209 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6212 tabGeneral->SetSizer( fgSizer6 );
\r
6213 tabGeneral->Layout();
\r
6214 fgSizer6->Fit( tabGeneral );
\r
6215 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6217 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6219 wxBoxSizer* bSizer252;
\r
6220 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6222 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6223 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6225 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6226 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6229 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6232 this->SetSizer( bSizer251 );
\r
6235 this->Centre( wxBOTH );
\r
6238 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6239 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6240 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6243 frmContactEditorCategoryADT::~frmContactEditorCategoryADT()
\r
6245 // Disconnect Events
\r
6246 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6247 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6248 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6252 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
6254 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6256 wxBoxSizer* bSizer251;
\r
6257 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6259 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6260 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6261 wxFlexGridSizer* fgSizer6;
\r
6262 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6263 fgSizer6->AddGrowableCol( 1 );
\r
6264 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6265 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6267 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6268 lblTelephone->Wrap( -1 );
\r
6269 fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6271 txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6272 txtTelephone->SetMaxLength( 0 );
\r
6273 fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 );
\r
6275 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6276 lblPriority->Wrap( -1 );
\r
6277 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6279 wxBoxSizer* bSizer260;
\r
6280 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6282 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6283 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6285 wxBoxSizer* bSizer254;
\r
6286 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6288 wxBoxSizer* bSizer256;
\r
6289 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6291 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6292 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6295 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6297 wxBoxSizer* bSizer255;
\r
6298 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6300 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6301 lblHigh->Wrap( -1 );
\r
6302 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6305 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6307 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6308 lblLow->Wrap( -1 );
\r
6309 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6312 bSizer254->Add( bSizer255, 0, wxEXPAND, 0 );
\r
6315 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6318 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6320 lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6321 lblTelephoneType->Wrap( 0 );
\r
6322 fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 );
\r
6324 wxGridSizer* gSizer5;
\r
6325 gSizer5 = new wxGridSizer( 0, 2, 0, 0 );
\r
6327 chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6328 gSizer5->Add( chkVoice, 0, wxALL, 2 );
\r
6330 chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6331 gSizer5->Add( chkText, 0, wxALL, 2 );
\r
6333 chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6334 gSizer5->Add( chkFax, 0, wxALL, 2 );
\r
6336 chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6337 gSizer5->Add( chkMobile, 0, wxALL, 2 );
\r
6339 chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6340 gSizer5->Add( chkVideo, 0, wxALL, 2 );
\r
6342 chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6343 gSizer5->Add( chkTextphone, 0, wxALL, 2 );
\r
6345 chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6346 gSizer5->Add( chkPager, 0, wxALL, 2 );
\r
6349 fgSizer6->Add( gSizer5, 1, 0, 5 );
\r
6352 tabGeneral->SetSizer( fgSizer6 );
\r
6353 tabGeneral->Layout();
\r
6354 fgSizer6->Fit( tabGeneral );
\r
6355 nbkAddress->AddPage( tabGeneral, wxT("General"), false );
\r
6357 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
6359 wxBoxSizer* bSizer252;
\r
6360 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6362 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6363 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6365 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6366 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6369 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6372 this->SetSizer( bSizer251 );
\r
6375 this->Centre( wxBOTH );
\r
6378 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6379 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6380 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6383 frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT()
\r
6385 // Disconnect Events
\r
6386 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6387 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6388 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6392 frmContactEditorLanguagesADT::frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
\r
6394 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6396 wxBoxSizer* bSizer251;
\r
6397 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6399 nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6400 tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6401 wxFlexGridSizer* fgSizer6;
\r
6402 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6403 fgSizer6->AddGrowableCol( 1 );
\r
6404 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6405 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6407 lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6408 lblLanguage->Wrap( -1 );
\r
6409 fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6411 txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6412 txtLanguage->SetMaxLength( 0 );
\r
6413 fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 );
\r
6415 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6416 lblPriority->Wrap( -1 );
\r
6417 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6419 wxBoxSizer* bSizer260;
\r
6420 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6422 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6423 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6425 wxBoxSizer* bSizer254;
\r
6426 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6428 wxBoxSizer* bSizer256;
\r
6429 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6431 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6432 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6435 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6437 wxBoxSizer* bSizer255;
\r
6438 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6440 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6441 lblHigh->Wrap( -1 );
\r
6442 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6445 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6447 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6448 lblLow->Wrap( -1 );
\r
6449 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6452 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6455 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6458 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6461 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6464 tabGeneral->SetSizer( fgSizer6 );
\r
6465 tabGeneral->Layout();
\r
6466 fgSizer6->Fit( tabGeneral );
\r
6467 nbkLanguages->AddPage( tabGeneral, wxT("General"), false );
\r
6469 bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 );
\r
6471 wxBoxSizer* bSizer252;
\r
6472 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6474 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6475 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6477 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6478 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6481 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6484 this->SetSizer( bSizer251 );
\r
6487 this->Centre( wxBOTH );
\r
6490 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6491 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6492 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6495 frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT()
\r
6497 // Disconnect Events
\r
6498 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6499 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6500 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6504 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
6506 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6508 wxBoxSizer* bSizer251;
\r
6509 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6511 nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6512 tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6513 wxFlexGridSizer* fgSizer6;
\r
6514 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6515 fgSizer6->AddGrowableCol( 1 );
\r
6516 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6517 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6519 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6520 lblTimezone->Wrap( -1 );
\r
6521 fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6523 cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
6524 fgSizer6->Add( cmbTimezone, 0, wxALL, 5 );
\r
6526 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6527 lblPriority->Wrap( -1 );
\r
6528 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6530 wxBoxSizer* bSizer260;
\r
6531 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6533 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6534 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6536 wxBoxSizer* bSizer254;
\r
6537 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6539 wxBoxSizer* bSizer256;
\r
6540 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6542 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6543 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6546 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6548 wxBoxSizer* bSizer255;
\r
6549 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6551 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6552 lblHigh->Wrap( -1 );
\r
6553 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6556 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6558 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6559 lblLow->Wrap( -1 );
\r
6560 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6563 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6566 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6569 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6572 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6575 tabGeneral->SetSizer( fgSizer6 );
\r
6576 tabGeneral->Layout();
\r
6577 fgSizer6->Fit( tabGeneral );
\r
6578 nbkTimezone->AddPage( tabGeneral, wxT("General"), false );
\r
6580 bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 );
\r
6582 wxBoxSizer* bSizer252;
\r
6583 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6585 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6586 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6588 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6589 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6592 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6595 this->SetSizer( bSizer251 );
\r
6598 this->Centre( wxBOTH );
\r
6601 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6602 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6603 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6606 frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT()
\r
6608 // Disconnect Events
\r
6609 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6610 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6611 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6615 XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
\r
6617 this->SetMinSize( wxSize( -1,40 ) );
\r
6618 this->SetMaxSize( wxSize( -1,40 ) );
\r
6620 wxFlexGridSizer* fgSizer40;
\r
6621 fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 );
\r
6622 fgSizer40->AddGrowableCol( 1 );
\r
6623 fgSizer40->SetFlexibleDirection( wxBOTH );
\r
6624 fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6626 wxArrayString choOptionChoices;
\r
6627 choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 );
\r
6628 choOption->SetSelection( 0 );
\r
6629 fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 );
\r
6631 szrSSet = new wxBoxSizer( wxHORIZONTAL );
\r
6633 chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6634 szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6636 txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6637 txtSearch->SetMaxLength( 0 );
\r
6638 szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6641 fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 );
\r
6643 wxBoxSizer* bSizer376;
\r
6644 bSizer376 = new wxBoxSizer( wxHORIZONTAL );
\r
6646 btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6647 btnAdd->SetMinSize( wxSize( 28,28 ) );
\r
6648 btnAdd->SetMaxSize( wxSize( 28,28 ) );
\r
6650 bSizer376->Add( btnAdd, 0, wxALL, 5 );
\r
6652 btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6653 btnDelete->SetMinSize( wxSize( 28,28 ) );
\r
6654 btnDelete->SetMaxSize( wxSize( 28,28 ) );
\r
6656 bSizer376->Add( btnDelete, 0, wxALL, 5 );
\r
6659 fgSizer40->Add( bSizer376, 0, 0, 5 );
\r
6662 this->SetSizer( fgSizer40 );
\r
6666 choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6667 btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6668 btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6671 XABSearchPanelADT::~XABSearchPanelADT()
\r
6673 // Disconnect Events
\r
6674 choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6675 btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6676 btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6680 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
6682 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6684 wxBoxSizer* bSizer376;
\r
6685 bSizer376 = new wxBoxSizer( wxVERTICAL );
\r
6687 wxArrayString chlAccountsChoices;
\r
6688 chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
6689 bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 );
\r
6691 wxBoxSizer* bSizer377;
\r
6692 bSizer377 = new wxBoxSizer( wxHORIZONTAL );
\r
6695 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6697 btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6698 bSizer377->Add( btnSelect, 0, wxALL, 5 );
\r
6700 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6701 bSizer377->Add( btnCancel, 0, wxALL, 5 );
\r
6704 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6707 bSizer376->Add( bSizer377, 0, wxEXPAND, 5 );
\r
6710 this->SetSizer( bSizer376 );
\r
6713 this->Centre( wxBOTH );
\r
6716 btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6717 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6720 frmSearchAccountsADT::~frmSearchAccountsADT()
\r
6722 // Disconnect Events
\r
6723 btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6724 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6728 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
6730 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6732 wxBoxSizer* bSizer384;
\r
6733 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6735 wxBoxSizer* szrTabs;
\r
6736 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
6738 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6739 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6740 wxFlexGridSizer* fgSizer43;
\r
6741 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6742 fgSizer43->AddGrowableCol( 1 );
\r
6743 fgSizer43->SetFlexibleDirection( wxBOTH );
\r
6744 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6746 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6747 lblAccName->Wrap( -1 );
\r
6748 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6750 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6751 txtAccountName->SetMaxLength( 0 );
\r
6752 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
6754 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6755 lblAccAdr->Wrap( -1 );
\r
6756 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6758 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6759 txtAddress->SetMaxLength( 0 );
\r
6760 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
6762 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6763 m_staticText193->Wrap( -1 );
\r
6764 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6766 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6767 txtPort->SetMaxLength( 5 );
\r
6768 fgSizer43->Add( txtPort, 0, wxALL, 5 );
\r
6770 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6771 lblPort->Wrap( -1 );
\r
6772 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6774 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6775 txtUsername->SetMaxLength( 0 );
\r
6776 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6778 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6779 lblPassword->Wrap( -1 );
\r
6780 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6782 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6783 txtPassword->SetMaxLength( 0 );
\r
6784 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
6786 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6787 lblPrefix->Wrap( -1 );
\r
6788 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6790 wxBoxSizer* bSizer391;
\r
6791 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
\r
6793 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6794 txtPrefix->SetMaxLength( 0 );
\r
6795 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
\r
6797 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
\r
6798 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
\r
6801 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
\r
6803 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6804 txtSSL->Wrap( -1 );
\r
6805 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6807 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6808 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
\r
6811 tabProperties->SetSizer( fgSizer43 );
\r
6812 tabProperties->Layout();
\r
6813 fgSizer43->Fit( tabProperties );
\r
6814 tabAccount->AddPage( tabProperties, wxT("General"), true );
\r
6815 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6816 wxFlexGridSizer* fgSizer431;
\r
6817 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6818 fgSizer431->AddGrowableCol( 1 );
\r
6819 fgSizer431->SetFlexibleDirection( wxBOTH );
\r
6820 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6822 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6823 lblRefresh->Wrap( -1 );
\r
6824 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6826 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6827 txtRefresh->SetMaxLength( 5 );
\r
6828 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
\r
6831 tabRefresh->SetSizer( fgSizer431 );
\r
6832 tabRefresh->Layout();
\r
6833 fgSizer431->Fit( tabRefresh );
\r
6834 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
\r
6836 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
\r
6839 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
\r
6841 wxBoxSizer* szrButtons;
\r
6842 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
6845 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
6847 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6848 btnSave->SetDefault();
\r
6849 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
6852 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
6854 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6855 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
6858 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
6861 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
6864 this->SetSizer( bSizer384 );
\r
6867 this->Centre( wxBOTH );
\r
6870 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6871 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6872 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6875 frmEditAccountADT::~frmEditAccountADT()
\r
6877 // Disconnect Events
\r
6878 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6879 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6880 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6884 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
6886 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6888 wxBoxSizer* bSizer384;
\r
6889 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6891 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6892 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6893 wxBoxSizer* bSizer386;
\r
6894 bSizer386 = new wxBoxSizer( wxVERTICAL );
\r
6896 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6897 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
\r
6899 wxBoxSizer* bSizer389;
\r
6900 bSizer389 = new wxBoxSizer( wxVERTICAL );
\r
6902 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6903 lblCertName->Wrap( -1 );
\r
6904 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
\r
6906 bSizer389->Add( lblCertName, 0, wxALL, 5 );
\r
6908 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6909 lblValidityStatus->Wrap( -1 );
\r
6910 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
\r
6913 pnlTop->SetSizer( bSizer389 );
\r
6915 bSizer389->Fit( pnlTop );
\r
6916 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
\r
6918 wxBoxSizer* bSizer392;
\r
6919 bSizer392 = new wxBoxSizer( wxVERTICAL );
\r
6921 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6922 wxFlexGridSizer* fgSizer44;
\r
6923 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6924 fgSizer44->AddGrowableCol( 1 );
\r
6925 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
\r
6926 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6928 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6929 lblIssuedTo->Wrap( -1 );
\r
6930 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
\r
6932 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6933 lblIssuedToData->Wrap( -1 );
\r
6934 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
\r
6936 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6937 lblValidFrom->Wrap( -1 );
\r
6938 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
\r
6940 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6941 lblValidFromData->Wrap( -1 );
\r
6942 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
\r
6944 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6945 lblValidUntil->Wrap( -1 );
\r
6946 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
\r
6948 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6949 lblValidUntilData->Wrap( -1 );
\r
6950 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
\r
6953 m_panel54->SetSizer( fgSizer44 );
\r
6954 m_panel54->Layout();
\r
6955 fgSizer44->Fit( m_panel54 );
\r
6956 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
\r
6959 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
\r
6962 tabSummary->SetSizer( bSizer386 );
\r
6963 tabSummary->Layout();
\r
6964 bSizer386->Fit( tabSummary );
\r
6965 m_notebook28->AddPage( tabSummary, wxT("Summary"), true );
\r
6966 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6967 wxBoxSizer* bSizer3891;
\r
6968 bSizer3891 = new wxBoxSizer( wxVERTICAL );
\r
6970 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
6971 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
\r
6973 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
\r
6974 txtValueData->SetMaxLength( 0 );
\r
6975 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
6977 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
\r
6980 tabDetail->SetSizer( bSizer3891 );
\r
6981 tabDetail->Layout();
\r
6982 bSizer3891->Fit( tabDetail );
\r
6983 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
\r
6984 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6985 wxBoxSizer* bSizer390;
\r
6986 bSizer390 = new wxBoxSizer( wxVERTICAL );
\r
6988 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
\r
6989 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
6991 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6992 wxBoxSizer* bSizer393;
\r
6993 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
6995 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6996 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
\r
6999 m_panel57->SetSizer( bSizer393 );
\r
7000 m_panel57->Layout();
\r
7001 bSizer393->Fit( m_panel57 );
\r
7002 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
\r
7005 tabHierarchy->SetSizer( bSizer390 );
\r
7006 tabHierarchy->Layout();
\r
7007 bSizer390->Fit( tabHierarchy );
\r
7008 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false );
\r
7010 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
7012 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
7013 wxBoxSizer* bSizer385;
\r
7014 bSizer385 = new wxBoxSizer( wxVERTICAL );
\r
7016 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7017 btnClose->SetDefault();
\r
7018 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
\r
7021 pnlButtons->SetSizer( bSizer385 );
\r
7022 pnlButtons->Layout();
\r
7023 bSizer385->Fit( pnlButtons );
\r
7024 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
\r
7027 this->SetSizer( bSizer384 );
\r
7030 this->Centre( wxBOTH );
\r
7033 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7034 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7035 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7036 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7039 frmSSLCertificateADT::~frmSSLCertificateADT()
\r
7041 // Disconnect Events
\r
7042 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7043 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7044 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7045 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7049 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
7051 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7053 wxBoxSizer* bSizer387;
\r
7054 bSizer387 = new wxBoxSizer( wxVERTICAL );
\r
7056 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7057 lblSSLText->Wrap( -1 );
\r
7058 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
\r
7060 wxBoxSizer* bSizer388;
\r
7061 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
\r
7063 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7064 bSizer388->Add( btnAccept, 0, wxALL, 5 );
\r
7066 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7067 btnReject->SetDefault();
\r
7068 bSizer388->Add( btnReject, 0, wxALL, 5 );
\r
7070 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7071 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
\r
7074 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
\r
7077 this->SetSizer( bSizer387 );
\r
7080 this->Centre( wxBOTH );
\r
7083 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7084 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7085 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7088 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
\r
7090 // Disconnect Events
\r
7091 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7092 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7093 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7097 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
7099 this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) );
\r
7101 wxBoxSizer* bSizer393;
\r
7102 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
7104 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
7105 lblImportText->Wrap( 300 );
\r
7106 bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 );
\r
7108 wxArrayString lstContactsChoices;
\r
7109 lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
7110 bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
\r
7112 szrAccount = new wxBoxSizer( wxHORIZONTAL );
\r
7114 lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7115 lblAccountText->Wrap( -1 );
\r
7116 szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
7119 bSizer393->Add( szrAccount, 0, wxEXPAND, 5 );
\r
7121 wxBoxSizer* bSizer394;
\r
7122 bSizer394 = new wxBoxSizer( wxHORIZONTAL );
\r
7124 btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7125 btnImport->SetDefault();
\r
7126 bSizer394->Add( btnImport, 0, wxALL, 5 );
\r
7128 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7129 bSizer394->Add( btnCancel, 0, wxALL, 5 );
\r
7132 bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 );
\r
7135 this->SetSizer( bSizer393 );
\r
7138 this->Centre( wxBOTH );
\r
7141 btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7142 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7145 frmImportContactsADT::~frmImportContactsADT()
\r
7147 // Disconnect Events
\r
7148 btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7149 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7153 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
7155 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7157 wxBoxSizer* bSizer396;
\r
7158 bSizer396 = new wxBoxSizer( wxVERTICAL );
\r
7160 lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7161 lblText->Wrap( -1 );
\r
7162 bSizer396->Add( lblText, 0, wxALL, 5 );
\r
7164 txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
\r
7165 txtResults->SetMaxLength( 0 );
\r
7166 bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 );
\r
7168 wxBoxSizer* bSizer397;
\r
7169 bSizer397 = new wxBoxSizer( wxHORIZONTAL );
\r
7171 btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7172 btnCopyClipboard->Hide();
\r
7174 bSizer397->Add( btnCopyClipboard, 0, 0, 5 );
\r
7176 btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7177 bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
\r
7180 bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
7183 this->SetSizer( bSizer396 );
\r
7186 this->Centre( wxBOTH );
\r
7189 btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7190 btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r
7193 frmImportResultsADT::~frmImportResultsADT()
\r
7195 // Disconnect Events
\r
7196 btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7197 btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r