1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Dec 21 2016)
3 // http://www.wxformbuilder.org/
5 // PLEASE DO "NOT" EDIT THIS FILE!
6 ///////////////////////////////////////////////////////////////////////////
8 #include "AppXestiaCalendar.h"
10 ///////////////////////////////////////////////////////////////////////////
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 )
14 this->SetSizeHints( wxSize( 800,600 ), wxDefaultSize );
15 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
17 stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
18 menuBar = new wxMenuBar( 0 );
19 mnuManage = new wxMenu();
20 wxMenuItem* mnuManageNew;
21 mnuManageNew = new wxMenuItem( mnuManage, wxID_ANY, wxString( wxT("New Account...") ) + wxT('\t') + wxT("Ctrl+Shift+N"), wxEmptyString, wxITEM_NORMAL );
22 mnuManage->Append( mnuManageNew );
24 mnuManage->AppendSeparator();
26 wxMenuItem* mnuManagePreferences;
27 mnuManagePreferences = new wxMenuItem( mnuManage, wxID_PREFERENCES, wxString( wxT("Preferences...") ) , wxEmptyString, wxITEM_NORMAL );
28 mnuManage->Append( mnuManagePreferences );
30 mnuManage->AppendSeparator();
32 wxMenuItem* mnuManageExit;
33 mnuManageExit = new wxMenuItem( mnuManage, wxID_EXIT, wxString( wxT("Quit") ) + wxT('\t') + wxT("Ctrl+Q"), wxEmptyString, wxITEM_NORMAL );
34 mnuManage->Append( mnuManageExit );
36 menuBar->Append( mnuManage, wxT("Manage") );
38 mnuCreate = new wxMenu();
39 wxMenuItem* mnuCreateCalendar;
40 mnuCreateCalendar = new wxMenuItem( mnuCreate, wxID_ANY, wxString( wxT("Calendar...") ) , wxEmptyString, wxITEM_NORMAL );
41 mnuCreate->Append( mnuCreateCalendar );
43 mnuCreate->AppendSeparator();
45 wxMenuItem* mnuCreateEvent;
46 mnuCreateEvent = new wxMenuItem( mnuCreate, wxID_ANY, wxString( wxT("Event...") ) , wxEmptyString, wxITEM_NORMAL );
47 mnuCreate->Append( mnuCreateEvent );
49 menuBar->Append( mnuCreate, wxT("Create") );
51 mnuView = new wxMenu();
52 wxMenuItem* mnuViewActMgr;
53 mnuViewActMgr = new wxMenuItem( mnuView, wxID_ANY, wxString( wxT("Activity Manager") ) , wxEmptyString, wxITEM_NORMAL );
54 mnuView->Append( mnuViewActMgr );
56 menuBar->Append( mnuView, wxT("View") );
58 mnuWindow = new wxMenu();
59 menuBar->Append( mnuWindow, wxT("Window") );
61 mnuHelp = new wxMenu();
62 wxMenuItem* mnuHelpShow;
63 mnuHelpShow = new wxMenuItem( mnuHelp, wxID_HELP, wxString( wxT("Show Help...") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL );
64 mnuHelp->Append( mnuHelpShow );
66 mnuHelp->AppendSeparator();
68 wxMenuItem* mnuHelpUpdate;
69 mnuHelpUpdate = new wxMenuItem( mnuHelp, wxID_ANY, wxString( wxT("Check for updates...") ) , wxEmptyString, wxITEM_NORMAL );
70 mnuHelp->Append( mnuHelpUpdate );
72 mnuHelp->AppendSeparator();
74 wxMenuItem* mnuHelpAbout;
75 mnuHelpAbout = new wxMenuItem( mnuHelp, wxID_ABOUT, wxString( wxT("About Xestia Calendar...") ) + wxT('\t') + wxT("Shift+Ctrl+A"), wxEmptyString, wxITEM_NORMAL );
76 mnuHelp->Append( mnuHelpAbout );
78 menuBar->Append( mnuHelp, wxT("Help") );
80 this->SetMenuBar( menuBar );
82 szrMain = new wxBoxSizer( wxVERTICAL );
85 this->SetSizer( szrMain );
88 this->Centre( wxBOTH );
91 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
92 this->Connect( mnuManageNew->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewAccountDialog ) );
93 this->Connect( mnuManagePreferences->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowPreferencesWindow ) );
94 this->Connect( mnuManageExit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
95 this->Connect( mnuCreateCalendar->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CreateNewCalendar ) );
96 this->Connect( mnuCreateEvent->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CreateNewEvent ) );
97 this->Connect( mnuViewActMgr->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityManager ) );
98 this->Connect( mnuHelpShow->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
99 this->Connect( mnuHelpUpdate->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowUpdateWindow ) );
100 this->Connect( mnuHelpAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
103 frmMainADT::~frmMainADT()
106 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) );
107 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewAccountDialog ) );
108 this->Disconnect( wxID_PREFERENCES, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowPreferencesWindow ) );
109 this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) );
110 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CreateNewCalendar ) );
111 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CreateNewEvent ) );
112 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityManager ) );
113 this->Disconnect( wxID_HELP, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) );
114 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowUpdateWindow ) );
115 this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) );
119 frmUpdateADT::frmUpdateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
121 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
123 wxBoxSizer* bSizer390;
124 bSizer390 = new wxBoxSizer( wxVERTICAL );
126 pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
127 wxBoxSizer* bSizer391;
128 bSizer391 = new wxBoxSizer( wxVERTICAL );
130 wxFlexGridSizer* fgSizer45;
131 fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 );
132 fgSizer45->SetFlexibleDirection( wxBOTH );
133 fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
135 lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 );
136 lblRunningText->Wrap( -1 );
137 fgSizer45->Add( lblRunningText, 0, wxALL, 5 );
139 lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 );
140 lblRunningVer->Wrap( -1 );
141 lblRunningVer->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
143 fgSizer45->Add( lblRunningVer, 0, wxALL, 5 );
145 lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 );
146 lblAvailableText->Wrap( -1 );
147 fgSizer45->Add( lblAvailableText, 0, wxALL, 5 );
149 lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 );
150 lblAvailableVer->Wrap( -1 );
151 fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 );
153 lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 );
154 lblBuildTypeText->Wrap( -1 );
155 fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 );
157 lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 );
158 lblBuildType->Wrap( -1 );
159 fgSizer45->Add( lblBuildType, 0, wxALL, 5 );
162 bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 );
164 lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 );
165 lblUpdateMessage->Wrap( -1 );
166 bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 );
169 pnlUpdateData->SetSizer( bSizer391 );
170 pnlUpdateData->Layout();
171 bSizer391->Fit( pnlUpdateData );
172 bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 );
174 statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
175 bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 );
177 wxBoxSizer* bSizer392;
178 bSizer392 = new wxBoxSizer( wxHORIZONTAL );
180 btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 );
181 bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
183 btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 );
184 bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 );
186 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
187 bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
190 bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 );
193 this->SetSizer( bSizer390 );
196 this->Centre( wxBOTH );
199 btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
200 btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
201 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
204 frmUpdateADT::~frmUpdateADT()
207 btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
208 btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
209 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
213 frmPreferencesADT::frmPreferencesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
215 this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) );
218 szrMain = new wxBoxSizer( wxVERTICAL );
221 szrTabs = new wxBoxSizer( wxVERTICAL );
223 NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
224 tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
225 wxBoxSizer* szrChecks;
226 szrChecks = new wxBoxSizer( wxVERTICAL );
228 chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
229 szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 );
231 chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local calendars"), wxDefaultPosition, wxDefaultSize, 0 );
232 szrChecks->Add( chkHideLocal, 0, wxALL, 5 );
235 tabGeneral->SetSizer( szrChecks );
236 tabGeneral->Layout();
237 szrChecks->Fit( tabGeneral );
238 NbtPreferences->AddPage( tabGeneral, wxT("General"), false );
239 tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
242 wxGridSizer* szrTheme;
243 szrTheme = new wxGridSizer( 1, 1, 0, 0 );
245 wxBoxSizer* bSizer161;
246 bSizer161 = new wxBoxSizer( wxVERTICAL );
248 lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
249 bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
251 wxBoxSizer* bSizer151;
252 bSizer151 = new wxBoxSizer( wxHORIZONTAL );
254 btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
255 bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
257 btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
258 btnThemeModify->Enable( false );
260 bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
262 btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
263 btnThemeDelete->Enable( false );
265 bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
268 bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
271 szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
274 tabTheme->SetSizer( szrTheme );
276 szrTheme->Fit( tabTheme );
277 NbtPreferences->AddPage( tabTheme, wxT("Themes"), false );
278 tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
279 wxGridSizer* szrAccounts;
280 szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
282 wxBoxSizer* bSizer16;
283 bSizer16 = new wxBoxSizer( wxVERTICAL );
285 lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
286 bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
288 wxBoxSizer* bSizer15;
289 bSizer15 = new wxBoxSizer( wxHORIZONTAL );
291 btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
292 bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
294 btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
295 btnAccountModify->Enable( false );
297 bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
299 btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
300 btnAccountDelete->Enable( false );
302 bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
305 bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
308 szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
311 tabAccounts->SetSizer( szrAccounts );
312 tabAccounts->Layout();
313 szrAccounts->Fit( tabAccounts );
314 NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), true );
316 szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
319 szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
321 wxBoxSizer* szrButtons;
322 szrButtons = new wxBoxSizer( wxHORIZONTAL );
325 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
327 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
328 btnSave->SetDefault();
329 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
332 szrButtons->Add( 5, 0, 0, 0, 0 );
334 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
335 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
338 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
341 szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
344 this->SetSizer( szrMain );
347 this->Centre( wxBOTH );
350 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
351 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
352 lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
353 btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
354 btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
355 btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
356 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableButtons ), NULL, this );
357 lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableButtons ), NULL, this );
358 btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddAccount ), NULL, this );
359 btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyAccount ), NULL, this );
360 btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteAccount ), NULL, this );
361 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
362 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
365 frmPreferencesADT::~frmPreferencesADT()
368 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
369 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
370 lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
371 btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
372 btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
373 btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
374 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableButtons ), NULL, this );
375 lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableButtons ), NULL, this );
376 btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddAccount ), NULL, this );
377 btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyAccount ), NULL, this );
378 btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteAccount ), NULL, this );
379 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
380 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
384 frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
386 this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
389 szrMain = new wxBoxSizer( wxVERTICAL );
392 szrLogo = new wxBoxSizer( wxVERTICAL );
394 szrLogo->SetMinSize( wxSize( 350,100 ) );
395 bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
396 szrLogo->Add( bmpLogo, 0, wxALL, 0 );
399 szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
401 wxBoxSizer* szrDetails;
402 szrDetails = new wxBoxSizer( wxVERTICAL );
404 lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
405 lblVersion->Wrap( -1 );
406 lblVersion->SetFont( wxFont( 14, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
408 szrDetails->Add( lblVersion, 0, wxALL, 5 );
410 lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
411 lblCompileTime->Wrap( -1 );
412 szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
414 lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
415 lblCopyright->Wrap( -1 );
416 szrDetails->Add( lblCopyright, 0, wxALL, 5 );
419 szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
421 wxBoxSizer* szrButtons;
422 szrButtons = new wxBoxSizer( wxVERTICAL );
424 szrButtons->SetMinSize( wxSize( -1,35 ) );
425 btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
426 szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
429 szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
432 this->SetSizer( szrMain );
435 this->Centre( wxBOTH );
438 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
441 frmAboutADT::~frmAboutADT()
444 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
448 frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
450 this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
452 wxFlexGridSizer* fgSizer30;
453 fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
454 fgSizer30->AddGrowableCol( 0 );
455 fgSizer30->AddGrowableRow( 0 );
456 fgSizer30->SetFlexibleDirection( wxBOTH );
457 fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
459 szrNewAccount = new wxBoxSizer( wxVERTICAL );
461 tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
462 wxFlexGridSizer* fgSizer32;
463 fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
464 fgSizer32->AddGrowableCol( 0 );
465 fgSizer32->SetFlexibleDirection( wxBOTH );
466 fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
468 lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
469 lblEnterText->Wrap( -1 );
470 fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
472 wxFlexGridSizer* fgSizer33;
473 fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
474 fgSizer33->AddGrowableCol( 1 );
475 fgSizer33->AddGrowableRow( 0 );
476 fgSizer33->SetFlexibleDirection( wxBOTH );
477 fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
479 lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
481 fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
483 wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CalDAV") };
484 int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
485 cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
486 cmbServerType->SetSelection( 0 );
487 fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
489 lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
490 lblServerAddress->Wrap( -1 );
491 fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
493 txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
494 fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
496 lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
497 lblServerPort->Wrap( -1 );
498 fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
500 txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
501 fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
503 lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
504 lblUsername->Wrap( -1 );
505 fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
507 txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
508 fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
510 lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
511 lblPassword->Wrap( -1 );
512 fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
514 txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
515 fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
517 lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
519 fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
521 wxBoxSizer* bSizer3221;
522 bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
524 chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
525 chkUseSSL->SetValue(true);
526 bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
529 fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
532 fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
535 tabType->SetSizer( fgSizer32 );
537 fgSizer32->Fit( tabType );
538 szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
540 tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
543 wxBoxSizer* bSizer323;
544 bSizer323 = new wxBoxSizer( wxVERTICAL );
546 lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
547 lblConnectionResult->Wrap( -1 );
548 lblConnectionResult->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxT("Sans") ) );
550 bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
552 wxFlexGridSizer* fgSizer34;
553 fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
554 fgSizer34->SetFlexibleDirection( wxBOTH );
555 fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
557 lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
558 lblServerConnected->Wrap( -1 );
559 fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
561 lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
562 lblServerConnResult->Wrap( -1 );
563 fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
565 lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
566 lblValidResponse->Wrap( -1 );
567 fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
569 lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
570 lblServerResponse->Wrap( -1 );
571 fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
573 lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
574 lblUseSSL->Wrap( -1 );
575 fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
577 lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
578 lblServerSSLResult->Wrap( -1 );
579 fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
581 lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
582 lblServerSSLCert->Wrap( -1 );
583 fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
585 lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
586 lblServerSSLValid->Wrap( -1 );
587 fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
589 lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
590 lblServerUsernamePassword->Wrap( -1 );
591 fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
593 lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
594 lblAbleToLoginResult->Wrap( -1 );
595 fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
597 lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
598 lblIsCalDAV->Wrap( -1 );
599 fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
601 lblCalDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
602 lblCalDAVSupportResult->Wrap( -1 );
603 fgSizer34->Add( lblCalDAVSupportResult, 0, wxALL, 5 );
606 bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
608 m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
609 bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
611 lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
612 lblConnectionResultText->Wrap( 360 );
613 lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
615 bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
618 tabConn->SetSizer( bSizer323 );
620 bSizer323->Fit( tabConn );
621 szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
623 tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
626 wxBoxSizer* bSizer3231;
627 bSizer3231 = new wxBoxSizer( wxVERTICAL );
629 lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
630 lblFinishText->Wrap( -1 );
631 bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
633 wxFlexGridSizer* fgSizer341;
634 fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
635 fgSizer341->AddGrowableCol( 1 );
636 fgSizer341->SetFlexibleDirection( wxBOTH );
637 fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
639 lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
640 lblAccountName->Wrap( -1 );
641 fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
643 txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
644 fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
647 bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
650 tabFinish->SetSizer( bSizer3231 );
652 bSizer3231->Fit( tabFinish );
653 szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
656 fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
658 wxBoxSizer* bSizer322;
659 bSizer322 = new wxBoxSizer( wxHORIZONTAL );
661 btnPrevious = new wxButton( this, wxID_PREV, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
662 bSizer322->Add( btnPrevious, 0, wxALL, 5 );
664 btnNext = new wxButton( this, wxID_NEXT, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
665 btnNext->SetDefault();
666 bSizer322->Add( btnNext, 0, wxALL, 5 );
668 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
669 bSizer322->Add( btnClose, 0, wxALL, 5 );
672 fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
675 this->SetSizer( fgSizer30 );
678 this->Centre( wxBOTH );
681 cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
682 txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
683 btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::Navigate ), NULL, this );
684 btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::Navigate ), NULL, this );
685 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
688 frmNewAccountADT::~frmNewAccountADT()
691 cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
692 txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
693 btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::Navigate ), NULL, this );
694 btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::Navigate ), NULL, this );
695 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
699 frmConflictResolutionADT::frmConflictResolutionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
701 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
703 wxFlexGridSizer* fgSizer39;
704 fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
705 fgSizer39->AddGrowableCol( 0 );
706 fgSizer39->AddGrowableRow( 0 );
707 fgSizer39->SetFlexibleDirection( wxBOTH );
708 fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
710 wxBoxSizer* bSizer363;
711 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
713 wxBoxSizer* bSizer364;
714 bSizer364 = new wxBoxSizer( wxVERTICAL );
716 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 );
718 bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
720 m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
721 m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
723 m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
724 wxBoxSizer* bSizer365;
725 bSizer365 = new wxBoxSizer( wxVERTICAL );
727 htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
728 bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
731 m_panel44->SetSizer( bSizer365 );
733 bSizer365->Fit( m_panel44 );
734 m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
735 wxBoxSizer* bSizer366;
736 bSizer366 = new wxBoxSizer( wxVERTICAL );
738 htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
739 bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
742 m_panel45->SetSizer( bSizer366 );
744 bSizer366->Fit( m_panel45 );
745 m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
746 bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
748 wxBoxSizer* bSizer367;
749 bSizer367 = new wxBoxSizer( wxHORIZONTAL );
752 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
754 btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
755 bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
757 btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
758 bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
760 btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
761 bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
764 bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
767 bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
770 bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
773 fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
776 this->SetSizer( fgSizer39 );
779 this->Centre( wxBOTH );
782 btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
783 btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
784 btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
787 frmConflictResolutionADT::~frmConflictResolutionADT()
790 btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
791 btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
792 btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
796 frmActivityMgrADT::frmActivityMgrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
798 this->SetSizeHints( wxSize( 400,425 ), wxDefaultSize );
800 mnuMenuBar = new wxMenuBar( 0 );
801 mnuWindow = new wxMenu();
802 wxMenuItem* mnuStopActivity;
803 mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
804 mnuWindow->Append( mnuStopActivity );
806 wxMenuItem* mnuActivityStopAll;
807 mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
808 mnuWindow->Append( mnuActivityStopAll );
810 wxMenuItem* mnuRetryActivity;
811 mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
812 mnuWindow->Append( mnuRetryActivity );
814 mnuWindow->AppendSeparator();
816 mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
817 mnuWindow->Append( mnuSleepMode );
819 mnuWindow->AppendSeparator();
821 wxMenuItem* mnuWindowClose;
822 mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
823 mnuWindow->Append( mnuWindowClose );
825 mnuMenuBar->Append( mnuWindow, wxT("&Activity") );
827 this->SetMenuBar( mnuMenuBar );
829 wxFlexGridSizer* fgSizer38;
830 fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
831 fgSizer38->AddGrowableCol( 0 );
832 fgSizer38->AddGrowableRow( 1 );
833 fgSizer38->SetFlexibleDirection( wxBOTH );
834 fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
836 m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
837 wxBoxSizer* bSizer363;
838 bSizer363 = new wxBoxSizer( wxHORIZONTAL );
840 bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
841 bmpActivity->SetMinSize( wxSize( 64,64 ) );
843 bSizer363->Add( bmpActivity, 0, wxALL, 5 );
845 m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
846 wxBoxSizer* bSizer364;
847 bSizer364 = new wxBoxSizer( wxVERTICAL );
850 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
852 lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
853 lblDetails->Wrap( -1 );
854 bSizer364->Add( lblDetails, 0, wxALL|wxEXPAND, 0 );
857 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
859 GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
860 GauProgress->SetValue( 0 );
861 GauProgress->SetMinSize( wxSize( -1,20 ) );
863 bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
866 bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
869 m_panel46->SetSizer( bSizer364 );
871 bSizer364->Fit( m_panel46 );
872 bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
875 m_panel43->SetSizer( bSizer363 );
877 bSizer363->Fit( m_panel43 );
878 fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
880 m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
881 wxBoxSizer* bSizer365;
882 bSizer365 = new wxBoxSizer( wxVERTICAL );
884 lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
885 bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
888 m_panel44->SetSizer( bSizer365 );
890 bSizer365->Fit( m_panel44 );
891 fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
894 this->SetSizer( fgSizer38 );
897 this->Centre( wxBOTH );
900 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
901 this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
902 this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
903 this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
904 this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
905 this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
908 frmActivityMgrADT::~frmActivityMgrADT()
911 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
912 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
913 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
914 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
915 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
916 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
920 frmEditAccountADT::frmEditAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
922 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
924 wxBoxSizer* bSizer384;
925 bSizer384 = new wxBoxSizer( wxVERTICAL );
928 szrTabs = new wxBoxSizer( wxVERTICAL );
930 tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
931 tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
932 wxFlexGridSizer* fgSizer43;
933 fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
934 fgSizer43->AddGrowableCol( 1 );
935 fgSizer43->SetFlexibleDirection( wxBOTH );
936 fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
938 lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
939 lblAccName->Wrap( -1 );
940 fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
942 txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
943 fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
945 lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
946 lblAccAdr->Wrap( -1 );
947 fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
949 txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
950 fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
952 m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
953 m_staticText193->Wrap( -1 );
954 fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
956 txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
958 if ( !txtPort->HasFlag( wxTE_MULTILINE ) )
960 txtPort->SetMaxLength( 5 );
963 txtPort->SetMaxLength( 5 );
965 fgSizer43->Add( txtPort, 0, wxALL, 5 );
967 lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
969 fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
971 txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
972 fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
974 lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
975 lblPassword->Wrap( -1 );
976 fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
978 txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
979 fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
981 lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
982 lblPrefix->Wrap( -1 );
983 fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
985 wxBoxSizer* bSizer391;
986 bSizer391 = new wxBoxSizer( wxHORIZONTAL );
988 txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
989 bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
991 btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
992 bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
995 fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
997 txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
999 fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1001 chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
1002 fgSizer43->Add( chkSSL, 0, wxALL, 5 );
1005 tabProperties->SetSizer( fgSizer43 );
1006 tabProperties->Layout();
1007 fgSizer43->Fit( tabProperties );
1008 tabAccount->AddPage( tabProperties, wxT("General"), true );
1009 tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1010 wxFlexGridSizer* fgSizer431;
1011 fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
1012 fgSizer431->AddGrowableCol( 1 );
1013 fgSizer431->SetFlexibleDirection( wxBOTH );
1014 fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
1016 lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
1017 lblRefresh->Wrap( -1 );
1018 fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1020 txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1022 if ( !txtRefresh->HasFlag( wxTE_MULTILINE ) )
1024 txtRefresh->SetMaxLength( 5 );
1027 txtRefresh->SetMaxLength( 5 );
1029 fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
1032 tabRefresh->SetSizer( fgSizer431 );
1033 tabRefresh->Layout();
1034 fgSizer431->Fit( tabRefresh );
1035 tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
1037 szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
1040 bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
1042 wxBoxSizer* szrButtons;
1043 szrButtons = new wxBoxSizer( wxHORIZONTAL );
1046 szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
1048 btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
1049 btnSave->SetDefault();
1050 szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
1053 szrButtons->Add( 5, 0, 0, 0, 0 );
1055 btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
1056 szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
1059 szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
1062 bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
1065 this->SetSizer( bSizer384 );
1068 this->Centre( wxBOTH );
1071 btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
1072 btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
1073 btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
1076 frmEditAccountADT::~frmEditAccountADT()
1078 // Disconnect Events
1079 btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
1080 btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
1081 btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
1085 frmSSLCertificateADT::frmSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
1087 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
1089 wxBoxSizer* bSizer384;
1090 bSizer384 = new wxBoxSizer( wxVERTICAL );
1092 m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1093 tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1094 wxBoxSizer* bSizer386;
1095 bSizer386 = new wxBoxSizer( wxVERTICAL );
1097 pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1098 pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
1100 wxBoxSizer* bSizer389;
1101 bSizer389 = new wxBoxSizer( wxVERTICAL );
1103 lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
1104 lblCertName->Wrap( -1 );
1105 lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
1107 bSizer389->Add( lblCertName, 0, wxALL, 5 );
1109 lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
1110 lblValidityStatus->Wrap( -1 );
1111 bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
1114 pnlTop->SetSizer( bSizer389 );
1116 bSizer389->Fit( pnlTop );
1117 bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
1119 wxBoxSizer* bSizer392;
1120 bSizer392 = new wxBoxSizer( wxVERTICAL );
1122 m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1123 wxFlexGridSizer* fgSizer44;
1124 fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
1125 fgSizer44->AddGrowableCol( 1 );
1126 fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
1127 fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1129 lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
1130 lblIssuedTo->Wrap( -1 );
1131 fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
1133 lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
1134 lblIssuedToData->Wrap( -1 );
1135 fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
1137 lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
1138 lblValidFrom->Wrap( -1 );
1139 fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
1141 lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
1142 lblValidFromData->Wrap( -1 );
1143 fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
1145 lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
1146 lblValidUntil->Wrap( -1 );
1147 fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
1149 lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
1150 lblValidUntilData->Wrap( -1 );
1151 fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
1154 m_panel54->SetSizer( fgSizer44 );
1155 m_panel54->Layout();
1156 fgSizer44->Fit( m_panel54 );
1157 bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
1160 bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
1163 tabSummary->SetSizer( bSizer386 );
1164 tabSummary->Layout();
1165 bSizer386->Fit( tabSummary );
1166 m_notebook28->AddPage( tabSummary, wxT("Summary"), true );
1167 tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1168 wxBoxSizer* bSizer3891;
1169 bSizer3891 = new wxBoxSizer( wxVERTICAL );
1171 lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
1172 bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
1174 txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
1175 txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
1177 bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
1180 tabDetail->SetSizer( bSizer3891 );
1181 tabDetail->Layout();
1182 bSizer3891->Fit( tabDetail );
1183 m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
1184 tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1185 wxBoxSizer* bSizer390;
1186 bSizer390 = new wxBoxSizer( wxVERTICAL );
1188 treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
1189 bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
1191 m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1192 wxBoxSizer* bSizer393;
1193 bSizer393 = new wxBoxSizer( wxVERTICAL );
1195 btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
1196 bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
1199 m_panel57->SetSizer( bSizer393 );
1200 m_panel57->Layout();
1201 bSizer393->Fit( m_panel57 );
1202 bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
1205 tabHierarchy->SetSizer( bSizer390 );
1206 tabHierarchy->Layout();
1207 bSizer390->Fit( tabHierarchy );
1208 m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false );
1210 bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
1212 pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
1213 wxBoxSizer* bSizer385;
1214 bSizer385 = new wxBoxSizer( wxVERTICAL );
1216 btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
1217 btnClose->SetDefault();
1218 bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
1221 pnlButtons->SetSizer( bSizer385 );
1222 pnlButtons->Layout();
1223 bSizer385->Fit( pnlButtons );
1224 bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
1227 this->SetSizer( bSizer384 );
1230 this->Centre( wxBOTH );
1233 lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
1234 treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
1235 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
1236 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
1239 frmSSLCertificateADT::~frmSSLCertificateADT()
1241 // Disconnect Events
1242 lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
1243 treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
1244 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
1245 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
1249 frmInvalidSSLCertificateADT::frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
1251 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
1253 wxBoxSizer* bSizer387;
1254 bSizer387 = new wxBoxSizer( wxVERTICAL );
1256 lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
1257 lblSSLText->Wrap( -1 );
1258 bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
1260 wxBoxSizer* bSizer388;
1261 bSizer388 = new wxBoxSizer( wxHORIZONTAL );
1263 btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
1264 bSizer388->Add( btnAccept, 0, wxALL, 5 );
1266 btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
1267 btnReject->SetDefault();
1268 bSizer388->Add( btnReject, 0, wxALL, 5 );
1270 btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
1271 bSizer388->Add( btnViewCert, 0, wxALL, 5 );
1274 bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
1277 this->SetSizer( bSizer387 );
1280 this->Centre( wxBOTH );
1283 btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
1284 btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
1285 btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
1288 frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
1290 // Disconnect Events
1291 btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
1292 btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
1293 btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
1297 frmCalendarEditorADT::frmCalendarEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
1299 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
1301 wxBoxSizer* bSizer44;
1302 bSizer44 = new wxBoxSizer( wxVERTICAL );
1304 wxFlexGridSizer* fgSizer12;
1305 fgSizer12 = new wxFlexGridSizer( 4, 2, 0, 0 );
1306 fgSizer12->AddGrowableCol( 1 );
1307 fgSizer12->AddGrowableRow( 3 );
1308 fgSizer12->SetFlexibleDirection( wxBOTH );
1309 fgSizer12->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1311 lblAccount = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 );
1312 lblAccount->Wrap( -1 );
1313 fgSizer12->Add( lblAccount, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1315 wxArrayString cmbAccountChoices;
1316 cmbAccount = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbAccountChoices, 0 );
1317 cmbAccount->SetSelection( 0 );
1318 fgSizer12->Add( cmbAccount, 0, wxALL|wxEXPAND, 5 );
1320 lblName = new wxStaticText( this, wxID_ANY, wxT("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
1321 lblName->Wrap( -1 );
1322 fgSizer12->Add( lblName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1324 txtName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1325 fgSizer12->Add( txtName, 1, wxALL|wxEXPAND, 5 );
1327 lblColour = new wxStaticText( this, wxID_ANY, wxT("Colour:"), wxDefaultPosition, wxDefaultSize, 0 );
1328 lblColour->Wrap( -1 );
1329 fgSizer12->Add( lblColour, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1331 clpColour = new wxColourPickerCtrl( this, wxID_ANY, wxColour( 0, 0, 0 ), wxDefaultPosition, wxSize( 50,24 ), wxCLRP_DEFAULT_STYLE );
1332 fgSizer12->Add( clpColour, 0, wxALL, 5 );
1334 lblDescription = new wxStaticText( this, wxID_ANY, wxT("Description:"), wxDefaultPosition, wxDefaultSize, 0 );
1335 lblDescription->Wrap( -1 );
1336 fgSizer12->Add( lblDescription, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1338 txtDescription = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
1339 fgSizer12->Add( txtDescription, 1, wxALL|wxEXPAND, 5 );
1342 bSizer44->Add( fgSizer12, 1, wxEXPAND, 5 );
1344 wxBoxSizer* bSizer46;
1345 bSizer46 = new wxBoxSizer( wxHORIZONTAL );
1348 bSizer46->Add( 0, 0, 1, wxEXPAND, 5 );
1350 btnCreate = new wxButton( this, wxID_ANY, wxT("Create"), wxDefaultPosition, wxDefaultSize, 0 );
1351 btnCreate->SetDefault();
1352 bSizer46->Add( btnCreate, 0, wxALL, 5 );
1354 btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
1355 bSizer46->Add( btnClose, 0, wxALL, 5 );
1358 bSizer44->Add( bSizer46, 0, wxEXPAND, 5 );
1361 this->SetSizer( bSizer44 );
1364 this->Centre( wxBOTH );
1367 btnCreate->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmCalendarEditorADT::ProcessCalendar ), NULL, this );
1368 btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmCalendarEditorADT::CloseWindow ), NULL, this );
1371 frmCalendarEditorADT::~frmCalendarEditorADT()
1373 // Disconnect Events
1374 btnCreate->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmCalendarEditorADT::ProcessCalendar ), NULL, this );
1375 btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmCalendarEditorADT::CloseWindow ), NULL, this );
1379 frmEventEditorADT::frmEventEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
1381 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
1382 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
1384 menuBar = new wxMenuBar( 0 );
1385 mnuEvent = new wxMenu();
1386 wxMenuItem* mnuEventSave;
1387 mnuEventSave = new wxMenuItem( mnuEvent, wxID_ANY, wxString( wxT("Save") ) , wxEmptyString, wxITEM_NORMAL );
1388 mnuEvent->Append( mnuEventSave );
1390 wxMenuItem* mnuEventSaveNew;
1391 mnuEventSaveNew = new wxMenuItem( mnuEvent, wxID_ANY, wxString( wxT("Save and New") ) , wxEmptyString, wxITEM_NORMAL );
1392 mnuEvent->Append( mnuEventSaveNew );
1394 mnuEvent->AppendSeparator();
1396 wxMenuItem* mnuEventClose;
1397 mnuEventClose = new wxMenuItem( mnuEvent, wxID_ANY, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL );
1398 mnuEvent->Append( mnuEventClose );
1400 menuBar->Append( mnuEvent, wxT("Event") );
1402 mnuEdit = new wxMenu();
1403 wxMenuItem* mnuEditCut;
1404 mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cut") ) , wxEmptyString, wxITEM_NORMAL );
1405 mnuEdit->Append( mnuEditCut );
1407 wxMenuItem* mnuEditCopy;
1408 mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("Copy") ) , wxEmptyString, wxITEM_NORMAL );
1409 mnuEdit->Append( mnuEditCopy );
1411 wxMenuItem* mnuEditPaste;
1412 mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("Paste") ) , wxEmptyString, wxITEM_NORMAL );
1413 mnuEdit->Append( mnuEditPaste );
1415 menuBar->Append( mnuEdit, wxT("Edit") );
1417 this->SetMenuBar( menuBar );
1419 wxBoxSizer* bSizer46;
1420 bSizer46 = new wxBoxSizer( wxVERTICAL );
1422 nbkNotebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
1423 tabProperties = new wxScrolledWindow( nbkNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
1424 tabProperties->SetScrollRate( 5, 5 );
1425 szrList = new wxBoxSizer( wxVERTICAL );
1427 szrDetails = new wxFlexGridSizer( 3, 2, 0, 0 );
1428 szrDetails->AddGrowableCol( 1 );
1429 szrDetails->SetFlexibleDirection( wxBOTH );
1430 szrDetails->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1432 lblCalendar = new wxStaticText( tabProperties, wxID_ANY, wxT("Calendar:"), wxDefaultPosition, wxDefaultSize, 0 );
1433 lblCalendar->Wrap( -1 );
1434 szrDetails->Add( lblCalendar, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1436 wxArrayString cmbCalendarChoices;
1437 cmbCalendar = new wxChoice( tabProperties, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbCalendarChoices, 0 );
1438 cmbCalendar->SetSelection( 0 );
1439 szrDetails->Add( cmbCalendar, 1, wxALL|wxEXPAND, 5 );
1441 lblEventName = new wxStaticText( tabProperties, wxID_ANY, wxT("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
1442 lblEventName->Wrap( -1 );
1443 szrDetails->Add( lblEventName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1445 txtEventName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1446 szrDetails->Add( txtEventName, 1, wxALL|wxEXPAND, 5 );
1448 lblDescription = new wxStaticText( tabProperties, wxID_ANY, wxT("Description:"), wxDefaultPosition, wxDefaultSize, 0 );
1449 lblDescription->Wrap( -1 );
1450 szrDetails->Add( lblDescription, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1452 txtEventDescription = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
1453 txtEventDescription->SetMinSize( wxSize( -1,50 ) );
1455 szrDetails->Add( txtEventDescription, 0, wxALL|wxEXPAND, 5 );
1458 szrList->Add( szrDetails, 0, wxEXPAND, 5 );
1460 szrTime = new wxFlexGridSizer( 3, 3, 0, 0 );
1461 szrTime->SetFlexibleDirection( wxBOTH );
1462 szrTime->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
1464 lblStartTime = new wxStaticText( tabProperties, wxID_ANY, wxT("Start Time:"), wxDefaultPosition, wxDefaultSize, 0 );
1465 lblStartTime->Wrap( -1 );
1466 szrTime->Add( lblStartTime, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1468 dapStartDate = new wxDatePickerCtrl( tabProperties, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY );
1469 szrTime->Add( dapStartDate, 0, wxALL, 5 );
1471 txtStartTime = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1472 szrTime->Add( txtStartTime, 0, wxALL, 5 );
1474 lblEndTime = new wxStaticText( tabProperties, wxID_ANY, wxT("End Time:"), wxDefaultPosition, wxDefaultSize, 0 );
1475 lblEndTime->Wrap( -1 );
1476 szrTime->Add( lblEndTime, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1478 dapEndDate = new wxDatePickerCtrl( tabProperties, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_DEFAULT|wxDP_SHOWCENTURY );
1479 szrTime->Add( dapEndDate, 0, wxALL, 5 );
1481 txtEndTime = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1482 szrTime->Add( txtEndTime, 0, wxALL, 5 );
1484 lblDuration = new wxStaticText( tabProperties, wxID_ANY, wxT("Duration:"), wxDefaultPosition, wxDefaultSize, 0 );
1485 lblDuration->Wrap( -1 );
1486 szrTime->Add( lblDuration, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
1488 m_textCtrl20 = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
1489 szrTime->Add( m_textCtrl20, 0, wxALL, 5 );
1492 szrList->Add( szrTime, 1, wxEXPAND, 5 );
1495 tabProperties->SetSizer( szrList );
1496 tabProperties->Layout();
1497 szrList->Fit( tabProperties );
1498 nbkNotebook->AddPage( tabProperties, wxT("Properties"), false );
1500 bSizer46->Add( nbkNotebook, 1, wxEXPAND | wxALL, 5 );
1503 this->SetSizer( bSizer46 );
1506 this->Centre( wxBOTH );
1509 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmEventEditorADT::CloseWindow ) );
1510 this->Connect( mnuEventSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::SaveContact ) );
1511 this->Connect( mnuEventSaveNew->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::SaveNewContact ) );
1512 this->Connect( mnuEventClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::CloseWindow ) );
1513 this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::CutText ) );
1514 this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::CopyText ) );
1515 this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::PasteText ) );
1516 cmbCalendar->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmEventEditorADT::ProcessCalendarControl ), NULL, this );
1517 txtEventName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmEventEditorADT::ProcessEventName ), NULL, this );
1520 frmEventEditorADT::~frmEventEditorADT()
1522 // Disconnect Events
1523 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmEventEditorADT::CloseWindow ) );
1524 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::SaveContact ) );
1525 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::SaveNewContact ) );
1526 this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::CloseWindow ) );
1527 this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::CutText ) );
1528 this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::CopyText ) );
1529 this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmEventEditorADT::PasteText ) );
1530 cmbCalendar->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmEventEditorADT::ProcessCalendarControl ), NULL, this );
1531 txtEventName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmEventEditorADT::ProcessEventName ), NULL, this );