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::OpenContactInfo ), 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 htmContactData->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
\r
246 stbBottom->Connect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
\r
249 frmMainADT::~frmMainADT()
\r
251 // Disconnect Events
\r
252 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
\r
253 this->Disconnect( ID_MANAGE_NEWAB, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) );
\r
254 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) );
\r
255 this->Disconnect( ID_IMPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) );
\r
256 this->Disconnect( ID_EXPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) );
\r
257 this->Disconnect( wxID_PREFERENCES, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) );
\r
258 this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
\r
259 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) );
\r
260 this->Disconnect( ID_CONTACT_EDIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) );
\r
261 this->Disconnect( ID_CONTACT_DELETE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) );
\r
262 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) );
\r
263 this->Disconnect( ID_VIEW_FNLN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) );
\r
264 this->Disconnect( ID_VIEW_LNFN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) );
\r
265 this->Disconnect( ID_VIEW_NICK, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) );
\r
266 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) );
\r
267 this->Disconnect( ID_VIEW_ASC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) );
\r
268 this->Disconnect( ID_VIEW_DESC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) );
\r
269 this->Disconnect( ID_VIEW_STATUSBAR, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) );
\r
270 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) );
\r
271 this->Disconnect( ID_MANAGE_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) );
\r
272 this->Disconnect( ID_MANAGE_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) );
\r
273 this->Disconnect( ID_MANAGE_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) );
\r
274 this->Disconnect( ID_HELP_SHOW, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
\r
275 this->Disconnect( ID_MANAGE_UPDATE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) );
\r
276 this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
\r
277 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfo ), NULL, this );
\r
278 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
279 lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this );
\r
280 htmContactData->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this );
\r
281 stbBottom->Disconnect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this );
\r
285 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
287 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
289 wxBoxSizer* bSizer390;
\r
290 bSizer390 = new wxBoxSizer( wxVERTICAL );
\r
292 pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
293 wxBoxSizer* bSizer391;
\r
294 bSizer391 = new wxBoxSizer( wxVERTICAL );
\r
296 wxFlexGridSizer* fgSizer45;
\r
297 fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 );
\r
298 fgSizer45->SetFlexibleDirection( wxBOTH );
\r
299 fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
301 lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
302 lblRunningText->Wrap( -1 );
\r
303 fgSizer45->Add( lblRunningText, 0, wxALL, 5 );
\r
305 lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 );
\r
306 lblRunningVer->Wrap( -1 );
\r
307 fgSizer45->Add( lblRunningVer, 0, wxALL, 5 );
\r
309 lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
310 lblAvailableText->Wrap( -1 );
\r
311 fgSizer45->Add( lblAvailableText, 0, wxALL, 5 );
\r
313 lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 );
\r
314 lblAvailableVer->Wrap( -1 );
\r
315 fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 );
\r
317 lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
318 lblBuildTypeText->Wrap( -1 );
\r
319 fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 );
\r
321 lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 );
\r
322 lblBuildType->Wrap( -1 );
\r
323 fgSizer45->Add( lblBuildType, 0, wxALL, 5 );
\r
326 bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 );
\r
328 lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 );
\r
329 lblUpdateMessage->Wrap( -1 );
\r
330 bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 );
\r
333 pnlUpdateData->SetSizer( bSizer391 );
\r
334 pnlUpdateData->Layout();
\r
335 bSizer391->Fit( pnlUpdateData );
\r
336 bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 );
\r
338 statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
339 bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 );
\r
341 wxBoxSizer* bSizer392;
\r
342 bSizer392 = new wxBoxSizer( wxHORIZONTAL );
\r
344 btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 );
\r
345 bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
\r
347 btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 );
\r
348 bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 );
\r
350 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
351 bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
\r
354 bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 );
\r
357 this->SetSizer( bSizer390 );
\r
360 this->Centre( wxBOTH );
\r
363 btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
\r
364 btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
\r
365 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
\r
368 frmUpdateADT::~frmUpdateADT()
\r
370 // Disconnect Events
\r
371 btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
\r
372 btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
\r
373 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
\r
377 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
379 this->SetSizeHints( wxSize( 300,450 ), wxDefaultSize );
\r
381 stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
\r
382 wxBoxSizer* bSizer368;
\r
383 bSizer368 = new wxBoxSizer( wxVERTICAL );
\r
385 m_splitter4 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
386 m_splitter4->Connect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this );
\r
387 m_splitter4->SetMinimumPaneSize( 1 );
\r
389 m_panel60 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
390 wxBoxSizer* bSizer382;
\r
391 bSizer382 = new wxBoxSizer( wxVERTICAL );
\r
393 wxBoxSizer* bSizer369;
\r
394 bSizer369 = new wxBoxSizer( wxHORIZONTAL );
\r
396 nbkSearch = new wxNotebook( m_panel60, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
397 tabSearch = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE|wxHSCROLL|wxVSCROLL );
\r
398 tabSearch->SetScrollRate( 5, 5 );
\r
399 szrSearch = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
400 szrSearch->AddGrowableCol( 0 );
\r
401 szrSearch->SetFlexibleDirection( wxVERTICAL );
\r
402 szrSearch->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
405 tabSearch->SetSizer( szrSearch );
\r
406 tabSearch->Layout();
\r
407 szrSearch->Fit( tabSearch );
\r
408 nbkSearch->AddPage( tabSearch, wxT("Search"), true );
\r
409 tabAdvanced = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
410 tabAdvanced->SetScrollRate( 5, 5 );
\r
411 wxBoxSizer* bSizer384;
\r
412 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
414 btnSelectAccounts = new wxButton( tabAdvanced, wxID_ANY, wxT("Select Accounts..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
415 bSizer384->Add( btnSelectAccounts, 0, wxALL, 5 );
\r
418 tabAdvanced->SetSizer( bSizer384 );
\r
419 tabAdvanced->Layout();
\r
420 bSizer384->Fit( tabAdvanced );
\r
421 nbkSearch->AddPage( tabAdvanced, wxT("Advanced"), false );
\r
423 bSizer369->Add( nbkSearch, 1, wxEXPAND | wxALL, 5 );
\r
425 wxBoxSizer* bSizer371;
\r
426 bSizer371 = new wxBoxSizer( wxVERTICAL );
\r
428 btnSearch = new wxButton( m_panel60, wxID_ANY, wxT("Search"), wxDefaultPosition, wxDefaultSize, 0 );
\r
429 bSizer371->Add( btnSearch, 0, wxALL, 5 );
\r
431 btnReset = new wxButton( m_panel60, wxID_ANY, wxT("Reset"), wxDefaultPosition, wxDefaultSize, 0 );
\r
432 bSizer371->Add( btnReset, 0, wxALL, 5 );
\r
435 bSizer369->Add( bSizer371, 0, wxEXPAND, 5 );
\r
438 bSizer382->Add( bSizer369, 1, wxEXPAND, 5 );
\r
441 m_panel60->SetSizer( bSizer382 );
\r
442 m_panel60->Layout();
\r
443 bSizer382->Fit( m_panel60 );
\r
444 m_panel61 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
445 wxBoxSizer* bSizer386;
\r
446 bSizer386 = new wxBoxSizer( wxVERTICAL );
\r
448 lstResults = new wxListCtrl( m_panel61, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
449 bSizer386->Add( lstResults, 1, wxALL|wxEXPAND, 5 );
\r
452 m_panel61->SetSizer( bSizer386 );
\r
453 m_panel61->Layout();
\r
454 bSizer386->Fit( m_panel61 );
\r
455 m_splitter4->SplitHorizontally( m_panel60, m_panel61, 178 );
\r
456 bSizer368->Add( m_splitter4, 1, wxEXPAND, 5 );
\r
459 this->SetSizer( bSizer368 );
\r
461 m_menubar5 = new wxMenuBar( 0 );
\r
462 mnuContact = new wxMenu();
\r
463 wxMenuItem* mnuContactOpen;
\r
464 mnuContactOpen = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Open Contact...") ) + wxT('\t') + wxT("CTRL+O"), wxEmptyString, wxITEM_NORMAL );
\r
465 mnuContact->Append( mnuContactOpen );
\r
467 mnuContactEdit = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL );
\r
468 mnuContact->Append( mnuContactEdit );
\r
470 mnuContactReveal = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Reveal Contact") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
471 mnuContact->Append( mnuContactReveal );
\r
473 mnuContact->AppendSeparator();
\r
475 wxMenuItem* mnuContactClose;
\r
476 mnuContactClose = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
477 mnuContact->Append( mnuContactClose );
\r
479 m_menubar5->Append( mnuContact, wxT("Contact") );
\r
481 this->SetMenuBar( m_menubar5 );
\r
484 this->Centre( wxBOTH );
\r
487 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
\r
488 btnSelectAccounts->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
\r
489 btnSearch->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
\r
490 btnReset->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
\r
491 this->Connect( mnuContactOpen->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
\r
492 this->Connect( mnuContactEdit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
\r
493 this->Connect( mnuContactReveal->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
\r
494 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
\r
497 frmSearchADT::~frmSearchADT()
\r
499 // Disconnect Events
\r
500 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) );
\r
501 btnSelectAccounts->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this );
\r
502 btnSearch->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this );
\r
503 btnReset->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this );
\r
504 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) );
\r
505 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) );
\r
506 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) );
\r
507 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) );
\r
511 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
513 this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) );
\r
515 wxBoxSizer* szrMain;
\r
516 szrMain = new wxBoxSizer( wxVERTICAL );
\r
518 wxBoxSizer* szrTabs;
\r
519 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
521 NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
522 tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
523 wxBoxSizer* szrChecks;
\r
524 szrChecks = new wxBoxSizer( wxVERTICAL );
\r
526 chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
\r
527 szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 );
\r
529 chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 );
\r
530 szrChecks->Add( chkHideLocal, 0, wxALL, 5 );
\r
533 tabGeneral->SetSizer( szrChecks );
\r
534 tabGeneral->Layout();
\r
535 szrChecks->Fit( tabGeneral );
\r
536 NbtPreferences->AddPage( tabGeneral, wxT("General"), true );
\r
537 tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
540 wxGridSizer* szrTheme;
\r
541 szrTheme = new wxGridSizer( 1, 1, 0, 0 );
\r
543 wxBoxSizer* bSizer161;
\r
544 bSizer161 = new wxBoxSizer( wxVERTICAL );
\r
546 lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
547 bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
\r
549 wxBoxSizer* bSizer151;
\r
550 bSizer151 = new wxBoxSizer( wxHORIZONTAL );
\r
552 btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
553 bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
\r
555 btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
556 btnThemeModify->Enable( false );
\r
558 bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
\r
560 btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
561 btnThemeDelete->Enable( false );
\r
563 bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
\r
566 bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
\r
569 szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
\r
572 tabTheme->SetSizer( szrTheme );
\r
573 tabTheme->Layout();
\r
574 szrTheme->Fit( tabTheme );
\r
575 NbtPreferences->AddPage( tabTheme, wxT("Themes"), false );
\r
576 tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
577 wxGridSizer* szrAccounts;
\r
578 szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
\r
580 wxBoxSizer* bSizer16;
\r
581 bSizer16 = new wxBoxSizer( wxVERTICAL );
\r
583 lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
584 bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
\r
586 wxBoxSizer* bSizer15;
\r
587 bSizer15 = new wxBoxSizer( wxHORIZONTAL );
\r
589 btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
590 bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
\r
592 btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
593 btnAccountModify->Enable( false );
\r
595 bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
\r
597 btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
598 btnAccountDelete->Enable( false );
\r
600 bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
\r
603 bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
\r
606 szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
\r
609 tabAccounts->SetSizer( szrAccounts );
\r
610 tabAccounts->Layout();
\r
611 szrAccounts->Fit( tabAccounts );
\r
612 NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false );
\r
614 szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
\r
617 szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
\r
619 wxBoxSizer* szrButtons;
\r
620 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
623 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
625 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
626 btnSave->SetDefault();
\r
627 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
630 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
632 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
633 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
636 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
639 szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
642 this->SetSizer( szrMain );
\r
645 this->Centre( wxBOTH );
\r
648 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
\r
649 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
650 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
651 btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
652 btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
653 btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
654 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
655 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
656 btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
657 btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
658 btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
659 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
\r
660 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
\r
663 frmPreferencesADT::~frmPreferencesADT()
\r
665 // Disconnect Events
\r
666 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
\r
667 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
668 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
669 btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
670 btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
671 btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
672 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
\r
673 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
\r
674 btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
\r
675 btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
\r
676 btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
\r
677 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
\r
678 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
\r
682 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
684 this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
\r
686 wxBoxSizer* szrMain;
\r
687 szrMain = new wxBoxSizer( wxVERTICAL );
\r
689 wxBoxSizer* szrLogo;
\r
690 szrLogo = new wxBoxSizer( wxVERTICAL );
\r
692 szrLogo->SetMinSize( wxSize( 350,100 ) );
\r
693 bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
\r
694 szrLogo->Add( bmpLogo, 0, wxALL, 0 );
\r
697 szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
\r
699 wxBoxSizer* szrDetails;
\r
700 szrDetails = new wxBoxSizer( wxVERTICAL );
\r
702 lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
\r
703 lblVersion->Wrap( -1 );
\r
704 lblVersion->SetFont( wxFont( 14, 70, 90, 92, false, wxEmptyString ) );
\r
706 szrDetails->Add( lblVersion, 0, wxALL, 5 );
\r
708 lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
\r
709 lblCompileTime->Wrap( -1 );
\r
710 szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
\r
712 lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
\r
713 lblCopyright->Wrap( -1 );
\r
714 szrDetails->Add( lblCopyright, 0, wxALL, 5 );
\r
717 szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
\r
719 wxBoxSizer* szrButtons;
\r
720 szrButtons = new wxBoxSizer( wxVERTICAL );
\r
722 szrButtons->SetMinSize( wxSize( -1,35 ) );
\r
723 btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
724 szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
727 szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
\r
730 this->SetSizer( szrMain );
\r
733 this->Centre( wxBOTH );
\r
736 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
\r
739 frmAboutADT::~frmAboutADT()
\r
741 // Disconnect Events
\r
742 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
\r
746 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
748 this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize );
\r
750 wxBoxSizer* bSizer13;
\r
751 bSizer13 = new wxBoxSizer( wxVERTICAL );
\r
753 htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
754 bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 );
\r
757 this->SetSizer( bSizer13 );
\r
759 m_menubar2 = new wxMenuBar( 0 );
\r
760 contact = new wxMenu();
\r
761 wxMenuItem* mnuContactClose;
\r
762 mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL );
\r
763 contact->Append( mnuContactClose );
\r
765 m_menubar2->Append( contact, wxT("Contact") );
\r
767 this->SetMenuBar( m_menubar2 );
\r
770 this->Centre( wxBOTH );
\r
773 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
\r
774 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
\r
777 frmContactADT::~frmContactADT()
\r
779 // Disconnect Events
\r
780 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) );
\r
781 this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) );
\r
785 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
787 this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
\r
789 wxFlexGridSizer* fgSizer30;
\r
790 fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
791 fgSizer30->AddGrowableCol( 0 );
\r
792 fgSizer30->AddGrowableRow( 0 );
\r
793 fgSizer30->SetFlexibleDirection( wxBOTH );
\r
794 fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
796 szrNewAccount = new wxBoxSizer( wxVERTICAL );
\r
798 tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
799 wxFlexGridSizer* fgSizer32;
\r
800 fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
801 fgSizer32->AddGrowableCol( 0 );
\r
802 fgSizer32->SetFlexibleDirection( wxBOTH );
\r
803 fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
\r
805 lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
\r
806 lblEnterText->Wrap( -1 );
\r
807 fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
\r
809 wxFlexGridSizer* fgSizer33;
\r
810 fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
811 fgSizer33->AddGrowableCol( 1 );
\r
812 fgSizer33->AddGrowableRow( 0 );
\r
813 fgSizer33->SetFlexibleDirection( wxBOTH );
\r
814 fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
\r
816 lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
817 lblType->Wrap( -1 );
\r
818 fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
820 wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") };
\r
821 int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
\r
822 cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
\r
823 cmbServerType->SetSelection( 1 );
\r
824 fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
\r
826 lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
827 lblServerAddress->Wrap( -1 );
\r
828 fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
830 txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
831 txtServerAddress->SetMaxLength( 0 );
\r
832 fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
\r
834 lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
835 lblServerPort->Wrap( -1 );
\r
836 fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
838 txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
839 txtServerPort->SetMaxLength( 0 );
\r
840 fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
\r
842 lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
843 lblUsername->Wrap( -1 );
\r
844 fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
846 txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
847 txtUsername->SetMaxLength( 0 );
\r
848 fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
\r
850 lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
851 lblPassword->Wrap( -1 );
\r
852 fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
854 txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
\r
855 txtPassword->SetMaxLength( 0 );
\r
856 fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
858 lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
859 lblSSL->Wrap( -1 );
\r
860 fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
862 wxBoxSizer* bSizer3221;
\r
863 bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
\r
865 chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
866 chkUseSSL->SetValue(true);
\r
867 bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
\r
870 fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
\r
873 fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
\r
876 tabType->SetSizer( fgSizer32 );
\r
878 fgSizer32->Fit( tabType );
\r
879 szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
\r
881 tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
884 wxBoxSizer* bSizer323;
\r
885 bSizer323 = new wxBoxSizer( wxVERTICAL );
\r
887 lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
888 lblConnectionResult->Wrap( -1 );
\r
889 lblConnectionResult->SetFont( wxFont( 9, 74, 90, 92, false, wxT("Sans") ) );
\r
891 bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
\r
893 wxFlexGridSizer* fgSizer34;
\r
894 fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
895 fgSizer34->SetFlexibleDirection( wxBOTH );
\r
896 fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
898 lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
899 lblServerConnected->Wrap( -1 );
\r
900 fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
\r
902 lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
903 lblServerConnResult->Wrap( -1 );
\r
904 fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
\r
906 lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
907 lblValidResponse->Wrap( -1 );
\r
908 fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
\r
910 lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
911 lblServerResponse->Wrap( -1 );
\r
912 fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
\r
914 lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
915 lblUseSSL->Wrap( -1 );
\r
916 fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
\r
918 lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
919 lblServerSSLResult->Wrap( -1 );
\r
920 fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
\r
922 lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
923 lblServerSSLCert->Wrap( -1 );
\r
924 fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
\r
926 lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
927 lblServerSSLValid->Wrap( -1 );
\r
928 fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
\r
930 lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
931 lblServerUsernamePassword->Wrap( -1 );
\r
932 fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
\r
934 lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
935 lblAbleToLoginResult->Wrap( -1 );
\r
936 fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
\r
938 lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
939 lblIsCalDAV->Wrap( -1 );
\r
940 fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
\r
942 lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
943 lblCardDAVSupportResult->Wrap( -1 );
\r
944 fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 );
\r
947 bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
\r
949 m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
950 bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
\r
952 lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
953 lblConnectionResultText->Wrap( 360 );
\r
954 lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
\r
956 bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
\r
959 tabConn->SetSizer( bSizer323 );
\r
961 bSizer323->Fit( tabConn );
\r
962 szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
\r
964 tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
967 wxBoxSizer* bSizer3231;
\r
968 bSizer3231 = new wxBoxSizer( wxVERTICAL );
\r
970 lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
\r
971 lblFinishText->Wrap( -1 );
\r
972 bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
\r
974 wxFlexGridSizer* fgSizer341;
\r
975 fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
976 fgSizer341->AddGrowableCol( 1 );
\r
977 fgSizer341->SetFlexibleDirection( wxBOTH );
\r
978 fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
980 lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
981 lblAccountName->Wrap( -1 );
\r
982 fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
984 txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
985 txtAccountName->SetMaxLength( 0 );
\r
986 fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
989 bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
\r
992 tabFinish->SetSizer( bSizer3231 );
\r
993 tabFinish->Layout();
\r
994 bSizer3231->Fit( tabFinish );
\r
995 szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
\r
998 fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
\r
1000 wxBoxSizer* bSizer322;
\r
1001 bSizer322 = new wxBoxSizer( wxHORIZONTAL );
\r
1003 btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1004 bSizer322->Add( btnPrevious, 0, wxALL, 5 );
\r
1006 btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1007 btnNext->SetDefault();
\r
1008 bSizer322->Add( btnNext, 0, wxALL, 5 );
\r
1010 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1011 bSizer322->Add( btnClose, 0, wxALL, 5 );
\r
1014 fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
\r
1017 this->SetSizer( fgSizer30 );
\r
1020 this->Centre( wxBOTH );
\r
1023 cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
\r
1024 txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
\r
1025 btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
\r
1026 btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
\r
1027 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
\r
1030 frmNewAccountADT::~frmNewAccountADT()
\r
1032 // Disconnect Events
\r
1033 cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
\r
1034 txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
\r
1035 btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
\r
1036 btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
\r
1037 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
\r
1041 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
1043 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
1044 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
1046 wxBoxSizer* bSizer17;
\r
1047 bSizer17 = new wxBoxSizer( wxVERTICAL );
\r
1049 nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
1050 tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
1051 tabGeneral->SetScrollRate( 5, 5 );
\r
1052 wxBoxSizer* bSizer18;
\r
1053 bSizer18 = new wxBoxSizer( wxVERTICAL );
\r
1055 wxGridSizer* gSizer7;
\r
1056 gSizer7 = new wxGridSizer( 0, 6, 0, 0 );
\r
1058 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1059 lblTitle->Wrap( -1 );
\r
1060 gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1062 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1063 txtTitle->SetMaxLength( 0 );
\r
1064 gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
1067 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1070 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1073 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1076 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1078 lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1079 lblForename->Wrap( -1 );
\r
1080 gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1082 txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1083 txtForename->SetMaxLength( 0 );
\r
1084 gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 );
\r
1086 lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1087 lblSurname->Wrap( -1 );
\r
1088 gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1090 txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1091 txtSurname->SetMaxLength( 0 );
\r
1092 gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 );
\r
1094 lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1095 lblOtherNames->Wrap( -1 );
\r
1096 gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1098 txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1099 txtOtherNames->SetMaxLength( 0 );
\r
1100 gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 );
\r
1102 lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1103 lblSuffix->Wrap( -1 );
\r
1104 gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1106 txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1107 txtSuffix->SetMaxLength( 0 );
\r
1108 gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 );
\r
1111 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1114 gSizer7->Add( 0, 0, 1, wxEXPAND, 5 );
\r
1117 bSizer18->Add( gSizer7, 0, wxEXPAND, 5 );
\r
1119 wxFlexGridSizer* fgSizer5;
\r
1120 fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
1121 fgSizer5->AddGrowableCol( 1 );
\r
1122 fgSizer5->SetFlexibleDirection( wxBOTH );
\r
1123 fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
1125 lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 );
\r
1126 lblDisplayAs->Wrap( -1 );
\r
1127 fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1129 cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
1130 fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 );
\r
1132 lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1133 lblBirthday->Wrap( -1 );
\r
1134 fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1136 wxBoxSizer* bSizer318;
\r
1137 bSizer318 = new wxBoxSizer( wxHORIZONTAL );
\r
1139 dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
\r
1140 dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) );
\r
1141 dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
\r
1142 dapBirthday->SetMinSize( wxSize( -1,25 ) );
\r
1144 bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 );
\r
1146 txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1147 txtBirthday->SetMaxLength( 0 );
\r
1148 bSizer318->Add( txtBirthday, 1, wxALL, 5 );
\r
1151 fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 );
\r
1153 lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1154 lblAnniversary->Wrap( -1 );
\r
1155 fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1157 wxBoxSizer* bSizer319;
\r
1158 bSizer319 = new wxBoxSizer( wxHORIZONTAL );
\r
1160 dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
\r
1161 dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") );
\r
1162 dapAnniversary->SetMinSize( wxSize( -1,25 ) );
\r
1164 bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 );
\r
1166 txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1167 txtAnniversary->SetMaxLength( 0 );
\r
1168 bSizer319->Add( txtAnniversary, 1, wxALL, 5 );
\r
1171 fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 );
\r
1173 lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1174 lblGender->Wrap( -1 );
\r
1175 fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1177 wxBoxSizer* bSizer20;
\r
1178 bSizer20 = new wxBoxSizer( wxHORIZONTAL );
\r
1180 wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") };
\r
1181 int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString );
\r
1182 cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 );
\r
1183 cmbGender->SetSelection( 0 );
\r
1184 bSizer20->Add( cmbGender, 0, wxALL, 5 );
\r
1186 txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
1187 txtGenderDescription->SetMaxLength( 0 );
\r
1188 bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1191 fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 );
\r
1193 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1194 lblType->Wrap( -1 );
\r
1195 fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
1197 wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") };
\r
1198 int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString );
\r
1199 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 );
\r
1200 cmbType->SetSelection( 0 );
\r
1201 fgSizer5->Add( cmbType, 0, wxALL, 5 );
\r
1203 lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1204 lblNicknames->Wrap( -1 );
\r
1205 fgSizer5->Add( lblNicknames, 0, wxALL, 5 );
\r
1207 wxBoxSizer* szrNicknames;
\r
1208 szrNicknames = new wxBoxSizer( wxHORIZONTAL );
\r
1210 lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1211 szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 );
\r
1213 wxBoxSizer* szrAddressesOuter3;
\r
1214 szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL );
\r
1216 wxBoxSizer* bSizer464;
\r
1217 bSizer464 = new wxBoxSizer( wxHORIZONTAL );
\r
1219 wxBoxSizer* bSizer474;
\r
1220 bSizer474 = new wxBoxSizer( wxVERTICAL );
\r
1222 btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1223 bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 );
\r
1225 btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1226 bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 );
\r
1228 btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1229 bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 );
\r
1232 bSizer464->Add( bSizer474, 1, wxEXPAND, 5 );
\r
1235 szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 );
\r
1238 szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 );
\r
1241 fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 );
\r
1243 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1244 lblAddress->Wrap( -1 );
\r
1245 fgSizer5->Add( lblAddress, 0, wxALL, 5 );
\r
1247 wxBoxSizer* szrAddresses;
\r
1248 szrAddresses = new wxBoxSizer( wxHORIZONTAL );
\r
1250 lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1251 szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 );
\r
1253 wxBoxSizer* szrAddressesOuter;
\r
1254 szrAddressesOuter = new wxBoxSizer( wxVERTICAL );
\r
1256 wxBoxSizer* bSizer46;
\r
1257 bSizer46 = new wxBoxSizer( wxHORIZONTAL );
\r
1259 wxBoxSizer* bSizer47;
\r
1260 bSizer47 = new wxBoxSizer( wxVERTICAL );
\r
1262 btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1263 bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 );
\r
1265 btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1266 bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 );
\r
1268 btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1269 bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 );
\r
1272 bSizer46->Add( bSizer47, 1, wxEXPAND, 5 );
\r
1275 szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 );
\r
1278 szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 );
\r
1281 fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 );
\r
1283 lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1284 lblEmail->Wrap( -1 );
\r
1285 fgSizer5->Add( lblEmail, 0, wxALL, 5 );
\r
1287 wxBoxSizer* bSizer301;
\r
1288 bSizer301 = new wxBoxSizer( wxHORIZONTAL );
\r
1290 lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1291 bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 );
\r
1293 wxBoxSizer* bSizer351;
\r
1294 bSizer351 = new wxBoxSizer( wxVERTICAL );
\r
1296 wxBoxSizer* bSizer461;
\r
1297 bSizer461 = new wxBoxSizer( wxHORIZONTAL );
\r
1299 wxBoxSizer* bSizer471;
\r
1300 bSizer471 = new wxBoxSizer( wxVERTICAL );
\r
1302 btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1303 bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 );
\r
1305 btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1306 bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 );
\r
1308 btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1309 bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 );
\r
1312 bSizer461->Add( bSizer471, 1, wxEXPAND, 5 );
\r
1315 bSizer351->Add( bSizer461, 1, wxEXPAND, 5 );
\r
1318 bSizer301->Add( bSizer351, 0, wxEXPAND, 5 );
\r
1321 fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 );
\r
1323 lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1325 fgSizer5->Add( lblIM, 0, wxALL, 5 );
\r
1327 wxBoxSizer* bSizer3011;
\r
1328 bSizer3011 = new wxBoxSizer( wxHORIZONTAL );
\r
1330 lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1331 bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 );
\r
1333 wxBoxSizer* bSizer3511;
\r
1334 bSizer3511 = new wxBoxSizer( wxVERTICAL );
\r
1336 wxBoxSizer* bSizer4611;
\r
1337 bSizer4611 = new wxBoxSizer( wxHORIZONTAL );
\r
1339 wxBoxSizer* bSizer4711;
\r
1340 bSizer4711 = new wxBoxSizer( wxVERTICAL );
\r
1342 btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1343 bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 );
\r
1345 btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1346 bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 );
\r
1348 btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1349 bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 );
\r
1352 bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 );
\r
1355 bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 );
\r
1358 bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 );
\r
1361 fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 );
\r
1363 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1364 lblTelephone->Wrap( 0 );
\r
1365 fgSizer5->Add( lblTelephone, 0, wxALL, 5 );
\r
1367 wxBoxSizer* bSizer30111;
\r
1368 bSizer30111 = new wxBoxSizer( wxHORIZONTAL );
\r
1370 lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1371 bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 );
\r
1373 wxBoxSizer* bSizer35111;
\r
1374 bSizer35111 = new wxBoxSizer( wxVERTICAL );
\r
1376 wxBoxSizer* bSizer46111;
\r
1377 bSizer46111 = new wxBoxSizer( wxHORIZONTAL );
\r
1379 wxBoxSizer* bSizer47111;
\r
1380 bSizer47111 = new wxBoxSizer( wxVERTICAL );
\r
1382 btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1383 bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 );
\r
1385 btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1386 bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 );
\r
1388 btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1389 bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 );
\r
1392 bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 );
\r
1395 bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 );
\r
1398 bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 );
\r
1401 fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 );
\r
1403 lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1404 lblLanguages->Wrap( 0 );
\r
1405 fgSizer5->Add( lblLanguages, 0, wxALL, 5 );
\r
1407 wxBoxSizer* bSizer301111;
\r
1408 bSizer301111 = new wxBoxSizer( wxHORIZONTAL );
\r
1410 lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1411 bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 );
\r
1413 wxBoxSizer* bSizer351111;
\r
1414 bSizer351111 = new wxBoxSizer( wxVERTICAL );
\r
1416 wxBoxSizer* bSizer461111;
\r
1417 bSizer461111 = new wxBoxSizer( wxHORIZONTAL );
\r
1419 wxBoxSizer* bSizer471111;
\r
1420 bSizer471111 = new wxBoxSizer( wxVERTICAL );
\r
1422 btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1423 bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 );
\r
1425 btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1426 bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 );
\r
1428 btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1429 bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 );
\r
1432 bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 );
\r
1435 bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 );
\r
1438 bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 );
\r
1441 fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 );
\r
1443 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1444 lblTimezone->Wrap( 0 );
\r
1445 fgSizer5->Add( lblTimezone, 0, wxALL, 5 );
\r
1447 wxBoxSizer* bSizer3011111;
\r
1448 bSizer3011111 = new wxBoxSizer( wxHORIZONTAL );
\r
1450 lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1451 bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 );
\r
1453 wxBoxSizer* bSizer3511111;
\r
1454 bSizer3511111 = new wxBoxSizer( wxVERTICAL );
\r
1456 wxBoxSizer* bSizer4611111;
\r
1457 bSizer4611111 = new wxBoxSizer( wxHORIZONTAL );
\r
1459 wxBoxSizer* bSizer4711111;
\r
1460 bSizer4711111 = new wxBoxSizer( wxVERTICAL );
\r
1462 btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1463 bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 );
\r
1465 btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1466 bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 );
\r
1468 btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1469 bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 );
\r
1472 bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 );
\r
1475 bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 );
\r
1478 bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 );
\r
1481 fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 );
\r
1483 lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1484 lblGeopositioning->Wrap( -1 );
\r
1485 fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 );
\r
1487 wxBoxSizer* bSizer30111114;
\r
1488 bSizer30111114 = new wxBoxSizer( wxHORIZONTAL );
\r
1490 lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1491 bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
1493 wxBoxSizer* bSizer35111114;
\r
1494 bSizer35111114 = new wxBoxSizer( wxVERTICAL );
\r
1496 wxBoxSizer* bSizer46111114;
\r
1497 bSizer46111114 = new wxBoxSizer( wxHORIZONTAL );
\r
1499 wxBoxSizer* bSizer47111114;
\r
1500 bSizer47111114 = new wxBoxSizer( wxVERTICAL );
\r
1502 btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1503 bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 );
\r
1505 btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1506 bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 );
\r
1508 btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1509 bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 );
\r
1512 bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 );
\r
1515 bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 );
\r
1518 bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 );
\r
1521 fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 );
\r
1523 lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1524 lblRelated->Wrap( 1 );
\r
1525 fgSizer5->Add( lblRelated, 0, wxALL, 5 );
\r
1527 wxBoxSizer* bSizer30111111;
\r
1528 bSizer30111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1530 lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1531 bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 );
\r
1533 wxBoxSizer* bSizer35111111;
\r
1534 bSizer35111111 = new wxBoxSizer( wxVERTICAL );
\r
1536 wxBoxSizer* bSizer46111111;
\r
1537 bSizer46111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1539 wxBoxSizer* bSizer47111111;
\r
1540 bSizer47111111 = new wxBoxSizer( wxVERTICAL );
\r
1542 btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1543 bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 );
\r
1545 btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1546 bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 );
\r
1548 btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1549 bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 );
\r
1552 bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 );
\r
1555 bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 );
\r
1558 bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 );
\r
1561 fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 );
\r
1563 lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1564 lblWebsites->Wrap( 1 );
\r
1565 fgSizer5->Add( lblWebsites, 0, wxALL, 5 );
\r
1567 wxBoxSizer* bSizer301111111;
\r
1568 bSizer301111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1570 lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1571 bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 );
\r
1573 wxBoxSizer* bSizer351111111;
\r
1574 bSizer351111111 = new wxBoxSizer( wxVERTICAL );
\r
1576 wxBoxSizer* bSizer461111111;
\r
1577 bSizer461111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1579 wxBoxSizer* bSizer471111111;
\r
1580 bSizer471111111 = new wxBoxSizer( wxVERTICAL );
\r
1582 btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1583 bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 );
\r
1585 btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1586 bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 );
\r
1588 btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1589 bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 );
\r
1592 bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 );
\r
1595 bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 );
\r
1598 bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 );
\r
1601 fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 );
\r
1603 lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1604 lblTitles->Wrap( 1 );
\r
1605 fgSizer5->Add( lblTitles, 0, wxALL, 5 );
\r
1607 wxBoxSizer* bSizer3011111111;
\r
1608 bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1610 lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1611 bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 );
\r
1613 wxBoxSizer* bSizer3511111111;
\r
1614 bSizer3511111111 = new wxBoxSizer( wxVERTICAL );
\r
1616 wxBoxSizer* bSizer4611111111;
\r
1617 bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1619 wxBoxSizer* bSizer4711111111;
\r
1620 bSizer4711111111 = new wxBoxSizer( wxVERTICAL );
\r
1622 btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1623 bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 );
\r
1625 btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1626 bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 );
\r
1628 btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1629 bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 );
\r
1632 bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 );
\r
1635 bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 );
\r
1638 bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 );
\r
1641 fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 );
\r
1643 lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1644 lblRoles->Wrap( 1 );
\r
1645 fgSizer5->Add( lblRoles, 0, wxALL, 5 );
\r
1647 wxBoxSizer* bSizer30111111111;
\r
1648 bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1650 lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1651 bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 );
\r
1653 wxBoxSizer* bSizer35111111111;
\r
1654 bSizer35111111111 = new wxBoxSizer( wxVERTICAL );
\r
1656 wxBoxSizer* bSizer46111111111;
\r
1657 bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1659 wxBoxSizer* bSizer47111111111;
\r
1660 bSizer47111111111 = new wxBoxSizer( wxVERTICAL );
\r
1662 btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1663 bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 );
\r
1665 btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1666 bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 );
\r
1668 btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1669 bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 );
\r
1672 bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 );
\r
1675 bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 );
\r
1678 bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 );
\r
1681 fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 );
\r
1683 lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1684 lblOrganisations->Wrap( 1 );
\r
1685 fgSizer5->Add( lblOrganisations, 0, wxALL, 5 );
\r
1687 wxBoxSizer* bSizer301111111111;
\r
1688 bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1690 lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1691 bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
1693 wxBoxSizer* bSizer351111111111;
\r
1694 bSizer351111111111 = new wxBoxSizer( wxVERTICAL );
\r
1696 wxBoxSizer* bSizer461111111111;
\r
1697 bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1699 wxBoxSizer* bSizer471111111111;
\r
1700 bSizer471111111111 = new wxBoxSizer( wxVERTICAL );
\r
1702 btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1703 bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 );
\r
1705 btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1706 bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 );
\r
1708 btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1709 bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 );
\r
1712 bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 );
\r
1715 bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 );
\r
1718 bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 );
\r
1721 fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 );
\r
1723 lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1724 lblNotes->Wrap( 1 );
\r
1725 fgSizer5->Add( lblNotes, 0, wxALL, 5 );
\r
1727 wxBoxSizer* bSizer3011111111111;
\r
1728 bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1730 lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1731 bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 );
\r
1733 wxBoxSizer* bSizer3511111111111;
\r
1734 bSizer3511111111111 = new wxBoxSizer( wxVERTICAL );
\r
1736 wxBoxSizer* bSizer4611111111111;
\r
1737 bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
1739 wxBoxSizer* bSizer4711111111111;
\r
1740 bSizer4711111111111 = new wxBoxSizer( wxVERTICAL );
\r
1742 btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1743 bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 );
\r
1745 btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1746 bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 );
\r
1748 btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1749 bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 );
\r
1752 bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 );
\r
1755 bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 );
\r
1758 bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 );
\r
1761 fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 );
\r
1764 bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 );
\r
1767 tabGeneral->SetSizer( bSizer18 );
\r
1768 tabGeneral->Layout();
\r
1769 bSizer18->Fit( tabGeneral );
\r
1770 nbkContact->AddPage( tabGeneral, wxT("General"), false );
\r
1771 tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
1772 tabHome->SetScrollRate( 5, 5 );
\r
1773 wxBoxSizer* bSizer181;
\r
1774 bSizer181 = new wxBoxSizer( wxVERTICAL );
\r
1776 wxGridSizer* gSizer71;
\r
1777 gSizer71 = new wxGridSizer( 2, 6, 0, 0 );
\r
1780 bSizer181->Add( gSizer71, 0, wxEXPAND, 5 );
\r
1782 wxFlexGridSizer* fgSizer51;
\r
1783 fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
1784 fgSizer51->AddGrowableCol( 1 );
\r
1785 fgSizer51->SetFlexibleDirection( wxBOTH );
\r
1786 fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
1788 lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1789 lblHomeNickname->Wrap( 0 );
\r
1790 fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 );
\r
1792 wxBoxSizer* szrAddresses12;
\r
1793 szrAddresses12 = new wxBoxSizer( wxHORIZONTAL );
\r
1795 lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1796 szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 );
\r
1798 wxBoxSizer* szrAddressesOuter11;
\r
1799 szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
1801 wxBoxSizer* bSizer4622;
\r
1802 bSizer4622 = new wxBoxSizer( wxHORIZONTAL );
\r
1804 wxBoxSizer* bSizer4722;
\r
1805 bSizer4722 = new wxBoxSizer( wxVERTICAL );
\r
1807 btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1808 bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 );
\r
1810 btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1811 bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 );
\r
1813 btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1814 bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 );
\r
1817 bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 );
\r
1820 szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 );
\r
1823 szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 );
\r
1826 fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 );
\r
1828 lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1829 lblHomeAddresses->Wrap( 1 );
\r
1830 fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 );
\r
1832 wxBoxSizer* szrAddresses1;
\r
1833 szrAddresses1 = new wxBoxSizer( wxHORIZONTAL );
\r
1835 lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1836 szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 );
\r
1838 wxBoxSizer* szrAddressesOuter1;
\r
1839 szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL );
\r
1841 wxBoxSizer* bSizer462;
\r
1842 bSizer462 = new wxBoxSizer( wxHORIZONTAL );
\r
1844 wxBoxSizer* bSizer472;
\r
1845 bSizer472 = new wxBoxSizer( wxVERTICAL );
\r
1847 btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1848 bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 );
\r
1850 btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1851 bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 );
\r
1853 btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1854 bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 );
\r
1857 bSizer462->Add( bSizer472, 1, wxEXPAND, 5 );
\r
1860 szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 );
\r
1863 szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 );
\r
1866 fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 );
\r
1868 lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1869 lblHomeEmail->Wrap( 1 );
\r
1870 fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 );
\r
1872 wxBoxSizer* bSizer3012;
\r
1873 bSizer3012 = new wxBoxSizer( wxHORIZONTAL );
\r
1875 lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1876 bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 );
\r
1878 wxBoxSizer* bSizer3512;
\r
1879 bSizer3512 = new wxBoxSizer( wxVERTICAL );
\r
1881 wxBoxSizer* bSizer4612;
\r
1882 bSizer4612 = new wxBoxSizer( wxHORIZONTAL );
\r
1884 wxBoxSizer* bSizer4712;
\r
1885 bSizer4712 = new wxBoxSizer( wxVERTICAL );
\r
1887 btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1888 bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 );
\r
1890 btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1891 bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 );
\r
1893 btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1894 bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 );
\r
1897 bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 );
\r
1900 bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 );
\r
1903 bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 );
\r
1906 fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 );
\r
1908 lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1909 lblHomeIM->Wrap( 0 );
\r
1910 fgSizer51->Add( lblHomeIM, 0, wxALL, 5 );
\r
1912 wxBoxSizer* bSizer30112;
\r
1913 bSizer30112 = new wxBoxSizer( wxHORIZONTAL );
\r
1915 lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1916 bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 );
\r
1918 wxBoxSizer* bSizer35112;
\r
1919 bSizer35112 = new wxBoxSizer( wxVERTICAL );
\r
1921 wxBoxSizer* bSizer46112;
\r
1922 bSizer46112 = new wxBoxSizer( wxHORIZONTAL );
\r
1924 wxBoxSizer* bSizer47112;
\r
1925 bSizer47112 = new wxBoxSizer( wxVERTICAL );
\r
1927 btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1928 bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 );
\r
1930 btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1931 bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 );
\r
1933 btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1934 bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 );
\r
1937 bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 );
\r
1940 bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 );
\r
1943 bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 );
\r
1946 fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 );
\r
1948 lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1949 lblHomeTelephone->Wrap( 0 );
\r
1950 fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 );
\r
1952 wxBoxSizer* bSizer301112;
\r
1953 bSizer301112 = new wxBoxSizer( wxHORIZONTAL );
\r
1955 lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1956 bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 );
\r
1958 wxBoxSizer* bSizer351112;
\r
1959 bSizer351112 = new wxBoxSizer( wxVERTICAL );
\r
1961 wxBoxSizer* bSizer461112;
\r
1962 bSizer461112 = new wxBoxSizer( wxHORIZONTAL );
\r
1964 wxBoxSizer* bSizer471112;
\r
1965 bSizer471112 = new wxBoxSizer( wxVERTICAL );
\r
1967 btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1968 bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 );
\r
1970 btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1971 bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 );
\r
1973 btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1974 bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 );
\r
1977 bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 );
\r
1980 bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 );
\r
1983 bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 );
\r
1986 fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 );
\r
1988 lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
1989 lblHomeLanguages->Wrap( 0 );
\r
1990 fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 );
\r
1992 wxBoxSizer* bSizer3011112;
\r
1993 bSizer3011112 = new wxBoxSizer( wxHORIZONTAL );
\r
1995 lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
1996 bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 );
\r
1998 wxBoxSizer* bSizer3511112;
\r
1999 bSizer3511112 = new wxBoxSizer( wxVERTICAL );
\r
2001 wxBoxSizer* bSizer4611112;
\r
2002 bSizer4611112 = new wxBoxSizer( wxHORIZONTAL );
\r
2004 wxBoxSizer* bSizer4711112;
\r
2005 bSizer4711112 = new wxBoxSizer( wxVERTICAL );
\r
2007 btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2008 bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 );
\r
2010 btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2011 bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 );
\r
2013 btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2014 bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 );
\r
2017 bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 );
\r
2020 bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 );
\r
2023 bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 );
\r
2026 fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 );
\r
2028 lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2029 lblHomeTimezone->Wrap( 0 );
\r
2030 fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 );
\r
2032 wxBoxSizer* bSizer30111112;
\r
2033 bSizer30111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2035 lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2036 bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 );
\r
2038 wxBoxSizer* bSizer35111112;
\r
2039 bSizer35111112 = new wxBoxSizer( wxVERTICAL );
\r
2041 wxBoxSizer* bSizer46111112;
\r
2042 bSizer46111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2044 wxBoxSizer* bSizer47111112;
\r
2045 bSizer47111112 = new wxBoxSizer( wxVERTICAL );
\r
2047 btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2048 bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 );
\r
2050 btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2051 bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 );
\r
2053 btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2054 bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 );
\r
2057 bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 );
\r
2060 bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 );
\r
2063 bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 );
\r
2066 fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 );
\r
2068 lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2069 lblHomeGeopositioning->Wrap( 0 );
\r
2070 fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 );
\r
2072 wxBoxSizer* bSizer301111141;
\r
2073 bSizer301111141 = new wxBoxSizer( wxHORIZONTAL );
\r
2075 lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2076 bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
2078 wxBoxSizer* bSizer351111141;
\r
2079 bSizer351111141 = new wxBoxSizer( wxVERTICAL );
\r
2081 wxBoxSizer* bSizer461111141;
\r
2082 bSizer461111141 = new wxBoxSizer( wxHORIZONTAL );
\r
2084 wxBoxSizer* bSizer471111141;
\r
2085 bSizer471111141 = new wxBoxSizer( wxVERTICAL );
\r
2087 btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2088 bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 );
\r
2090 btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2091 bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 );
\r
2093 btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2094 bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 );
\r
2097 bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 );
\r
2100 bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 );
\r
2103 bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 );
\r
2106 fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 );
\r
2108 lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2109 lblHomeWebsites->Wrap( 1 );
\r
2110 fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 );
\r
2112 wxBoxSizer* bSizer3011111112;
\r
2113 bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2115 lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2116 bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 );
\r
2118 wxBoxSizer* bSizer3511111112;
\r
2119 bSizer3511111112 = new wxBoxSizer( wxVERTICAL );
\r
2121 wxBoxSizer* bSizer4611111112;
\r
2122 bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2124 wxBoxSizer* bSizer4711111112;
\r
2125 bSizer4711111112 = new wxBoxSizer( wxVERTICAL );
\r
2127 btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2128 bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 );
\r
2130 btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2131 bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 );
\r
2133 btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2134 bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 );
\r
2137 bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 );
\r
2140 bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 );
\r
2143 bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 );
\r
2146 fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 );
\r
2148 lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2149 lblHomeTitles->Wrap( 1 );
\r
2150 fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 );
\r
2152 wxBoxSizer* bSizer30111111112;
\r
2153 bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2155 lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2156 bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 );
\r
2158 wxBoxSizer* bSizer35111111112;
\r
2159 bSizer35111111112 = new wxBoxSizer( wxVERTICAL );
\r
2161 wxBoxSizer* bSizer46111111112;
\r
2162 bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2164 wxBoxSizer* bSizer47111111112;
\r
2165 bSizer47111111112 = new wxBoxSizer( wxVERTICAL );
\r
2167 btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2168 bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 );
\r
2170 btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2171 bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 );
\r
2173 btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2174 bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 );
\r
2177 bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 );
\r
2180 bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 );
\r
2183 bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 );
\r
2186 fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 );
\r
2188 lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2189 lblHomeRoles->Wrap( 1 );
\r
2190 fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 );
\r
2192 wxBoxSizer* bSizer301111111112;
\r
2193 bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2195 lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2196 bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 );
\r
2198 wxBoxSizer* bSizer351111111112;
\r
2199 bSizer351111111112 = new wxBoxSizer( wxVERTICAL );
\r
2201 wxBoxSizer* bSizer461111111112;
\r
2202 bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2204 wxBoxSizer* bSizer471111111112;
\r
2205 bSizer471111111112 = new wxBoxSizer( wxVERTICAL );
\r
2207 btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2208 bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 );
\r
2210 btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2211 bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 );
\r
2213 btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2214 bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 );
\r
2217 bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 );
\r
2220 bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 );
\r
2223 bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 );
\r
2226 fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 );
\r
2228 lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2229 lblHomeOrganisations->Wrap( 1 );
\r
2230 fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 );
\r
2232 wxBoxSizer* bSizer3011111111112;
\r
2233 bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2235 lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2236 bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
2238 wxBoxSizer* bSizer3511111111112;
\r
2239 bSizer3511111111112 = new wxBoxSizer( wxVERTICAL );
\r
2241 wxBoxSizer* bSizer4611111111112;
\r
2242 bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2244 wxBoxSizer* bSizer4711111111112;
\r
2245 bSizer4711111111112 = new wxBoxSizer( wxVERTICAL );
\r
2247 btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2248 bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 );
\r
2250 btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2251 bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 );
\r
2253 btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2254 bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 );
\r
2257 bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 );
\r
2260 bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 );
\r
2263 bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 );
\r
2266 fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 );
\r
2268 lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2269 lblHomeNotes->Wrap( 1 );
\r
2270 fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 );
\r
2272 wxBoxSizer* bSizer30111111111111;
\r
2273 bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
2275 lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2276 bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 );
\r
2278 wxBoxSizer* bSizer35111111111111;
\r
2279 bSizer35111111111111 = new wxBoxSizer( wxVERTICAL );
\r
2281 wxBoxSizer* bSizer46111111111111;
\r
2282 bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL );
\r
2284 wxBoxSizer* bSizer47111111111111;
\r
2285 bSizer47111111111111 = new wxBoxSizer( wxVERTICAL );
\r
2287 btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2288 bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 );
\r
2290 btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2291 bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 );
\r
2293 btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2294 bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 );
\r
2297 bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 );
\r
2300 bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 );
\r
2303 bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 );
\r
2306 fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 );
\r
2309 bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 );
\r
2312 tabHome->SetSizer( bSizer181 );
\r
2313 tabHome->Layout();
\r
2314 bSizer181->Fit( tabHome );
\r
2315 nbkContact->AddPage( tabHome, wxT("Home"), false );
\r
2316 tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2317 tabBusiness->SetScrollRate( 5, 5 );
\r
2318 wxBoxSizer* bSizer182;
\r
2319 bSizer182 = new wxBoxSizer( wxVERTICAL );
\r
2321 wxGridSizer* gSizer72;
\r
2322 gSizer72 = new wxGridSizer( 2, 6, 0, 0 );
\r
2325 bSizer182->Add( gSizer72, 0, wxEXPAND, 5 );
\r
2327 wxFlexGridSizer* fgSizer52;
\r
2328 fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
2329 fgSizer52->AddGrowableCol( 1 );
\r
2330 fgSizer52->SetFlexibleDirection( wxBOTH );
\r
2331 fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
2333 lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2334 lblBusinessNickname->Wrap( 0 );
\r
2335 fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 );
\r
2337 wxBoxSizer* szrAddresses22;
\r
2338 szrAddresses22 = new wxBoxSizer( wxHORIZONTAL );
\r
2340 lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2341 szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 );
\r
2343 wxBoxSizer* szrAddressesOuter22;
\r
2344 szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL );
\r
2346 wxBoxSizer* bSizer4632;
\r
2347 bSizer4632 = new wxBoxSizer( wxHORIZONTAL );
\r
2349 wxBoxSizer* bSizer4732;
\r
2350 bSizer4732 = new wxBoxSizer( wxVERTICAL );
\r
2352 btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2353 bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 );
\r
2355 btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2356 bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 );
\r
2358 btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2359 bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 );
\r
2362 bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 );
\r
2365 szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 );
\r
2368 szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 );
\r
2371 fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 );
\r
2373 lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2374 lblBusinessAddress->Wrap( 0 );
\r
2375 fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 );
\r
2377 wxBoxSizer* szrAddresses2;
\r
2378 szrAddresses2 = new wxBoxSizer( wxHORIZONTAL );
\r
2380 lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2381 szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 );
\r
2383 wxBoxSizer* szrAddressesOuter2;
\r
2384 szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL );
\r
2386 wxBoxSizer* bSizer463;
\r
2387 bSizer463 = new wxBoxSizer( wxHORIZONTAL );
\r
2389 wxBoxSizer* bSizer473;
\r
2390 bSizer473 = new wxBoxSizer( wxVERTICAL );
\r
2392 btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2393 bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 );
\r
2395 btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2396 bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 );
\r
2398 btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2399 bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 );
\r
2402 bSizer463->Add( bSizer473, 1, wxEXPAND, 5 );
\r
2405 szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 );
\r
2408 szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 );
\r
2411 fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 );
\r
2413 lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2414 lblBusinessEmail->Wrap( 0 );
\r
2415 fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 );
\r
2417 wxBoxSizer* bSizer3013;
\r
2418 bSizer3013 = new wxBoxSizer( wxHORIZONTAL );
\r
2420 lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2421 bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 );
\r
2423 wxBoxSizer* bSizer3513;
\r
2424 bSizer3513 = new wxBoxSizer( wxVERTICAL );
\r
2426 wxBoxSizer* bSizer4613;
\r
2427 bSizer4613 = new wxBoxSizer( wxHORIZONTAL );
\r
2429 wxBoxSizer* bSizer4713;
\r
2430 bSizer4713 = new wxBoxSizer( wxVERTICAL );
\r
2432 btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2433 bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 );
\r
2435 btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2436 bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 );
\r
2438 btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2439 bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 );
\r
2442 bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 );
\r
2445 bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 );
\r
2448 bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 );
\r
2451 fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 );
\r
2453 lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2454 lblBusinessIM->Wrap( 0 );
\r
2455 fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 );
\r
2457 wxBoxSizer* bSizer30113;
\r
2458 bSizer30113 = new wxBoxSizer( wxHORIZONTAL );
\r
2460 lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2461 bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 );
\r
2463 wxBoxSizer* bSizer35113;
\r
2464 bSizer35113 = new wxBoxSizer( wxVERTICAL );
\r
2466 wxBoxSizer* bSizer46113;
\r
2467 bSizer46113 = new wxBoxSizer( wxHORIZONTAL );
\r
2469 wxBoxSizer* bSizer47113;
\r
2470 bSizer47113 = new wxBoxSizer( wxVERTICAL );
\r
2472 btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2473 bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 );
\r
2475 btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2476 bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 );
\r
2478 btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2479 bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 );
\r
2482 bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 );
\r
2485 bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 );
\r
2488 bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 );
\r
2491 fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 );
\r
2493 lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2494 lblBusinessTelephone->Wrap( 0 );
\r
2495 fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 );
\r
2497 wxBoxSizer* bSizer301113;
\r
2498 bSizer301113 = new wxBoxSizer( wxHORIZONTAL );
\r
2500 lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2501 bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 );
\r
2503 wxBoxSizer* bSizer351113;
\r
2504 bSizer351113 = new wxBoxSizer( wxVERTICAL );
\r
2506 wxBoxSizer* bSizer461113;
\r
2507 bSizer461113 = new wxBoxSizer( wxHORIZONTAL );
\r
2509 wxBoxSizer* bSizer471113;
\r
2510 bSizer471113 = new wxBoxSizer( wxVERTICAL );
\r
2512 btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2513 bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 );
\r
2515 btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2516 bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 );
\r
2518 btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2519 bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 );
\r
2522 bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 );
\r
2525 bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 );
\r
2528 bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 );
\r
2531 fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 );
\r
2533 lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2534 lblBusinessLanguage->Wrap( 0 );
\r
2535 fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 );
\r
2537 wxBoxSizer* bSizer3011113;
\r
2538 bSizer3011113 = new wxBoxSizer( wxHORIZONTAL );
\r
2540 lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2541 bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 );
\r
2543 wxBoxSizer* bSizer3511113;
\r
2544 bSizer3511113 = new wxBoxSizer( wxVERTICAL );
\r
2546 wxBoxSizer* bSizer4611113;
\r
2547 bSizer4611113 = new wxBoxSizer( wxHORIZONTAL );
\r
2549 wxBoxSizer* bSizer4711113;
\r
2550 bSizer4711113 = new wxBoxSizer( wxVERTICAL );
\r
2552 btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2553 bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 );
\r
2555 btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2556 bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 );
\r
2558 btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2559 bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 );
\r
2562 bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 );
\r
2565 bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 );
\r
2568 bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 );
\r
2571 fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 );
\r
2573 lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2574 lblBusinessTimezones->Wrap( 0 );
\r
2575 fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 );
\r
2577 wxBoxSizer* bSizer30111113;
\r
2578 bSizer30111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2580 lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2581 bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 );
\r
2583 wxBoxSizer* bSizer35111113;
\r
2584 bSizer35111113 = new wxBoxSizer( wxVERTICAL );
\r
2586 wxBoxSizer* bSizer46111113;
\r
2587 bSizer46111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2589 wxBoxSizer* bSizer47111113;
\r
2590 bSizer47111113 = new wxBoxSizer( wxVERTICAL );
\r
2592 btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2593 bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 );
\r
2595 btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2596 bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 );
\r
2598 btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2599 bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 );
\r
2602 bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 );
\r
2605 bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 );
\r
2608 bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 );
\r
2611 fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 );
\r
2613 lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2614 lblBusinessGeopositioning->Wrap( 0 );
\r
2615 fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 );
\r
2617 wxBoxSizer* bSizer3011111411;
\r
2618 bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL );
\r
2620 lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2621 bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 );
\r
2623 wxBoxSizer* bSizer3511111411;
\r
2624 bSizer3511111411 = new wxBoxSizer( wxVERTICAL );
\r
2626 wxBoxSizer* bSizer4611111411;
\r
2627 bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL );
\r
2629 wxBoxSizer* bSizer4711111411;
\r
2630 bSizer4711111411 = new wxBoxSizer( wxVERTICAL );
\r
2632 btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2633 bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 );
\r
2635 btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2636 bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 );
\r
2638 btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2639 bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 );
\r
2642 bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 );
\r
2645 bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 );
\r
2648 bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 );
\r
2651 fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 );
\r
2653 lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2654 lblBusinessWebsites->Wrap( 1 );
\r
2655 fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 );
\r
2657 wxBoxSizer* bSizer3011111113;
\r
2658 bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2660 lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2661 bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 );
\r
2663 wxBoxSizer* bSizer3511111113;
\r
2664 bSizer3511111113 = new wxBoxSizer( wxVERTICAL );
\r
2666 wxBoxSizer* bSizer4611111113;
\r
2667 bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2669 wxBoxSizer* bSizer4711111113;
\r
2670 bSizer4711111113 = new wxBoxSizer( wxVERTICAL );
\r
2672 btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2673 bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 );
\r
2675 btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2676 bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 );
\r
2678 btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2679 bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 );
\r
2682 bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 );
\r
2685 bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 );
\r
2688 bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 );
\r
2691 fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 );
\r
2693 lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2694 lblBusinessTitles->Wrap( 1 );
\r
2695 fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 );
\r
2697 wxBoxSizer* bSizer30111111113;
\r
2698 bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2700 lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
2701 bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 );
\r
2703 wxBoxSizer* bSizer35111111113;
\r
2704 bSizer35111111113 = new wxBoxSizer( wxVERTICAL );
\r
2706 wxBoxSizer* bSizer46111111113;
\r
2707 bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2709 wxBoxSizer* bSizer47111111113;
\r
2710 bSizer47111111113 = new wxBoxSizer( wxVERTICAL );
\r
2712 btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2713 bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 );
\r
2715 btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2716 bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 );
\r
2718 btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2719 bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 );
\r
2722 bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 );
\r
2725 bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 );
\r
2728 bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 );
\r
2731 fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 );
\r
2733 lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2734 lblBusinessRoles->Wrap( 1 );
\r
2735 fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 );
\r
2737 wxBoxSizer* bSizer301111111113;
\r
2738 bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2740 lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2741 bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 );
\r
2743 wxBoxSizer* bSizer351111111113;
\r
2744 bSizer351111111113 = new wxBoxSizer( wxVERTICAL );
\r
2746 wxBoxSizer* bSizer461111111113;
\r
2747 bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2749 wxBoxSizer* bSizer471111111113;
\r
2750 bSizer471111111113 = new wxBoxSizer( wxVERTICAL );
\r
2752 btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2753 bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 );
\r
2755 btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2756 bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 );
\r
2758 btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2759 bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 );
\r
2762 bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 );
\r
2765 bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 );
\r
2768 bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 );
\r
2771 fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 );
\r
2773 lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2774 lblBusinessOrganisations->Wrap( 1 );
\r
2775 fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 );
\r
2777 wxBoxSizer* bSizer3011111111113;
\r
2778 bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2780 lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2781 bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 );
\r
2783 wxBoxSizer* bSizer3511111111113;
\r
2784 bSizer3511111111113 = new wxBoxSizer( wxVERTICAL );
\r
2786 wxBoxSizer* bSizer4611111111113;
\r
2787 bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL );
\r
2789 wxBoxSizer* bSizer4711111111113;
\r
2790 bSizer4711111111113 = new wxBoxSizer( wxVERTICAL );
\r
2792 btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2793 bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 );
\r
2795 btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2796 bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 );
\r
2798 btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2799 bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 );
\r
2802 bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 );
\r
2805 bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 );
\r
2808 bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 );
\r
2811 fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 );
\r
2813 lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2814 lblBusinessNotes->Wrap( 1 );
\r
2815 fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 );
\r
2817 wxBoxSizer* bSizer30111111111112;
\r
2818 bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2820 lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2821 bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 );
\r
2823 wxBoxSizer* bSizer35111111111112;
\r
2824 bSizer35111111111112 = new wxBoxSizer( wxVERTICAL );
\r
2826 wxBoxSizer* bSizer46111111111112;
\r
2827 bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL );
\r
2829 wxBoxSizer* bSizer47111111111112;
\r
2830 bSizer47111111111112 = new wxBoxSizer( wxVERTICAL );
\r
2832 btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2833 bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 );
\r
2835 btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2836 bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 );
\r
2838 btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2839 bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 );
\r
2842 bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 );
\r
2845 bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 );
\r
2848 bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 );
\r
2851 fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 );
\r
2854 bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 );
\r
2857 tabBusiness->SetSizer( bSizer182 );
\r
2858 tabBusiness->Layout();
\r
2859 bSizer182->Fit( tabBusiness );
\r
2860 nbkContact->AddPage( tabBusiness, wxT("Business"), false );
\r
2861 tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2862 tabCategories->SetScrollRate( 5, 5 );
\r
2863 wxBoxSizer* szrAddresses11;
\r
2864 szrAddresses11 = new wxBoxSizer( wxHORIZONTAL );
\r
2866 lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2867 szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 );
\r
2869 wxBoxSizer* szrCategoriesOuter;
\r
2870 szrCategoriesOuter = new wxBoxSizer( wxVERTICAL );
\r
2872 wxBoxSizer* bSizer4621;
\r
2873 bSizer4621 = new wxBoxSizer( wxHORIZONTAL );
\r
2875 wxBoxSizer* bSizer4721;
\r
2876 bSizer4721 = new wxBoxSizer( wxVERTICAL );
\r
2878 btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2879 bSizer4721->Add( btnAddCategory, 0, wxALL, 5 );
\r
2881 btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2882 bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 );
\r
2884 btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2885 bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 );
\r
2888 bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 );
\r
2891 szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 );
\r
2894 szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 );
\r
2897 tabCategories->SetSizer( szrAddresses11 );
\r
2898 tabCategories->Layout();
\r
2899 szrAddresses11->Fit( tabCategories );
\r
2900 nbkContact->AddPage( tabCategories, wxT("Categories"), false );
\r
2901 tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2902 tabMembers->SetScrollRate( 5, 5 );
\r
2903 wxBoxSizer* szrAddresses111;
\r
2904 szrAddresses111 = new wxBoxSizer( wxHORIZONTAL );
\r
2906 lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2907 szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 );
\r
2909 wxBoxSizer* szrCategoriesOuter1;
\r
2910 szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL );
\r
2912 wxBoxSizer* bSizer46211;
\r
2913 bSizer46211 = new wxBoxSizer( wxHORIZONTAL );
\r
2915 wxBoxSizer* bSizer47211;
\r
2916 bSizer47211 = new wxBoxSizer( wxVERTICAL );
\r
2918 btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2919 bSizer47211->Add( btnAddGroups, 0, wxALL, 5 );
\r
2921 btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2922 bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 );
\r
2924 btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2925 bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 );
\r
2928 bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 );
\r
2931 szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 );
\r
2934 szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 );
\r
2937 tabMembers->SetSizer( szrAddresses111 );
\r
2938 tabMembers->Layout();
\r
2939 szrAddresses111->Fit( tabMembers );
\r
2940 nbkContact->AddPage( tabMembers, wxT("Members"), false );
\r
2941 tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2942 tabPictures->SetScrollRate( 5, 5 );
\r
2943 wxBoxSizer* bSizer210;
\r
2944 bSizer210 = new wxBoxSizer( wxHORIZONTAL );
\r
2946 imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
2947 bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 );
\r
2949 wxBoxSizer* bSizer211;
\r
2950 bSizer211 = new wxBoxSizer( wxVERTICAL );
\r
2952 lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2953 bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 );
\r
2955 wxBoxSizer* bSizer212;
\r
2956 bSizer212 = new wxBoxSizer( wxVERTICAL );
\r
2958 wxBoxSizer* bSizer213;
\r
2959 bSizer213 = new wxBoxSizer( wxHORIZONTAL );
\r
2961 btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2962 bSizer213->Add( btnAddPicture, 0, wxALL, 5 );
\r
2964 btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2965 bSizer213->Add( btnModifyPicture, 0, wxALL, 5 );
\r
2967 btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
2968 bSizer213->Add( btnDeletePicture, 0, wxALL, 5 );
\r
2971 bSizer212->Add( bSizer213, 1, wxEXPAND, 5 );
\r
2974 bSizer211->Add( bSizer212, 0, wxEXPAND, 5 );
\r
2977 bSizer210->Add( bSizer211, 1, wxEXPAND, 5 );
\r
2980 tabPictures->SetSizer( bSizer210 );
\r
2981 tabPictures->Layout();
\r
2982 bSizer210->Fit( tabPictures );
\r
2983 nbkContact->AddPage( tabPictures, wxT("Pictures"), false );
\r
2984 tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
2985 tabLogo->SetScrollRate( 5, 5 );
\r
2986 wxBoxSizer* bSizer2101;
\r
2987 bSizer2101 = new wxBoxSizer( wxHORIZONTAL );
\r
2989 imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );
\r
2990 bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 );
\r
2992 wxBoxSizer* bSizer2111;
\r
2993 bSizer2111 = new wxBoxSizer( wxVERTICAL );
\r
2995 lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
2996 bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 );
\r
2998 wxBoxSizer* bSizer2121;
\r
2999 bSizer2121 = new wxBoxSizer( wxVERTICAL );
\r
3001 wxBoxSizer* bSizer2131;
\r
3002 bSizer2131 = new wxBoxSizer( wxHORIZONTAL );
\r
3004 btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3005 bSizer2131->Add( btnAddLogo, 0, wxALL, 5 );
\r
3007 btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3008 bSizer2131->Add( btnModifyLogo, 0, wxALL, 5 );
\r
3010 btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3011 bSizer2131->Add( btnDeleteLogo, 0, wxALL, 5 );
\r
3014 bSizer2121->Add( bSizer2131, 1, wxEXPAND, 5 );
\r
3017 bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 );
\r
3020 bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 );
\r
3023 tabLogo->SetSizer( bSizer2101 );
\r
3024 tabLogo->Layout();
\r
3025 bSizer2101->Fit( tabLogo );
\r
3026 nbkContact->AddPage( tabLogo, wxT("Logos"), false );
\r
3027 tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3028 tabSounds->SetScrollRate( 5, 5 );
\r
3029 wxBoxSizer* szrAddresses1111;
\r
3030 szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL );
\r
3032 lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3033 szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 );
\r
3035 wxBoxSizer* szrCategoriesOuter11;
\r
3036 szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL );
\r
3038 wxBoxSizer* bSizer462111;
\r
3039 bSizer462111 = new wxBoxSizer( wxHORIZONTAL );
\r
3041 wxBoxSizer* bSizer472111;
\r
3042 bSizer472111 = new wxBoxSizer( wxVERTICAL );
\r
3044 btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3045 bSizer472111->Add( btnAddSound, 0, wxALL, 5 );
\r
3047 btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3048 bSizer472111->Add( btnModifySound, 0, wxALL, 5 );
\r
3050 btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3051 bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 );
\r
3053 m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
\r
3054 bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
\r
3056 wxBoxSizer* bSizer348;
\r
3057 bSizer348 = new wxBoxSizer( wxHORIZONTAL );
\r
3059 btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3060 btnPlay->SetMinSize( wxSize( -1,32 ) );
\r
3062 bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 );
\r
3064 btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
\r
3065 btnStop->SetMinSize( wxSize( -1,32 ) );
\r
3067 bSizer348->Add( btnStop, 0, wxALL, 5 );
\r
3070 bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 );
\r
3073 bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 );
\r
3076 szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 );
\r
3079 szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 );
\r
3082 tabSounds->SetSizer( szrAddresses1111 );
\r
3083 tabSounds->Layout();
\r
3084 szrAddresses1111->Fit( tabSounds );
\r
3085 nbkContact->AddPage( tabSounds, wxT("Sounds"), true );
\r
3086 tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3087 tabCalendaring->SetScrollRate( 5, 5 );
\r
3088 wxBoxSizer* bSizer1821;
\r
3089 bSizer1821 = new wxBoxSizer( wxVERTICAL );
\r
3091 wxFlexGridSizer* fgSizer521;
\r
3092 fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3093 fgSizer521->AddGrowableCol( 1 );
\r
3094 fgSizer521->SetFlexibleDirection( wxBOTH );
\r
3095 fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3097 lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3098 lblCalendarAddresses->Wrap( 0 );
\r
3099 fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 );
\r
3101 wxBoxSizer* szrAddresses21;
\r
3102 szrAddresses21 = new wxBoxSizer( wxHORIZONTAL );
\r
3104 lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3105 szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3107 wxBoxSizer* szrAddressesOuter21;
\r
3108 szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL );
\r
3110 wxBoxSizer* bSizer4631;
\r
3111 bSizer4631 = new wxBoxSizer( wxHORIZONTAL );
\r
3113 wxBoxSizer* bSizer4731;
\r
3114 bSizer4731 = new wxBoxSizer( wxVERTICAL );
\r
3116 btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3117 bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 );
\r
3119 btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3120 bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 );
\r
3122 btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3123 bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 );
\r
3126 bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 );
\r
3129 szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 );
\r
3132 szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 );
\r
3135 fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 );
\r
3137 lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3138 lblCalendarRequestAddresses->Wrap( 0 );
\r
3139 fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 );
\r
3141 wxBoxSizer* bSizer30131;
\r
3142 bSizer30131 = new wxBoxSizer( wxHORIZONTAL );
\r
3144 lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3145 bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 );
\r
3147 wxBoxSizer* bSizer35131;
\r
3148 bSizer35131 = new wxBoxSizer( wxVERTICAL );
\r
3150 wxBoxSizer* bSizer46131;
\r
3151 bSizer46131 = new wxBoxSizer( wxHORIZONTAL );
\r
3153 wxBoxSizer* bSizer47131;
\r
3154 bSizer47131 = new wxBoxSizer( wxVERTICAL );
\r
3156 btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3157 bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 );
\r
3159 btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3160 bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 );
\r
3162 btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3163 bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 );
\r
3166 bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 );
\r
3169 bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 );
\r
3172 bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 );
\r
3175 fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 );
\r
3177 lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3178 lblFreeBusyAddresses->Wrap( 0 );
\r
3179 fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 );
\r
3181 wxBoxSizer* bSizer301131;
\r
3182 bSizer301131 = new wxBoxSizer( wxHORIZONTAL );
\r
3184 lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3185 bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 );
\r
3187 wxBoxSizer* bSizer351131;
\r
3188 bSizer351131 = new wxBoxSizer( wxVERTICAL );
\r
3190 wxBoxSizer* bSizer461131;
\r
3191 bSizer461131 = new wxBoxSizer( wxHORIZONTAL );
\r
3193 wxBoxSizer* bSizer471131;
\r
3194 bSizer471131 = new wxBoxSizer( wxVERTICAL );
\r
3196 btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3197 bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 );
\r
3199 btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3200 bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 );
\r
3202 btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3203 bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 );
\r
3206 bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 );
\r
3209 bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 );
\r
3212 bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 );
\r
3215 fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 );
\r
3218 bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 );
\r
3221 tabCalendaring->SetSizer( bSizer1821 );
\r
3222 tabCalendaring->Layout();
\r
3223 bSizer1821->Fit( tabCalendaring );
\r
3224 nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false );
\r
3225 tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3226 tabSecurity->SetScrollRate( 5, 5 );
\r
3227 wxBoxSizer* szrAddresses1112;
\r
3228 szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL );
\r
3230 lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3231 szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 );
\r
3233 wxBoxSizer* szrCategoriesOuter12;
\r
3234 szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL );
\r
3236 wxBoxSizer* bSizer462112;
\r
3237 bSizer462112 = new wxBoxSizer( wxHORIZONTAL );
\r
3239 wxBoxSizer* bSizer472112;
\r
3240 bSizer472112 = new wxBoxSizer( wxVERTICAL );
\r
3242 btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3243 bSizer472112->Add( btnAddKey, 0, wxALL, 5 );
\r
3245 btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3246 bSizer472112->Add( btnModifyKey, 0, wxALL, 5 );
\r
3248 btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3249 bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 );
\r
3252 bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 );
\r
3255 szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 );
\r
3258 szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 );
\r
3261 tabSecurity->SetSizer( szrAddresses1112 );
\r
3262 tabSecurity->Layout();
\r
3263 szrAddresses1112->Fit( tabSecurity );
\r
3264 nbkContact->AddPage( tabSecurity, wxT("Security"), false );
\r
3265 tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
\r
3266 tabOther->SetScrollRate( 5, 5 );
\r
3267 wxFlexGridSizer* fgSizer5211;
\r
3268 fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3269 fgSizer5211->AddGrowableCol( 1 );
\r
3270 fgSizer5211->SetFlexibleDirection( wxBOTH );
\r
3271 fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3273 lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3274 lblVendorNamespace->Wrap( 0 );
\r
3275 fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 );
\r
3277 wxBoxSizer* szrAddresses211;
\r
3278 szrAddresses211 = new wxBoxSizer( wxHORIZONTAL );
\r
3280 lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
3281 szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 );
\r
3283 wxBoxSizer* szrAddressesOuter211;
\r
3284 szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL );
\r
3286 wxBoxSizer* bSizer46311;
\r
3287 bSizer46311 = new wxBoxSizer( wxHORIZONTAL );
\r
3289 wxBoxSizer* bSizer47311;
\r
3290 bSizer47311 = new wxBoxSizer( wxVERTICAL );
\r
3292 btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3293 bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 );
\r
3295 btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3296 bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 );
\r
3298 btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3299 bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 );
\r
3302 bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 );
\r
3305 szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 );
\r
3308 szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 );
\r
3311 fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 );
\r
3313 lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3314 lblXTokens->Wrap( 0 );
\r
3315 fgSizer5211->Add( lblXTokens, 0, wxALL, 5 );
\r
3317 wxBoxSizer* bSizer301311;
\r
3318 bSizer301311 = new wxBoxSizer( wxHORIZONTAL );
\r
3320 lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
3321 bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 );
\r
3323 wxBoxSizer* bSizer351311;
\r
3324 bSizer351311 = new wxBoxSizer( wxVERTICAL );
\r
3326 wxBoxSizer* bSizer461311;
\r
3327 bSizer461311 = new wxBoxSizer( wxHORIZONTAL );
\r
3329 wxBoxSizer* bSizer471311;
\r
3330 bSizer471311 = new wxBoxSizer( wxVERTICAL );
\r
3332 btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3333 bSizer471311->Add( btnAddXToken, 0, wxALL, 5 );
\r
3335 btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3336 bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 );
\r
3338 btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3339 bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 );
\r
3342 bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 );
\r
3345 bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 );
\r
3348 bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 );
\r
3351 fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 );
\r
3354 tabOther->SetSizer( fgSizer5211 );
\r
3355 tabOther->Layout();
\r
3356 fgSizer5211->Fit( tabOther );
\r
3357 nbkContact->AddPage( tabOther, wxT("Other"), false );
\r
3359 bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 );
\r
3362 this->SetSizer( bSizer17 );
\r
3364 m_menubar3 = new wxMenuBar( 0 );
\r
3365 mnuContact = new wxMenu();
\r
3366 wxMenuItem* mnuContactSave;
\r
3367 mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL );
\r
3368 mnuContact->Append( mnuContactSave );
\r
3370 wxMenuItem* mnuContactSaveClose;
\r
3371 mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL );
\r
3372 mnuContact->Append( mnuContactSaveClose );
\r
3374 mnuContact->AppendSeparator();
\r
3376 wxMenuItem* mnuContactClose;
\r
3377 mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
\r
3378 mnuContact->Append( mnuContactClose );
\r
3380 m_menubar3->Append( mnuContact, wxT("&Contact") );
\r
3382 mnuEdit = new wxMenu();
\r
3383 wxMenuItem* mnuEditCut;
\r
3384 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL );
\r
3385 mnuEdit->Append( mnuEditCut );
\r
3387 wxMenuItem* mnuEditCopy;
\r
3388 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL );
\r
3389 mnuEdit->Append( mnuEditCopy );
\r
3391 wxMenuItem* mnuEditPaste;
\r
3392 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL );
\r
3393 mnuEdit->Append( mnuEditPaste );
\r
3395 m_menubar3->Append( mnuEdit, wxT("&Edit") );
\r
3397 this->SetMenuBar( m_menubar3 );
\r
3400 this->Centre( wxBOTH );
\r
3403 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3404 txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3405 txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3406 txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3407 txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3408 txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3409 cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3410 cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3411 cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3412 btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3413 btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3414 btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3415 btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3416 btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3417 btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3418 btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3419 btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3420 btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3421 btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3422 btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3423 btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3424 btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3425 btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3426 btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3427 btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3428 btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3429 btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3430 btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3431 btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3432 btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3433 btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3434 btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3435 btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3436 btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3437 btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3438 btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3439 btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3440 btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3441 btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3442 btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3443 btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3444 btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3445 btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3446 btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3447 btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3448 btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3449 btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3450 btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3451 btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3452 btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3453 btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3454 btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3455 btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3456 btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3457 btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3458 btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3459 btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3460 btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3461 btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3462 btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3463 btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3464 btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3465 btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3466 btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3467 btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3468 btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3469 btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3470 btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3471 btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3472 btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3473 btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3474 btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3475 btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3476 btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3477 btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3478 btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3479 btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3480 btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3481 btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3482 btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3483 btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3484 btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3485 btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3486 btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3487 btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3488 btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3489 btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3490 btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3491 btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3492 btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3493 btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3494 btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3495 btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3496 btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3497 btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3498 btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3499 btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3500 btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3501 btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3502 btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3503 btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3504 btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3505 btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3506 btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3507 btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3508 btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3509 btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3510 btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3511 btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3512 btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3513 btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3514 btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3515 btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3516 btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3517 btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3518 btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3519 btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3520 btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3521 btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3522 btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3523 btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3524 btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3525 btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3526 btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3527 btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3528 btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3529 btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3530 btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3531 btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3532 btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3533 btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3534 btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3535 btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3536 btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3537 btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3538 lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3539 btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3540 btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3541 btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3542 lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3543 btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3544 btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3545 btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3546 btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3547 btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3548 btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3549 btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3550 btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3551 btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3552 btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3553 btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3554 btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3555 btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3556 btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3557 btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3558 btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3559 btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3560 btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3561 btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3562 btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3563 btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3564 btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3565 btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3566 btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3567 btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3568 btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3569 this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3570 this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3571 this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3572 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3573 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3574 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3577 frmContactEditorADT::~frmContactEditorADT()
\r
3579 // Disconnect Events
\r
3580 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) );
\r
3581 txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3582 txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3583 txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3584 txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3585 txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this );
\r
3586 cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3587 cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this );
\r
3588 cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this );
\r
3589 btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this );
\r
3590 btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this );
\r
3591 btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this );
\r
3592 btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this );
\r
3593 btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this );
\r
3594 btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this );
\r
3595 btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this );
\r
3596 btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this );
\r
3597 btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this );
\r
3598 btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this );
\r
3599 btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this );
\r
3600 btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this );
\r
3601 btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this );
\r
3602 btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this );
\r
3603 btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this );
\r
3604 btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this );
\r
3605 btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this );
\r
3606 btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this );
\r
3607 btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this );
\r
3608 btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this );
\r
3609 btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this );
\r
3610 btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this );
\r
3611 btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this );
\r
3612 btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this );
\r
3613 btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this );
\r
3614 btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this );
\r
3615 btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this );
\r
3616 btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this );
\r
3617 btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this );
\r
3618 btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this );
\r
3619 btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this );
\r
3620 btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this );
\r
3621 btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this );
\r
3622 btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this );
\r
3623 btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this );
\r
3624 btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this );
\r
3625 btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this );
\r
3626 btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this );
\r
3627 btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this );
\r
3628 btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this );
\r
3629 btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this );
\r
3630 btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this );
\r
3631 btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this );
\r
3632 btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this );
\r
3633 btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this );
\r
3634 btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this );
\r
3635 btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this );
\r
3636 btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this );
\r
3637 btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this );
\r
3638 btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this );
\r
3639 btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this );
\r
3640 btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this );
\r
3641 btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this );
\r
3642 btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this );
\r
3643 btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this );
\r
3644 btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this );
\r
3645 btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this );
\r
3646 btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this );
\r
3647 btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this );
\r
3648 btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this );
\r
3649 btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this );
\r
3650 btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this );
\r
3651 btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this );
\r
3652 btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this );
\r
3653 btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this );
\r
3654 btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this );
\r
3655 btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this );
\r
3656 btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this );
\r
3657 btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this );
\r
3658 btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this );
\r
3659 btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this );
\r
3660 btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this );
\r
3661 btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this );
\r
3662 btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this );
\r
3663 btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this );
\r
3664 btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this );
\r
3665 btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this );
\r
3666 btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this );
\r
3667 btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this );
\r
3668 btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this );
\r
3669 btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this );
\r
3670 btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this );
\r
3671 btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this );
\r
3672 btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this );
\r
3673 btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this );
\r
3674 btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this );
\r
3675 btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this );
\r
3676 btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this );
\r
3677 btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this );
\r
3678 btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this );
\r
3679 btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this );
\r
3680 btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this );
\r
3681 btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this );
\r
3682 btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this );
\r
3683 btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this );
\r
3684 btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this );
\r
3685 btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this );
\r
3686 btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this );
\r
3687 btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this );
\r
3688 btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this );
\r
3689 btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this );
\r
3690 btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this );
\r
3691 btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this );
\r
3692 btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this );
\r
3693 btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this );
\r
3694 btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this );
\r
3695 btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this );
\r
3696 btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this );
\r
3697 btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this );
\r
3698 btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this );
\r
3699 btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this );
\r
3700 btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this );
\r
3701 btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this );
\r
3702 btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this );
\r
3703 btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this );
\r
3704 btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this );
\r
3705 btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this );
\r
3706 btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this );
\r
3707 btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this );
\r
3708 btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this );
\r
3709 btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this );
\r
3710 btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this );
\r
3711 btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this );
\r
3712 btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this );
\r
3713 btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this );
\r
3714 btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this );
\r
3715 lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this );
\r
3716 btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this );
\r
3717 btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this );
\r
3718 btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this );
\r
3719 lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this );
\r
3720 btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this );
\r
3721 btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this );
\r
3722 btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this );
\r
3723 btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this );
\r
3724 btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this );
\r
3725 btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this );
\r
3726 btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this );
\r
3727 btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this );
\r
3728 btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this );
\r
3729 btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this );
\r
3730 btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3731 btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this );
\r
3732 btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this );
\r
3733 btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this );
\r
3734 btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this );
\r
3735 btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this );
\r
3736 btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this );
\r
3737 btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this );
\r
3738 btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this );
\r
3739 btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this );
\r
3740 btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this );
\r
3741 btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this );
\r
3742 btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this );
\r
3743 btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this );
\r
3744 btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this );
\r
3745 btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this );
\r
3746 this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) );
\r
3747 this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) );
\r
3748 this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) );
\r
3749 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) );
\r
3750 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) );
\r
3751 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) );
\r
3755 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
3757 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3759 wxBoxSizer* bSizer251;
\r
3760 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
3762 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
3763 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3764 wxFlexGridSizer* fgSizer6;
\r
3765 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3766 fgSizer6->AddGrowableCol( 1 );
\r
3767 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
3768 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3770 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3771 lblAddress->Wrap( -1 );
\r
3772 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3774 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3775 txtAddress->SetMaxLength( 0 );
\r
3776 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
3778 m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3779 m_staticText61->Wrap( -1 );
\r
3780 fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3782 txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3783 txtTownCity->SetMaxLength( 0 );
\r
3784 fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 );
\r
3786 lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3787 lblCountyState->Wrap( -1 );
\r
3788 fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3790 txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3791 txtCounty->SetMaxLength( 0 );
\r
3792 fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 );
\r
3794 lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3795 lblPostCode->Wrap( -1 );
\r
3796 fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3798 txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3799 txtPostCode->SetMaxLength( 0 );
\r
3800 fgSizer6->Add( txtPostCode, 0, wxALL, 5 );
\r
3802 lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3803 lblCountry->Wrap( -1 );
\r
3804 fgSizer6->Add( lblCountry, 0, wxALL, 5 );
\r
3806 txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3807 txtCountry->SetMaxLength( 0 );
\r
3808 fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 );
\r
3810 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3811 lblPriority->Wrap( -1 );
\r
3812 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
3814 wxBoxSizer* bSizer260;
\r
3815 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
3817 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3818 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
3820 wxBoxSizer* bSizer254;
\r
3821 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
3823 wxBoxSizer* bSizer256;
\r
3824 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
3826 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
3827 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
3830 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
3832 wxBoxSizer* bSizer255;
\r
3833 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
3835 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3836 lblHigh->Wrap( -1 );
\r
3837 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
3840 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3842 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3843 lblLow->Wrap( -1 );
\r
3844 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
3847 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
3850 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
3853 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
3856 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
3859 tabGeneral->SetSizer( fgSizer6 );
\r
3860 tabGeneral->Layout();
\r
3861 fgSizer6->Fit( tabGeneral );
\r
3862 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
3863 tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3864 wxBoxSizer* bSizer253;
\r
3865 bSizer253 = new wxBoxSizer( wxVERTICAL );
\r
3867 btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3868 bSizer253->Add( btnCopyMailing, 0, wxALL, 5 );
\r
3870 txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
3871 txtLabel->SetMaxLength( 0 );
\r
3872 bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 );
\r
3875 tabLabel->SetSizer( bSizer253 );
\r
3876 tabLabel->Layout();
\r
3877 bSizer253->Fit( tabLabel );
\r
3878 nbkAddress->AddPage( tabLabel, wxT("Label"), false );
\r
3879 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3880 wxFlexGridSizer* fgSizer61;
\r
3881 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
3882 fgSizer61->AddGrowableCol( 1 );
\r
3883 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
3884 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3886 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3887 lblLanguage->Wrap( -1 );
\r
3888 fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3890 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
3891 fgSizer61->Add( cmbLanguage, 0, wxALL, 5 );
\r
3893 lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3894 lblGeography->Wrap( -1 );
\r
3895 fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3897 txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3898 txtGeo->SetMaxLength( 0 );
\r
3899 fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 );
\r
3901 lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3902 lblTimezone->Wrap( -1 );
\r
3903 fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
3905 txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
3906 txtTimezone->SetMaxLength( 0 );
\r
3907 fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 );
\r
3910 tabOther->SetSizer( fgSizer61 );
\r
3911 tabOther->Layout();
\r
3912 fgSizer61->Fit( tabOther );
\r
3913 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
3915 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
3917 wxBoxSizer* bSizer252;
\r
3918 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
3920 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3921 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
3923 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
3924 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
3927 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
3930 this->SetSizer( bSizer251 );
\r
3933 this->Centre( wxBOTH );
\r
3936 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3937 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3938 btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3939 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3940 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3943 frmContactEditorAddressADT::~frmContactEditorAddressADT()
\r
3945 // Disconnect Events
\r
3946 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) );
\r
3947 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this );
\r
3948 btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this );
\r
3949 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this );
\r
3950 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this );
\r
3954 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
3956 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
3958 wxFlexGridSizer* fgSizer39;
\r
3959 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
3960 fgSizer39->AddGrowableCol( 0 );
\r
3961 fgSizer39->AddGrowableRow( 0 );
\r
3962 fgSizer39->SetFlexibleDirection( wxBOTH );
\r
3963 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
3965 wxBoxSizer* bSizer363;
\r
3966 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
3968 wxBoxSizer* bSizer364;
\r
3969 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
3971 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
3972 lblText->Wrap( -1 );
\r
3973 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
\r
3975 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
\r
3976 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
\r
3978 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3979 wxBoxSizer* bSizer365;
\r
3980 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
3982 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
3983 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
\r
3986 m_panel44->SetSizer( bSizer365 );
\r
3987 m_panel44->Layout();
\r
3988 bSizer365->Fit( m_panel44 );
\r
3989 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
3990 wxBoxSizer* bSizer366;
\r
3991 bSizer366 = new wxBoxSizer( wxVERTICAL );
\r
3993 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
\r
3994 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
\r
3997 m_panel45->SetSizer( bSizer366 );
\r
3998 m_panel45->Layout();
\r
3999 bSizer366->Fit( m_panel45 );
\r
4000 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
\r
4001 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
\r
4003 wxBoxSizer* bSizer367;
\r
4004 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
\r
4007 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4009 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4010 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
\r
4012 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4013 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
\r
4015 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4016 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
\r
4019 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4022 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
\r
4025 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
\r
4028 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
\r
4031 this->SetSizer( fgSizer39 );
\r
4034 this->Centre( wxBOTH );
\r
4037 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4038 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4039 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4042 frmConflictResolutionADT::~frmConflictResolutionADT()
\r
4044 // Disconnect Events
\r
4045 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
\r
4046 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
\r
4047 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
\r
4051 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
4053 this->SetSizeHints( wxSize( 400,300 ), wxDefaultSize );
\r
4055 mnuMenuBar = new wxMenuBar( 0 );
\r
4056 mnuWindow = new wxMenu();
\r
4057 wxMenuItem* mnuStopActivity;
\r
4058 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4059 mnuWindow->Append( mnuStopActivity );
\r
4061 wxMenuItem* mnuActivityStopAll;
\r
4062 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
\r
4063 mnuWindow->Append( mnuActivityStopAll );
\r
4065 wxMenuItem* mnuRetryActivity;
\r
4066 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
\r
4067 mnuWindow->Append( mnuRetryActivity );
\r
4069 mnuWindow->AppendSeparator();
\r
4071 wxMenuItem* mnuSleepMode;
\r
4072 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
\r
4073 mnuWindow->Append( mnuSleepMode );
\r
4075 mnuWindow->AppendSeparator();
\r
4077 wxMenuItem* mnuWindowClose;
\r
4078 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
\r
4079 mnuWindow->Append( mnuWindowClose );
\r
4081 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
\r
4083 this->SetMenuBar( mnuMenuBar );
\r
4085 wxFlexGridSizer* fgSizer38;
\r
4086 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
\r
4087 fgSizer38->AddGrowableCol( 0 );
\r
4088 fgSizer38->AddGrowableRow( 1 );
\r
4089 fgSizer38->SetFlexibleDirection( wxBOTH );
\r
4090 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4092 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4093 wxBoxSizer* bSizer363;
\r
4094 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
\r
4096 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
\r
4097 bmpActivity->SetMinSize( wxSize( 64,64 ) );
\r
4099 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
\r
4101 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4102 wxBoxSizer* bSizer364;
\r
4103 bSizer364 = new wxBoxSizer( wxVERTICAL );
\r
4106 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4108 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
\r
4109 lblDetails->Wrap( -1 );
\r
4110 bSizer364->Add( lblDetails, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 0 );
\r
4113 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4115 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
\r
4116 GauProgress->SetValue( 0 );
\r
4117 GauProgress->SetMinSize( wxSize( -1,20 ) );
\r
4119 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
\r
4122 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4125 m_panel46->SetSizer( bSizer364 );
\r
4126 m_panel46->Layout();
\r
4127 bSizer364->Fit( m_panel46 );
\r
4128 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
\r
4131 m_panel43->SetSizer( bSizer363 );
\r
4132 m_panel43->Layout();
\r
4133 bSizer363->Fit( m_panel43 );
\r
4134 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
\r
4136 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4137 wxBoxSizer* bSizer365;
\r
4138 bSizer365 = new wxBoxSizer( wxVERTICAL );
\r
4140 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
\r
4141 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
\r
4144 m_panel44->SetSizer( bSizer365 );
\r
4145 m_panel44->Layout();
\r
4146 bSizer365->Fit( m_panel44 );
\r
4147 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
\r
4150 this->SetSizer( fgSizer38 );
\r
4153 this->Centre( wxBOTH );
\r
4156 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4157 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4158 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4159 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4160 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4161 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4164 frmActivityMgrADT::~frmActivityMgrADT()
\r
4166 // Disconnect Events
\r
4167 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4168 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
\r
4169 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
\r
4170 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
\r
4171 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
\r
4172 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
\r
4176 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
4178 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4180 wxBoxSizer* bSizer251;
\r
4181 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4183 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4184 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4185 wxFlexGridSizer* fgSizer6;
\r
4186 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4187 fgSizer6->AddGrowableCol( 1 );
\r
4188 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4189 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4191 lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4192 lblNickname->Wrap( -1 );
\r
4193 fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4195 txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4196 txtNickname->SetMaxLength( 0 );
\r
4197 fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 );
\r
4199 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4200 lblPriority->Wrap( -1 );
\r
4201 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4203 wxBoxSizer* bSizer260;
\r
4204 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4206 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4207 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4209 wxBoxSizer* bSizer254;
\r
4210 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4212 wxBoxSizer* bSizer256;
\r
4213 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4215 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4216 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4219 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4221 wxBoxSizer* bSizer255;
\r
4222 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4224 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4225 lblHigh->Wrap( -1 );
\r
4226 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4229 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4231 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4232 lblLow->Wrap( -1 );
\r
4233 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4236 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4239 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4242 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4245 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4248 tabGeneral->SetSizer( fgSizer6 );
\r
4249 tabGeneral->Layout();
\r
4250 fgSizer6->Fit( tabGeneral );
\r
4251 nbkAddress->AddPage( tabGeneral, wxT("General"), true );
\r
4252 tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4253 wxFlexGridSizer* fgSizer61;
\r
4254 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4255 fgSizer61->AddGrowableCol( 1 );
\r
4256 fgSizer61->SetFlexibleDirection( wxBOTH );
\r
4257 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4259 lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4260 lblLanguage->Wrap( -1 );
\r
4261 fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4263 cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4264 fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 );
\r
4267 tabOther->SetSizer( fgSizer61 );
\r
4268 tabOther->Layout();
\r
4269 fgSizer61->Fit( tabOther );
\r
4270 nbkAddress->AddPage( tabOther, wxT("Other"), false );
\r
4272 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
4274 wxBoxSizer* bSizer252;
\r
4275 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4277 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4278 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4280 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4281 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4284 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4287 this->SetSizer( bSizer251 );
\r
4290 this->Centre( wxBOTH );
\r
4293 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4294 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4295 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4296 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4299 frmContactEditorNicknameADT::~frmContactEditorNicknameADT()
\r
4301 // Disconnect Events
\r
4302 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) );
\r
4303 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this );
\r
4304 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this );
\r
4305 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this );
\r
4309 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
4311 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
\r
4313 wxBoxSizer* bSizer251;
\r
4314 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4316 nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4317 tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4318 wxFlexGridSizer* fgSizer6;
\r
4319 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4320 fgSizer6->AddGrowableCol( 1 );
\r
4321 fgSizer6->AddGrowableRow( 0 );
\r
4322 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4323 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4325 lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4326 lblContacts->Wrap( -1 );
\r
4327 fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 );
\r
4329 wxArrayString chkContactsChoices;
\r
4330 chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
\r
4331 fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 );
\r
4334 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4337 tabGeneral->SetSizer( fgSizer6 );
\r
4338 tabGeneral->Layout();
\r
4339 fgSizer6->Fit( tabGeneral );
\r
4340 nbkGroup->AddPage( tabGeneral, wxT("General"), false );
\r
4342 bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 );
\r
4344 wxBoxSizer* bSizer252;
\r
4345 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4347 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4348 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4350 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4351 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4354 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4357 this->SetSizer( bSizer251 );
\r
4360 this->Centre( wxBOTH );
\r
4363 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4364 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4365 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4368 frmContactEditorGroupsADT::~frmContactEditorGroupsADT()
\r
4370 // Disconnect Events
\r
4371 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) );
\r
4372 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this );
\r
4373 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this );
\r
4377 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
4379 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4381 wxBoxSizer* bSizer251;
\r
4382 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4384 nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4385 tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4386 wxFlexGridSizer* fgSizer6;
\r
4387 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4388 fgSizer6->AddGrowableCol( 1 );
\r
4389 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4390 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4392 lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4393 lblRole->Wrap( -1 );
\r
4394 fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4396 txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4397 txtRole->SetMaxLength( 0 );
\r
4398 fgSizer6->Add( txtRole, 0, wxALL|wxEXPAND, 5 );
\r
4400 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4401 lblPriority->Wrap( -1 );
\r
4402 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4404 wxBoxSizer* bSizer260;
\r
4405 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4407 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4408 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4410 wxBoxSizer* bSizer254;
\r
4411 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4413 wxBoxSizer* bSizer256;
\r
4414 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4416 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4417 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4420 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4422 wxBoxSizer* bSizer255;
\r
4423 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4425 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4426 lblHigh->Wrap( -1 );
\r
4427 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4430 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4432 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4433 lblLow->Wrap( -1 );
\r
4434 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4437 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4440 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4443 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4446 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4449 tabGeneral->SetSizer( fgSizer6 );
\r
4450 tabGeneral->Layout();
\r
4451 fgSizer6->Fit( tabGeneral );
\r
4452 nbkRole->AddPage( tabGeneral, wxT("General"), false );
\r
4454 bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 );
\r
4456 wxBoxSizer* bSizer252;
\r
4457 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4459 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4460 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4462 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4463 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4466 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4469 this->SetSizer( bSizer251 );
\r
4472 this->Centre( wxBOTH );
\r
4475 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4476 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4477 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4480 frmContactEditorRolesADT::~frmContactEditorRolesADT()
\r
4482 // Disconnect Events
\r
4483 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this );
\r
4484 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this );
\r
4485 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this );
\r
4489 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
4491 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4493 wxBoxSizer* bSizer251;
\r
4494 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4496 nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4497 tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4498 wxFlexGridSizer* fgSizer6;
\r
4499 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4500 fgSizer6->AddGrowableCol( 1 );
\r
4501 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4502 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4504 lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4505 lblOrganisation->Wrap( -1 );
\r
4506 fgSizer6->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4508 txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4509 txtOrganisation->SetMaxLength( 0 );
\r
4510 fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 );
\r
4512 lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4513 lblSortAs->Wrap( -1 );
\r
4514 fgSizer6->Add( lblSortAs, 0, wxALL, 5 );
\r
4516 cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4517 fgSizer6->Add( cmbSortAs, 1, wxALL, 5 );
\r
4519 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4520 lblPriority->Wrap( -1 );
\r
4521 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4523 wxBoxSizer* bSizer260;
\r
4524 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4526 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4527 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4529 wxBoxSizer* bSizer254;
\r
4530 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4532 wxBoxSizer* bSizer256;
\r
4533 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4535 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4536 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4539 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4541 wxBoxSizer* bSizer255;
\r
4542 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4544 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4545 lblHigh->Wrap( -1 );
\r
4546 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4549 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4551 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4552 lblLow->Wrap( -1 );
\r
4553 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4556 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4559 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4562 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4565 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4568 tabGeneral->SetSizer( fgSizer6 );
\r
4569 tabGeneral->Layout();
\r
4570 fgSizer6->Fit( tabGeneral );
\r
4571 nbkOrganisation->AddPage( tabGeneral, wxT("General"), false );
\r
4573 bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 );
\r
4575 wxBoxSizer* bSizer252;
\r
4576 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4578 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4579 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4581 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4582 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4585 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4588 this->SetSizer( bSizer251 );
\r
4591 this->Centre( wxBOTH );
\r
4594 txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4595 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4596 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4597 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4600 frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT()
\r
4602 // Disconnect Events
\r
4603 txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this );
\r
4604 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this );
\r
4605 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this );
\r
4606 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this );
\r
4610 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
4612 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4614 wxBoxSizer* bSizer251;
\r
4615 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4617 nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4618 tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4619 wxBoxSizer* bSizer353;
\r
4620 bSizer353 = new wxBoxSizer( wxVERTICAL );
\r
4622 txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
4623 txtNote->SetMaxLength( 0 );
\r
4624 bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 );
\r
4627 tabGeneral->SetSizer( bSizer353 );
\r
4628 tabGeneral->Layout();
\r
4629 bSizer353->Fit( tabGeneral );
\r
4630 nbkNotes->AddPage( tabGeneral, wxT("General"), true );
\r
4631 tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4632 wxFlexGridSizer* fgSizer61;
\r
4633 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4634 fgSizer61->AddGrowableCol( 1 );
\r
4635 fgSizer61->SetFlexibleDirection( wxVERTICAL );
\r
4636 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4638 lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4639 lblPriority->Wrap( -1 );
\r
4640 fgSizer61->Add( lblPriority, 0, wxALL, 5 );
\r
4642 wxBoxSizer* bSizer2601;
\r
4643 bSizer2601 = new wxBoxSizer( wxHORIZONTAL );
\r
4645 chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4646 bSizer2601->Add( chkUsePref, 0, wxALL, 5 );
\r
4648 wxBoxSizer* bSizer2541;
\r
4649 bSizer2541 = new wxBoxSizer( wxVERTICAL );
\r
4651 wxBoxSizer* bSizer2561;
\r
4652 bSizer2561 = new wxBoxSizer( wxHORIZONTAL );
\r
4654 sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4655 bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4658 bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 );
\r
4660 wxBoxSizer* bSizer2551;
\r
4661 bSizer2551 = new wxBoxSizer( wxHORIZONTAL );
\r
4663 lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4664 lblHigh->Wrap( -1 );
\r
4665 bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4668 bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4670 lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4671 lblLow->Wrap( -1 );
\r
4672 bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4675 bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 );
\r
4678 bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 );
\r
4681 fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 );
\r
4684 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4687 tabPriority->SetSizer( fgSizer61 );
\r
4688 tabPriority->Layout();
\r
4689 fgSizer61->Fit( tabPriority );
\r
4690 nbkNotes->AddPage( tabPriority, wxT("Priority"), false );
\r
4691 tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4692 wxFlexGridSizer* fgSizer611;
\r
4693 fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4694 fgSizer611->AddGrowableCol( 0 );
\r
4695 fgSizer611->SetFlexibleDirection( wxBOTH );
\r
4696 fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4698 lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4699 lblLanguage->Wrap( -1 );
\r
4700 fgSizer611->Add( lblLanguage, 1, wxALL, 5 );
\r
4702 cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4703 fgSizer611->Add( cmbLanguage, 1, wxALL, 5 );
\r
4706 tabLanguage->SetSizer( fgSizer611 );
\r
4707 tabLanguage->Layout();
\r
4708 fgSizer611->Fit( tabLanguage );
\r
4709 nbkNotes->AddPage( tabLanguage, wxT("Language"), false );
\r
4711 bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 );
\r
4713 wxBoxSizer* bSizer252;
\r
4714 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4716 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4717 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4719 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4720 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4723 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4726 this->SetSizer( bSizer251 );
\r
4729 this->Centre( wxBOTH );
\r
4732 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4733 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4734 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4737 frmContactEditorNotesADT::~frmContactEditorNotesADT()
\r
4739 // Disconnect Events
\r
4740 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this );
\r
4741 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this );
\r
4742 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this );
\r
4746 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
4748 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4750 wxBoxSizer* bSizer251;
\r
4751 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4753 nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4754 tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4755 wxFlexGridSizer* fgSizer6;
\r
4756 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4757 fgSizer6->AddGrowableCol( 1 );
\r
4758 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
4759 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4761 lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4762 lblTitle->Wrap( -1 );
\r
4763 fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4765 txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4766 txtTitle->SetMaxLength( 0 );
\r
4767 fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 );
\r
4769 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4770 lblPriority->Wrap( -1 );
\r
4771 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4773 wxBoxSizer* bSizer260;
\r
4774 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4776 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4777 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4779 wxBoxSizer* bSizer254;
\r
4780 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4782 wxBoxSizer* bSizer256;
\r
4783 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4785 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4786 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4789 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4791 wxBoxSizer* bSizer255;
\r
4792 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4794 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4795 lblHigh->Wrap( -1 );
\r
4796 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4799 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4801 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4802 lblLow->Wrap( -1 );
\r
4803 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4806 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4809 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4812 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4815 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4818 tabGeneral->SetSizer( fgSizer6 );
\r
4819 tabGeneral->Layout();
\r
4820 fgSizer6->Fit( tabGeneral );
\r
4821 nbkTitles->AddPage( tabGeneral, wxT("General"), false );
\r
4823 bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 );
\r
4825 wxBoxSizer* bSizer252;
\r
4826 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4828 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4829 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4831 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4832 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4835 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4838 this->SetSizer( bSizer251 );
\r
4841 this->Centre( wxBOTH );
\r
4844 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4845 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4846 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4849 frmContactEditorTitlesADT::~frmContactEditorTitlesADT()
\r
4851 // Disconnect Events
\r
4852 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this );
\r
4853 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this );
\r
4854 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this );
\r
4858 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
4860 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4862 wxBoxSizer* bSizer251;
\r
4863 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4865 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4866 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4867 wxFlexGridSizer* fgSizer6;
\r
4868 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4869 fgSizer6->AddGrowableCol( 0 );
\r
4870 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4871 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4873 lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4874 lblRelation->Wrap( -1 );
\r
4875 fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4877 txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
4878 txtRelated->SetMaxLength( 0 );
\r
4879 fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 );
\r
4881 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4882 lblType->Wrap( -1 );
\r
4883 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
4885 cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
4886 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
4888 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4889 lblPriority->Wrap( -1 );
\r
4890 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
4892 wxBoxSizer* bSizer260;
\r
4893 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
4895 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4896 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
4898 wxBoxSizer* bSizer254;
\r
4899 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
4901 wxBoxSizer* bSizer256;
\r
4902 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
4904 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
4905 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
4908 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
4910 wxBoxSizer* bSizer255;
\r
4911 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
4913 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4914 lblHigh->Wrap( -1 );
\r
4915 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
4918 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4920 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4921 lblLow->Wrap( -1 );
\r
4922 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
4925 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
4928 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
4931 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
4934 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
4937 tabGeneral->SetSizer( fgSizer6 );
\r
4938 tabGeneral->Layout();
\r
4939 fgSizer6->Fit( tabGeneral );
\r
4940 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
4942 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
4944 wxBoxSizer* bSizer252;
\r
4945 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
4947 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4948 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
4950 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4951 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
4954 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
4957 this->SetSizer( bSizer251 );
\r
4960 this->Centre( wxBOTH );
\r
4963 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4964 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4965 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4968 frmContactEditorRelatedADT::~frmContactEditorRelatedADT()
\r
4970 // Disconnect Events
\r
4971 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this );
\r
4972 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this );
\r
4973 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this );
\r
4977 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
4979 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
4981 wxBoxSizer* bSizer251;
\r
4982 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
4984 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
4985 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
4986 wxFlexGridSizer* fgSizer6;
\r
4987 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
4988 fgSizer6->AddGrowableCol( 1 );
\r
4989 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
4990 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
4992 lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
4993 lblSoundFile->Wrap( -1 );
\r
4994 fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
4996 fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
4997 fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 );
\r
4999 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5000 lblType->Wrap( -1 );
\r
5001 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5003 wxArrayString cmbTypeChoices;
\r
5004 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5005 cmbType->SetSelection( 0 );
\r
5006 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5008 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5009 lblPriority->Wrap( -1 );
\r
5010 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5012 wxBoxSizer* bSizer260;
\r
5013 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5015 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5016 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5018 wxBoxSizer* bSizer254;
\r
5019 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5021 wxBoxSizer* bSizer256;
\r
5022 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5024 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5025 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5028 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5030 wxBoxSizer* bSizer255;
\r
5031 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5033 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5034 lblHigh->Wrap( -1 );
\r
5035 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5038 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5040 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5041 lblLow->Wrap( -1 );
\r
5042 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5045 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5048 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5051 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5054 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5057 tabGeneral->SetSizer( fgSizer6 );
\r
5058 tabGeneral->Layout();
\r
5059 fgSizer6->Fit( tabGeneral );
\r
5060 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5062 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5064 wxBoxSizer* bSizer252;
\r
5065 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5067 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5068 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5070 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5071 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5074 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5077 this->SetSizer( bSizer251 );
\r
5080 this->Centre( wxBOTH );
\r
5083 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5084 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5085 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5088 frmContactEditorSoundADT::~frmContactEditorSoundADT()
\r
5090 // Disconnect Events
\r
5091 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this );
\r
5092 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this );
\r
5093 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this );
\r
5097 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
5099 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5101 wxBoxSizer* bSizer251;
\r
5102 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5104 nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5105 tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5106 wxFlexGridSizer* fgSizer6;
\r
5107 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5108 fgSizer6->AddGrowableCol( 1 );
\r
5109 fgSizer6->SetFlexibleDirection( wxBOTH );
\r
5110 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5112 lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5113 lblPictureFile->Wrap( -1 );
\r
5114 fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5116 fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE );
\r
5117 fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 );
\r
5119 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5120 lblType->Wrap( -1 );
\r
5121 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5123 wxArrayString cmbTypeChoices;
\r
5124 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5125 cmbType->SetSelection( 0 );
\r
5126 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5128 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5129 lblPriority->Wrap( -1 );
\r
5130 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5132 wxBoxSizer* bSizer260;
\r
5133 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5135 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5136 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5138 wxBoxSizer* bSizer254;
\r
5139 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5141 wxBoxSizer* bSizer256;
\r
5142 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5144 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5145 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5148 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5150 wxBoxSizer* bSizer255;
\r
5151 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5153 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5154 lblHigh->Wrap( -1 );
\r
5155 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5158 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5160 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5161 lblLow->Wrap( -1 );
\r
5162 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5165 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5168 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5171 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5174 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5177 tabGeneral->SetSizer( fgSizer6 );
\r
5178 tabGeneral->Layout();
\r
5179 fgSizer6->Fit( tabGeneral );
\r
5180 nbkRelated->AddPage( tabGeneral, wxT("General"), false );
\r
5182 bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 );
\r
5184 wxBoxSizer* bSizer252;
\r
5185 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5187 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5188 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5190 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5191 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5194 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5197 this->SetSizer( bSizer251 );
\r
5200 this->Centre( wxBOTH );
\r
5203 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5204 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5205 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5208 frmContactEditorPictureADT::~frmContactEditorPictureADT()
\r
5210 // Disconnect Events
\r
5211 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this );
\r
5212 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this );
\r
5213 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this );
\r
5217 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
5219 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5221 wxBoxSizer* bSizer251;
\r
5222 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5224 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5225 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5226 wxFlexGridSizer* fgSizer6;
\r
5227 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5228 fgSizer6->AddGrowableCol( 1 );
\r
5229 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5230 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5232 lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5233 lblWebsite->Wrap( -1 );
\r
5234 fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5236 txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5237 txtWebsite->SetMaxLength( 0 );
\r
5238 fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 );
\r
5240 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5241 lblPriority->Wrap( -1 );
\r
5242 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5244 wxBoxSizer* bSizer260;
\r
5245 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5247 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5248 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5250 wxBoxSizer* bSizer254;
\r
5251 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5253 wxBoxSizer* bSizer256;
\r
5254 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5256 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5257 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5260 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5262 wxBoxSizer* bSizer255;
\r
5263 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5265 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5266 lblHigh->Wrap( -1 );
\r
5267 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5270 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5272 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5273 lblLow->Wrap( -1 );
\r
5274 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5277 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5280 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5283 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5286 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5289 tabGeneral->SetSizer( fgSizer6 );
\r
5290 tabGeneral->Layout();
\r
5291 fgSizer6->Fit( tabGeneral );
\r
5292 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5294 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5296 wxBoxSizer* bSizer252;
\r
5297 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5299 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5300 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5302 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5303 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5306 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5309 this->SetSizer( bSizer251 );
\r
5312 this->Centre( wxBOTH );
\r
5315 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5316 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5317 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5320 frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT()
\r
5322 // Disconnect Events
\r
5323 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this );
\r
5324 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this );
\r
5325 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this );
\r
5329 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
5331 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5333 wxBoxSizer* bSizer251;
\r
5334 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5336 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5337 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5338 wxFlexGridSizer* fgSizer6;
\r
5339 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5340 fgSizer6->AddGrowableCol( 1 );
\r
5341 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5342 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5344 lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5345 lblGeoposition->Wrap( -1 );
\r
5346 fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5348 txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5349 txtGeoposition->SetMaxLength( 0 );
\r
5350 fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 );
\r
5352 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5353 lblPriority->Wrap( -1 );
\r
5354 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5356 wxBoxSizer* bSizer260;
\r
5357 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5359 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5360 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5362 wxBoxSizer* bSizer254;
\r
5363 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5365 wxBoxSizer* bSizer256;
\r
5366 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5368 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5369 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5372 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5374 wxBoxSizer* bSizer255;
\r
5375 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5377 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5378 lblHigh->Wrap( -1 );
\r
5379 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5382 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5384 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5385 lblLow->Wrap( -1 );
\r
5386 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5389 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5392 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5395 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5398 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5401 tabGeneral->SetSizer( fgSizer6 );
\r
5402 tabGeneral->Layout();
\r
5403 fgSizer6->Fit( tabGeneral );
\r
5404 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5406 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5408 wxBoxSizer* bSizer252;
\r
5409 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5411 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5412 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5414 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5415 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5418 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5421 this->SetSizer( bSizer251 );
\r
5424 this->Centre( wxBOTH );
\r
5427 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5428 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5429 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5432 frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT()
\r
5434 // Disconnect Events
\r
5435 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this );
\r
5436 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this );
\r
5437 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this );
\r
5441 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
5443 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5445 wxBoxSizer* bSizer251;
\r
5446 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5448 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5449 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5450 wxFlexGridSizer* fgSizer6;
\r
5451 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5452 fgSizer6->AddGrowableCol( 1 );
\r
5453 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5454 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5456 lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5457 lblAddress->Wrap( -1 );
\r
5458 fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5460 txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5461 txtAddress->SetMaxLength( 0 );
\r
5462 fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
5464 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5465 lblType->Wrap( -1 );
\r
5466 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5468 wxArrayString cmbTypeChoices;
\r
5469 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5470 cmbType->SetSelection( 0 );
\r
5471 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5473 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5474 lblPriority->Wrap( -1 );
\r
5475 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5477 wxBoxSizer* bSizer260;
\r
5478 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5480 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5481 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5483 wxBoxSizer* bSizer254;
\r
5484 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5486 wxBoxSizer* bSizer256;
\r
5487 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5489 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5490 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5493 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5495 wxBoxSizer* bSizer255;
\r
5496 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5498 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5499 lblHigh->Wrap( -1 );
\r
5500 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5503 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5505 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5506 lblLow->Wrap( -1 );
\r
5507 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5510 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5513 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5516 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5519 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5522 tabGeneral->SetSizer( fgSizer6 );
\r
5523 tabGeneral->Layout();
\r
5524 fgSizer6->Fit( tabGeneral );
\r
5525 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5527 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5529 wxBoxSizer* bSizer252;
\r
5530 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5532 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5533 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5535 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5536 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5539 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5542 this->SetSizer( bSizer251 );
\r
5545 this->Centre( wxBOTH );
\r
5548 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5549 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5550 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5553 frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT()
\r
5555 // Disconnect Events
\r
5556 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this );
\r
5557 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this );
\r
5558 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this );
\r
5562 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
5564 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5566 wxBoxSizer* bSizer251;
\r
5567 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5569 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5570 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5571 wxFlexGridSizer* fgSizer6;
\r
5572 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5573 fgSizer6->AddGrowableCol( 1 );
\r
5574 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5575 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5577 lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5578 lblVendorPEN->Wrap( -1 );
\r
5579 fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5581 txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5582 txtPEN->SetMaxLength( 0 );
\r
5583 fgSizer6->Add( txtPEN, 0, wxALL, 5 );
\r
5585 lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5586 lblElement->Wrap( -1 );
\r
5587 fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5589 txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5590 txtElement->SetMaxLength( 0 );
\r
5591 fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 );
\r
5593 lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5594 lblValue->Wrap( -1 );
\r
5595 fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5597 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5598 txtValue->SetMaxLength( 0 );
\r
5599 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5602 tabGeneral->SetSizer( fgSizer6 );
\r
5603 tabGeneral->Layout();
\r
5604 fgSizer6->Fit( tabGeneral );
\r
5605 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5607 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5609 wxBoxSizer* bSizer252;
\r
5610 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5612 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5613 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5615 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5616 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5619 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5622 this->SetSizer( bSizer251 );
\r
5625 this->Centre( wxBOTH );
\r
5628 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5629 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5632 frmContactEditorVendorADT::~frmContactEditorVendorADT()
\r
5634 // Disconnect Events
\r
5635 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this );
\r
5636 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this );
\r
5640 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
5642 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5644 wxBoxSizer* bSizer251;
\r
5645 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5647 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5648 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5649 wxFlexGridSizer* fgSizer6;
\r
5650 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5651 fgSizer6->AddGrowableCol( 1 );
\r
5652 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5653 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5655 lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5656 lblTokenName->Wrap( -1 );
\r
5657 fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5659 txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5660 txtTokenName->SetMaxLength( 0 );
\r
5661 fgSizer6->Add( txtTokenName, 0, wxALL, 5 );
\r
5663 lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5664 lblXT->Wrap( -1 );
\r
5665 fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5667 txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5668 txtValue->SetMaxLength( 0 );
\r
5669 fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
\r
5672 tabGeneral->SetSizer( fgSizer6 );
\r
5673 tabGeneral->Layout();
\r
5674 fgSizer6->Fit( tabGeneral );
\r
5675 nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
\r
5677 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5679 wxBoxSizer* bSizer252;
\r
5680 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5682 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5683 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5685 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5686 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5689 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5692 this->SetSizer( bSizer251 );
\r
5695 this->Centre( wxBOTH );
\r
5698 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5699 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5702 frmContactEditorXTokenADT::~frmContactEditorXTokenADT()
\r
5704 // Disconnect Events
\r
5705 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this );
\r
5706 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this );
\r
5710 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
5712 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5714 wxBoxSizer* bSizer251;
\r
5715 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5717 nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5718 tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5719 wxFlexGridSizer* fgSizer6;
\r
5720 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5721 fgSizer6->AddGrowableCol( 1 );
\r
5722 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5723 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5725 lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5726 lblKeyType->Wrap( -1 );
\r
5727 fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5729 wxArrayString cmbKeyMainTypeChoices;
\r
5730 cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 );
\r
5731 cmbKeyMainType->SetSelection( 0 );
\r
5732 fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 );
\r
5734 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5735 lblType->Wrap( -1 );
\r
5736 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
5738 wxArrayString cmbTypeChoices;
\r
5739 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
5740 cmbType->SetSelection( 0 );
\r
5741 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
5743 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5744 lblPriority->Wrap( -1 );
\r
5745 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5747 wxBoxSizer* bSizer260;
\r
5748 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5750 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5751 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5753 wxBoxSizer* bSizer254;
\r
5754 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5756 wxBoxSizer* bSizer256;
\r
5757 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5759 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5760 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5763 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5765 wxBoxSizer* bSizer255;
\r
5766 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5768 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5769 lblHigh->Wrap( -1 );
\r
5770 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5773 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5775 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5776 lblLow->Wrap( -1 );
\r
5777 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5780 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5783 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5786 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5789 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5792 tabGeneral->SetSizer( fgSizer6 );
\r
5793 tabGeneral->Layout();
\r
5794 fgSizer6->Fit( tabGeneral );
\r
5795 nbkWebsite->AddPage( tabGeneral, wxT("General"), true );
\r
5796 tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5797 wxFlexGridSizer* fgSizer61;
\r
5798 fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5799 fgSizer61->AddGrowableCol( 1 );
\r
5800 fgSizer61->SetFlexibleDirection( wxHORIZONTAL );
\r
5801 fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5803 lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5804 lblKeyFormat->Wrap( -1 );
\r
5805 fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5807 cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5808 fgSizer61->Add( cmbURL, 0, wxALL, 5 );
\r
5810 lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5811 lblAddress->Wrap( -1 );
\r
5812 fgSizer61->Add( lblAddress, 0, wxALL, 5 );
\r
5814 txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5815 txtAddress->SetMaxLength( 0 );
\r
5816 fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 );
\r
5819 fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5822 tabURL->SetSizer( fgSizer61 );
\r
5824 fgSizer61->Fit( tabURL );
\r
5825 nbkWebsite->AddPage( tabURL, wxT("URL"), false );
\r
5826 tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5827 wxFlexGridSizer* fgSizer62;
\r
5828 fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5829 fgSizer62->AddGrowableCol( 1 );
\r
5830 fgSizer62->AddGrowableRow( 1 );
\r
5831 fgSizer62->SetFlexibleDirection( wxBOTH );
\r
5832 fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5834 lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5835 lblKeyFormatData->Wrap( -1 );
\r
5836 fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 );
\r
5838 cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
5839 fgSizer62->Add( cmbKeyType, 0, wxALL, 5 );
\r
5841 lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5842 lblKeyData->Wrap( -1 );
\r
5843 fgSizer62->Add( lblKeyData, 0, wxALL, 5 );
\r
5845 txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
\r
5846 txtKeyData->SetMaxLength( 0 );
\r
5847 fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 );
\r
5850 tabKey->SetSizer( fgSizer62 );
\r
5852 fgSizer62->Fit( tabKey );
\r
5853 nbkWebsite->AddPage( tabKey, wxT("Key"), false );
\r
5855 bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
\r
5857 wxBoxSizer* bSizer252;
\r
5858 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5860 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5861 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5863 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5864 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5867 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5870 this->SetSizer( bSizer251 );
\r
5873 this->Centre( wxBOTH );
\r
5876 cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5877 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5878 cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5879 cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5880 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5881 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5884 frmContactEditorKeyADT::~frmContactEditorKeyADT()
\r
5886 // Disconnect Events
\r
5887 cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this );
\r
5888 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this );
\r
5889 cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this );
\r
5890 cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this );
\r
5891 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this );
\r
5892 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this );
\r
5896 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
5898 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
5900 wxBoxSizer* bSizer251;
\r
5901 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
5903 nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
5904 tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
5905 wxFlexGridSizer* fgSizer6;
\r
5906 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
5907 fgSizer6->AddGrowableCol( 1 );
\r
5908 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
5909 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
5911 lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5912 lblEmailAddress->Wrap( -1 );
\r
5913 fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
5915 txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
5916 txtEmail->SetMaxLength( 0 );
\r
5917 fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 );
\r
5919 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5920 lblPriority->Wrap( -1 );
\r
5921 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
5923 wxBoxSizer* bSizer260;
\r
5924 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
5926 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5927 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
5929 wxBoxSizer* bSizer254;
\r
5930 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
5932 wxBoxSizer* bSizer256;
\r
5933 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
5935 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
5936 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
5939 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
5941 wxBoxSizer* bSizer255;
\r
5942 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
5944 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5945 lblHigh->Wrap( -1 );
\r
5946 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
5949 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5951 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5952 lblLow->Wrap( -1 );
\r
5953 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
5956 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
5959 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
5962 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
5965 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
5968 tabGeneral->SetSizer( fgSizer6 );
\r
5969 tabGeneral->Layout();
\r
5970 fgSizer6->Fit( tabGeneral );
\r
5971 nbkEmail->AddPage( tabGeneral, wxT("General"), false );
\r
5973 bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 );
\r
5975 wxBoxSizer* bSizer252;
\r
5976 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
5978 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5979 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
5981 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
5982 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
5985 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
5988 this->SetSizer( bSizer251 );
\r
5991 this->Centre( wxBOTH );
\r
5994 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
5995 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
5996 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
5999 frmContactEditorEmailADT::~frmContactEditorEmailADT()
\r
6001 // Disconnect Events
\r
6002 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this );
\r
6003 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this );
\r
6004 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this );
\r
6008 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
6010 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6012 wxBoxSizer* bSizer251;
\r
6013 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6015 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6016 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6017 wxFlexGridSizer* fgSizer6;
\r
6018 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6019 fgSizer6->AddGrowableCol( 1 );
\r
6020 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6021 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6023 lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6024 lblIMType->Wrap( -1 );
\r
6025 fgSizer6->Add( lblIMType, 0, wxALL, 5 );
\r
6027 cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN );
\r
6028 fgSizer6->Add( cmbIMType, 0, wxALL, 5 );
\r
6030 lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6031 lblUsername->Wrap( 0 );
\r
6032 fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6034 txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6035 txtUsername->SetMaxLength( 0 );
\r
6036 fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6038 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6039 lblPriority->Wrap( -1 );
\r
6040 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6042 wxBoxSizer* bSizer260;
\r
6043 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6045 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6046 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6048 wxBoxSizer* bSizer254;
\r
6049 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6051 wxBoxSizer* bSizer256;
\r
6052 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6054 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6055 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6058 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6060 wxBoxSizer* bSizer255;
\r
6061 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6063 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6064 lblHigh->Wrap( -1 );
\r
6065 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6068 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6070 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6071 lblLow->Wrap( -1 );
\r
6072 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6075 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6078 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6081 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6084 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6087 tabGeneral->SetSizer( fgSizer6 );
\r
6088 tabGeneral->Layout();
\r
6089 fgSizer6->Fit( tabGeneral );
\r
6090 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6092 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6094 wxBoxSizer* bSizer252;
\r
6095 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6097 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6098 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6100 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6101 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6104 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6107 this->SetSizer( bSizer251 );
\r
6110 this->Centre( wxBOTH );
\r
6113 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6114 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6115 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6118 frmContactEditorIMADT::~frmContactEditorIMADT()
\r
6120 // Disconnect Events
\r
6121 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this );
\r
6122 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this );
\r
6123 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this );
\r
6127 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
6129 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6131 wxBoxSizer* bSizer251;
\r
6132 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6134 nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6135 tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6136 wxFlexGridSizer* fgSizer6;
\r
6137 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6138 fgSizer6->AddGrowableCol( 1 );
\r
6139 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6140 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6142 lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6143 lblCategory->Wrap( 0 );
\r
6144 fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6146 txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6147 txtCategory->SetMaxLength( 0 );
\r
6148 fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 );
\r
6150 lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6151 lblType->Wrap( -1 );
\r
6152 fgSizer6->Add( lblType, 0, wxALL, 5 );
\r
6154 wxArrayString cmbTypeChoices;
\r
6155 cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 );
\r
6156 cmbType->SetSelection( 0 );
\r
6157 fgSizer6->Add( cmbType, 0, wxALL, 5 );
\r
6159 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6160 lblPriority->Wrap( -1 );
\r
6161 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6163 wxBoxSizer* bSizer260;
\r
6164 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6166 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6167 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6169 wxBoxSizer* bSizer254;
\r
6170 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6172 wxBoxSizer* bSizer256;
\r
6173 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6175 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6176 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6179 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6181 wxBoxSizer* bSizer255;
\r
6182 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6184 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6185 lblHigh->Wrap( -1 );
\r
6186 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6189 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6191 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6192 lblLow->Wrap( -1 );
\r
6193 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6196 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6199 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6202 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6205 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6208 tabGeneral->SetSizer( fgSizer6 );
\r
6209 tabGeneral->Layout();
\r
6210 fgSizer6->Fit( tabGeneral );
\r
6211 nbkIM->AddPage( tabGeneral, wxT("General"), false );
\r
6213 bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 );
\r
6215 wxBoxSizer* bSizer252;
\r
6216 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6218 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6219 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6221 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6222 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6225 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6228 this->SetSizer( bSizer251 );
\r
6231 this->Centre( wxBOTH );
\r
6234 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6235 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6236 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6239 frmContactEditorCategoryADT::~frmContactEditorCategoryADT()
\r
6241 // Disconnect Events
\r
6242 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this );
\r
6243 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this );
\r
6244 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this );
\r
6248 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
6250 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6252 wxBoxSizer* bSizer251;
\r
6253 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6255 nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6256 tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6257 wxFlexGridSizer* fgSizer6;
\r
6258 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6259 fgSizer6->AddGrowableCol( 1 );
\r
6260 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6261 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6263 lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6264 lblTelephone->Wrap( -1 );
\r
6265 fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6267 txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6268 txtTelephone->SetMaxLength( 0 );
\r
6269 fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 );
\r
6271 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6272 lblPriority->Wrap( -1 );
\r
6273 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6275 wxBoxSizer* bSizer260;
\r
6276 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6278 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6279 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6281 wxBoxSizer* bSizer254;
\r
6282 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6284 wxBoxSizer* bSizer256;
\r
6285 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6287 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6288 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6291 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6293 wxBoxSizer* bSizer255;
\r
6294 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6296 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6297 lblHigh->Wrap( -1 );
\r
6298 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6301 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6303 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6304 lblLow->Wrap( -1 );
\r
6305 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6308 bSizer254->Add( bSizer255, 0, wxEXPAND, 0 );
\r
6311 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6314 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6316 lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6317 lblTelephoneType->Wrap( 0 );
\r
6318 fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 );
\r
6320 wxGridSizer* gSizer5;
\r
6321 gSizer5 = new wxGridSizer( 0, 2, 0, 0 );
\r
6323 chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6324 gSizer5->Add( chkVoice, 0, wxALL, 2 );
\r
6326 chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6327 gSizer5->Add( chkText, 0, wxALL, 2 );
\r
6329 chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6330 gSizer5->Add( chkFax, 0, wxALL, 2 );
\r
6332 chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6333 gSizer5->Add( chkMobile, 0, wxALL, 2 );
\r
6335 chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6336 gSizer5->Add( chkVideo, 0, wxALL, 2 );
\r
6338 chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6339 gSizer5->Add( chkTextphone, 0, wxALL, 2 );
\r
6341 chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6342 gSizer5->Add( chkPager, 0, wxALL, 2 );
\r
6345 fgSizer6->Add( gSizer5, 1, 0, 5 );
\r
6348 tabGeneral->SetSizer( fgSizer6 );
\r
6349 tabGeneral->Layout();
\r
6350 fgSizer6->Fit( tabGeneral );
\r
6351 nbkAddress->AddPage( tabGeneral, wxT("General"), false );
\r
6353 bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 );
\r
6355 wxBoxSizer* bSizer252;
\r
6356 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6358 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6359 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6361 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6362 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6365 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6368 this->SetSizer( bSizer251 );
\r
6371 this->Centre( wxBOTH );
\r
6374 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6375 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6376 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6379 frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT()
\r
6381 // Disconnect Events
\r
6382 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this );
\r
6383 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this );
\r
6384 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this );
\r
6388 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
6390 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6392 wxBoxSizer* bSizer251;
\r
6393 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6395 nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6396 tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6397 wxFlexGridSizer* fgSizer6;
\r
6398 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6399 fgSizer6->AddGrowableCol( 1 );
\r
6400 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6401 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6403 lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6404 lblLanguage->Wrap( -1 );
\r
6405 fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6407 txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6408 txtLanguage->SetMaxLength( 0 );
\r
6409 fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 );
\r
6411 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6412 lblPriority->Wrap( -1 );
\r
6413 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6415 wxBoxSizer* bSizer260;
\r
6416 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6418 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6419 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6421 wxBoxSizer* bSizer254;
\r
6422 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6424 wxBoxSizer* bSizer256;
\r
6425 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6427 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6428 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6431 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6433 wxBoxSizer* bSizer255;
\r
6434 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6436 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6437 lblHigh->Wrap( -1 );
\r
6438 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6441 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6443 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6444 lblLow->Wrap( -1 );
\r
6445 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6448 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6451 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6454 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6457 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6460 tabGeneral->SetSizer( fgSizer6 );
\r
6461 tabGeneral->Layout();
\r
6462 fgSizer6->Fit( tabGeneral );
\r
6463 nbkLanguages->AddPage( tabGeneral, wxT("General"), false );
\r
6465 bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 );
\r
6467 wxBoxSizer* bSizer252;
\r
6468 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6470 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6471 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6473 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6474 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6477 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6480 this->SetSizer( bSizer251 );
\r
6483 this->Centre( wxBOTH );
\r
6486 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6487 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6488 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6491 frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT()
\r
6493 // Disconnect Events
\r
6494 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this );
\r
6495 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this );
\r
6496 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this );
\r
6500 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
6502 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6504 wxBoxSizer* bSizer251;
\r
6505 bSizer251 = new wxBoxSizer( wxVERTICAL );
\r
6507 nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6508 tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6509 wxFlexGridSizer* fgSizer6;
\r
6510 fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6511 fgSizer6->AddGrowableCol( 1 );
\r
6512 fgSizer6->SetFlexibleDirection( wxVERTICAL );
\r
6513 fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6515 lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6516 lblTimezone->Wrap( -1 );
\r
6517 fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6519 cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
\r
6520 fgSizer6->Add( cmbTimezone, 0, wxALL, 5 );
\r
6522 lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6523 lblPriority->Wrap( -1 );
\r
6524 fgSizer6->Add( lblPriority, 0, wxALL, 5 );
\r
6526 wxBoxSizer* bSizer260;
\r
6527 bSizer260 = new wxBoxSizer( wxHORIZONTAL );
\r
6529 chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6530 bSizer260->Add( chkUsePref, 0, wxALL, 5 );
\r
6532 wxBoxSizer* bSizer254;
\r
6533 bSizer254 = new wxBoxSizer( wxVERTICAL );
\r
6535 wxBoxSizer* bSizer256;
\r
6536 bSizer256 = new wxBoxSizer( wxHORIZONTAL );
\r
6538 sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS );
\r
6539 bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 );
\r
6542 bSizer254->Add( bSizer256, 1, wxEXPAND, 5 );
\r
6544 wxBoxSizer* bSizer255;
\r
6545 bSizer255 = new wxBoxSizer( wxHORIZONTAL );
\r
6547 lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6548 lblHigh->Wrap( -1 );
\r
6549 bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 );
\r
6552 bSizer255->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6554 lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6555 lblLow->Wrap( -1 );
\r
6556 bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 );
\r
6559 bSizer254->Add( bSizer255, 1, wxEXPAND, 0 );
\r
6562 bSizer260->Add( bSizer254, 1, wxEXPAND, 5 );
\r
6565 fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 );
\r
6568 fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6571 tabGeneral->SetSizer( fgSizer6 );
\r
6572 tabGeneral->Layout();
\r
6573 fgSizer6->Fit( tabGeneral );
\r
6574 nbkTimezone->AddPage( tabGeneral, wxT("General"), false );
\r
6576 bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 );
\r
6578 wxBoxSizer* bSizer252;
\r
6579 bSizer252 = new wxBoxSizer( wxHORIZONTAL );
\r
6581 btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6582 bSizer252->Add( btnAction, 0, wxALL, 5 );
\r
6584 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6585 bSizer252->Add( btnClose, 0, wxALL, 5 );
\r
6588 bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 );
\r
6591 this->SetSizer( bSizer251 );
\r
6594 this->Centre( wxBOTH );
\r
6597 chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6598 btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6599 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6602 frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT()
\r
6604 // Disconnect Events
\r
6605 chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this );
\r
6606 btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this );
\r
6607 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this );
\r
6611 XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
\r
6613 this->SetMinSize( wxSize( -1,40 ) );
\r
6614 this->SetMaxSize( wxSize( -1,40 ) );
\r
6616 wxFlexGridSizer* fgSizer40;
\r
6617 fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 );
\r
6618 fgSizer40->AddGrowableCol( 1 );
\r
6619 fgSizer40->SetFlexibleDirection( wxBOTH );
\r
6620 fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6622 wxArrayString choOptionChoices;
\r
6623 choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 );
\r
6624 choOption->SetSelection( 0 );
\r
6625 fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 );
\r
6627 szrSSet = new wxBoxSizer( wxHORIZONTAL );
\r
6629 chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6630 szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6632 txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6633 txtSearch->SetMaxLength( 0 );
\r
6634 szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6637 fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 );
\r
6639 wxBoxSizer* bSizer376;
\r
6640 bSizer376 = new wxBoxSizer( wxHORIZONTAL );
\r
6642 btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6643 btnAdd->SetMinSize( wxSize( 28,28 ) );
\r
6644 btnAdd->SetMaxSize( wxSize( 28,28 ) );
\r
6646 bSizer376->Add( btnAdd, 0, wxALL, 5 );
\r
6648 btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW );
\r
6649 btnDelete->SetMinSize( wxSize( 28,28 ) );
\r
6650 btnDelete->SetMaxSize( wxSize( 28,28 ) );
\r
6652 bSizer376->Add( btnDelete, 0, wxALL, 5 );
\r
6655 fgSizer40->Add( bSizer376, 0, 0, 5 );
\r
6658 this->SetSizer( fgSizer40 );
\r
6662 choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6663 btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6664 btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6667 XABSearchPanelADT::~XABSearchPanelADT()
\r
6669 // Disconnect Events
\r
6670 choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this );
\r
6671 btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this );
\r
6672 btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this );
\r
6676 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
6678 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6680 wxBoxSizer* bSizer376;
\r
6681 bSizer376 = new wxBoxSizer( wxVERTICAL );
\r
6683 wxArrayString chlAccountsChoices;
\r
6684 chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
6685 bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 );
\r
6687 wxBoxSizer* bSizer377;
\r
6688 bSizer377 = new wxBoxSizer( wxHORIZONTAL );
\r
6691 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6693 btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6694 bSizer377->Add( btnSelect, 0, wxALL, 5 );
\r
6696 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6697 bSizer377->Add( btnCancel, 0, wxALL, 5 );
\r
6700 bSizer377->Add( 0, 0, 1, wxEXPAND, 5 );
\r
6703 bSizer376->Add( bSizer377, 0, wxEXPAND, 5 );
\r
6706 this->SetSizer( bSizer376 );
\r
6709 this->Centre( wxBOTH );
\r
6712 btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6713 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6716 frmSearchAccountsADT::~frmSearchAccountsADT()
\r
6718 // Disconnect Events
\r
6719 btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this );
\r
6720 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this );
\r
6724 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
6726 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6728 wxBoxSizer* bSizer384;
\r
6729 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6731 wxBoxSizer* szrTabs;
\r
6732 szrTabs = new wxBoxSizer( wxVERTICAL );
\r
6734 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6735 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6736 wxFlexGridSizer* fgSizer43;
\r
6737 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6738 fgSizer43->AddGrowableCol( 1 );
\r
6739 fgSizer43->SetFlexibleDirection( wxBOTH );
\r
6740 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6742 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6743 lblAccName->Wrap( -1 );
\r
6744 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6746 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6747 txtAccountName->SetMaxLength( 0 );
\r
6748 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
\r
6750 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6751 lblAccAdr->Wrap( -1 );
\r
6752 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6754 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6755 txtAddress->SetMaxLength( 0 );
\r
6756 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
\r
6758 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6759 m_staticText193->Wrap( -1 );
\r
6760 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6762 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6763 txtPort->SetMaxLength( 5 );
\r
6764 fgSizer43->Add( txtPort, 0, wxALL, 5 );
\r
6766 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6767 lblPort->Wrap( -1 );
\r
6768 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6770 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6771 txtUsername->SetMaxLength( 0 );
\r
6772 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
\r
6774 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6775 lblPassword->Wrap( -1 );
\r
6776 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6778 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6779 txtPassword->SetMaxLength( 0 );
\r
6780 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
\r
6782 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6783 lblPrefix->Wrap( -1 );
\r
6784 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6786 wxBoxSizer* bSizer391;
\r
6787 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
\r
6789 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6790 txtPrefix->SetMaxLength( 0 );
\r
6791 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
\r
6793 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
\r
6794 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
\r
6797 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
\r
6799 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6800 txtSSL->Wrap( -1 );
\r
6801 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6803 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6804 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
\r
6807 tabProperties->SetSizer( fgSizer43 );
\r
6808 tabProperties->Layout();
\r
6809 fgSizer43->Fit( tabProperties );
\r
6810 tabAccount->AddPage( tabProperties, wxT("General"), true );
\r
6811 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6812 wxFlexGridSizer* fgSizer431;
\r
6813 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6814 fgSizer431->AddGrowableCol( 1 );
\r
6815 fgSizer431->SetFlexibleDirection( wxBOTH );
\r
6816 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
\r
6818 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6819 lblRefresh->Wrap( -1 );
\r
6820 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
6822 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
\r
6823 txtRefresh->SetMaxLength( 5 );
\r
6824 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
\r
6827 tabRefresh->SetSizer( fgSizer431 );
\r
6828 tabRefresh->Layout();
\r
6829 fgSizer431->Fit( tabRefresh );
\r
6830 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
\r
6832 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
\r
6835 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
\r
6837 wxBoxSizer* szrButtons;
\r
6838 szrButtons = new wxBoxSizer( wxHORIZONTAL );
\r
6841 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
\r
6843 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6844 btnSave->SetDefault();
\r
6845 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
\r
6848 szrButtons->Add( 5, 0, 0, 0, 0 );
\r
6850 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6851 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
\r
6854 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
\r
6857 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
\r
6860 this->SetSizer( bSizer384 );
\r
6863 this->Centre( wxBOTH );
\r
6866 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6867 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6868 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6871 frmEditAccountADT::~frmEditAccountADT()
\r
6873 // Disconnect Events
\r
6874 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
\r
6875 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
\r
6876 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
\r
6880 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
6882 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
6884 wxBoxSizer* bSizer384;
\r
6885 bSizer384 = new wxBoxSizer( wxVERTICAL );
\r
6887 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
\r
6888 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6889 wxBoxSizer* bSizer386;
\r
6890 bSizer386 = new wxBoxSizer( wxVERTICAL );
\r
6892 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6893 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
\r
6895 wxBoxSizer* bSizer389;
\r
6896 bSizer389 = new wxBoxSizer( wxVERTICAL );
\r
6898 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6899 lblCertName->Wrap( -1 );
\r
6900 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
\r
6902 bSizer389->Add( lblCertName, 0, wxALL, 5 );
\r
6904 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6905 lblValidityStatus->Wrap( -1 );
\r
6906 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
\r
6909 pnlTop->SetSizer( bSizer389 );
\r
6911 bSizer389->Fit( pnlTop );
\r
6912 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
\r
6914 wxBoxSizer* bSizer392;
\r
6915 bSizer392 = new wxBoxSizer( wxVERTICAL );
\r
6917 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6918 wxFlexGridSizer* fgSizer44;
\r
6919 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
\r
6920 fgSizer44->AddGrowableCol( 1 );
\r
6921 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
\r
6922 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
\r
6924 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6925 lblIssuedTo->Wrap( -1 );
\r
6926 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
\r
6928 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6929 lblIssuedToData->Wrap( -1 );
\r
6930 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
\r
6932 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6933 lblValidFrom->Wrap( -1 );
\r
6934 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
\r
6936 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6937 lblValidFromData->Wrap( -1 );
\r
6938 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
\r
6940 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6941 lblValidUntil->Wrap( -1 );
\r
6942 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
\r
6944 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6945 lblValidUntilData->Wrap( -1 );
\r
6946 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
\r
6949 m_panel54->SetSizer( fgSizer44 );
\r
6950 m_panel54->Layout();
\r
6951 fgSizer44->Fit( m_panel54 );
\r
6952 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
\r
6955 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
\r
6958 tabSummary->SetSizer( bSizer386 );
\r
6959 tabSummary->Layout();
\r
6960 bSizer386->Fit( tabSummary );
\r
6961 m_notebook28->AddPage( tabSummary, wxT("Summary"), true );
\r
6962 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6963 wxBoxSizer* bSizer3891;
\r
6964 bSizer3891 = new wxBoxSizer( wxVERTICAL );
\r
6966 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
\r
6967 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
\r
6969 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
\r
6970 txtValueData->SetMaxLength( 0 );
\r
6971 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
\r
6973 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
\r
6976 tabDetail->SetSizer( bSizer3891 );
\r
6977 tabDetail->Layout();
\r
6978 bSizer3891->Fit( tabDetail );
\r
6979 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
\r
6980 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6981 wxBoxSizer* bSizer390;
\r
6982 bSizer390 = new wxBoxSizer( wxVERTICAL );
\r
6984 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
\r
6985 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
6987 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
6988 wxBoxSizer* bSizer393;
\r
6989 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
6991 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
\r
6992 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
\r
6995 m_panel57->SetSizer( bSizer393 );
\r
6996 m_panel57->Layout();
\r
6997 bSizer393->Fit( m_panel57 );
\r
6998 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
\r
7001 tabHierarchy->SetSizer( bSizer390 );
\r
7002 tabHierarchy->Layout();
\r
7003 bSizer390->Fit( tabHierarchy );
\r
7004 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false );
\r
7006 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
\r
7008 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
\r
7009 wxBoxSizer* bSizer385;
\r
7010 bSizer385 = new wxBoxSizer( wxVERTICAL );
\r
7012 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7013 btnClose->SetDefault();
\r
7014 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
\r
7017 pnlButtons->SetSizer( bSizer385 );
\r
7018 pnlButtons->Layout();
\r
7019 bSizer385->Fit( pnlButtons );
\r
7020 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
\r
7023 this->SetSizer( bSizer384 );
\r
7026 this->Centre( wxBOTH );
\r
7029 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7030 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7031 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7032 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7035 frmSSLCertificateADT::~frmSSLCertificateADT()
\r
7037 // Disconnect Events
\r
7038 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
\r
7039 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
\r
7040 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
\r
7041 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
\r
7045 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
7047 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7049 wxBoxSizer* bSizer387;
\r
7050 bSizer387 = new wxBoxSizer( wxVERTICAL );
\r
7052 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7053 lblSSLText->Wrap( -1 );
\r
7054 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
\r
7056 wxBoxSizer* bSizer388;
\r
7057 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
\r
7059 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7060 bSizer388->Add( btnAccept, 0, wxALL, 5 );
\r
7062 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7063 btnReject->SetDefault();
\r
7064 bSizer388->Add( btnReject, 0, wxALL, 5 );
\r
7066 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7067 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
\r
7070 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
\r
7073 this->SetSizer( bSizer387 );
\r
7076 this->Centre( wxBOTH );
\r
7079 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7080 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7081 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7084 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
\r
7086 // Disconnect Events
\r
7087 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
\r
7088 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
\r
7089 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
\r
7093 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
7095 this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) );
\r
7097 wxBoxSizer* bSizer393;
\r
7098 bSizer393 = new wxBoxSizer( wxVERTICAL );
\r
7100 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
7101 lblImportText->Wrap( 300 );
\r
7102 bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 );
\r
7104 wxArrayString lstContactsChoices;
\r
7105 lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT );
\r
7106 bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 );
\r
7108 szrAccount = new wxBoxSizer( wxHORIZONTAL );
\r
7110 lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7111 lblAccountText->Wrap( -1 );
\r
7112 szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
\r
7115 bSizer393->Add( szrAccount, 0, wxEXPAND, 5 );
\r
7117 wxBoxSizer* bSizer394;
\r
7118 bSizer394 = new wxBoxSizer( wxHORIZONTAL );
\r
7120 btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7121 btnImport->SetDefault();
\r
7122 bSizer394->Add( btnImport, 0, wxALL, 5 );
\r
7124 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7125 bSizer394->Add( btnCancel, 0, wxALL, 5 );
\r
7128 bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 );
\r
7131 this->SetSizer( bSizer393 );
\r
7134 this->Centre( wxBOTH );
\r
7137 btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7138 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7141 frmImportContactsADT::~frmImportContactsADT()
\r
7143 // Disconnect Events
\r
7144 btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this );
\r
7145 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this );
\r
7149 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
7151 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
\r
7153 wxBoxSizer* bSizer396;
\r
7154 bSizer396 = new wxBoxSizer( wxVERTICAL );
\r
7156 lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 );
\r
7157 lblText->Wrap( -1 );
\r
7158 bSizer396->Add( lblText, 0, wxALL, 5 );
\r
7160 txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
\r
7161 txtResults->SetMaxLength( 0 );
\r
7162 bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 );
\r
7164 wxBoxSizer* bSizer397;
\r
7165 bSizer397 = new wxBoxSizer( wxHORIZONTAL );
\r
7167 btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7168 btnCopyClipboard->Hide();
\r
7170 bSizer397->Add( btnCopyClipboard, 0, 0, 5 );
\r
7172 btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 );
\r
7173 bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
\r
7176 bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
\r
7179 this->SetSizer( bSizer396 );
\r
7182 this->Centre( wxBOTH );
\r
7185 btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7186 btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r
7189 frmImportResultsADT::~frmImportResultsADT()
\r
7191 // Disconnect Events
\r
7192 btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this );
\r
7193 btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this );
\r