From 8dafa6487aa09e3447393f041e0cd6ab04081baf Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 10 Feb 2016 13:38:56 +0000 Subject: [PATCH] Updated application forms. Fixed multiline issue with text controls that shouldn't have maxlength. Fixed size of frmContactEditor* windows. Set minimum size of frmContactEditor to 800x500. --- source/AppXestiaAddrBk.cpp | 14433 +++++++++++++++++------------------ source/AppXestiaAddrBk.h | 3892 +++++----- 2 files changed, 9161 insertions(+), 9164 deletions(-) diff --git a/source/AppXestiaAddrBk.cpp b/source/AppXestiaAddrBk.cpp index b6a4de7..1e66524 100644 --- a/source/AppXestiaAddrBk.cpp +++ b/source/AppXestiaAddrBk.cpp @@ -1,7218 +1,7215 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jun 17 2015) -// http://www.wxformbuilder.org/ -// -// PLEASE DO "NOT" EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "AppXestiaAddrBk.h" - -/////////////////////////////////////////////////////////////////////////// - -frmMainADT::frmMainADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) ); - - mnuMain = new wxMenuBar( 0 ); - mnuManage = new wxMenu(); - wxMenuItem* mnuNewAB; - mnuNewAB = new wxMenuItem( mnuManage, ID_MANAGE_NEWAB, wxString( wxT("New Address Book...") ) , wxEmptyString, wxITEM_NORMAL ); - mnuManage->Append( mnuNewAB ); - - mnuManage->AppendSeparator(); - - wxMenuItem* mnuRefreshAB; - mnuRefreshAB = new wxMenuItem( mnuManage, wxID_ANY, wxString( wxT("Refresh Address Book") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL ); - mnuManage->Append( mnuRefreshAB ); - - mnuManage->AppendSeparator(); - - wxMenuItem* mnuImport; - mnuImport = new wxMenuItem( mnuManage, ID_IMPORT, wxString( wxT("Import...") ) , wxEmptyString, wxITEM_NORMAL ); - mnuManage->Append( mnuImport ); - - wxMenuItem* mnuExport; - mnuExport = new wxMenuItem( mnuManage, ID_EXPORT, wxString( wxT("Export...") ) , wxEmptyString, wxITEM_NORMAL ); - mnuManage->Append( mnuExport ); - - mnuPrefSep = mnuManage->AppendSeparator(); - - wxMenuItem* mnuPreferences; - mnuPreferences = new wxMenuItem( mnuManage, wxID_PREFERENCES, wxString( wxT("Preferences...") ) , wxEmptyString, wxITEM_NORMAL ); - mnuManage->Append( mnuPreferences ); - - mnuExitSep = mnuManage->AppendSeparator(); - - wxMenuItem* mnuExit; - mnuExit = new wxMenuItem( mnuManage, wxID_EXIT, wxString( wxT("Exit") ) + wxT('\t') + wxT("CTRL+Q"), wxEmptyString, wxITEM_NORMAL ); - #ifdef __WXMSW__ - mnuExit->SetBitmaps( wxNullBitmap ); - #elif (defined( __WXGTK__ ) || defined( __WXOSX__ )) - mnuExit->SetBitmap( wxNullBitmap ); - #endif - mnuManage->Append( mnuExit ); - - mnuMain->Append( mnuManage, wxT("Manage") ); - - mnuContact = new wxMenu(); - wxMenuItem* mnuNewContact; - mnuNewContact = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("New Contact...") ) + wxT('\t') + wxT("CTRL+N"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuNewContact ); - - wxMenuItem* mnuEditContact; - mnuEditContact = new wxMenuItem( mnuContact, ID_CONTACT_EDIT, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuEditContact ); - - wxMenuItem* deleteContact; - deleteContact = new wxMenuItem( mnuContact, ID_CONTACT_DELETE, wxString( wxT("Delete Contact...") ) + wxT('\t') + wxT("CTRL+D"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( deleteContact ); - - mnuContact->AppendSeparator(); - - wxMenuItem* mnuFindContact; - mnuFindContact = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Find Contacts...") ) + wxT('\t') + wxT("CTRL+F"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuFindContact ); - - mnuMain->Append( mnuContact, wxT("Contact") ); - - mnuView = new wxMenu(); - mnuShowContactsAs = new wxMenu(); - wxMenuItem* mnuShowContactsAsItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show Contacts As"), wxEmptyString, wxITEM_NORMAL, mnuShowContactsAs ); - wxMenuItem* mnuViewFNLN; - mnuViewFNLN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_FNLN, wxString( wxT("First Name, Last Name") ) , wxEmptyString, wxITEM_NORMAL ); - mnuShowContactsAs->Append( mnuViewFNLN ); - - wxMenuItem* mnuViewLNFN; - mnuViewLNFN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_LNFN, wxString( wxT("Last Name, First Name") ) , wxEmptyString, wxITEM_NORMAL ); - mnuShowContactsAs->Append( mnuViewLNFN ); - - wxMenuItem* mnuViewNick; - mnuViewNick = new wxMenuItem( mnuShowContactsAs, ID_VIEW_NICK, wxString( wxT("Nickname") ) , wxEmptyString, wxITEM_NORMAL ); - mnuShowContactsAs->Append( mnuViewNick ); - - wxMenuItem* mnuViewDisplayAs; - mnuViewDisplayAs = new wxMenuItem( mnuShowContactsAs, wxID_ANY, wxString( wxT("Display As Name") ) , wxEmptyString, wxITEM_NORMAL ); - mnuShowContactsAs->Append( mnuViewDisplayAs ); - - mnuView->Append( mnuShowContactsAsItem ); - - mnuViewSortBy = new wxMenu(); - wxMenuItem* mnuViewSortByItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Sort By"), wxEmptyString, wxITEM_NORMAL, mnuViewSortBy ); - wxMenuItem* mnuViewAsc; - mnuViewAsc = new wxMenuItem( mnuViewSortBy, ID_VIEW_ASC, wxString( wxT("Ascending") ) , wxEmptyString, wxITEM_NORMAL ); - mnuViewSortBy->Append( mnuViewAsc ); - - wxMenuItem* mnuViewDesc; - mnuViewDesc = new wxMenuItem( mnuViewSortBy, ID_VIEW_DESC, wxString( wxT("Descending") ) , wxEmptyString, wxITEM_NORMAL ); - mnuViewSortBy->Append( mnuViewDesc ); - - mnuView->Append( mnuViewSortByItem ); - - mnuViewShow = new wxMenu(); - wxMenuItem* mnuViewShowItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show"), wxEmptyString, wxITEM_NORMAL, mnuViewShow ); - wxMenuItem* mnuViewStatusBar; - mnuViewStatusBar = new wxMenuItem( mnuViewShow, ID_VIEW_STATUSBAR, wxString( wxT("Status Bar") ) , wxEmptyString, wxITEM_NORMAL ); - mnuViewShow->Append( mnuViewStatusBar ); - - mnuView->Append( mnuViewShowItem ); - - mnuView->AppendSeparator(); - - wxMenuItem* mnuViewActivity; - mnuViewActivity = new wxMenuItem( mnuView, wxID_ANY, wxString( wxT("Activity Manager") ) , wxEmptyString, wxITEM_NORMAL ); - mnuView->Append( mnuViewActivity ); - - mnuMain->Append( mnuView, wxT("View") ); - - mnuEdit = new wxMenu(); - wxMenuItem* mnuCut; - mnuCut = new wxMenuItem( mnuEdit, ID_MANAGE_CUT, wxString( wxT("Cut") ) + wxT('\t') + wxT("CTRL+X"), wxEmptyString, wxITEM_NORMAL ); - mnuEdit->Append( mnuCut ); - - wxMenuItem* mnuCopy; - mnuCopy = new wxMenuItem( mnuEdit, ID_MANAGE_COPY, wxString( wxT("Copy") ) + wxT('\t') + wxT("CTRL+C"), wxEmptyString, wxITEM_NORMAL ); - mnuEdit->Append( mnuCopy ); - - wxMenuItem* mnuPaste; - mnuPaste = new wxMenuItem( mnuEdit, ID_MANAGE_PASTE, wxString( wxT("Paste") ) + wxT('\t') + wxT("CTRL+V"), wxEmptyString, wxITEM_NORMAL ); - mnuEdit->Append( mnuPaste ); - - mnuMain->Append( mnuEdit, wxT("Edit") ); - - mnuWindow = new wxMenu(); - mnuMain->Append( mnuWindow, wxT("Window") ); - - mnuHelp = new wxMenu(); - wxMenuItem* showHelp; - showHelp = new wxMenuItem( mnuHelp, ID_HELP_SHOW, wxString( wxT("Show Help...") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL ); - mnuHelp->Append( showHelp ); - - mnuHelp->AppendSeparator(); - - wxMenuItem* mnuHelpUpdates; - mnuHelpUpdates = new wxMenuItem( mnuHelp, ID_MANAGE_UPDATE, wxString( wxT("Check for updates...") ) , wxEmptyString, wxITEM_NORMAL ); - mnuHelp->Append( mnuHelpUpdates ); - - mnuHelpAboutSep = mnuHelp->AppendSeparator(); - - wxMenuItem* mnuAbout; - mnuAbout = new wxMenuItem( mnuHelp, wxID_ABOUT, wxString( wxT("About") ) + wxT('\t') + wxT("SHIFT+CTRL+A"), wxEmptyString, wxITEM_NORMAL ); - mnuHelp->Append( mnuAbout ); - - mnuMain->Append( mnuHelp, wxT("Help") ); - - this->SetMenuBar( mnuMain ); - - szrMain = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer396; - bSizer396 = new wxBoxSizer( wxHORIZONTAL ); - - bmpIcon = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 ); - bSizer396->Add( bmpIcon, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - AccCtrl = new wxComboCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxCB_READONLY|wxEXPAND); - bSizer396->Add( AccCtrl, 0, wxALL, 5 ); - - - szrMain->Add( bSizer396, 0, wxEXPAND|wxLEFT, 5 ); - - m_splitter13 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D ); - m_splitter13->Connect( wxEVT_IDLE, wxIdleEventHandler( frmMainADT::m_splitter13OnIdle ), NULL, this ); - m_splitter13->SetMinimumPaneSize( 1 ); - - m_panel19 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - szrContactList = new wxBoxSizer( wxVERTICAL ); - - lstContacts = new wxListCtrl( m_panel19, wxID_ANY, wxDefaultPosition, wxSize( 50,-1 ), wxLC_NO_HEADER|wxLC_REPORT|wxSUNKEN_BORDER ); - szrContactList->Add( lstContacts, 1, wxALL|wxEXPAND, 5 ); - - - m_panel19->SetSizer( szrContactList ); - m_panel19->Layout(); - szrContactList->Fit( m_panel19 ); - m_panel20 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer12; - bSizer12 = new wxBoxSizer( wxVERTICAL ); - - htmContactData = new wxHtmlWindow( m_panel20, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER ); - bSizer12->Add( htmContactData, 1, wxALL|wxEXPAND, 5 ); - - - m_panel20->SetSizer( bSizer12 ); - m_panel20->Layout(); - bSizer12->Fit( m_panel20 ); - m_splitter13->SplitVertically( m_panel19, m_panel20, 201 ); - szrMain->Add( m_splitter13, 1, wxEXPAND, 5 ); - - - this->SetSizer( szrMain ); - this->Layout(); - stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY ); - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) ); - this->Connect( mnuNewAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) ); - this->Connect( mnuRefreshAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) ); - this->Connect( mnuImport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) ); - this->Connect( mnuExport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) ); - this->Connect( mnuPreferences->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) ); - this->Connect( mnuExit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) ); - this->Connect( mnuNewContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) ); - this->Connect( mnuEditContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) ); - this->Connect( deleteContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) ); - this->Connect( mnuFindContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) ); - this->Connect( mnuViewFNLN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) ); - this->Connect( mnuViewLNFN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) ); - this->Connect( mnuViewNick->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) ); - this->Connect( mnuViewDisplayAs->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) ); - this->Connect( mnuViewAsc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) ); - this->Connect( mnuViewDesc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) ); - this->Connect( mnuViewStatusBar->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) ); - this->Connect( mnuViewActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) ); - this->Connect( mnuCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) ); - this->Connect( mnuCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) ); - this->Connect( mnuPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) ); - this->Connect( showHelp->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) ); - this->Connect( mnuHelpUpdates->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) ); - this->Connect( mnuAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) ); - lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this ); - lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this ); - lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this ); - lstContacts->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this ); - htmContactData->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this ); - stbBottom->Connect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this ); -} - -frmMainADT::~frmMainADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) ); - this->Disconnect( ID_MANAGE_NEWAB, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) ); - this->Disconnect( ID_IMPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) ); - this->Disconnect( ID_EXPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) ); - this->Disconnect( wxID_PREFERENCES, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) ); - this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) ); - this->Disconnect( ID_CONTACT_EDIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) ); - this->Disconnect( ID_CONTACT_DELETE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) ); - this->Disconnect( ID_VIEW_FNLN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) ); - this->Disconnect( ID_VIEW_LNFN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) ); - this->Disconnect( ID_VIEW_NICK, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) ); - this->Disconnect( ID_VIEW_ASC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) ); - this->Disconnect( ID_VIEW_DESC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) ); - this->Disconnect( ID_VIEW_STATUSBAR, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) ); - this->Disconnect( ID_MANAGE_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) ); - this->Disconnect( ID_MANAGE_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) ); - this->Disconnect( ID_MANAGE_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) ); - this->Disconnect( ID_HELP_SHOW, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) ); - this->Disconnect( ID_MANAGE_UPDATE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) ); - this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) ); - lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this ); - lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this ); - lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this ); - lstContacts->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this ); - htmContactData->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this ); - stbBottom->Disconnect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this ); - -} - -frmUpdateADT::frmUpdateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer390; - bSizer390 = new wxBoxSizer( wxVERTICAL ); - - pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer391; - bSizer391 = new wxBoxSizer( wxVERTICAL ); - - wxFlexGridSizer* fgSizer45; - fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 ); - fgSizer45->SetFlexibleDirection( wxBOTH ); - fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblRunningText->Wrap( -1 ); - fgSizer45->Add( lblRunningText, 0, wxALL, 5 ); - - lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 ); - lblRunningVer->Wrap( -1 ); - fgSizer45->Add( lblRunningVer, 0, wxALL, 5 ); - - lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAvailableText->Wrap( -1 ); - fgSizer45->Add( lblAvailableText, 0, wxALL, 5 ); - - lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAvailableVer->Wrap( -1 ); - fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 ); - - lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBuildTypeText->Wrap( -1 ); - fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 ); - - lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBuildType->Wrap( -1 ); - fgSizer45->Add( lblBuildType, 0, wxALL, 5 ); - - - bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 ); - - lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 ); - lblUpdateMessage->Wrap( -1 ); - bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 ); - - - pnlUpdateData->SetSizer( bSizer391 ); - pnlUpdateData->Layout(); - bSizer391->Fit( pnlUpdateData ); - bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 ); - - statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); - bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer392; - bSizer392 = new wxBoxSizer( wxHORIZONTAL ); - - btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 ); - - btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 ); - - - bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 ); - - - this->SetSizer( bSizer390 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this ); - btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this ); -} - -frmUpdateADT::~frmUpdateADT() -{ - // Disconnect Events - btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this ); - btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this ); - -} - -frmSearchADT::frmSearchADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( 300,450 ), wxDefaultSize ); - - stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY ); - wxBoxSizer* bSizer368; - bSizer368 = new wxBoxSizer( wxVERTICAL ); - - m_splitter4 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D ); - m_splitter4->Connect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this ); - m_splitter4->SetMinimumPaneSize( 1 ); - - m_panel60 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer382; - bSizer382 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer369; - bSizer369 = new wxBoxSizer( wxHORIZONTAL ); - - nbkSearch = new wxNotebook( m_panel60, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabSearch = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE|wxHSCROLL|wxVSCROLL ); - tabSearch->SetScrollRate( 5, 5 ); - szrSearch = new wxFlexGridSizer( 0, 1, 0, 0 ); - szrSearch->AddGrowableCol( 0 ); - szrSearch->SetFlexibleDirection( wxVERTICAL ); - szrSearch->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - - tabSearch->SetSizer( szrSearch ); - tabSearch->Layout(); - szrSearch->Fit( tabSearch ); - nbkSearch->AddPage( tabSearch, wxT("Search"), true ); - tabAdvanced = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabAdvanced->SetScrollRate( 5, 5 ); - wxBoxSizer* bSizer384; - bSizer384 = new wxBoxSizer( wxVERTICAL ); - - btnSelectAccounts = new wxButton( tabAdvanced, wxID_ANY, wxT("Select Accounts..."), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer384->Add( btnSelectAccounts, 0, wxALL, 5 ); - - - tabAdvanced->SetSizer( bSizer384 ); - tabAdvanced->Layout(); - bSizer384->Fit( tabAdvanced ); - nbkSearch->AddPage( tabAdvanced, wxT("Advanced"), false ); - - bSizer369->Add( nbkSearch, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer371; - bSizer371 = new wxBoxSizer( wxVERTICAL ); - - btnSearch = new wxButton( m_panel60, wxID_ANY, wxT("Search"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer371->Add( btnSearch, 0, wxALL, 5 ); - - btnReset = new wxButton( m_panel60, wxID_ANY, wxT("Reset"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer371->Add( btnReset, 0, wxALL, 5 ); - - - bSizer369->Add( bSizer371, 0, wxEXPAND, 5 ); - - - bSizer382->Add( bSizer369, 1, wxEXPAND, 5 ); - - - m_panel60->SetSizer( bSizer382 ); - m_panel60->Layout(); - bSizer382->Fit( m_panel60 ); - m_panel61 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer386; - bSizer386 = new wxBoxSizer( wxVERTICAL ); - - lstResults = new wxListCtrl( m_panel61, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer386->Add( lstResults, 1, wxALL|wxEXPAND, 5 ); - - - m_panel61->SetSizer( bSizer386 ); - m_panel61->Layout(); - bSizer386->Fit( m_panel61 ); - m_splitter4->SplitHorizontally( m_panel60, m_panel61, 178 ); - bSizer368->Add( m_splitter4, 1, wxEXPAND, 5 ); - - - this->SetSizer( bSizer368 ); - this->Layout(); - m_menubar5 = new wxMenuBar( 0 ); - mnuContact = new wxMenu(); - wxMenuItem* mnuContactOpen; - mnuContactOpen = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Open Contact...") ) + wxT('\t') + wxT("CTRL+O"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuContactOpen ); - - mnuContactEdit = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuContactEdit ); - - mnuContactReveal = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Reveal Contact") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuContactReveal ); - - mnuContact->AppendSeparator(); - - wxMenuItem* mnuContactClose; - mnuContactClose = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuContactClose ); - - m_menubar5->Append( mnuContact, wxT("Contact") ); - - this->SetMenuBar( m_menubar5 ); - - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) ); - btnSelectAccounts->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this ); - btnSearch->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this ); - btnReset->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this ); - lstResults->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this ); - this->Connect( mnuContactOpen->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) ); - this->Connect( mnuContactEdit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) ); - this->Connect( mnuContactReveal->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) ); - this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) ); -} - -frmSearchADT::~frmSearchADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) ); - btnSelectAccounts->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this ); - btnSearch->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this ); - btnReset->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this ); - lstResults->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) ); - -} - -frmPreferencesADT::frmPreferencesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) ); - - wxBoxSizer* szrMain; - szrMain = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* szrTabs; - szrTabs = new wxBoxSizer( wxVERTICAL ); - - NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* szrChecks; - szrChecks = new wxBoxSizer( wxVERTICAL ); - - chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 ); - szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 ); - - chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 ); - szrChecks->Add( chkHideLocal, 0, wxALL, 5 ); - - - tabGeneral->SetSizer( szrChecks ); - tabGeneral->Layout(); - szrChecks->Fit( tabGeneral ); - NbtPreferences->AddPage( tabGeneral, wxT("General"), true ); - tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - tabTheme->Hide(); - - wxGridSizer* szrTheme; - szrTheme = new wxGridSizer( 1, 1, 0, 0 ); - - wxBoxSizer* bSizer161; - bSizer161 = new wxBoxSizer( wxVERTICAL ); - - lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer151; - bSizer151 = new wxBoxSizer( wxHORIZONTAL ); - - btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer151->Add( btnThemeAdd, 0, wxALL, 5 ); - - btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - btnThemeModify->Enable( false ); - - bSizer151->Add( btnThemeModify, 0, wxALL, 5 ); - - btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - btnThemeDelete->Enable( false ); - - bSizer151->Add( btnThemeDelete, 0, wxALL, 5 ); - - - bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 ); - - - szrTheme->Add( bSizer161, 1, wxEXPAND, 5 ); - - - tabTheme->SetSizer( szrTheme ); - tabTheme->Layout(); - szrTheme->Fit( tabTheme ); - NbtPreferences->AddPage( tabTheme, wxT("Themes"), false ); - tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxGridSizer* szrAccounts; - szrAccounts = new wxGridSizer( 1, 1, 0, 0 ); - - wxBoxSizer* bSizer16; - bSizer16 = new wxBoxSizer( wxVERTICAL ); - - lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer15; - bSizer15 = new wxBoxSizer( wxHORIZONTAL ); - - btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer15->Add( btnAccountAdd, 0, wxALL, 5 ); - - btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - btnAccountModify->Enable( false ); - - bSizer15->Add( btnAccountModify, 0, wxALL, 5 ); - - btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - btnAccountDelete->Enable( false ); - - bSizer15->Add( btnAccountDelete, 0, wxALL, 5 ); - - - bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 ); - - - szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 ); - - - tabAccounts->SetSizer( szrAccounts ); - tabAccounts->Layout(); - szrAccounts->Fit( tabAccounts ); - NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false ); - - szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 ); - - - szrMain->Add( szrTabs, 1, wxEXPAND, 0 ); - - wxBoxSizer* szrButtons; - szrButtons = new wxBoxSizer( wxHORIZONTAL ); - - - szrButtons->Add( 1, 0, 1, wxEXPAND, 0 ); - - btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); - btnSave->SetDefault(); - szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 ); - - - szrButtons->Add( 5, 0, 0, 0, 0 ); - - btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); - szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 ); - - - szrButtons->Add( 5, 0, 0, wxEXPAND, 0 ); - - - szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 ); - - - this->SetSizer( szrMain ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) ); - lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this ); - lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this ); - btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this ); - btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this ); - btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this ); - lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this ); - lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this ); - btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this ); - btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this ); - btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this ); - btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this ); - btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this ); -} - -frmPreferencesADT::~frmPreferencesADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) ); - lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this ); - lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this ); - btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this ); - btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this ); - btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this ); - lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this ); - lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this ); - btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this ); - btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this ); - btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this ); - btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this ); - btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this ); - -} - -frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize ); - - wxBoxSizer* szrMain; - szrMain = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* szrLogo; - szrLogo = new wxBoxSizer( wxVERTICAL ); - - szrLogo->SetMinSize( wxSize( 350,100 ) ); - bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 ); - szrLogo->Add( bmpLogo, 0, wxALL, 0 ); - - - szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 ); - - wxBoxSizer* szrDetails; - szrDetails = new wxBoxSizer( wxVERTICAL ); - - lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 ); - lblVersion->Wrap( -1 ); - lblVersion->SetFont( wxFont( 14, 70, 90, 92, false, wxEmptyString ) ); - - szrDetails->Add( lblVersion, 0, wxALL, 5 ); - - lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 ); - lblCompileTime->Wrap( -1 ); - szrDetails->Add( lblCompileTime, 0, wxALL, 5 ); - - lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 ); - lblCopyright->Wrap( -1 ); - szrDetails->Add( lblCopyright, 0, wxALL, 5 ); - - - szrMain->Add( szrDetails, 5, wxEXPAND, 1 ); - - wxBoxSizer* szrButtons; - szrButtons = new wxBoxSizer( wxVERTICAL ); - - szrButtons->SetMinSize( wxSize( -1,35 ) ); - btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 ); - szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 ); - - - szrMain->Add( szrButtons, 0, wxEXPAND, 0 ); - - - this->SetSizer( szrMain ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this ); -} - -frmAboutADT::~frmAboutADT() -{ - // Disconnect Events - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this ); - -} - -frmContactADT::frmContactADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize ); - - wxBoxSizer* bSizer13; - bSizer13 = new wxBoxSizer( wxVERTICAL ); - - htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER ); - bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 ); - - - this->SetSizer( bSizer13 ); - this->Layout(); - m_menubar2 = new wxMenuBar( 0 ); - contact = new wxMenu(); - wxMenuItem* mnuContactClose; - mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL ); - contact->Append( mnuContactClose ); - - m_menubar2->Append( contact, wxT("Contact") ); - - this->SetMenuBar( m_menubar2 ); - - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) ); - this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) ); -} - -frmContactADT::~frmContactADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) ); - this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) ); - -} - -frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) ); - - wxFlexGridSizer* fgSizer30; - fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 ); - fgSizer30->AddGrowableCol( 0 ); - fgSizer30->AddGrowableRow( 0 ); - fgSizer30->SetFlexibleDirection( wxBOTH ); - fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - szrNewAccount = new wxBoxSizer( wxVERTICAL ); - - tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer32; - fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 ); - fgSizer32->AddGrowableCol( 0 ); - fgSizer32->SetFlexibleDirection( wxBOTH ); - fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL ); - - lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 ); - lblEnterText->Wrap( -1 ); - fgSizer32->Add( lblEnterText, 0, wxALL, 5 ); - - wxFlexGridSizer* fgSizer33; - fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer33->AddGrowableCol( 1 ); - fgSizer33->AddGrowableRow( 0 ); - fgSizer33->SetFlexibleDirection( wxBOTH ); - fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL ); - - lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblType->Wrap( -1 ); - fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") }; - int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString ); - cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 ); - cmbServerType->SetSelection( 1 ); - fgSizer33->Add( cmbServerType, 0, wxALL, 5 ); - - lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerAddress->Wrap( -1 ); - fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtServerAddress->SetMaxLength( 0 ); - fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 ); - - lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerPort->Wrap( -1 ); - fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtServerPort->SetMaxLength( 0 ); - fgSizer33->Add( txtServerPort, 0, wxALL, 5 ); - - lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblUsername->Wrap( -1 ); - fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtUsername->SetMaxLength( 0 ); - fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 ); - - lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPassword->Wrap( -1 ); - fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); - txtPassword->SetMaxLength( 0 ); - fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 ); - - lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblSSL->Wrap( -1 ); - fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxBoxSizer* bSizer3221; - bSizer3221 = new wxBoxSizer( wxHORIZONTAL ); - - chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 ); - chkUseSSL->SetValue(true); - bSizer3221->Add( chkUseSSL, 0, wxALL, 5 ); - - - fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 ); - - - fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 ); - - - tabType->SetSizer( fgSizer32 ); - tabType->Layout(); - fgSizer32->Fit( tabType ); - szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 ); - - tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - tabConn->Hide(); - - wxBoxSizer* bSizer323; - bSizer323 = new wxBoxSizer( wxVERTICAL ); - - lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblConnectionResult->Wrap( -1 ); - lblConnectionResult->SetFont( wxFont( 9, 74, 90, 92, false, wxT("Sans") ) ); - - bSizer323->Add( lblConnectionResult, 0, wxALL, 5 ); - - wxFlexGridSizer* fgSizer34; - fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer34->SetFlexibleDirection( wxBOTH ); - fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerConnected->Wrap( -1 ); - fgSizer34->Add( lblServerConnected, 0, wxALL, 5 ); - - lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerConnResult->Wrap( -1 ); - fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 ); - - lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblValidResponse->Wrap( -1 ); - fgSizer34->Add( lblValidResponse, 0, wxALL, 5 ); - - lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerResponse->Wrap( -1 ); - fgSizer34->Add( lblServerResponse, 0, wxALL, 5 ); - - lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblUseSSL->Wrap( -1 ); - fgSizer34->Add( lblUseSSL, 0, wxALL, 5 ); - - lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerSSLResult->Wrap( -1 ); - fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 ); - - lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerSSLCert->Wrap( -1 ); - fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 ); - - lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerSSLValid->Wrap( -1 ); - fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 ); - - lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblServerUsernamePassword->Wrap( -1 ); - fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 ); - - lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); - lblAbleToLoginResult->Wrap( -1 ); - fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 ); - - lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblIsCalDAV->Wrap( -1 ); - fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 ); - - lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); - lblCardDAVSupportResult->Wrap( -1 ); - fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 ); - - - bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 ); - - m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); - bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 ); - - lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); - lblConnectionResultText->Wrap( 360 ); - lblConnectionResultText->SetMinSize( wxSize( -1,40 ) ); - - bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 ); - - - tabConn->SetSizer( bSizer323 ); - tabConn->Layout(); - bSizer323->Fit( tabConn ); - szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 ); - - tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - tabFinish->Hide(); - - wxBoxSizer* bSizer3231; - bSizer3231 = new wxBoxSizer( wxVERTICAL ); - - lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 ); - lblFinishText->Wrap( -1 ); - bSizer3231->Add( lblFinishText, 0, wxALL, 5 ); - - wxFlexGridSizer* fgSizer341; - fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer341->AddGrowableCol( 1 ); - fgSizer341->SetFlexibleDirection( wxBOTH ); - fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAccountName->Wrap( -1 ); - fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtAccountName->SetMaxLength( 0 ); - fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 ); - - - bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 ); - - - tabFinish->SetSizer( bSizer3231 ); - tabFinish->Layout(); - bSizer3231->Fit( tabFinish ); - szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 ); - - - fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer322; - bSizer322 = new wxBoxSizer( wxHORIZONTAL ); - - btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer322->Add( btnPrevious, 0, wxALL, 5 ); - - btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 ); - btnNext->SetDefault(); - bSizer322->Add( btnNext, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer322->Add( btnClose, 0, wxALL, 5 ); - - - fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( fgSizer30 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this ); - txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this ); - btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this ); - btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this ); -} - -frmNewAccountADT::~frmNewAccountADT() -{ - // Disconnect Events - cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this ); - txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this ); - btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this ); - btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorADT::frmContactEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize ); - this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) ); - - wxBoxSizer* bSizer17; - bSizer17 = new wxBoxSizer( wxVERTICAL ); - - nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabGeneral->SetScrollRate( 5, 5 ); - wxBoxSizer* bSizer18; - bSizer18 = new wxBoxSizer( wxVERTICAL ); - - wxGridSizer* gSizer7; - gSizer7 = new wxGridSizer( 0, 6, 0, 0 ); - - lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTitle->Wrap( -1 ); - gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtTitle->SetMaxLength( 0 ); - gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 ); - - - gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); - - - gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); - - - gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); - - - gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblForename->Wrap( -1 ); - gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtForename->SetMaxLength( 0 ); - gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 ); - - lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblSurname->Wrap( -1 ); - gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtSurname->SetMaxLength( 0 ); - gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 ); - - lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblOtherNames->Wrap( -1 ); - gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtOtherNames->SetMaxLength( 0 ); - gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 ); - - lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblSuffix->Wrap( -1 ); - gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtSuffix->SetMaxLength( 0 ); - gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 ); - - - gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); - - - gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); - - - bSizer18->Add( gSizer7, 0, wxEXPAND, 5 ); - - wxFlexGridSizer* fgSizer5; - fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer5->AddGrowableCol( 1 ); - fgSizer5->SetFlexibleDirection( wxBOTH ); - fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 ); - lblDisplayAs->Wrap( -1 ); - fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 ); - - lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBirthday->Wrap( -1 ); - fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxBoxSizer* bSizer318; - bSizer318 = new wxBoxSizer( wxHORIZONTAL ); - - dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY ); - dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) ); - dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") ); - dapBirthday->SetMinSize( wxSize( -1,25 ) ); - - bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 ); - - txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtBirthday->SetMaxLength( 0 ); - bSizer318->Add( txtBirthday, 1, wxALL, 5 ); - - - fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 ); - - lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAnniversary->Wrap( -1 ); - fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxBoxSizer* bSizer319; - bSizer319 = new wxBoxSizer( wxHORIZONTAL ); - - dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY ); - dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") ); - dapAnniversary->SetMinSize( wxSize( -1,25 ) ); - - bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 ); - - txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtAnniversary->SetMaxLength( 0 ); - bSizer319->Add( txtAnniversary, 1, wxALL, 5 ); - - - fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 ); - - lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblGender->Wrap( -1 ); - fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxBoxSizer* bSizer20; - bSizer20 = new wxBoxSizer( wxHORIZONTAL ); - - wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") }; - int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString ); - cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 ); - cmbGender->SetSelection( 0 ); - bSizer20->Add( cmbGender, 0, wxALL, 5 ); - - txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtGenderDescription->SetMaxLength( 0 ); - bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - - fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 ); - - lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblType->Wrap( -1 ); - fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") }; - int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString ); - cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 ); - cmbType->SetSelection( 0 ); - fgSizer5->Add( cmbType, 0, wxALL, 5 ); - - lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblNicknames->Wrap( -1 ); - fgSizer5->Add( lblNicknames, 0, wxALL, 5 ); - - wxBoxSizer* szrNicknames; - szrNicknames = new wxBoxSizer( wxHORIZONTAL ); - - lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrAddressesOuter3; - szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer464; - bSizer464 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer474; - bSizer474 = new wxBoxSizer( wxVERTICAL ); - - btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 ); - - btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 ); - - btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 ); - - - bSizer464->Add( bSizer474, 1, wxEXPAND, 5 ); - - - szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 ); - - - szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 ); - - lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAddress->Wrap( -1 ); - fgSizer5->Add( lblAddress, 0, wxALL, 5 ); - - wxBoxSizer* szrAddresses; - szrAddresses = new wxBoxSizer( wxHORIZONTAL ); - - lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrAddressesOuter; - szrAddressesOuter = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46; - bSizer46 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47; - bSizer47 = new wxBoxSizer( wxVERTICAL ); - - btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 ); - - btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 ); - - btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 ); - - - bSizer46->Add( bSizer47, 1, wxEXPAND, 5 ); - - - szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 ); - - - szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 ); - - lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblEmail->Wrap( -1 ); - fgSizer5->Add( lblEmail, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301; - bSizer301 = new wxBoxSizer( wxHORIZONTAL ); - - lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351; - bSizer351 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461; - bSizer461 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471; - bSizer471 = new wxBoxSizer( wxVERTICAL ); - - btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 ); - - btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 ); - - btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 ); - - - bSizer461->Add( bSizer471, 1, wxEXPAND, 5 ); - - - bSizer351->Add( bSizer461, 1, wxEXPAND, 5 ); - - - bSizer301->Add( bSizer351, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 ); - - lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblIM->Wrap( 0 ); - fgSizer5->Add( lblIM, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011; - bSizer3011 = new wxBoxSizer( wxHORIZONTAL ); - - lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511; - bSizer3511 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611; - bSizer4611 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711; - bSizer4711 = new wxBoxSizer( wxVERTICAL ); - - btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 ); - - btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 ); - - btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 ); - - - bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 ); - - - bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 ); - - - bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 ); - - lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTelephone->Wrap( 0 ); - fgSizer5->Add( lblTelephone, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111; - bSizer30111 = new wxBoxSizer( wxHORIZONTAL ); - - lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111; - bSizer35111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111; - bSizer46111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111; - bSizer47111 = new wxBoxSizer( wxVERTICAL ); - - btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 ); - - btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 ); - - btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 ); - - - bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 ); - - - bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 ); - - - bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 ); - - lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLanguages->Wrap( 0 ); - fgSizer5->Add( lblLanguages, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301111; - bSizer301111 = new wxBoxSizer( wxHORIZONTAL ); - - lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351111; - bSizer351111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461111; - bSizer461111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471111; - bSizer471111 = new wxBoxSizer( wxVERTICAL ); - - btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 ); - - btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 ); - - btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 ); - - - bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 ); - - - bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 ); - - - bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 ); - - lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTimezone->Wrap( 0 ); - fgSizer5->Add( lblTimezone, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011111; - bSizer3011111 = new wxBoxSizer( wxHORIZONTAL ); - - lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511111; - bSizer3511111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611111; - bSizer4611111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711111; - bSizer4711111 = new wxBoxSizer( wxVERTICAL ); - - btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 ); - - btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 ); - - btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 ); - - - bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 ); - - - bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 ); - - - bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 ); - - lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblGeopositioning->Wrap( -1 ); - fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111114; - bSizer30111114 = new wxBoxSizer( wxHORIZONTAL ); - - lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111114; - bSizer35111114 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111114; - bSizer46111114 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111114; - bSizer47111114 = new wxBoxSizer( wxVERTICAL ); - - btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 ); - - btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 ); - - btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 ); - - - bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 ); - - - bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 ); - - - bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 ); - - lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblRelated->Wrap( 1 ); - fgSizer5->Add( lblRelated, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111111; - bSizer30111111 = new wxBoxSizer( wxHORIZONTAL ); - - lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111111; - bSizer35111111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111111; - bSizer46111111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111111; - bSizer47111111 = new wxBoxSizer( wxVERTICAL ); - - btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 ); - - btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 ); - - btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 ); - - - bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 ); - - - bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 ); - - - bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 ); - - lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblWebsites->Wrap( 1 ); - fgSizer5->Add( lblWebsites, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301111111; - bSizer301111111 = new wxBoxSizer( wxHORIZONTAL ); - - lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351111111; - bSizer351111111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461111111; - bSizer461111111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471111111; - bSizer471111111 = new wxBoxSizer( wxVERTICAL ); - - btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 ); - - btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 ); - - btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 ); - - - bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 ); - - - bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 ); - - - bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 ); - - lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTitles->Wrap( 1 ); - fgSizer5->Add( lblTitles, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011111111; - bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL ); - - lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511111111; - bSizer3511111111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611111111; - bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711111111; - bSizer4711111111 = new wxBoxSizer( wxVERTICAL ); - - btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 ); - - btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 ); - - btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 ); - - - bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 ); - - - bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 ); - - - bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 ); - - lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblRoles->Wrap( 1 ); - fgSizer5->Add( lblRoles, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111111111; - bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL ); - - lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111111111; - bSizer35111111111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111111111; - bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111111111; - bSizer47111111111 = new wxBoxSizer( wxVERTICAL ); - - btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 ); - - btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 ); - - btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 ); - - - bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 ); - - - bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 ); - - - bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 ); - - lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblOrganisations->Wrap( 1 ); - fgSizer5->Add( lblOrganisations, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301111111111; - bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL ); - - lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351111111111; - bSizer351111111111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461111111111; - bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471111111111; - bSizer471111111111 = new wxBoxSizer( wxVERTICAL ); - - btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 ); - - btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 ); - - btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 ); - - - bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 ); - - - bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 ); - - - bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 ); - - lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblNotes->Wrap( 1 ); - fgSizer5->Add( lblNotes, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011111111111; - bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL ); - - lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511111111111; - bSizer3511111111111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611111111111; - bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711111111111; - bSizer4711111111111 = new wxBoxSizer( wxVERTICAL ); - - btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 ); - - btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 ); - - btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 ); - - - bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 ); - - - bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 ); - - - bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 ); - - - fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 ); - - - bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( bSizer18 ); - tabGeneral->Layout(); - bSizer18->Fit( tabGeneral ); - nbkContact->AddPage( tabGeneral, wxT("General"), true ); - tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabHome->SetScrollRate( 5, 5 ); - wxBoxSizer* bSizer181; - bSizer181 = new wxBoxSizer( wxVERTICAL ); - - wxGridSizer* gSizer71; - gSizer71 = new wxGridSizer( 2, 6, 0, 0 ); - - - bSizer181->Add( gSizer71, 0, wxEXPAND, 5 ); - - wxFlexGridSizer* fgSizer51; - fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer51->AddGrowableCol( 1 ); - fgSizer51->SetFlexibleDirection( wxBOTH ); - fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeNickname->Wrap( 0 ); - fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 ); - - wxBoxSizer* szrAddresses12; - szrAddresses12 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrAddressesOuter11; - szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4622; - bSizer4622 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4722; - bSizer4722 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 ); - - btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 ); - - btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 ); - - - bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 ); - - - szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 ); - - - szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 ); - - lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeAddresses->Wrap( 1 ); - fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 ); - - wxBoxSizer* szrAddresses1; - szrAddresses1 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrAddressesOuter1; - szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer462; - bSizer462 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer472; - bSizer472 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 ); - - btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 ); - - btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 ); - - - bSizer462->Add( bSizer472, 1, wxEXPAND, 5 ); - - - szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 ); - - - szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 ); - - lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeEmail->Wrap( 1 ); - fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3012; - bSizer3012 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3512; - bSizer3512 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4612; - bSizer4612 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4712; - bSizer4712 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 ); - - btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 ); - - btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 ); - - - bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 ); - - - bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 ); - - - bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 ); - - lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeIM->Wrap( 0 ); - fgSizer51->Add( lblHomeIM, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30112; - bSizer30112 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35112; - bSizer35112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46112; - bSizer46112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47112; - bSizer47112 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 ); - - btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 ); - - btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 ); - - - bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 ); - - - bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 ); - - - bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 ); - - lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeTelephone->Wrap( 0 ); - fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301112; - bSizer301112 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351112; - bSizer351112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461112; - bSizer461112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471112; - bSizer471112 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 ); - - btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 ); - - btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 ); - - - bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 ); - - - bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 ); - - - bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 ); - - lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeLanguages->Wrap( 0 ); - fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011112; - bSizer3011112 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511112; - bSizer3511112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611112; - bSizer4611112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711112; - bSizer4711112 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 ); - - btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 ); - - btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 ); - - - bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 ); - - - bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 ); - - - bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 ); - - lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeTimezone->Wrap( 0 ); - fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111112; - bSizer30111112 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111112; - bSizer35111112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111112; - bSizer46111112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111112; - bSizer47111112 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 ); - - btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 ); - - btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 ); - - - bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 ); - - - bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 ); - - - bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 ); - - lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeGeopositioning->Wrap( 0 ); - fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301111141; - bSizer301111141 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351111141; - bSizer351111141 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461111141; - bSizer461111141 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471111141; - bSizer471111141 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 ); - - btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 ); - - btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 ); - - - bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 ); - - - bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 ); - - - bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 ); - - lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeWebsites->Wrap( 1 ); - fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011111112; - bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511111112; - bSizer3511111112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611111112; - bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711111112; - bSizer4711111112 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 ); - - btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 ); - - btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 ); - - - bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 ); - - - bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 ); - - - bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 ); - - lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeTitles->Wrap( 1 ); - fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111111112; - bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111111112; - bSizer35111111112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111111112; - bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111111112; - bSizer47111111112 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 ); - - btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 ); - - btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 ); - - - bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 ); - - - bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 ); - - - bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 ); - - lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeRoles->Wrap( 1 ); - fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301111111112; - bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351111111112; - bSizer351111111112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461111111112; - bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471111111112; - bSizer471111111112 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 ); - - btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 ); - - btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 ); - - - bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 ); - - - bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 ); - - - bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 ); - - lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeOrganisations->Wrap( 1 ); - fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011111111112; - bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511111111112; - bSizer3511111111112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611111111112; - bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711111111112; - bSizer4711111111112 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 ); - - btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 ); - - btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 ); - - - bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 ); - - - bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 ); - - - bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 ); - - lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHomeNotes->Wrap( 1 ); - fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111111111111; - bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL ); - - lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111111111111; - bSizer35111111111111 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111111111111; - bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111111111111; - bSizer47111111111111 = new wxBoxSizer( wxVERTICAL ); - - btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 ); - - btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 ); - - btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 ); - - - bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 ); - - - bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 ); - - - bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 ); - - - fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 ); - - - bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 ); - - - tabHome->SetSizer( bSizer181 ); - tabHome->Layout(); - bSizer181->Fit( tabHome ); - nbkContact->AddPage( tabHome, wxT("Home"), false ); - tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabBusiness->SetScrollRate( 5, 5 ); - wxBoxSizer* bSizer182; - bSizer182 = new wxBoxSizer( wxVERTICAL ); - - wxGridSizer* gSizer72; - gSizer72 = new wxGridSizer( 2, 6, 0, 0 ); - - - bSizer182->Add( gSizer72, 0, wxEXPAND, 5 ); - - wxFlexGridSizer* fgSizer52; - fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer52->AddGrowableCol( 1 ); - fgSizer52->SetFlexibleDirection( wxBOTH ); - fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessNickname->Wrap( 0 ); - fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 ); - - wxBoxSizer* szrAddresses22; - szrAddresses22 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrAddressesOuter22; - szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4632; - bSizer4632 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4732; - bSizer4732 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 ); - - btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 ); - - btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 ); - - - bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 ); - - - szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 ); - - - szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 ); - - lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessAddress->Wrap( 0 ); - fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 ); - - wxBoxSizer* szrAddresses2; - szrAddresses2 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrAddressesOuter2; - szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer463; - bSizer463 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer473; - bSizer473 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 ); - - btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 ); - - btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 ); - - - bSizer463->Add( bSizer473, 1, wxEXPAND, 5 ); - - - szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 ); - - - szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 ); - - lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessEmail->Wrap( 0 ); - fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3013; - bSizer3013 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3513; - bSizer3513 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4613; - bSizer4613 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4713; - bSizer4713 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 ); - - btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 ); - - btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 ); - - - bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 ); - - - bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 ); - - - bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 ); - - lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessIM->Wrap( 0 ); - fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30113; - bSizer30113 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35113; - bSizer35113 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46113; - bSizer46113 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47113; - bSizer47113 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 ); - - btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 ); - - btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 ); - - - bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 ); - - - bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 ); - - - bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 ); - - lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessTelephone->Wrap( 0 ); - fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301113; - bSizer301113 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351113; - bSizer351113 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461113; - bSizer461113 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471113; - bSizer471113 = new wxBoxSizer( wxVERTICAL ); - - btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 ); - - btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 ); - - btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 ); - - - bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 ); - - - bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 ); - - - bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 ); - - lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessLanguage->Wrap( 0 ); - fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011113; - bSizer3011113 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511113; - bSizer3511113 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611113; - bSizer4611113 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711113; - bSizer4711113 = new wxBoxSizer( wxVERTICAL ); - - btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 ); - - btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 ); - - btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 ); - - - bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 ); - - - bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 ); - - - bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 ); - - lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessTimezones->Wrap( 0 ); - fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111113; - bSizer30111113 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111113; - bSizer35111113 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111113; - bSizer46111113 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111113; - bSizer47111113 = new wxBoxSizer( wxVERTICAL ); - - btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 ); - - btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 ); - - btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 ); - - - bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 ); - - - bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 ); - - - bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 ); - - lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessGeopositioning->Wrap( 0 ); - fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011111411; - bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511111411; - bSizer3511111411 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611111411; - bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711111411; - bSizer4711111411 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 ); - - btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 ); - - btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 ); - - - bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 ); - - - bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 ); - - - bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 ); - - lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessWebsites->Wrap( 1 ); - fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011111113; - bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511111113; - bSizer3511111113 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611111113; - bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711111113; - bSizer4711111113 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 ); - - btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 ); - - btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 ); - - - bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 ); - - - bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 ); - - - bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 ); - - lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessTitles->Wrap( 1 ); - fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111111113; - bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER ); - bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111111113; - bSizer35111111113 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111111113; - bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111111113; - bSizer47111111113 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 ); - - btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 ); - - btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 ); - - - bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 ); - - - bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 ); - - - bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 ); - - lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessRoles->Wrap( 1 ); - fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301111111113; - bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351111111113; - bSizer351111111113 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461111111113; - bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471111111113; - bSizer471111111113 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 ); - - btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 ); - - btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 ); - - - bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 ); - - - bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 ); - - - bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 ); - - lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessOrganisations->Wrap( 1 ); - fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 ); - - wxBoxSizer* bSizer3011111111113; - bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer3511111111113; - bSizer3511111111113 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4611111111113; - bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4711111111113; - bSizer4711111111113 = new wxBoxSizer( wxVERTICAL ); - - btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 ); - - btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 ); - - btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 ); - - - bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 ); - - - bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 ); - - - bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 ); - - lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblBusinessNotes->Wrap( 1 ); - fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30111111111112; - bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL ); - - lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35111111111112; - bSizer35111111111112 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46111111111112; - bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47111111111112; - bSizer47111111111112 = new wxBoxSizer( wxVERTICAL ); - - btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 ); - - btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 ); - - btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 ); - - - bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 ); - - - bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 ); - - - bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 ); - - - fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 ); - - - bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 ); - - - tabBusiness->SetSizer( bSizer182 ); - tabBusiness->Layout(); - bSizer182->Fit( tabBusiness ); - nbkContact->AddPage( tabBusiness, wxT("Business"), false ); - tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabCategories->SetScrollRate( 5, 5 ); - wxBoxSizer* szrAddresses11; - szrAddresses11 = new wxBoxSizer( wxHORIZONTAL ); - - lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrCategoriesOuter; - szrCategoriesOuter = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4621; - bSizer4621 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4721; - bSizer4721 = new wxBoxSizer( wxVERTICAL ); - - btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4721->Add( btnAddCategory, 0, wxALL, 5 ); - - btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 ); - - btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 ); - - - bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 ); - - - szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 ); - - - szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 ); - - - tabCategories->SetSizer( szrAddresses11 ); - tabCategories->Layout(); - szrAddresses11->Fit( tabCategories ); - nbkContact->AddPage( tabCategories, wxT("Categories"), false ); - tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabMembers->SetScrollRate( 5, 5 ); - wxBoxSizer* szrAddresses111; - szrAddresses111 = new wxBoxSizer( wxHORIZONTAL ); - - lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrCategoriesOuter1; - szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46211; - bSizer46211 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47211; - bSizer47211 = new wxBoxSizer( wxVERTICAL ); - - btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47211->Add( btnAddGroups, 0, wxALL, 5 ); - - btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 ); - - btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 ); - - - bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 ); - - - szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 ); - - - szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 ); - - - tabMembers->SetSizer( szrAddresses111 ); - tabMembers->Layout(); - szrAddresses111->Fit( tabMembers ); - nbkContact->AddPage( tabMembers, wxT("Members"), false ); - tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabPictures->SetScrollRate( 5, 5 ); - wxBoxSizer* bSizer210; - bSizer210 = new wxBoxSizer( wxHORIZONTAL ); - - imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER ); - bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer211; - bSizer211 = new wxBoxSizer( wxVERTICAL ); - - lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer212; - bSizer212 = new wxBoxSizer( wxVERTICAL ); - - wxFlexGridSizer* fgSizer46; - fgSizer46 = new wxFlexGridSizer( 2, 3, 0, 0 ); - fgSizer46->SetFlexibleDirection( wxBOTH ); - fgSizer46->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer46->Add( btnAddPicture, 0, wxALL, 5 ); - - btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer46->Add( btnModifyPicture, 0, wxALL, 5 ); - - btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer46->Add( btnDeletePicture, 0, wxALL, 5 ); - - btnSavePicture = new wxButton( tabPictures, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer46->Add( btnSavePicture, 0, wxALL, 5 ); - - - bSizer212->Add( fgSizer46, 1, wxEXPAND, 5 ); - - - bSizer211->Add( bSizer212, 0, wxEXPAND, 5 ); - - - bSizer210->Add( bSizer211, 1, wxEXPAND, 5 ); - - - tabPictures->SetSizer( bSizer210 ); - tabPictures->Layout(); - bSizer210->Fit( tabPictures ); - nbkContact->AddPage( tabPictures, wxT("Pictures"), false ); - tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabLogo->SetScrollRate( 5, 5 ); - wxBoxSizer* bSizer2101; - bSizer2101 = new wxBoxSizer( wxHORIZONTAL ); - - imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER ); - bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer2111; - bSizer2111 = new wxBoxSizer( wxVERTICAL ); - - lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer2121; - bSizer2121 = new wxBoxSizer( wxVERTICAL ); - - wxFlexGridSizer* fgSizer47; - fgSizer47 = new wxFlexGridSizer( 2, 3, 0, 0 ); - fgSizer47->SetFlexibleDirection( wxBOTH ); - fgSizer47->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer47->Add( btnAddLogo, 0, wxALL, 5 ); - - btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer47->Add( btnModifyLogo, 0, wxALL, 5 ); - - btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer47->Add( btnDeleteLogo, 0, wxALL, 5 ); - - btnSaveLogo = new wxButton( tabLogo, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer47->Add( btnSaveLogo, 0, wxALL, 5 ); - - - bSizer2121->Add( fgSizer47, 1, wxEXPAND, 5 ); - - - bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 ); - - - bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 ); - - - tabLogo->SetSizer( bSizer2101 ); - tabLogo->Layout(); - bSizer2101->Fit( tabLogo ); - nbkContact->AddPage( tabLogo, wxT("Logos"), false ); - tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabSounds->SetScrollRate( 5, 5 ); - wxBoxSizer* szrAddresses1111; - szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL ); - - lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrCategoriesOuter11; - szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer462111; - bSizer462111 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer472111; - bSizer472111 = new wxBoxSizer( wxVERTICAL ); - - btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472111->Add( btnAddSound, 0, wxALL, 5 ); - - btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472111->Add( btnModifySound, 0, wxALL, 5 ); - - btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 ); - - btnSaveSound = new wxButton( tabSounds, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472111->Add( btnSaveSound, 0, wxALL, 5 ); - - m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); - bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer348; - bSizer348 = new wxBoxSizer( wxHORIZONTAL ); - - btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW ); - btnPlay->SetMinSize( wxSize( -1,32 ) ); - - bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 ); - - btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW ); - btnStop->SetMinSize( wxSize( -1,32 ) ); - - bSizer348->Add( btnStop, 0, wxALL, 5 ); - - - bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 ); - - - bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 ); - - - szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 ); - - - szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 ); - - - tabSounds->SetSizer( szrAddresses1111 ); - tabSounds->Layout(); - szrAddresses1111->Fit( tabSounds ); - nbkContact->AddPage( tabSounds, wxT("Sounds"), false ); - tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabCalendaring->SetScrollRate( 5, 5 ); - wxBoxSizer* bSizer1821; - bSizer1821 = new wxBoxSizer( wxVERTICAL ); - - wxFlexGridSizer* fgSizer521; - fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer521->AddGrowableCol( 1 ); - fgSizer521->SetFlexibleDirection( wxBOTH ); - fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblCalendarAddresses->Wrap( 0 ); - fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 ); - - wxBoxSizer* szrAddresses21; - szrAddresses21 = new wxBoxSizer( wxHORIZONTAL ); - - lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrAddressesOuter21; - szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer4631; - bSizer4631 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer4731; - bSizer4731 = new wxBoxSizer( wxVERTICAL ); - - btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 ); - - btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 ); - - btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 ); - - - bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 ); - - - szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 ); - - - szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 ); - - - fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 ); - - lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblCalendarRequestAddresses->Wrap( 0 ); - fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 ); - - wxBoxSizer* bSizer30131; - bSizer30131 = new wxBoxSizer( wxHORIZONTAL ); - - lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer35131; - bSizer35131 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46131; - bSizer46131 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47131; - bSizer47131 = new wxBoxSizer( wxVERTICAL ); - - btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 ); - - btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 ); - - btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 ); - - - bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 ); - - - bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 ); - - - bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 ); - - - fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 ); - - lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblFreeBusyAddresses->Wrap( 0 ); - fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301131; - bSizer301131 = new wxBoxSizer( wxHORIZONTAL ); - - lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351131; - bSizer351131 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461131; - bSizer461131 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471131; - bSizer471131 = new wxBoxSizer( wxVERTICAL ); - - btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 ); - - btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 ); - - btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 ); - - - bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 ); - - - bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 ); - - - bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 ); - - - fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 ); - - - bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 ); - - - tabCalendaring->SetSizer( bSizer1821 ); - tabCalendaring->Layout(); - bSizer1821->Fit( tabCalendaring ); - nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false ); - tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabSecurity->SetScrollRate( 5, 5 ); - wxBoxSizer* szrAddresses1112; - szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL ); - - lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrCategoriesOuter12; - szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer462112; - bSizer462112 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer472112; - bSizer472112 = new wxBoxSizer( wxVERTICAL ); - - btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472112->Add( btnAddKey, 0, wxALL, 5 ); - - btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472112->Add( btnModifyKey, 0, wxALL, 5 ); - - btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 ); - - - bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 ); - - - szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 ); - - - szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 ); - - - tabSecurity->SetSizer( szrAddresses1112 ); - tabSecurity->Layout(); - szrAddresses1112->Fit( tabSecurity ); - nbkContact->AddPage( tabSecurity, wxT("Security"), false ); - tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); - tabOther->SetScrollRate( 5, 5 ); - wxFlexGridSizer* fgSizer5211; - fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer5211->AddGrowableCol( 1 ); - fgSizer5211->SetFlexibleDirection( wxBOTH ); - fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblVendorNamespace->Wrap( 0 ); - fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 ); - - wxBoxSizer* szrAddresses211; - szrAddresses211 = new wxBoxSizer( wxHORIZONTAL ); - - lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER ); - szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* szrAddressesOuter211; - szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer46311; - bSizer46311 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer47311; - bSizer47311 = new wxBoxSizer( wxVERTICAL ); - - btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 ); - - btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 ); - - btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 ); - - - bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 ); - - - szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 ); - - - szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 ); - - - fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 ); - - lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblXTokens->Wrap( 0 ); - fgSizer5211->Add( lblXTokens, 0, wxALL, 5 ); - - wxBoxSizer* bSizer301311; - bSizer301311 = new wxBoxSizer( wxHORIZONTAL ); - - lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer351311; - bSizer351311 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer461311; - bSizer461311 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer471311; - bSizer471311 = new wxBoxSizer( wxVERTICAL ); - - btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471311->Add( btnAddXToken, 0, wxALL, 5 ); - - btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 ); - - btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 ); - - - bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 ); - - - bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 ); - - - bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 ); - - - fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 ); - - - tabOther->SetSizer( fgSizer5211 ); - tabOther->Layout(); - fgSizer5211->Fit( tabOther ); - nbkContact->AddPage( tabOther, wxT("Other"), false ); - - bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 ); - - - this->SetSizer( bSizer17 ); - this->Layout(); - m_menubar3 = new wxMenuBar( 0 ); - mnuContact = new wxMenu(); - wxMenuItem* mnuContactSave; - mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuContactSave ); - - wxMenuItem* mnuContactSaveClose; - mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuContactSaveClose ); - - mnuContact->AppendSeparator(); - - wxMenuItem* mnuContactClose; - mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL ); - mnuContact->Append( mnuContactClose ); - - m_menubar3->Append( mnuContact, wxT("&Contact") ); - - mnuEdit = new wxMenu(); - wxMenuItem* mnuEditCut; - mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL ); - mnuEdit->Append( mnuEditCut ); - - wxMenuItem* mnuEditCopy; - mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL ); - mnuEdit->Append( mnuEditCopy ); - - wxMenuItem* mnuEditPaste; - mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL ); - mnuEdit->Append( mnuEditPaste ); - - m_menubar3->Append( mnuEdit, wxT("&Edit") ); - - this->SetMenuBar( m_menubar3 ); - - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) ); - txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this ); - cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this ); - cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this ); - btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this ); - btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this ); - btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this ); - btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this ); - btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this ); - btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this ); - btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this ); - btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this ); - btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this ); - btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this ); - btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this ); - btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this ); - btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this ); - btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this ); - btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this ); - btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this ); - btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this ); - btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this ); - btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this ); - btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this ); - btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this ); - btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this ); - btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this ); - btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this ); - btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this ); - btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this ); - btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this ); - btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this ); - btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this ); - btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this ); - btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this ); - btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this ); - btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this ); - btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this ); - btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this ); - btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this ); - btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this ); - btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this ); - btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this ); - btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this ); - btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this ); - btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this ); - btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this ); - btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this ); - btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this ); - btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this ); - btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this ); - btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this ); - btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this ); - btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this ); - btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this ); - btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this ); - btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this ); - btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this ); - btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this ); - btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this ); - btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this ); - btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this ); - btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this ); - btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this ); - btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this ); - btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this ); - btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this ); - btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this ); - btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this ); - btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this ); - btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this ); - btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this ); - btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this ); - btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this ); - btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this ); - btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this ); - btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this ); - btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this ); - btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this ); - btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this ); - btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this ); - btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this ); - btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this ); - btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this ); - btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this ); - btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this ); - btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this ); - btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this ); - btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this ); - btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this ); - btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this ); - btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this ); - btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this ); - btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this ); - btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this ); - btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this ); - btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this ); - btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this ); - btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this ); - btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this ); - btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this ); - btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this ); - btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this ); - btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this ); - btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this ); - btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this ); - btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this ); - btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this ); - btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this ); - btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this ); - btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this ); - btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this ); - btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this ); - btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this ); - btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this ); - btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this ); - btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this ); - btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this ); - btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this ); - btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this ); - btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this ); - btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this ); - btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this ); - btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this ); - btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this ); - btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this ); - btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this ); - btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this ); - btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this ); - btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this ); - lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this ); - btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this ); - btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this ); - btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this ); - btnSavePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this ); - lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this ); - btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this ); - btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this ); - btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this ); - btnSaveLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this ); - btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this ); - btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this ); - btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this ); - btnSaveSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this ); - btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this ); - btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this ); - btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this ); - btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this ); - btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this ); - btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this ); - btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this ); - btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this ); - btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this ); - btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this ); - btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this ); - btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this ); - btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this ); - btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this ); - btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this ); - btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this ); - btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this ); - btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this ); - btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this ); - btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this ); - this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) ); - this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) ); - this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) ); - this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) ); - this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) ); - this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) ); -} - -frmContactEditorADT::~frmContactEditorADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) ); - txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); - cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this ); - cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this ); - cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this ); - btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this ); - btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this ); - btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this ); - btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this ); - btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this ); - btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this ); - btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this ); - btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this ); - btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this ); - btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this ); - btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this ); - btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this ); - btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this ); - btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this ); - btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this ); - btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this ); - btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this ); - btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this ); - btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this ); - btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this ); - btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this ); - btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this ); - btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this ); - btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this ); - btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this ); - btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this ); - btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this ); - btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this ); - btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this ); - btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this ); - btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this ); - btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this ); - btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this ); - btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this ); - btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this ); - btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this ); - btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this ); - btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this ); - btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this ); - btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this ); - btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this ); - btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this ); - btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this ); - btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this ); - btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this ); - btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this ); - btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this ); - btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this ); - btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this ); - btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this ); - btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this ); - btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this ); - btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this ); - btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this ); - btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this ); - btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this ); - btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this ); - btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this ); - btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this ); - btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this ); - btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this ); - btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this ); - btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this ); - btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this ); - btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this ); - btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this ); - btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this ); - btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this ); - btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this ); - btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this ); - btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this ); - btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this ); - btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this ); - btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this ); - btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this ); - btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this ); - btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this ); - btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this ); - btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this ); - btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this ); - btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this ); - btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this ); - btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this ); - btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this ); - btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this ); - btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this ); - btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this ); - btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this ); - btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this ); - btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this ); - btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this ); - btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this ); - btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this ); - btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this ); - btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this ); - btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this ); - btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this ); - btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this ); - btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this ); - btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this ); - btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this ); - btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this ); - btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this ); - btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this ); - btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this ); - btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this ); - btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this ); - btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this ); - btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this ); - btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this ); - btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this ); - btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this ); - btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this ); - btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this ); - btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this ); - btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this ); - btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this ); - btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this ); - btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this ); - btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this ); - btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this ); - btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this ); - btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this ); - btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this ); - btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this ); - btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this ); - lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this ); - btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this ); - btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this ); - btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this ); - btnSavePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this ); - lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this ); - btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this ); - btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this ); - btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this ); - btnSaveLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this ); - btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this ); - btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this ); - btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this ); - btnSaveSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this ); - btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this ); - btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this ); - btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this ); - btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this ); - btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this ); - btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this ); - btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this ); - btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this ); - btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this ); - btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this ); - btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this ); - btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this ); - btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this ); - btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this ); - btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this ); - btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this ); - btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this ); - btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this ); - btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this ); - btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this ); - this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) ); - this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) ); - this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) ); - this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) ); - this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) ); - this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) ); - -} - -frmContactEditorAddressADT::frmContactEditorAddressADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAddress->Wrap( -1 ); - fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtAddress->SetMaxLength( 0 ); - fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 ); - - m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 ); - m_staticText61->Wrap( -1 ); - fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtTownCity->SetMaxLength( 0 ); - fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 ); - - lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblCountyState->Wrap( -1 ); - fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtCounty->SetMaxLength( 0 ); - fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 ); - - lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPostCode->Wrap( -1 ); - fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtPostCode->SetMaxLength( 0 ); - fgSizer6->Add( txtPostCode, 0, wxALL, 5 ); - - lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblCountry->Wrap( -1 ); - fgSizer6->Add( lblCountry, 0, wxALL, 5 ); - - txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtCountry->SetMaxLength( 0 ); - fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkAddress->AddPage( tabGeneral, wxT("General"), true ); - tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer253; - bSizer253 = new wxBoxSizer( wxVERTICAL ); - - btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer253->Add( btnCopyMailing, 0, wxALL, 5 ); - - txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE ); - txtLabel->SetMaxLength( 0 ); - bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 ); - - - tabLabel->SetSizer( bSizer253 ); - tabLabel->Layout(); - bSizer253->Fit( tabLabel ); - nbkAddress->AddPage( tabLabel, wxT("Label"), false ); - tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer61; - fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer61->AddGrowableCol( 1 ); - fgSizer61->SetFlexibleDirection( wxVERTICAL ); - fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLanguage->Wrap( -1 ); - fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer61->Add( cmbLanguage, 0, wxALL, 5 ); - - lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblGeography->Wrap( -1 ); - fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtGeo->SetMaxLength( 0 ); - fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 ); - - lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTimezone->Wrap( -1 ); - fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtTimezone->SetMaxLength( 0 ); - fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 ); - - - tabOther->SetSizer( fgSizer61 ); - tabOther->Layout(); - fgSizer61->Fit( tabOther ); - nbkAddress->AddPage( tabOther, wxT("Other"), false ); - - bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) ); - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this ); - btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this ); -} - -frmContactEditorAddressADT::~frmContactEditorAddressADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) ); - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this ); - btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this ); - -} - -frmConflictResolutionADT::frmConflictResolutionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxFlexGridSizer* fgSizer39; - fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 ); - fgSizer39->AddGrowableCol( 0 ); - fgSizer39->AddGrowableRow( 0 ); - fgSizer39->SetFlexibleDirection( wxBOTH ); - fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - wxBoxSizer* bSizer363; - bSizer363 = new wxBoxSizer( wxHORIZONTAL ); - - wxBoxSizer* bSizer364; - bSizer364 = new wxBoxSizer( wxVERTICAL ); - - 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 ); - lblText->Wrap( -1 ); - bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 ); - - m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D ); - m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this ); - - m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer365; - bSizer365 = new wxBoxSizer( wxVERTICAL ); - - htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER ); - bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 ); - - - m_panel44->SetSizer( bSizer365 ); - m_panel44->Layout(); - bSizer365->Fit( m_panel44 ); - m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer366; - bSizer366 = new wxBoxSizer( wxVERTICAL ); - - htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER ); - bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 ); - - - m_panel45->SetSizer( bSizer366 ); - m_panel45->Layout(); - bSizer366->Fit( m_panel45 ); - m_splitter3->SplitVertically( m_panel44, m_panel45, 257 ); - bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer367; - bSizer367 = new wxBoxSizer( wxHORIZONTAL ); - - - bSizer367->Add( 0, 0, 1, wxEXPAND, 5 ); - - btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer367->Add( btnKeepLocal, 0, wxALL, 5 ); - - btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer367->Add( btnKeepServer, 0, wxALL, 5 ); - - btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer367->Add( btnDecideLater, 0, wxALL, 5 ); - - - bSizer367->Add( 0, 0, 1, wxEXPAND, 5 ); - - - bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 ); - - - bSizer363->Add( bSizer364, 1, wxEXPAND, 5 ); - - - fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 ); - - - this->SetSizer( fgSizer39 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this ); - btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this ); - btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this ); -} - -frmConflictResolutionADT::~frmConflictResolutionADT() -{ - // Disconnect Events - btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this ); - btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this ); - btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this ); - -} - -frmActivityMgrADT::frmActivityMgrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( 400,300 ), wxDefaultSize ); - - mnuMenuBar = new wxMenuBar( 0 ); - mnuWindow = new wxMenu(); - wxMenuItem* mnuStopActivity; - mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL ); - mnuWindow->Append( mnuStopActivity ); - - wxMenuItem* mnuActivityStopAll; - mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL ); - mnuWindow->Append( mnuActivityStopAll ); - - wxMenuItem* mnuRetryActivity; - mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL ); - mnuWindow->Append( mnuRetryActivity ); - - mnuWindow->AppendSeparator(); - - wxMenuItem* mnuSleepMode; - mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK ); - mnuWindow->Append( mnuSleepMode ); - - mnuWindow->AppendSeparator(); - - wxMenuItem* mnuWindowClose; - mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL ); - mnuWindow->Append( mnuWindowClose ); - - mnuMenuBar->Append( mnuWindow, wxT("&Activity") ); - - this->SetMenuBar( mnuMenuBar ); - - wxFlexGridSizer* fgSizer38; - fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 ); - fgSizer38->AddGrowableCol( 0 ); - fgSizer38->AddGrowableRow( 1 ); - fgSizer38->SetFlexibleDirection( wxBOTH ); - fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer363; - bSizer363 = new wxBoxSizer( wxHORIZONTAL ); - - bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 ); - bmpActivity->SetMinSize( wxSize( 64,64 ) ); - - bSizer363->Add( bmpActivity, 0, wxALL, 5 ); - - m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer364; - bSizer364 = new wxBoxSizer( wxVERTICAL ); - - - bSizer364->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE ); - lblDetails->Wrap( -1 ); - bSizer364->Add( lblDetails, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 0 ); - - - bSizer364->Add( 0, 0, 1, wxEXPAND, 5 ); - - GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL ); - GauProgress->SetValue( 0 ); - GauProgress->SetMinSize( wxSize( -1,20 ) ); - - bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 ); - - - bSizer364->Add( 0, 0, 1, wxEXPAND, 5 ); - - - m_panel46->SetSizer( bSizer364 ); - m_panel46->Layout(); - bSizer364->Fit( m_panel46 ); - bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 ); - - - m_panel43->SetSizer( bSizer363 ); - m_panel43->Layout(); - bSizer363->Fit( m_panel43 ); - fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 ); - - m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer365; - bSizer365 = new wxBoxSizer( wxVERTICAL ); - - lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); - bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 ); - - - m_panel44->SetSizer( bSizer365 ); - m_panel44->Layout(); - bSizer365->Fit( m_panel44 ); - fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 ); - - - this->SetSizer( fgSizer38 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) ); - this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) ); - this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) ); - this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) ); - this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) ); - this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) ); -} - -frmActivityMgrADT::~frmActivityMgrADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) ); - this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) ); - -} - -frmContactEditorNicknameADT::frmContactEditorNicknameADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblNickname->Wrap( -1 ); - fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtNickname->SetMaxLength( 0 ); - fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkAddress->AddPage( tabGeneral, wxT("General"), true ); - tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer61; - fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer61->AddGrowableCol( 1 ); - fgSizer61->SetFlexibleDirection( wxBOTH ); - fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLanguage->Wrap( -1 ); - fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 ); - - - tabOther->SetSizer( fgSizer61 ); - tabOther->Layout(); - fgSizer61->Fit( tabOther ); - nbkAddress->AddPage( tabOther, wxT("Other"), false ); - - bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) ); - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this ); -} - -frmContactEditorNicknameADT::~frmContactEditorNicknameADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) ); - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorGroupsADT::frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->AddGrowableRow( 0 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblContacts->Wrap( -1 ); - fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 ); - - wxArrayString chkContactsChoices; - chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE ); - fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkGroup->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this ); -} - -frmContactEditorGroupsADT::~frmContactEditorGroupsADT() -{ - // Disconnect Events - this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorRolesADT::frmContactEditorRolesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblRole->Wrap( -1 ); - fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtRole->SetMaxLength( 0 ); - fgSizer6->Add( txtRole, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkRole->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this ); -} - -frmContactEditorRolesADT::~frmContactEditorRolesADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorOrganisationsADT::frmContactEditorOrganisationsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxBOTH ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblOrganisation->Wrap( -1 ); - fgSizer6->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtOrganisation->SetMaxLength( 0 ); - fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 ); - - lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblSortAs->Wrap( -1 ); - fgSizer6->Add( lblSortAs, 0, wxALL, 5 ); - - cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer6->Add( cmbSortAs, 1, wxALL, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkOrganisation->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this ); - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this ); -} - -frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT() -{ - // Disconnect Events - txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this ); - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorNotesADT::frmContactEditorNotesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer353; - bSizer353 = new wxBoxSizer( wxVERTICAL ); - - txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE ); - txtNote->SetMaxLength( 0 ); - bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 ); - - - tabGeneral->SetSizer( bSizer353 ); - tabGeneral->Layout(); - bSizer353->Fit( tabGeneral ); - nbkNotes->AddPage( tabGeneral, wxT("General"), true ); - tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer61; - fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer61->AddGrowableCol( 1 ); - fgSizer61->SetFlexibleDirection( wxVERTICAL ); - fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer61->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer2601; - bSizer2601 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer2601->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer2541; - bSizer2541 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer2561; - bSizer2561 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer2551; - bSizer2551 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 ); - - - bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 ); - - - fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 ); - - - fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabPriority->SetSizer( fgSizer61 ); - tabPriority->Layout(); - fgSizer61->Fit( tabPriority ); - nbkNotes->AddPage( tabPriority, wxT("Priority"), false ); - tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer611; - fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer611->AddGrowableCol( 0 ); - fgSizer611->SetFlexibleDirection( wxBOTH ); - fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLanguage->Wrap( -1 ); - fgSizer611->Add( lblLanguage, 1, wxALL, 5 ); - - cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer611->Add( cmbLanguage, 1, wxALL, 5 ); - - - tabLanguage->SetSizer( fgSizer611 ); - tabLanguage->Layout(); - fgSizer611->Fit( tabLanguage ); - nbkNotes->AddPage( tabLanguage, wxT("Language"), false ); - - bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this ); -} - -frmContactEditorNotesADT::~frmContactEditorNotesADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorTitlesADT::frmContactEditorTitlesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTitle->Wrap( -1 ); - fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtTitle->SetMaxLength( 0 ); - fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkTitles->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this ); -} - -frmContactEditorTitlesADT::~frmContactEditorTitlesADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorRelatedADT::frmContactEditorRelatedADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 0 ); - fgSizer6->SetFlexibleDirection( wxBOTH ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblRelation->Wrap( -1 ); - fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtRelated->SetMaxLength( 0 ); - fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 ); - - lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblType->Wrap( -1 ); - fgSizer6->Add( lblType, 0, wxALL, 5 ); - - cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer6->Add( cmbType, 0, wxALL, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkRelated->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this ); -} - -frmContactEditorRelatedADT::~frmContactEditorRelatedADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorSoundADT::frmContactEditorSoundADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxBOTH ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblSoundFile->Wrap( -1 ); - fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE ); - fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 ); - - lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblType->Wrap( -1 ); - fgSizer6->Add( lblType, 0, wxALL, 5 ); - - wxArrayString cmbTypeChoices; - cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); - cmbType->SetSelection( 0 ); - fgSizer6->Add( cmbType, 0, wxALL, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkRelated->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this ); -} - -frmContactEditorSoundADT::~frmContactEditorSoundADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorPictureADT::frmContactEditorPictureADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxBOTH ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPictureFile->Wrap( -1 ); - fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE ); - fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 ); - - lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblType->Wrap( -1 ); - fgSizer6->Add( lblType, 0, wxALL, 5 ); - - wxArrayString cmbTypeChoices; - cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); - cmbType->SetSelection( 0 ); - fgSizer6->Add( cmbType, 0, wxALL, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkRelated->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this ); -} - -frmContactEditorPictureADT::~frmContactEditorPictureADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorWebsitesADT::frmContactEditorWebsitesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblWebsite->Wrap( -1 ); - fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtWebsite->SetMaxLength( 0 ); - fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this ); -} - -frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorGeopositionADT::frmContactEditorGeopositionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblGeoposition->Wrap( -1 ); - fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtGeoposition->SetMaxLength( 0 ); - fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this ); -} - -frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorCalAdrADT::frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAddress->Wrap( -1 ); - fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtAddress->SetMaxLength( 0 ); - fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 ); - - lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblType->Wrap( -1 ); - fgSizer6->Add( lblType, 0, wxALL, 5 ); - - wxArrayString cmbTypeChoices; - cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); - cmbType->SetSelection( 0 ); - fgSizer6->Add( cmbType, 0, wxALL, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this ); -} - -frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorVendorADT::frmContactEditorVendorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblVendorPEN->Wrap( -1 ); - fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtPEN->SetMaxLength( 0 ); - fgSizer6->Add( txtPEN, 0, wxALL, 5 ); - - lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblElement->Wrap( -1 ); - fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtElement->SetMaxLength( 0 ); - fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 ); - - lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblValue->Wrap( -1 ); - fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtValue->SetMaxLength( 0 ); - fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this ); -} - -frmContactEditorVendorADT::~frmContactEditorVendorADT() -{ - // Disconnect Events - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorXTokenADT::frmContactEditorXTokenADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTokenName->Wrap( -1 ); - fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtTokenName->SetMaxLength( 0 ); - fgSizer6->Add( txtTokenName, 0, wxALL, 5 ); - - lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblXT->Wrap( -1 ); - fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtValue->SetMaxLength( 0 ); - fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this ); -} - -frmContactEditorXTokenADT::~frmContactEditorXTokenADT() -{ - // Disconnect Events - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorKeyADT::frmContactEditorKeyADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblKeyType->Wrap( -1 ); - fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxArrayString cmbKeyMainTypeChoices; - cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 ); - cmbKeyMainType->SetSelection( 0 ); - fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 ); - - lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblType->Wrap( -1 ); - fgSizer6->Add( lblType, 0, wxALL, 5 ); - - wxArrayString cmbTypeChoices; - cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); - cmbType->SetSelection( 0 ); - fgSizer6->Add( cmbType, 0, wxALL, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkWebsite->AddPage( tabGeneral, wxT("General"), true ); - tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer61; - fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer61->AddGrowableCol( 1 ); - fgSizer61->SetFlexibleDirection( wxHORIZONTAL ); - fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblKeyFormat->Wrap( -1 ); - fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer61->Add( cmbURL, 0, wxALL, 5 ); - - lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAddress->Wrap( -1 ); - fgSizer61->Add( lblAddress, 0, wxALL, 5 ); - - txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtAddress->SetMaxLength( 0 ); - fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 ); - - - fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabURL->SetSizer( fgSizer61 ); - tabURL->Layout(); - fgSizer61->Fit( tabURL ); - nbkWebsite->AddPage( tabURL, wxT("URL"), false ); - tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer62; - fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer62->AddGrowableCol( 1 ); - fgSizer62->AddGrowableRow( 1 ); - fgSizer62->SetFlexibleDirection( wxBOTH ); - fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblKeyFormatData->Wrap( -1 ); - fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 ); - - cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer62->Add( cmbKeyType, 0, wxALL, 5 ); - - lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblKeyData->Wrap( -1 ); - fgSizer62->Add( lblKeyData, 0, wxALL, 5 ); - - txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE ); - txtKeyData->SetMaxLength( 0 ); - fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 ); - - - tabKey->SetSizer( fgSizer62 ); - tabKey->Layout(); - fgSizer62->Fit( tabKey ); - nbkWebsite->AddPage( tabKey, wxT("Key"), false ); - - bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this ); - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this ); - cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this ); - cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this ); -} - -frmContactEditorKeyADT::~frmContactEditorKeyADT() -{ - // Disconnect Events - cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this ); - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this ); - cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this ); - cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorEmailADT::frmContactEditorEmailADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblEmailAddress->Wrap( -1 ); - fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtEmail->SetMaxLength( 0 ); - fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkEmail->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this ); -} - -frmContactEditorEmailADT::~frmContactEditorEmailADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorIMADT::frmContactEditorIMADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblIMType->Wrap( -1 ); - fgSizer6->Add( lblIMType, 0, wxALL, 5 ); - - cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN ); - fgSizer6->Add( cmbIMType, 0, wxALL, 5 ); - - lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblUsername->Wrap( 0 ); - fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtUsername->SetMaxLength( 0 ); - fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkIM->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this ); -} - -frmContactEditorIMADT::~frmContactEditorIMADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorCategoryADT::frmContactEditorCategoryADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblCategory->Wrap( 0 ); - fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtCategory->SetMaxLength( 0 ); - fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 ); - - lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblType->Wrap( -1 ); - fgSizer6->Add( lblType, 0, wxALL, 5 ); - - wxArrayString cmbTypeChoices; - cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); - cmbType->SetSelection( 0 ); - fgSizer6->Add( cmbType, 0, wxALL, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkIM->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this ); -} - -frmContactEditorCategoryADT::~frmContactEditorCategoryADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorTelephoneADT::frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTelephone->Wrap( -1 ); - fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtTelephone->SetMaxLength( 0 ); - fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 0, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTelephoneType->Wrap( 0 ); - fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 ); - - wxGridSizer* gSizer5; - gSizer5 = new wxGridSizer( 0, 2, 0, 0 ); - - chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 ); - gSizer5->Add( chkVoice, 0, wxALL, 2 ); - - chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 ); - gSizer5->Add( chkText, 0, wxALL, 2 ); - - chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 ); - gSizer5->Add( chkFax, 0, wxALL, 2 ); - - chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 ); - gSizer5->Add( chkMobile, 0, wxALL, 2 ); - - chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 ); - gSizer5->Add( chkVideo, 0, wxALL, 2 ); - - chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 ); - gSizer5->Add( chkTextphone, 0, wxALL, 2 ); - - chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 ); - gSizer5->Add( chkPager, 0, wxALL, 2 ); - - - fgSizer6->Add( gSizer5, 1, 0, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkAddress->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this ); -} - -frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorLanguagesADT::frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLanguage->Wrap( -1 ); - fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtLanguage->SetMaxLength( 0 ); - fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkLanguages->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this ); -} - -frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this ); - -} - -frmContactEditorTimezonesADT::frmContactEditorTimezonesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer251; - bSizer251 = new wxBoxSizer( wxVERTICAL ); - - nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer6; - fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer6->AddGrowableCol( 1 ); - fgSizer6->SetFlexibleDirection( wxVERTICAL ); - fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblTimezone->Wrap( -1 ); - fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); - fgSizer6->Add( cmbTimezone, 0, wxALL, 5 ); - - lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPriority->Wrap( -1 ); - fgSizer6->Add( lblPriority, 0, wxALL, 5 ); - - wxBoxSizer* bSizer260; - bSizer260 = new wxBoxSizer( wxHORIZONTAL ); - - chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer260->Add( chkUsePref, 0, wxALL, 5 ); - - wxBoxSizer* bSizer254; - bSizer254 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* bSizer256; - bSizer256 = new wxBoxSizer( wxHORIZONTAL ); - - sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); - bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); - - - bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer255; - bSizer255 = new wxBoxSizer( wxHORIZONTAL ); - - lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); - lblHigh->Wrap( -1 ); - bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); - - - bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); - - lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); - lblLow->Wrap( -1 ); - bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); - - - bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); - - - bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); - - - fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); - - - tabGeneral->SetSizer( fgSizer6 ); - tabGeneral->Layout(); - fgSizer6->Fit( tabGeneral ); - nbkTimezone->AddPage( tabGeneral, wxT("General"), false ); - - bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer252; - bSizer252 = new wxBoxSizer( wxHORIZONTAL ); - - btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnAction, 0, wxALL, 5 ); - - btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer252->Add( btnClose, 0, wxALL, 5 ); - - - bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer251 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this ); - btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this ); -} - -frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT() -{ - // Disconnect Events - chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this ); - btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this ); - -} - -XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style ) -{ - this->SetMinSize( wxSize( -1,40 ) ); - this->SetMaxSize( wxSize( -1,40 ) ); - - wxFlexGridSizer* fgSizer40; - fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 ); - fgSizer40->AddGrowableCol( 1 ); - fgSizer40->SetFlexibleDirection( wxBOTH ); - fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - wxArrayString choOptionChoices; - choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 ); - choOption->SetSelection( 0 ); - fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 ); - - szrSSet = new wxBoxSizer( wxHORIZONTAL ); - - chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 ); - szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtSearch->SetMaxLength( 0 ); - szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - - fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 ); - - wxBoxSizer* bSizer376; - bSizer376 = new wxBoxSizer( wxHORIZONTAL ); - - btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW ); - btnAdd->SetMinSize( wxSize( 28,28 ) ); - btnAdd->SetMaxSize( wxSize( 28,28 ) ); - - bSizer376->Add( btnAdd, 0, wxALL, 5 ); - - btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW ); - btnDelete->SetMinSize( wxSize( 28,28 ) ); - btnDelete->SetMaxSize( wxSize( 28,28 ) ); - - bSizer376->Add( btnDelete, 0, wxALL, 5 ); - - - fgSizer40->Add( bSizer376, 0, 0, 5 ); - - - this->SetSizer( fgSizer40 ); - this->Layout(); - - // Connect Events - choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this ); - btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this ); - btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this ); -} - -XABSearchPanelADT::~XABSearchPanelADT() -{ - // Disconnect Events - choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this ); - btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this ); - btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this ); - -} - -frmSearchAccountsADT::frmSearchAccountsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer376; - bSizer376 = new wxBoxSizer( wxVERTICAL ); - - wxArrayString chlAccountsChoices; - chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT ); - bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer377; - bSizer377 = new wxBoxSizer( wxHORIZONTAL ); - - - bSizer377->Add( 0, 0, 1, wxEXPAND, 5 ); - - btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer377->Add( btnSelect, 0, wxALL, 5 ); - - btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer377->Add( btnCancel, 0, wxALL, 5 ); - - - bSizer377->Add( 0, 0, 1, wxEXPAND, 5 ); - - - bSizer376->Add( bSizer377, 0, wxEXPAND, 5 ); - - - this->SetSizer( bSizer376 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this ); - btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this ); -} - -frmSearchAccountsADT::~frmSearchAccountsADT() -{ - // Disconnect Events - btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this ); - btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this ); - -} - -frmEditAccountADT::frmEditAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer384; - bSizer384 = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer* szrTabs; - szrTabs = new wxBoxSizer( wxVERTICAL ); - - tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer43; - fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer43->AddGrowableCol( 1 ); - fgSizer43->SetFlexibleDirection( wxBOTH ); - fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE ); - - lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAccName->Wrap( -1 ); - fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtAccountName->SetMaxLength( 0 ); - fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 ); - - lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAccAdr->Wrap( -1 ); - fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtAddress->SetMaxLength( 0 ); - fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 ); - - m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 ); - m_staticText193->Wrap( -1 ); - fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtPort->SetMaxLength( 5 ); - fgSizer43->Add( txtPort, 0, wxALL, 5 ); - - lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPort->Wrap( -1 ); - fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtUsername->SetMaxLength( 0 ); - fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 ); - - lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPassword->Wrap( -1 ); - fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtPassword->SetMaxLength( 0 ); - fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 ); - - lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblPrefix->Wrap( -1 ); - fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - wxBoxSizer* bSizer391; - bSizer391 = new wxBoxSizer( wxHORIZONTAL ); - - txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtPrefix->SetMaxLength( 0 ); - bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 ); - - btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT ); - bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 ); - - - fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 ); - - txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 ); - txtSSL->Wrap( -1 ); - fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer43->Add( chkSSL, 0, wxALL, 5 ); - - - tabProperties->SetSizer( fgSizer43 ); - tabProperties->Layout(); - fgSizer43->Fit( tabProperties ); - tabAccount->AddPage( tabProperties, wxT("General"), true ); - tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer431; - fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer431->AddGrowableCol( 1 ); - fgSizer431->SetFlexibleDirection( wxBOTH ); - fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE ); - - lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblRefresh->Wrap( -1 ); - fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - txtRefresh->SetMaxLength( 5 ); - fgSizer431->Add( txtRefresh, 1, wxALL, 5 ); - - - tabRefresh->SetSizer( fgSizer431 ); - tabRefresh->Layout(); - fgSizer431->Fit( tabRefresh ); - tabAccount->AddPage( tabRefresh, wxT("Refresh"), false ); - - szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 ); - - - bSizer384->Add( szrTabs, 1, wxEXPAND, 0 ); - - wxBoxSizer* szrButtons; - szrButtons = new wxBoxSizer( wxHORIZONTAL ); - - - szrButtons->Add( 1, 0, 1, wxEXPAND, 0 ); - - btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); - btnSave->SetDefault(); - szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 ); - - - szrButtons->Add( 5, 0, 0, 0, 0 ); - - btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); - szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 ); - - - szrButtons->Add( 5, 0, 0, wxEXPAND, 0 ); - - - bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 ); - - - this->SetSizer( bSizer384 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this ); - btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this ); - btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this ); -} - -frmEditAccountADT::~frmEditAccountADT() -{ - // Disconnect Events - btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this ); - btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this ); - btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this ); - -} - -frmSSLCertificateADT::frmSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer384; - bSizer384 = new wxBoxSizer( wxVERTICAL ); - - m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); - tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer386; - bSizer386 = new wxBoxSizer( wxVERTICAL ); - - pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) ); - - wxBoxSizer* bSizer389; - bSizer389 = new wxBoxSizer( wxVERTICAL ); - - lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 ); - lblCertName->Wrap( -1 ); - lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) ); - - bSizer389->Add( lblCertName, 0, wxALL, 5 ); - - lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 ); - lblValidityStatus->Wrap( -1 ); - bSizer389->Add( lblValidityStatus, 0, wxALL, 5 ); - - - pnlTop->SetSizer( bSizer389 ); - pnlTop->Layout(); - bSizer389->Fit( pnlTop ); - bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 ); - - wxBoxSizer* bSizer392; - bSizer392 = new wxBoxSizer( wxVERTICAL ); - - m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxFlexGridSizer* fgSizer44; - fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 ); - fgSizer44->AddGrowableCol( 1 ); - fgSizer44->SetFlexibleDirection( wxHORIZONTAL ); - fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - - lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblIssuedTo->Wrap( -1 ); - fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 ); - - lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 ); - lblIssuedToData->Wrap( -1 ); - fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 ); - - lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblValidFrom->Wrap( -1 ); - fgSizer44->Add( lblValidFrom, 0, wxALL, 5 ); - - lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 ); - lblValidFromData->Wrap( -1 ); - fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 ); - - lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblValidUntil->Wrap( -1 ); - fgSizer44->Add( lblValidUntil, 0, wxALL, 5 ); - - lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 ); - lblValidUntilData->Wrap( -1 ); - fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 ); - - - m_panel54->SetSizer( fgSizer44 ); - m_panel54->Layout(); - fgSizer44->Fit( m_panel54 ); - bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 ); - - - bSizer386->Add( bSizer392, 1, wxEXPAND, 5 ); - - - tabSummary->SetSizer( bSizer386 ); - tabSummary->Layout(); - bSizer386->Fit( tabSummary ); - m_notebook28->AddPage( tabSummary, wxT("Summary"), true ); - tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer3891; - bSizer3891 = new wxBoxSizer( wxVERTICAL ); - - lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER ); - bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 ); - - txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY ); - txtValueData->SetMaxLength( 0 ); - txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) ); - - bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 ); - - - tabDetail->SetSizer( bSizer3891 ); - tabDetail->Layout(); - bSizer3891->Fit( tabDetail ); - m_notebook28->AddPage( tabDetail, wxT("Detail"), false ); - tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer390; - bSizer390 = new wxBoxSizer( wxVERTICAL ); - - treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER ); - bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 ); - - m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer393; - bSizer393 = new wxBoxSizer( wxVERTICAL ); - - btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 ); - - - m_panel57->SetSizer( bSizer393 ); - m_panel57->Layout(); - bSizer393->Fit( m_panel57 ); - bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 ); - - - tabHierarchy->SetSizer( bSizer390 ); - tabHierarchy->Layout(); - bSizer390->Fit( tabHierarchy ); - m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false ); - - bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 ); - - pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer385; - bSizer385 = new wxBoxSizer( wxVERTICAL ); - - btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); - btnClose->SetDefault(); - bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 ); - - - pnlButtons->SetSizer( bSizer385 ); - pnlButtons->Layout(); - bSizer385->Fit( pnlButtons ); - bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 ); - - - this->SetSizer( bSizer384 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this ); - treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this ); - btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this ); - btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this ); -} - -frmSSLCertificateADT::~frmSSLCertificateADT() -{ - // Disconnect Events - lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this ); - treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this ); - btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this ); - btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this ); - -} - -frmInvalidSSLCertificateADT::frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer387; - bSizer387 = new wxBoxSizer( wxVERTICAL ); - - lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 ); - lblSSLText->Wrap( -1 ); - bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer388; - bSizer388 = new wxBoxSizer( wxHORIZONTAL ); - - btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer388->Add( btnAccept, 0, wxALL, 5 ); - - btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 ); - btnReject->SetDefault(); - bSizer388->Add( btnReject, 0, wxALL, 5 ); - - btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer388->Add( btnViewCert, 0, wxALL, 5 ); - - - bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 ); - - - this->SetSizer( bSizer387 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this ); - btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this ); - btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this ); -} - -frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT() -{ - // Disconnect Events - btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this ); - btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this ); - btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this ); - -} - -frmImportContactsADT::frmImportContactsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) ); - - wxBoxSizer* bSizer393; - bSizer393 = new wxBoxSizer( wxVERTICAL ); - - 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 ); - lblImportText->Wrap( 300 ); - bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 ); - - wxArrayString lstContactsChoices; - lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT ); - bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 ); - - szrAccount = new wxBoxSizer( wxHORIZONTAL ); - - lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 ); - lblAccountText->Wrap( -1 ); - szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - - - bSizer393->Add( szrAccount, 0, wxEXPAND, 5 ); - - wxBoxSizer* bSizer394; - bSizer394 = new wxBoxSizer( wxHORIZONTAL ); - - btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 ); - btnImport->SetDefault(); - bSizer394->Add( btnImport, 0, wxALL, 5 ); - - btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer394->Add( btnCancel, 0, wxALL, 5 ); - - - bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 ); - - - this->SetSizer( bSizer393 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this ); - btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this ); -} - -frmImportContactsADT::~frmImportContactsADT() -{ - // Disconnect Events - btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this ); - btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this ); - -} - -frmImportResultsADT::frmImportResultsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer396; - bSizer396 = new wxBoxSizer( wxVERTICAL ); - - lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 ); - lblText->Wrap( -1 ); - bSizer396->Add( lblText, 0, wxALL, 5 ); - - txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY ); - txtResults->SetMaxLength( 0 ); - bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 ); - - wxBoxSizer* bSizer397; - bSizer397 = new wxBoxSizer( wxHORIZONTAL ); - - btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 ); - btnCopyClipboard->Hide(); - - bSizer397->Add( btnCopyClipboard, 0, 0, 5 ); - - btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 ); - bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 ); - - - bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 ); - - - this->SetSizer( bSizer396 ); - this->Layout(); - - this->Centre( wxBOTH ); - - // Connect Events - btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this ); - btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this ); -} - -frmImportResultsADT::~frmImportResultsADT() -{ - // Disconnect Events - btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this ); - btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this ); - -} +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version Feb 10 2016) +// http://www.wxformbuilder.org/ +// +// PLEASE DO "NOT" EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#include "AppXestiaAddrBk.h" + +/////////////////////////////////////////////////////////////////////////// + +frmMainADT::frmMainADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) ); + + mnuMain = new wxMenuBar( 0 ); + mnuManage = new wxMenu(); + wxMenuItem* mnuNewAB; + mnuNewAB = new wxMenuItem( mnuManage, ID_MANAGE_NEWAB, wxString( wxT("New Address Book...") ) , wxEmptyString, wxITEM_NORMAL ); + mnuManage->Append( mnuNewAB ); + + mnuManage->AppendSeparator(); + + wxMenuItem* mnuRefreshAB; + mnuRefreshAB = new wxMenuItem( mnuManage, wxID_ANY, wxString( wxT("Refresh Address Book") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL ); + mnuManage->Append( mnuRefreshAB ); + + mnuManage->AppendSeparator(); + + wxMenuItem* mnuImport; + mnuImport = new wxMenuItem( mnuManage, ID_IMPORT, wxString( wxT("Import...") ) , wxEmptyString, wxITEM_NORMAL ); + mnuManage->Append( mnuImport ); + + wxMenuItem* mnuExport; + mnuExport = new wxMenuItem( mnuManage, ID_EXPORT, wxString( wxT("Export...") ) , wxEmptyString, wxITEM_NORMAL ); + mnuManage->Append( mnuExport ); + + mnuPrefSep = mnuManage->AppendSeparator(); + + wxMenuItem* mnuPreferences; + mnuPreferences = new wxMenuItem( mnuManage, wxID_PREFERENCES, wxString( wxT("Preferences...") ) , wxEmptyString, wxITEM_NORMAL ); + mnuManage->Append( mnuPreferences ); + + mnuExitSep = mnuManage->AppendSeparator(); + + wxMenuItem* mnuExit; + mnuExit = new wxMenuItem( mnuManage, wxID_EXIT, wxString( wxT("Exit") ) + wxT('\t') + wxT("CTRL+Q"), wxEmptyString, wxITEM_NORMAL ); + #ifdef __WXMSW__ + mnuExit->SetBitmaps( wxNullBitmap ); + #elif (defined( __WXGTK__ ) || defined( __WXOSX__ )) + mnuExit->SetBitmap( wxNullBitmap ); + #endif + mnuManage->Append( mnuExit ); + + mnuMain->Append( mnuManage, wxT("Manage") ); + + mnuContact = new wxMenu(); + wxMenuItem* mnuNewContact; + mnuNewContact = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("New Contact...") ) + wxT('\t') + wxT("CTRL+N"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuNewContact ); + + wxMenuItem* mnuEditContact; + mnuEditContact = new wxMenuItem( mnuContact, ID_CONTACT_EDIT, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuEditContact ); + + wxMenuItem* deleteContact; + deleteContact = new wxMenuItem( mnuContact, ID_CONTACT_DELETE, wxString( wxT("Delete Contact...") ) + wxT('\t') + wxT("CTRL+D"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( deleteContact ); + + mnuContact->AppendSeparator(); + + wxMenuItem* mnuFindContact; + mnuFindContact = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Find Contacts...") ) + wxT('\t') + wxT("CTRL+F"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuFindContact ); + + mnuMain->Append( mnuContact, wxT("Contact") ); + + mnuView = new wxMenu(); + mnuShowContactsAs = new wxMenu(); + wxMenuItem* mnuShowContactsAsItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show Contacts As"), wxEmptyString, wxITEM_NORMAL, mnuShowContactsAs ); + wxMenuItem* mnuViewFNLN; + mnuViewFNLN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_FNLN, wxString( wxT("First Name, Last Name") ) , wxEmptyString, wxITEM_NORMAL ); + mnuShowContactsAs->Append( mnuViewFNLN ); + + wxMenuItem* mnuViewLNFN; + mnuViewLNFN = new wxMenuItem( mnuShowContactsAs, ID_VIEW_LNFN, wxString( wxT("Last Name, First Name") ) , wxEmptyString, wxITEM_NORMAL ); + mnuShowContactsAs->Append( mnuViewLNFN ); + + wxMenuItem* mnuViewNick; + mnuViewNick = new wxMenuItem( mnuShowContactsAs, ID_VIEW_NICK, wxString( wxT("Nickname") ) , wxEmptyString, wxITEM_NORMAL ); + mnuShowContactsAs->Append( mnuViewNick ); + + wxMenuItem* mnuViewDisplayAs; + mnuViewDisplayAs = new wxMenuItem( mnuShowContactsAs, wxID_ANY, wxString( wxT("Display As Name") ) , wxEmptyString, wxITEM_NORMAL ); + mnuShowContactsAs->Append( mnuViewDisplayAs ); + + mnuView->Append( mnuShowContactsAsItem ); + + mnuViewSortBy = new wxMenu(); + wxMenuItem* mnuViewSortByItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Sort By"), wxEmptyString, wxITEM_NORMAL, mnuViewSortBy ); + wxMenuItem* mnuViewAsc; + mnuViewAsc = new wxMenuItem( mnuViewSortBy, ID_VIEW_ASC, wxString( wxT("Ascending") ) , wxEmptyString, wxITEM_NORMAL ); + mnuViewSortBy->Append( mnuViewAsc ); + + wxMenuItem* mnuViewDesc; + mnuViewDesc = new wxMenuItem( mnuViewSortBy, ID_VIEW_DESC, wxString( wxT("Descending") ) , wxEmptyString, wxITEM_NORMAL ); + mnuViewSortBy->Append( mnuViewDesc ); + + mnuView->Append( mnuViewSortByItem ); + + mnuViewShow = new wxMenu(); + wxMenuItem* mnuViewShowItem = new wxMenuItem( mnuView, wxID_ANY, wxT("Show"), wxEmptyString, wxITEM_NORMAL, mnuViewShow ); + wxMenuItem* mnuViewStatusBar; + mnuViewStatusBar = new wxMenuItem( mnuViewShow, ID_VIEW_STATUSBAR, wxString( wxT("Status Bar") ) , wxEmptyString, wxITEM_NORMAL ); + mnuViewShow->Append( mnuViewStatusBar ); + + mnuView->Append( mnuViewShowItem ); + + mnuView->AppendSeparator(); + + wxMenuItem* mnuViewActivity; + mnuViewActivity = new wxMenuItem( mnuView, wxID_ANY, wxString( wxT("Activity Manager") ) , wxEmptyString, wxITEM_NORMAL ); + mnuView->Append( mnuViewActivity ); + + mnuMain->Append( mnuView, wxT("View") ); + + mnuEdit = new wxMenu(); + wxMenuItem* mnuCut; + mnuCut = new wxMenuItem( mnuEdit, ID_MANAGE_CUT, wxString( wxT("Cut") ) + wxT('\t') + wxT("CTRL+X"), wxEmptyString, wxITEM_NORMAL ); + mnuEdit->Append( mnuCut ); + + wxMenuItem* mnuCopy; + mnuCopy = new wxMenuItem( mnuEdit, ID_MANAGE_COPY, wxString( wxT("Copy") ) + wxT('\t') + wxT("CTRL+C"), wxEmptyString, wxITEM_NORMAL ); + mnuEdit->Append( mnuCopy ); + + wxMenuItem* mnuPaste; + mnuPaste = new wxMenuItem( mnuEdit, ID_MANAGE_PASTE, wxString( wxT("Paste") ) + wxT('\t') + wxT("CTRL+V"), wxEmptyString, wxITEM_NORMAL ); + mnuEdit->Append( mnuPaste ); + + mnuMain->Append( mnuEdit, wxT("Edit") ); + + mnuWindow = new wxMenu(); + mnuMain->Append( mnuWindow, wxT("Window") ); + + mnuHelp = new wxMenu(); + wxMenuItem* showHelp; + showHelp = new wxMenuItem( mnuHelp, ID_HELP_SHOW, wxString( wxT("Show Help...") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL ); + mnuHelp->Append( showHelp ); + + mnuHelp->AppendSeparator(); + + wxMenuItem* mnuHelpUpdates; + mnuHelpUpdates = new wxMenuItem( mnuHelp, ID_MANAGE_UPDATE, wxString( wxT("Check for updates...") ) , wxEmptyString, wxITEM_NORMAL ); + mnuHelp->Append( mnuHelpUpdates ); + + mnuHelpAboutSep = mnuHelp->AppendSeparator(); + + wxMenuItem* mnuAbout; + mnuAbout = new wxMenuItem( mnuHelp, wxID_ABOUT, wxString( wxT("About") ) + wxT('\t') + wxT("SHIFT+CTRL+A"), wxEmptyString, wxITEM_NORMAL ); + mnuHelp->Append( mnuAbout ); + + mnuMain->Append( mnuHelp, wxT("Help") ); + + this->SetMenuBar( mnuMain ); + + szrMain = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer396; + bSizer396 = new wxBoxSizer( wxHORIZONTAL ); + + bmpIcon = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 ); + bSizer396->Add( bmpIcon, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + AccCtrl = new wxComboCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxCB_READONLY|wxEXPAND); + bSizer396->Add( AccCtrl, 0, wxALL, 5 ); + + + szrMain->Add( bSizer396, 0, wxEXPAND|wxLEFT, 5 ); + + m_splitter13 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D ); + m_splitter13->Connect( wxEVT_IDLE, wxIdleEventHandler( frmMainADT::m_splitter13OnIdle ), NULL, this ); + m_splitter13->SetMinimumPaneSize( 1 ); + + m_panel19 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + szrContactList = new wxBoxSizer( wxVERTICAL ); + + lstContacts = new wxListCtrl( m_panel19, wxID_ANY, wxDefaultPosition, wxSize( 50,-1 ), wxLC_NO_HEADER|wxLC_REPORT|wxSUNKEN_BORDER ); + szrContactList->Add( lstContacts, 1, wxALL|wxEXPAND, 5 ); + + + m_panel19->SetSizer( szrContactList ); + m_panel19->Layout(); + szrContactList->Fit( m_panel19 ); + m_panel20 = new wxPanel( m_splitter13, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer12; + bSizer12 = new wxBoxSizer( wxVERTICAL ); + + htmContactData = new wxHtmlWindow( m_panel20, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER ); + bSizer12->Add( htmContactData, 1, wxALL|wxEXPAND, 5 ); + + + m_panel20->SetSizer( bSizer12 ); + m_panel20->Layout(); + bSizer12->Fit( m_panel20 ); + m_splitter13->SplitVertically( m_panel19, m_panel20, 201 ); + szrMain->Add( m_splitter13, 1, wxEXPAND, 5 ); + + + this->SetSizer( szrMain ); + this->Layout(); + stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY ); + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) ); + this->Connect( mnuNewAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) ); + this->Connect( mnuRefreshAB->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) ); + this->Connect( mnuImport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) ); + this->Connect( mnuExport->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) ); + this->Connect( mnuPreferences->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) ); + this->Connect( mnuExit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) ); + this->Connect( mnuNewContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) ); + this->Connect( mnuEditContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) ); + this->Connect( deleteContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) ); + this->Connect( mnuFindContact->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) ); + this->Connect( mnuViewFNLN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) ); + this->Connect( mnuViewLNFN->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) ); + this->Connect( mnuViewNick->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) ); + this->Connect( mnuViewDisplayAs->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) ); + this->Connect( mnuViewAsc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) ); + this->Connect( mnuViewDesc->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) ); + this->Connect( mnuViewStatusBar->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) ); + this->Connect( mnuViewActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) ); + this->Connect( mnuCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) ); + this->Connect( mnuCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) ); + this->Connect( mnuPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) ); + this->Connect( showHelp->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) ); + this->Connect( mnuHelpUpdates->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) ); + this->Connect( mnuAbout->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) ); + lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this ); + lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this ); + lstContacts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this ); + lstContacts->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this ); + htmContactData->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this ); + stbBottom->Connect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this ); +} + +frmMainADT::~frmMainADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmMainADT::QuitApp ) ); + this->Disconnect( ID_MANAGE_NEWAB, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenNewABDialog ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::RefreshAddressBook ) ); + this->Disconnect( ID_IMPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenImportDialog ) ); + this->Disconnect( ID_EXPORT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenExportDialog ) ); + this->Disconnect( wxID_PREFERENCES, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenPreferences ) ); + this->Disconnect( wxID_EXIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::QuitApp ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorNew ) ); + this->Disconnect( ID_CONTACT_EDIT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowContactEditorEdit ) ); + this->Disconnect( ID_CONTACT_DELETE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::DeleteContact ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::OpenFindContactsWindow ) ); + this->Disconnect( ID_VIEW_FNLN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortFNLN ) ); + this->Disconnect( ID_VIEW_LNFN, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortLNFN ) ); + this->Disconnect( ID_VIEW_NICK, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortNickname ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDisplayAs ) ); + this->Disconnect( ID_VIEW_ASC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortAscending ) ); + this->Disconnect( ID_VIEW_DESC, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::SortDescending ) ); + this->Disconnect( ID_VIEW_STATUSBAR, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ToggleStatusBar ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowActivityWindow ) ); + this->Disconnect( ID_MANAGE_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CutAction ) ); + this->Disconnect( ID_MANAGE_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CopyAction ) ); + this->Disconnect( ID_MANAGE_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::PasteAction ) ); + this->Disconnect( ID_HELP_SHOW, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowHelp ) ); + this->Disconnect( ID_MANAGE_UPDATE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::CheckUpdates ) ); + this->Disconnect( wxID_ABOUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmMainADT::ShowAboutWindow ) ); + lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( frmMainADT::OpenContactInfoList ), NULL, this ); + lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this ); + lstContacts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmMainADT::ShowContactInfo ), NULL, this ); + lstContacts->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactMenu ), NULL, this ); + htmContactData->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmMainADT::ShowContactSubmenu ), NULL, this ); + stbBottom->Disconnect( wxEVT_SIZE, wxSizeEventHandler( frmMainADT::UpdateSBIconPlacement ), NULL, this ); + +} + +frmUpdateADT::frmUpdateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer390; + bSizer390 = new wxBoxSizer( wxVERTICAL ); + + pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer391; + bSizer391 = new wxBoxSizer( wxVERTICAL ); + + wxFlexGridSizer* fgSizer45; + fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 ); + fgSizer45->SetFlexibleDirection( wxBOTH ); + fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblRunningText->Wrap( -1 ); + fgSizer45->Add( lblRunningText, 0, wxALL, 5 ); + + lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 ); + lblRunningVer->Wrap( -1 ); + fgSizer45->Add( lblRunningVer, 0, wxALL, 5 ); + + lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAvailableText->Wrap( -1 ); + fgSizer45->Add( lblAvailableText, 0, wxALL, 5 ); + + lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAvailableVer->Wrap( -1 ); + fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 ); + + lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBuildTypeText->Wrap( -1 ); + fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 ); + + lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBuildType->Wrap( -1 ); + fgSizer45->Add( lblBuildType, 0, wxALL, 5 ); + + + bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 ); + + lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 ); + lblUpdateMessage->Wrap( -1 ); + bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 ); + + + pnlUpdateData->SetSizer( bSizer391 ); + pnlUpdateData->Layout(); + bSizer391->Fit( pnlUpdateData ); + bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 ); + + statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); + bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer392; + bSizer392 = new wxBoxSizer( wxHORIZONTAL ); + + btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 ); + + btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 ); + + + bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 ); + + + this->SetSizer( bSizer390 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this ); + btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this ); +} + +frmUpdateADT::~frmUpdateADT() +{ + // Disconnect Events + btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this ); + btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this ); + +} + +frmSearchADT::frmSearchADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( 300,450 ), wxDefaultSize ); + + stbBottom = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY ); + wxBoxSizer* bSizer368; + bSizer368 = new wxBoxSizer( wxVERTICAL ); + + m_splitter4 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D ); + m_splitter4->Connect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this ); + m_splitter4->SetMinimumPaneSize( 1 ); + + m_panel60 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer382; + bSizer382 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer369; + bSizer369 = new wxBoxSizer( wxHORIZONTAL ); + + nbkSearch = new wxNotebook( m_panel60, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabSearch = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE|wxHSCROLL|wxVSCROLL ); + tabSearch->SetScrollRate( 5, 5 ); + szrSearch = new wxFlexGridSizer( 0, 1, 0, 0 ); + szrSearch->AddGrowableCol( 0 ); + szrSearch->SetFlexibleDirection( wxVERTICAL ); + szrSearch->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + + tabSearch->SetSizer( szrSearch ); + tabSearch->Layout(); + szrSearch->Fit( tabSearch ); + nbkSearch->AddPage( tabSearch, wxT("Search"), true ); + tabAdvanced = new wxScrolledWindow( nbkSearch, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabAdvanced->SetScrollRate( 5, 5 ); + wxBoxSizer* bSizer384; + bSizer384 = new wxBoxSizer( wxVERTICAL ); + + btnSelectAccounts = new wxButton( tabAdvanced, wxID_ANY, wxT("Select Accounts..."), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer384->Add( btnSelectAccounts, 0, wxALL, 5 ); + + + tabAdvanced->SetSizer( bSizer384 ); + tabAdvanced->Layout(); + bSizer384->Fit( tabAdvanced ); + nbkSearch->AddPage( tabAdvanced, wxT("Advanced"), false ); + + bSizer369->Add( nbkSearch, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer371; + bSizer371 = new wxBoxSizer( wxVERTICAL ); + + btnSearch = new wxButton( m_panel60, wxID_ANY, wxT("Search"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer371->Add( btnSearch, 0, wxALL, 5 ); + + btnReset = new wxButton( m_panel60, wxID_ANY, wxT("Reset"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer371->Add( btnReset, 0, wxALL, 5 ); + + + bSizer369->Add( bSizer371, 0, wxEXPAND, 5 ); + + + bSizer382->Add( bSizer369, 1, wxEXPAND, 5 ); + + + m_panel60->SetSizer( bSizer382 ); + m_panel60->Layout(); + bSizer382->Fit( m_panel60 ); + m_panel61 = new wxPanel( m_splitter4, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer386; + bSizer386 = new wxBoxSizer( wxVERTICAL ); + + lstResults = new wxListCtrl( m_panel61, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer386->Add( lstResults, 1, wxALL|wxEXPAND, 5 ); + + + m_panel61->SetSizer( bSizer386 ); + m_panel61->Layout(); + bSizer386->Fit( m_panel61 ); + m_splitter4->SplitHorizontally( m_panel60, m_panel61, 178 ); + bSizer368->Add( m_splitter4, 1, wxEXPAND, 5 ); + + + this->SetSizer( bSizer368 ); + this->Layout(); + m_menubar5 = new wxMenuBar( 0 ); + mnuContact = new wxMenu(); + wxMenuItem* mnuContactOpen; + mnuContactOpen = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Open Contact...") ) + wxT('\t') + wxT("CTRL+O"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuContactOpen ); + + mnuContactEdit = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Edit Contact...") ) + wxT('\t') + wxT("CTRL+E"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuContactEdit ); + + mnuContactReveal = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Reveal Contact") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuContactReveal ); + + mnuContact->AppendSeparator(); + + wxMenuItem* mnuContactClose; + mnuContactClose = new wxMenuItem( mnuContact, wxID_ANY, wxString( wxT("Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuContactClose ); + + m_menubar5->Append( mnuContact, wxT("Contact") ); + + this->SetMenuBar( m_menubar5 ); + + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) ); + btnSelectAccounts->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this ); + btnSearch->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this ); + btnReset->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this ); + lstResults->Connect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this ); + this->Connect( mnuContactOpen->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) ); + this->Connect( mnuContactEdit->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) ); + this->Connect( mnuContactReveal->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) ); + this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) ); +} + +frmSearchADT::~frmSearchADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmSearchADT::CloseWindow ) ); + btnSelectAccounts->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SelectAccounts ), NULL, this ); + btnSearch->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::SearchContacts ), NULL, this ); + btnReset->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchADT::ResetContacts ), NULL, this ); + lstResults->Disconnect( wxEVT_RIGHT_UP, wxMouseEventHandler( frmSearchADT::ShowContactMenu ), NULL, this ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::OpenContact ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::EditContact ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::RevealContact ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmSearchADT::CloseWindow ) ); + +} + +frmPreferencesADT::frmPreferencesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) ); + + wxBoxSizer* szrMain; + szrMain = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* szrTabs; + szrTabs = new wxBoxSizer( wxVERTICAL ); + + NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* szrChecks; + szrChecks = new wxBoxSizer( wxVERTICAL ); + + chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 ); + szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 ); + + chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local address books"), wxDefaultPosition, wxDefaultSize, 0 ); + szrChecks->Add( chkHideLocal, 0, wxALL, 5 ); + + + tabGeneral->SetSizer( szrChecks ); + tabGeneral->Layout(); + szrChecks->Fit( tabGeneral ); + NbtPreferences->AddPage( tabGeneral, wxT("General"), true ); + tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + tabTheme->Hide(); + + wxGridSizer* szrTheme; + szrTheme = new wxGridSizer( 1, 1, 0, 0 ); + + wxBoxSizer* bSizer161; + bSizer161 = new wxBoxSizer( wxVERTICAL ); + + lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer151; + bSizer151 = new wxBoxSizer( wxHORIZONTAL ); + + btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer151->Add( btnThemeAdd, 0, wxALL, 5 ); + + btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + btnThemeModify->Enable( false ); + + bSizer151->Add( btnThemeModify, 0, wxALL, 5 ); + + btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + btnThemeDelete->Enable( false ); + + bSizer151->Add( btnThemeDelete, 0, wxALL, 5 ); + + + bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 ); + + + szrTheme->Add( bSizer161, 1, wxEXPAND, 5 ); + + + tabTheme->SetSizer( szrTheme ); + tabTheme->Layout(); + szrTheme->Fit( tabTheme ); + NbtPreferences->AddPage( tabTheme, wxT("Themes"), false ); + tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxGridSizer* szrAccounts; + szrAccounts = new wxGridSizer( 1, 1, 0, 0 ); + + wxBoxSizer* bSizer16; + bSizer16 = new wxBoxSizer( wxVERTICAL ); + + lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer15; + bSizer15 = new wxBoxSizer( wxHORIZONTAL ); + + btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer15->Add( btnAccountAdd, 0, wxALL, 5 ); + + btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + btnAccountModify->Enable( false ); + + bSizer15->Add( btnAccountModify, 0, wxALL, 5 ); + + btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + btnAccountDelete->Enable( false ); + + bSizer15->Add( btnAccountDelete, 0, wxALL, 5 ); + + + bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 ); + + + szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 ); + + + tabAccounts->SetSizer( szrAccounts ); + tabAccounts->Layout(); + szrAccounts->Fit( tabAccounts ); + NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false ); + + szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 ); + + + szrMain->Add( szrTabs, 1, wxEXPAND, 0 ); + + wxBoxSizer* szrButtons; + szrButtons = new wxBoxSizer( wxHORIZONTAL ); + + + szrButtons->Add( 1, 0, 1, wxEXPAND, 0 ); + + btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); + btnSave->SetDefault(); + szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 ); + + + szrButtons->Add( 5, 0, 0, 0, 0 ); + + btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); + szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 ); + + + szrButtons->Add( 5, 0, 0, wxEXPAND, 0 ); + + + szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 ); + + + this->SetSizer( szrMain ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) ); + lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this ); + lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this ); + btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this ); + btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this ); + btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this ); + lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this ); + lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this ); + btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this ); + btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this ); + btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this ); + btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this ); + btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this ); +} + +frmPreferencesADT::~frmPreferencesADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) ); + lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this ); + lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this ); + btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this ); + btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this ); + btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this ); + lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this ); + lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this ); + btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this ); + btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this ); + btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this ); + btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this ); + btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this ); + +} + +frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize ); + + wxBoxSizer* szrMain; + szrMain = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* szrLogo; + szrLogo = new wxBoxSizer( wxVERTICAL ); + + szrLogo->SetMinSize( wxSize( 350,100 ) ); + bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 ); + szrLogo->Add( bmpLogo, 0, wxALL, 0 ); + + + szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 ); + + wxBoxSizer* szrDetails; + szrDetails = new wxBoxSizer( wxVERTICAL ); + + lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 ); + lblVersion->Wrap( -1 ); + lblVersion->SetFont( wxFont( 14, 70, 90, 92, false, wxEmptyString ) ); + + szrDetails->Add( lblVersion, 0, wxALL, 5 ); + + lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 ); + lblCompileTime->Wrap( -1 ); + szrDetails->Add( lblCompileTime, 0, wxALL, 5 ); + + lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 ); + lblCopyright->Wrap( -1 ); + szrDetails->Add( lblCopyright, 0, wxALL, 5 ); + + + szrMain->Add( szrDetails, 5, wxEXPAND, 1 ); + + wxBoxSizer* szrButtons; + szrButtons = new wxBoxSizer( wxVERTICAL ); + + szrButtons->SetMinSize( wxSize( -1,35 ) ); + btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 ); + szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 ); + + + szrMain->Add( szrButtons, 0, wxEXPAND, 0 ); + + + this->SetSizer( szrMain ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this ); +} + +frmAboutADT::~frmAboutADT() +{ + // Disconnect Events + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this ); + +} + +frmContactADT::frmContactADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( 320,240 ), wxDefaultSize ); + + wxBoxSizer* bSizer13; + bSizer13 = new wxBoxSizer( wxVERTICAL ); + + htmContactData = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER ); + bSizer13->Add( htmContactData, 1, wxALL|wxEXPAND, 5 ); + + + this->SetSizer( bSizer13 ); + this->Layout(); + m_menubar2 = new wxMenuBar( 0 ); + contact = new wxMenu(); + wxMenuItem* mnuContactClose; + mnuContactClose = new wxMenuItem( contact, ID_CONTACT_CLOSE, wxString( wxT("Close") ) + wxT('\t') + wxT("CTRL+F4"), wxEmptyString, wxITEM_NORMAL ); + contact->Append( mnuContactClose ); + + m_menubar2->Append( contact, wxT("Contact") ); + + this->SetMenuBar( m_menubar2 ); + + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) ); + this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) ); +} + +frmContactADT::~frmContactADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactADT::CloseWindow ) ); + this->Disconnect( ID_CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactADT::CloseWindow ) ); + +} + +frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) ); + + wxFlexGridSizer* fgSizer30; + fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 ); + fgSizer30->AddGrowableCol( 0 ); + fgSizer30->AddGrowableRow( 0 ); + fgSizer30->SetFlexibleDirection( wxBOTH ); + fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + szrNewAccount = new wxBoxSizer( wxVERTICAL ); + + tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer32; + fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 ); + fgSizer32->AddGrowableCol( 0 ); + fgSizer32->SetFlexibleDirection( wxBOTH ); + fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL ); + + lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 ); + lblEnterText->Wrap( -1 ); + fgSizer32->Add( lblEnterText, 0, wxALL, 5 ); + + wxFlexGridSizer* fgSizer33; + fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer33->AddGrowableCol( 1 ); + fgSizer33->AddGrowableRow( 0 ); + fgSizer33->SetFlexibleDirection( wxBOTH ); + fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL ); + + lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblType->Wrap( -1 ); + fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") }; + int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString ); + cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 ); + cmbServerType->SetSelection( 1 ); + fgSizer33->Add( cmbServerType, 0, wxALL, 5 ); + + lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerAddress->Wrap( -1 ); + fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtServerAddress->SetMaxLength( 0 ); + fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 ); + + lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerPort->Wrap( -1 ); + fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtServerPort->SetMaxLength( 0 ); + fgSizer33->Add( txtServerPort, 0, wxALL, 5 ); + + lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblUsername->Wrap( -1 ); + fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtUsername->SetMaxLength( 0 ); + fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 ); + + lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPassword->Wrap( -1 ); + fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD ); + txtPassword->SetMaxLength( 0 ); + fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 ); + + lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblSSL->Wrap( -1 ); + fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + wxBoxSizer* bSizer3221; + bSizer3221 = new wxBoxSizer( wxHORIZONTAL ); + + chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 ); + chkUseSSL->SetValue(true); + bSizer3221->Add( chkUseSSL, 0, wxALL, 5 ); + + + fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 ); + + + fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 ); + + + tabType->SetSizer( fgSizer32 ); + tabType->Layout(); + fgSizer32->Fit( tabType ); + szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 ); + + tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + tabConn->Hide(); + + wxBoxSizer* bSizer323; + bSizer323 = new wxBoxSizer( wxVERTICAL ); + + lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblConnectionResult->Wrap( -1 ); + lblConnectionResult->SetFont( wxFont( 9, 74, 90, 92, false, wxT("Sans") ) ); + + bSizer323->Add( lblConnectionResult, 0, wxALL, 5 ); + + wxFlexGridSizer* fgSizer34; + fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer34->SetFlexibleDirection( wxBOTH ); + fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerConnected->Wrap( -1 ); + fgSizer34->Add( lblServerConnected, 0, wxALL, 5 ); + + lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerConnResult->Wrap( -1 ); + fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 ); + + lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblValidResponse->Wrap( -1 ); + fgSizer34->Add( lblValidResponse, 0, wxALL, 5 ); + + lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerResponse->Wrap( -1 ); + fgSizer34->Add( lblServerResponse, 0, wxALL, 5 ); + + lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblUseSSL->Wrap( -1 ); + fgSizer34->Add( lblUseSSL, 0, wxALL, 5 ); + + lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerSSLResult->Wrap( -1 ); + fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 ); + + lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerSSLCert->Wrap( -1 ); + fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 ); + + lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerSSLValid->Wrap( -1 ); + fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 ); + + lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblServerUsernamePassword->Wrap( -1 ); + fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 ); + + lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); + lblAbleToLoginResult->Wrap( -1 ); + fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 ); + + lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblIsCalDAV->Wrap( -1 ); + fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 ); + + lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); + lblCardDAVSupportResult->Wrap( -1 ); + fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 ); + + + bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 ); + + m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); + bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 ); + + lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 ); + lblConnectionResultText->Wrap( 360 ); + lblConnectionResultText->SetMinSize( wxSize( -1,40 ) ); + + bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 ); + + + tabConn->SetSizer( bSizer323 ); + tabConn->Layout(); + bSizer323->Fit( tabConn ); + szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 ); + + tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + tabFinish->Hide(); + + wxBoxSizer* bSizer3231; + bSizer3231 = new wxBoxSizer( wxVERTICAL ); + + lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 ); + lblFinishText->Wrap( -1 ); + bSizer3231->Add( lblFinishText, 0, wxALL, 5 ); + + wxFlexGridSizer* fgSizer341; + fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer341->AddGrowableCol( 1 ); + fgSizer341->SetFlexibleDirection( wxBOTH ); + fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAccountName->Wrap( -1 ); + fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtAccountName->SetMaxLength( 0 ); + fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 ); + + + bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 ); + + + tabFinish->SetSizer( bSizer3231 ); + tabFinish->Layout(); + bSizer3231->Fit( tabFinish ); + szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 ); + + + fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer322; + bSizer322 = new wxBoxSizer( wxHORIZONTAL ); + + btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer322->Add( btnPrevious, 0, wxALL, 5 ); + + btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 ); + btnNext->SetDefault(); + bSizer322->Add( btnNext, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer322->Add( btnClose, 0, wxALL, 5 ); + + + fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( fgSizer30 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this ); + txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this ); + btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this ); + btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this ); +} + +frmNewAccountADT::~frmNewAccountADT() +{ + // Disconnect Events + cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this ); + txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this ); + btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this ); + btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorADT::frmContactEditorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( 800,500 ), wxDefaultSize ); + this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) ); + + wxBoxSizer* bSizer17; + bSizer17 = new wxBoxSizer( wxVERTICAL ); + + nbkContact = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabGeneral->SetScrollRate( 5, 5 ); + wxBoxSizer* bSizer18; + bSizer18 = new wxBoxSizer( wxVERTICAL ); + + wxGridSizer* gSizer7; + gSizer7 = new wxGridSizer( 0, 6, 0, 0 ); + + lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTitle->Wrap( -1 ); + gSizer7->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtTitle->SetMaxLength( 0 ); + gSizer7->Add( txtTitle, 0, wxALL|wxEXPAND, 5 ); + + + gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); + + + gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); + + + gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); + + + gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblForename = new wxStaticText( tabGeneral, wxID_ANY, wxT("Forename:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblForename->Wrap( -1 ); + gSizer7->Add( lblForename, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtForename = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtForename->SetMaxLength( 0 ); + gSizer7->Add( txtForename, 0, wxALL|wxEXPAND, 5 ); + + lblSurname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Surname:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblSurname->Wrap( -1 ); + gSizer7->Add( lblSurname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtSurname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtSurname->SetMaxLength( 0 ); + gSizer7->Add( txtSurname, 0, wxALL|wxEXPAND, 5 ); + + lblOtherNames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Other Names:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblOtherNames->Wrap( -1 ); + gSizer7->Add( lblOtherNames, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtOtherNames = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtOtherNames->SetMaxLength( 0 ); + gSizer7->Add( txtOtherNames, 0, wxALL|wxEXPAND, 5 ); + + lblSuffix = new wxStaticText( tabGeneral, wxID_ANY, wxT("Suffix:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblSuffix->Wrap( -1 ); + gSizer7->Add( lblSuffix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtSuffix = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtSuffix->SetMaxLength( 0 ); + gSizer7->Add( txtSuffix, 0, wxALL|wxEXPAND, 5 ); + + + gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); + + + gSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); + + + bSizer18->Add( gSizer7, 0, wxEXPAND, 5 ); + + wxFlexGridSizer* fgSizer5; + fgSizer5 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer5->AddGrowableCol( 1 ); + fgSizer5->SetFlexibleDirection( wxBOTH ); + fgSizer5->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblDisplayAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Display As:"), wxPoint( -1,-1 ), wxDefaultSize, 0 ); + lblDisplayAs->Wrap( -1 ); + fgSizer5->Add( lblDisplayAs, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + cmbDisplayAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer5->Add( cmbDisplayAs, 0, wxALL|wxEXPAND, 5 ); + + lblBirthday = new wxStaticText( tabGeneral, wxID_ANY, wxT("Birthday:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBirthday->Wrap( -1 ); + fgSizer5->Add( lblBirthday, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + wxBoxSizer* bSizer318; + bSizer318 = new wxBoxSizer( wxHORIZONTAL ); + + dapBirthday = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY ); + dapBirthday->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 90, false, wxEmptyString ) ); + dapBirthday->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") ); + dapBirthday->SetMinSize( wxSize( -1,25 ) ); + + bSizer318->Add( dapBirthday, 0, wxALL|wxEXPAND, 5 ); + + txtBirthday = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtBirthday->SetMaxLength( 0 ); + bSizer318->Add( txtBirthday, 1, wxALL, 5 ); + + + fgSizer5->Add( bSizer318, 1, wxEXPAND, 5 ); + + lblAnniversary = new wxStaticText( tabGeneral, wxID_ANY, wxT("Anniversary:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAnniversary->Wrap( -1 ); + fgSizer5->Add( lblAnniversary, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + wxBoxSizer* bSizer319; + bSizer319 = new wxBoxSizer( wxHORIZONTAL ); + + dapAnniversary = new wxDatePickerCtrl( tabGeneral, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_ALLOWNONE|wxDP_DEFAULT|wxDP_DROPDOWN|wxDP_SHOWCENTURY ); + dapAnniversary->SetToolTip( wxT("If you don't wish to enter a year, please use '0000' as the year.") ); + dapAnniversary->SetMinSize( wxSize( -1,25 ) ); + + bSizer319->Add( dapAnniversary, 0, wxALL|wxEXPAND, 5 ); + + txtAnniversary = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtAnniversary->SetMaxLength( 0 ); + bSizer319->Add( txtAnniversary, 1, wxALL, 5 ); + + + fgSizer5->Add( bSizer319, 1, wxEXPAND, 5 ); + + lblGender = new wxStaticText( tabGeneral, wxID_ANY, wxT("Gender:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblGender->Wrap( -1 ); + fgSizer5->Add( lblGender, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + wxBoxSizer* bSizer20; + bSizer20 = new wxBoxSizer( wxHORIZONTAL ); + + wxString cmbGenderChoices[] = { wxEmptyString, wxT("Male"), wxT("Female"), wxT("Other"), wxT("None/Not Applicable"), wxT("Unknown") }; + int cmbGenderNChoices = sizeof( cmbGenderChoices ) / sizeof( wxString ); + cmbGender = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbGenderNChoices, cmbGenderChoices, 0 ); + cmbGender->SetSelection( 0 ); + bSizer20->Add( cmbGender, 0, wxALL, 5 ); + + txtGenderDescription = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtGenderDescription->SetMaxLength( 0 ); + bSizer20->Add( txtGenderDescription, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + + fgSizer5->Add( bSizer20, 1, wxEXPAND, 5 ); + + lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblType->Wrap( -1 ); + fgSizer5->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + wxString cmbTypeChoices[] = { wxT("(Unspecified)"), wxT("Individual"), wxT("Group"), wxT("Organisation"), wxT("Location") }; + int cmbTypeNChoices = sizeof( cmbTypeChoices ) / sizeof( wxString ); + cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeNChoices, cmbTypeChoices, 0 ); + cmbType->SetSelection( 0 ); + fgSizer5->Add( cmbType, 0, wxALL, 5 ); + + lblNicknames = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblNicknames->Wrap( -1 ); + fgSizer5->Add( lblNicknames, 0, wxALL, 5 ); + + wxBoxSizer* szrNicknames; + szrNicknames = new wxBoxSizer( wxHORIZONTAL ); + + lboNicknames = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrNicknames->Add( lboNicknames, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrAddressesOuter3; + szrAddressesOuter3 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer464; + bSizer464 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer474; + bSizer474 = new wxBoxSizer( wxVERTICAL ); + + btnAddGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer474->Add( btnAddGeneralNickname, 0, wxALL, 5 ); + + btnModifyGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer474->Add( btnModifyGeneralNickname, 0, wxALL, 5 ); + + btnDeleteGeneralNickname = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer474->Add( btnDeleteGeneralNickname, 0, wxALL, 5 ); + + + bSizer464->Add( bSizer474, 1, wxEXPAND, 5 ); + + + szrAddressesOuter3->Add( bSizer464, 1, wxEXPAND, 5 ); + + + szrNicknames->Add( szrAddressesOuter3, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( szrNicknames, 1, wxEXPAND, 5 ); + + lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAddress->Wrap( -1 ); + fgSizer5->Add( lblAddress, 0, wxALL, 5 ); + + wxBoxSizer* szrAddresses; + szrAddresses = new wxBoxSizer( wxHORIZONTAL ); + + lboAddresses = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses->Add( lboAddresses, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrAddressesOuter; + szrAddressesOuter = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46; + bSizer46 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47; + bSizer47 = new wxBoxSizer( wxVERTICAL ); + + btnAddGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47->Add( btnAddGeneralAddress, 0, wxALL, 5 ); + + btnModifyGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47->Add( btnModifyGeneralAddress, 0, wxALL, 5 ); + + btnDeleteGeneralAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47->Add( btnDeleteGeneralAddress, 0, wxALL, 5 ); + + + bSizer46->Add( bSizer47, 1, wxEXPAND, 5 ); + + + szrAddressesOuter->Add( bSizer46, 1, wxEXPAND, 5 ); + + + szrAddresses->Add( szrAddressesOuter, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( szrAddresses, 1, wxEXPAND, 5 ); + + lblEmail = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblEmail->Wrap( -1 ); + fgSizer5->Add( lblEmail, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301; + bSizer301 = new wxBoxSizer( wxHORIZONTAL ); + + lboEmails = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301->Add( lboEmails, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351; + bSizer351 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461; + bSizer461 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471; + bSizer471 = new wxBoxSizer( wxVERTICAL ); + + btnAddEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471->Add( btnAddEmailAddress, 0, wxALL, 5 ); + + btnModifyEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471->Add( btnModifyEmailAddress, 0, wxALL, 5 ); + + btnDeleteEmailAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471->Add( btnDeleteEmailAddress, 0, wxALL, 5 ); + + + bSizer461->Add( bSizer471, 1, wxEXPAND, 5 ); + + + bSizer351->Add( bSizer461, 1, wxEXPAND, 5 ); + + + bSizer301->Add( bSizer351, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer301, 1, wxEXPAND, 5 ); + + lblIM = new wxStaticText( tabGeneral, wxID_ANY, wxT("Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblIM->Wrap( 0 ); + fgSizer5->Add( lblIM, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011; + bSizer3011 = new wxBoxSizer( wxHORIZONTAL ); + + lboIM = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011->Add( lboIM, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511; + bSizer3511 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611; + bSizer4611 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711; + bSizer4711 = new wxBoxSizer( wxVERTICAL ); + + btnAddIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711->Add( btnAddIMAddress, 0, wxALL, 5 ); + + btnModifyIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711->Add( btnModifyIMAddress, 0, wxALL, 5 ); + + btnDeleteIMAddress = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711->Add( btnDeleteIMAddress, 0, wxALL, 5 ); + + + bSizer4611->Add( bSizer4711, 1, wxEXPAND, 5 ); + + + bSizer3511->Add( bSizer4611, 1, wxEXPAND, 5 ); + + + bSizer3011->Add( bSizer3511, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer3011, 1, wxEXPAND, 5 ); + + lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTelephone->Wrap( 0 ); + fgSizer5->Add( lblTelephone, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111; + bSizer30111 = new wxBoxSizer( wxHORIZONTAL ); + + lboTelephone = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111->Add( lboTelephone, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111; + bSizer35111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111; + bSizer46111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111; + bSizer47111 = new wxBoxSizer( wxVERTICAL ); + + btnAddTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111->Add( btnAddTelephone, 0, wxALL, 5 ); + + btnModifyTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111->Add( btnModifyTelephone, 0, wxALL, 5 ); + + btnDeleteTelephone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111->Add( btnDeleteTelephone, 0, wxALL, 5 ); + + + bSizer46111->Add( bSizer47111, 1, wxEXPAND, 5 ); + + + bSizer35111->Add( bSizer46111, 1, wxEXPAND, 5 ); + + + bSizer30111->Add( bSizer35111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer30111, 1, wxEXPAND, 5 ); + + lblLanguages = new wxStaticText( tabGeneral, wxID_ANY, wxT("Languages:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLanguages->Wrap( 0 ); + fgSizer5->Add( lblLanguages, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301111; + bSizer301111 = new wxBoxSizer( wxHORIZONTAL ); + + lboLanguages = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301111->Add( lboLanguages, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351111; + bSizer351111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461111; + bSizer461111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471111; + bSizer471111 = new wxBoxSizer( wxVERTICAL ); + + btnAddLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111->Add( btnAddLanguage, 0, wxALL, 5 ); + + btnModifyLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111->Add( btnModifyLanguage, 0, wxALL, 5 ); + + btnDeleteLanguage = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111->Add( btnDeleteLanguage, 0, wxALL, 5 ); + + + bSizer461111->Add( bSizer471111, 1, wxEXPAND, 5 ); + + + bSizer351111->Add( bSizer461111, 1, wxEXPAND, 5 ); + + + bSizer301111->Add( bSizer351111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer301111, 1, wxEXPAND, 5 ); + + lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezones:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTimezone->Wrap( 0 ); + fgSizer5->Add( lblTimezone, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011111; + bSizer3011111 = new wxBoxSizer( wxHORIZONTAL ); + + lboTimezones = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011111->Add( lboTimezones, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511111; + bSizer3511111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611111; + bSizer4611111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711111; + bSizer4711111 = new wxBoxSizer( wxVERTICAL ); + + btnAddTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111->Add( btnAddTimezone, 0, wxALL, 5 ); + + btnModifyTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111->Add( btnModifyTimezone, 0, wxALL, 5 ); + + btnDeleteTimezone = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111->Add( btnDeleteTimezone, 0, wxALL, 5 ); + + + bSizer4611111->Add( bSizer4711111, 1, wxEXPAND, 5 ); + + + bSizer3511111->Add( bSizer4611111, 1, wxEXPAND, 5 ); + + + bSizer3011111->Add( bSizer3511111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer3011111, 1, wxEXPAND, 5 ); + + lblGeopositioning = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblGeopositioning->Wrap( -1 ); + fgSizer5->Add( lblGeopositioning, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111114; + bSizer30111114 = new wxBoxSizer( wxHORIZONTAL ); + + lboGeoposition = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111114->Add( lboGeoposition, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111114; + bSizer35111114 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111114; + bSizer46111114 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111114; + bSizer47111114 = new wxBoxSizer( wxVERTICAL ); + + btnAddGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111114->Add( btnAddGeneralGeoposition, 0, wxALL, 5 ); + + btnModifyGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111114->Add( btnModifyGeneralGeoposition, 0, wxALL, 5 ); + + btnDeleteGeneralGeoposition = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111114->Add( btnDeleteGeneralGeoposition, 0, wxALL, 5 ); + + + bSizer46111114->Add( bSizer47111114, 1, wxEXPAND, 5 ); + + + bSizer35111114->Add( bSizer46111114, 1, wxEXPAND, 5 ); + + + bSizer30111114->Add( bSizer35111114, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer30111114, 1, wxEXPAND, 5 ); + + lblRelated = new wxStaticText( tabGeneral, wxID_ANY, wxT("Related people:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblRelated->Wrap( 1 ); + fgSizer5->Add( lblRelated, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111111; + bSizer30111111 = new wxBoxSizer( wxHORIZONTAL ); + + lboRelated = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111111->Add( lboRelated, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111111; + bSizer35111111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111111; + bSizer46111111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111111; + bSizer47111111 = new wxBoxSizer( wxVERTICAL ); + + btnAddRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111->Add( btnAddRelated, 0, wxALL, 5 ); + + btnModifyRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111->Add( btnModifyRelated, 0, wxALL, 5 ); + + btnDeleteRelated = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111->Add( btnDeleteRelated, 0, wxALL, 5 ); + + + bSizer46111111->Add( bSizer47111111, 1, wxEXPAND, 5 ); + + + bSizer35111111->Add( bSizer46111111, 1, wxEXPAND, 5 ); + + + bSizer30111111->Add( bSizer35111111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer30111111, 1, wxEXPAND, 5 ); + + lblWebsites = new wxStaticText( tabGeneral, wxID_ANY, wxT("Websites:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblWebsites->Wrap( 1 ); + fgSizer5->Add( lblWebsites, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301111111; + bSizer301111111 = new wxBoxSizer( wxHORIZONTAL ); + + lboWebsites = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301111111->Add( lboWebsites, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351111111; + bSizer351111111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461111111; + bSizer461111111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471111111; + bSizer471111111 = new wxBoxSizer( wxVERTICAL ); + + btnAddWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111->Add( btnAddWebsite, 0, wxALL, 5 ); + + btnModifyWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111->Add( btnModifyWebsite, 0, wxALL, 5 ); + + btnDeleteWebsite = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111->Add( btnDeleteWebsite, 0, wxALL, 5 ); + + + bSizer461111111->Add( bSizer471111111, 1, wxEXPAND, 5 ); + + + bSizer351111111->Add( bSizer461111111, 1, wxEXPAND, 5 ); + + + bSizer301111111->Add( bSizer351111111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer301111111, 1, wxEXPAND, 5 ); + + lblTitles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Titles:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTitles->Wrap( 1 ); + fgSizer5->Add( lblTitles, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011111111; + bSizer3011111111 = new wxBoxSizer( wxHORIZONTAL ); + + lboTitles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011111111->Add( lboTitles, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511111111; + bSizer3511111111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611111111; + bSizer4611111111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711111111; + bSizer4711111111 = new wxBoxSizer( wxVERTICAL ); + + btnAddTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111->Add( btnAddTitle, 0, wxALL, 5 ); + + btnModifyTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111->Add( btnModifyTitle, 0, wxALL, 5 ); + + btnDeleteTitle = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111->Add( btnDeleteTitle, 0, wxALL, 5 ); + + + bSizer4611111111->Add( bSizer4711111111, 1, wxEXPAND, 5 ); + + + bSizer3511111111->Add( bSizer4611111111, 1, wxEXPAND, 5 ); + + + bSizer3011111111->Add( bSizer3511111111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer3011111111, 1, wxEXPAND, 5 ); + + lblRoles = new wxStaticText( tabGeneral, wxID_ANY, wxT("Roles:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblRoles->Wrap( 1 ); + fgSizer5->Add( lblRoles, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111111111; + bSizer30111111111 = new wxBoxSizer( wxHORIZONTAL ); + + lboRoles = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111111111->Add( lboRoles, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111111111; + bSizer35111111111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111111111; + bSizer46111111111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111111111; + bSizer47111111111 = new wxBoxSizer( wxVERTICAL ); + + btnAddRole = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111->Add( btnAddRole, 0, wxALL, 5 ); + + btnModifyRole = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111->Add( btnModifyRole, 0, wxALL, 5 ); + + btnDeleteRole = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111->Add( btnDeleteRole, 0, wxALL, 5 ); + + + bSizer46111111111->Add( bSizer47111111111, 1, wxEXPAND, 5 ); + + + bSizer35111111111->Add( bSizer46111111111, 1, wxEXPAND, 5 ); + + + bSizer30111111111->Add( bSizer35111111111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer30111111111, 1, wxEXPAND, 5 ); + + lblOrganisations = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisations:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblOrganisations->Wrap( 1 ); + fgSizer5->Add( lblOrganisations, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301111111111; + bSizer301111111111 = new wxBoxSizer( wxHORIZONTAL ); + + lboOrganisations = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301111111111->Add( lboOrganisations, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351111111111; + bSizer351111111111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461111111111; + bSizer461111111111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471111111111; + bSizer471111111111 = new wxBoxSizer( wxVERTICAL ); + + btnAddOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111111->Add( btnAddOrganisations, 0, wxALL, 5 ); + + btnModifyOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111111->Add( btnModifyOrganisations, 0, wxALL, 5 ); + + btnDeleteOrganisations = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111111->Add( btnDeleteOrganisations, 0, wxALL, 5 ); + + + bSizer461111111111->Add( bSizer471111111111, 1, wxEXPAND, 5 ); + + + bSizer351111111111->Add( bSizer461111111111, 1, wxEXPAND, 5 ); + + + bSizer301111111111->Add( bSizer351111111111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer301111111111, 1, wxEXPAND, 5 ); + + lblNotes = new wxStaticText( tabGeneral, wxID_ANY, wxT("Notes:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblNotes->Wrap( 1 ); + fgSizer5->Add( lblNotes, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011111111111; + bSizer3011111111111 = new wxBoxSizer( wxHORIZONTAL ); + + lboNotes = new wxListCtrl( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011111111111->Add( lboNotes, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511111111111; + bSizer3511111111111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611111111111; + bSizer4611111111111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711111111111; + bSizer4711111111111 = new wxBoxSizer( wxVERTICAL ); + + btnAddNote = new wxButton( tabGeneral, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111111->Add( btnAddNote, 0, wxALL, 5 ); + + btnModifyNote = new wxButton( tabGeneral, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111111->Add( btnModifyNote, 0, wxALL, 5 ); + + btnDeleteNote = new wxButton( tabGeneral, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111111->Add( btnDeleteNote, 0, wxALL, 5 ); + + + bSizer4611111111111->Add( bSizer4711111111111, 1, wxEXPAND, 5 ); + + + bSizer3511111111111->Add( bSizer4611111111111, 1, wxEXPAND, 5 ); + + + bSizer3011111111111->Add( bSizer3511111111111, 0, wxEXPAND, 5 ); + + + fgSizer5->Add( bSizer3011111111111, 1, wxEXPAND, 5 ); + + + bSizer18->Add( fgSizer5, 0, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( bSizer18 ); + tabGeneral->Layout(); + bSizer18->Fit( tabGeneral ); + nbkContact->AddPage( tabGeneral, wxT("General"), true ); + tabHome = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabHome->SetScrollRate( 5, 5 ); + wxBoxSizer* bSizer181; + bSizer181 = new wxBoxSizer( wxVERTICAL ); + + wxGridSizer* gSizer71; + gSizer71 = new wxGridSizer( 2, 6, 0, 0 ); + + + bSizer181->Add( gSizer71, 0, wxEXPAND, 5 ); + + wxFlexGridSizer* fgSizer51; + fgSizer51 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer51->AddGrowableCol( 1 ); + fgSizer51->SetFlexibleDirection( wxBOTH ); + fgSizer51->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblHomeNickname = new wxStaticText( tabHome, wxID_ANY, wxT("Home Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeNickname->Wrap( 0 ); + fgSizer51->Add( lblHomeNickname, 0, wxALL, 5 ); + + wxBoxSizer* szrAddresses12; + szrAddresses12 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeNicknames = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses12->Add( lboHomeNicknames, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrAddressesOuter11; + szrAddressesOuter11 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4622; + bSizer4622 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4722; + bSizer4722 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4722->Add( btnAddHomeNickname, 0, wxALL, 5 ); + + btnModifyHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4722->Add( btnModifyHomeNickname, 0, wxALL, 5 ); + + btnDeleteHomeNickname = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4722->Add( btnDeleteHomeNickname, 0, wxALL, 5 ); + + + bSizer4622->Add( bSizer4722, 1, wxEXPAND, 5 ); + + + szrAddressesOuter11->Add( bSizer4622, 1, wxEXPAND, 5 ); + + + szrAddresses12->Add( szrAddressesOuter11, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( szrAddresses12, 1, wxEXPAND, 5 ); + + lblHomeAddresses = new wxStaticText( tabHome, wxID_ANY, wxT("Home Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeAddresses->Wrap( 1 ); + fgSizer51->Add( lblHomeAddresses, 0, wxALL, 5 ); + + wxBoxSizer* szrAddresses1; + szrAddresses1 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeAddresses = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses1->Add( lboHomeAddresses, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrAddressesOuter1; + szrAddressesOuter1 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer462; + bSizer462 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer472; + bSizer472 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472->Add( btnAddHomeAddress, 0, wxALL, 5 ); + + btnModifyHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472->Add( btnModifyHomeAddress, 0, wxALL, 5 ); + + btnDeleteHomeAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472->Add( btnDeleteHomeAddress, 0, wxALL, 5 ); + + + bSizer462->Add( bSizer472, 1, wxEXPAND, 5 ); + + + szrAddressesOuter1->Add( bSizer462, 1, wxEXPAND, 5 ); + + + szrAddresses1->Add( szrAddressesOuter1, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( szrAddresses1, 1, wxEXPAND, 5 ); + + lblHomeEmail = new wxStaticText( tabHome, wxID_ANY, wxT("Home Emails:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeEmail->Wrap( 1 ); + fgSizer51->Add( lblHomeEmail, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3012; + bSizer3012 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeEmails = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3012->Add( lboHomeEmails, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3512; + bSizer3512 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4612; + bSizer4612 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4712; + bSizer4712 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4712->Add( btnAddHomeEmailAddress, 0, wxALL, 5 ); + + btnModifyHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4712->Add( btnModifyHomeEmailAddress, 0, wxALL, 5 ); + + btnDeleteHomeEmailAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4712->Add( btnDeleteHomeEmailAddress, 0, wxALL, 5 ); + + + bSizer4612->Add( bSizer4712, 1, wxEXPAND, 5 ); + + + bSizer3512->Add( bSizer4612, 1, wxEXPAND, 5 ); + + + bSizer3012->Add( bSizer3512, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer3012, 1, wxEXPAND, 5 ); + + lblHomeIM = new wxStaticText( tabHome, wxID_ANY, wxT("Home Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeIM->Wrap( 0 ); + fgSizer51->Add( lblHomeIM, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30112; + bSizer30112 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeIM = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30112->Add( lboHomeIM, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35112; + bSizer35112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46112; + bSizer46112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47112; + bSizer47112 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47112->Add( btnAddHomeIMAddress, 0, wxALL, 5 ); + + btnModifyHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47112->Add( btnModifyHomeIMAddress, 0, wxALL, 5 ); + + btnDeleteHomeIMAddress = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47112->Add( btnDeleteHomeIMAddress, 0, wxALL, 5 ); + + + bSizer46112->Add( bSizer47112, 1, wxEXPAND, 5 ); + + + bSizer35112->Add( bSizer46112, 1, wxEXPAND, 5 ); + + + bSizer30112->Add( bSizer35112, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer30112, 1, wxEXPAND, 5 ); + + lblHomeTelephone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Telephone:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeTelephone->Wrap( 0 ); + fgSizer51->Add( lblHomeTelephone, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301112; + bSizer301112 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeTelephone = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301112->Add( lboHomeTelephone, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351112; + bSizer351112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461112; + bSizer461112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471112; + bSizer471112 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471112->Add( btnAddHomeTelephone, 0, wxALL, 5 ); + + btnModifyHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471112->Add( btnModifyHomeTelephone, 0, wxALL, 5 ); + + btnDeleteHomeTelephone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471112->Add( btnDeleteHomeTelephone, 0, wxALL, 5 ); + + + bSizer461112->Add( bSizer471112, 1, wxEXPAND, 5 ); + + + bSizer351112->Add( bSizer461112, 1, wxEXPAND, 5 ); + + + bSizer301112->Add( bSizer351112, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer301112, 1, wxEXPAND, 5 ); + + lblHomeLanguages = new wxStaticText( tabHome, wxID_ANY, wxT("Home Languages:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeLanguages->Wrap( 0 ); + fgSizer51->Add( lblHomeLanguages, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011112; + bSizer3011112 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeLanguages = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011112->Add( lboHomeLanguages, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511112; + bSizer3511112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611112; + bSizer4611112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711112; + bSizer4711112 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711112->Add( btnAddHomeLanguage, 0, wxALL, 5 ); + + btnModifyHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711112->Add( btnModifyHomeLanguage, 0, wxALL, 5 ); + + btnDeleteHomeLanguage = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711112->Add( btnDeleteHomeLanguage, 0, wxALL, 5 ); + + + bSizer4611112->Add( bSizer4711112, 1, wxEXPAND, 5 ); + + + bSizer3511112->Add( bSizer4611112, 1, wxEXPAND, 5 ); + + + bSizer3011112->Add( bSizer3511112, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer3011112, 1, wxEXPAND, 5 ); + + lblHomeTimezone = new wxStaticText( tabHome, wxID_ANY, wxT("Home Timezones:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeTimezone->Wrap( 0 ); + fgSizer51->Add( lblHomeTimezone, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111112; + bSizer30111112 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeTimezones = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111112->Add( lboHomeTimezones, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111112; + bSizer35111112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111112; + bSizer46111112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111112; + bSizer47111112 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111112->Add( btnAddHomeTimezone, 0, wxALL, 5 ); + + btnModifyHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111112->Add( btnModifyHomeTimezone, 0, wxALL, 5 ); + + btnDeleteHomeTimezone = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111112->Add( btnDeleteHomeTimezone, 0, wxALL, 5 ); + + + bSizer46111112->Add( bSizer47111112, 1, wxEXPAND, 5 ); + + + bSizer35111112->Add( bSizer46111112, 1, wxEXPAND, 5 ); + + + bSizer30111112->Add( bSizer35111112, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer30111112, 1, wxEXPAND, 5 ); + + lblHomeGeopositioning = new wxStaticText( tabHome, wxID_ANY, wxT("Home Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeGeopositioning->Wrap( 0 ); + fgSizer51->Add( lblHomeGeopositioning, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301111141; + bSizer301111141 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeGeoposition = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301111141->Add( lboHomeGeoposition, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351111141; + bSizer351111141 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461111141; + bSizer461111141 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471111141; + bSizer471111141 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111141->Add( btnAddHomeGeoposition, 0, wxALL, 5 ); + + btnModifyHomeGeoposition = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111141->Add( btnModifyHomeGeoposition, 0, wxALL, 5 ); + + btnDeleteHomePosition = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111141->Add( btnDeleteHomePosition, 0, wxALL, 5 ); + + + bSizer461111141->Add( bSizer471111141, 1, wxEXPAND, 5 ); + + + bSizer351111141->Add( bSizer461111141, 1, wxEXPAND, 5 ); + + + bSizer301111141->Add( bSizer351111141, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer301111141, 1, wxEXPAND, 5 ); + + lblHomeWebsites = new wxStaticText( tabHome, wxID_ANY, wxT("Home Websites:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeWebsites->Wrap( 1 ); + fgSizer51->Add( lblHomeWebsites, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011111112; + bSizer3011111112 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeWebsites = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011111112->Add( lboHomeWebsites, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511111112; + bSizer3511111112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611111112; + bSizer4611111112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711111112; + bSizer4711111112 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111112->Add( btnAddHomeWebsite, 0, wxALL, 5 ); + + btnHomeModifyWebsite = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111112->Add( btnHomeModifyWebsite, 0, wxALL, 5 ); + + btnDeleteHomeWebsite = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111112->Add( btnDeleteHomeWebsite, 0, wxALL, 5 ); + + + bSizer4611111112->Add( bSizer4711111112, 1, wxEXPAND, 5 ); + + + bSizer3511111112->Add( bSizer4611111112, 1, wxEXPAND, 5 ); + + + bSizer3011111112->Add( bSizer3511111112, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer3011111112, 1, wxEXPAND, 5 ); + + lblHomeTitles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Titles:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeTitles->Wrap( 1 ); + fgSizer51->Add( lblHomeTitles, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111111112; + bSizer30111111112 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeTitles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111111112->Add( lboHomeTitles, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111111112; + bSizer35111111112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111111112; + bSizer46111111112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111111112; + bSizer47111111112 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111112->Add( btnAddHomeTitle, 0, wxALL, 5 ); + + btnModifyHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111112->Add( btnModifyHomeTitle, 0, wxALL, 5 ); + + btnDeleteHomeTitle = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111112->Add( btnDeleteHomeTitle, 0, wxALL, 5 ); + + + bSizer46111111112->Add( bSizer47111111112, 1, wxEXPAND, 5 ); + + + bSizer35111111112->Add( bSizer46111111112, 1, wxEXPAND, 5 ); + + + bSizer30111111112->Add( bSizer35111111112, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer30111111112, 1, wxEXPAND, 5 ); + + lblHomeRoles = new wxStaticText( tabHome, wxID_ANY, wxT("Home Roles:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeRoles->Wrap( 1 ); + fgSizer51->Add( lblHomeRoles, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301111111112; + bSizer301111111112 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeRoles = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301111111112->Add( lboHomeRoles, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351111111112; + bSizer351111111112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461111111112; + bSizer461111111112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471111111112; + bSizer471111111112 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111112->Add( btnAddHomeRole, 0, wxALL, 5 ); + + btnModifyHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111112->Add( btnModifyHomeRole, 0, wxALL, 5 ); + + btnDeleteHomeRole = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111112->Add( btnDeleteHomeRole, 0, wxALL, 5 ); + + + bSizer461111111112->Add( bSizer471111111112, 1, wxEXPAND, 5 ); + + + bSizer351111111112->Add( bSizer461111111112, 1, wxEXPAND, 5 ); + + + bSizer301111111112->Add( bSizer351111111112, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer301111111112, 1, wxEXPAND, 5 ); + + lblHomeOrganisations = new wxStaticText( tabHome, wxID_ANY, wxT("Home Organisations:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeOrganisations->Wrap( 1 ); + fgSizer51->Add( lblHomeOrganisations, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011111111112; + bSizer3011111111112 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeOrganisations = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011111111112->Add( lboHomeOrganisations, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511111111112; + bSizer3511111111112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611111111112; + bSizer4611111111112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711111111112; + bSizer4711111111112 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111112->Add( btnAddHomeOrganisations, 0, wxALL, 5 ); + + btnModifyHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111112->Add( btnModifyHomeOrganisations, 0, wxALL, 5 ); + + btnDeleteHomeOrganisations = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111112->Add( btnDeleteHomeOrganisations, 0, wxALL, 5 ); + + + bSizer4611111111112->Add( bSizer4711111111112, 1, wxEXPAND, 5 ); + + + bSizer3511111111112->Add( bSizer4611111111112, 1, wxEXPAND, 5 ); + + + bSizer3011111111112->Add( bSizer3511111111112, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer3011111111112, 1, wxEXPAND, 5 ); + + lblHomeNotes = new wxStaticText( tabHome, wxID_ANY, wxT("Home Notes:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHomeNotes->Wrap( 1 ); + fgSizer51->Add( lblHomeNotes, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111111111111; + bSizer30111111111111 = new wxBoxSizer( wxHORIZONTAL ); + + lboHomeNotes = new wxListCtrl( tabHome, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111111111111->Add( lboHomeNotes, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111111111111; + bSizer35111111111111 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111111111111; + bSizer46111111111111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111111111111; + bSizer47111111111111 = new wxBoxSizer( wxVERTICAL ); + + btnAddHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111111->Add( btnAddHomeNote, 0, wxALL, 5 ); + + btnModifyHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111111->Add( btnModifyHomeNote, 0, wxALL, 5 ); + + btnDeleteHomeNote = new wxButton( tabHome, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111111->Add( btnDeleteHomeNote, 0, wxALL, 5 ); + + + bSizer46111111111111->Add( bSizer47111111111111, 1, wxEXPAND, 5 ); + + + bSizer35111111111111->Add( bSizer46111111111111, 1, wxEXPAND, 5 ); + + + bSizer30111111111111->Add( bSizer35111111111111, 0, wxEXPAND, 5 ); + + + fgSizer51->Add( bSizer30111111111111, 1, wxEXPAND, 5 ); + + + bSizer181->Add( fgSizer51, 0, wxEXPAND, 5 ); + + + tabHome->SetSizer( bSizer181 ); + tabHome->Layout(); + bSizer181->Fit( tabHome ); + nbkContact->AddPage( tabHome, wxT("Home"), false ); + tabBusiness = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabBusiness->SetScrollRate( 5, 5 ); + wxBoxSizer* bSizer182; + bSizer182 = new wxBoxSizer( wxVERTICAL ); + + wxGridSizer* gSizer72; + gSizer72 = new wxGridSizer( 2, 6, 0, 0 ); + + + bSizer182->Add( gSizer72, 0, wxEXPAND, 5 ); + + wxFlexGridSizer* fgSizer52; + fgSizer52 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer52->AddGrowableCol( 1 ); + fgSizer52->SetFlexibleDirection( wxBOTH ); + fgSizer52->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblBusinessNickname = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Nicknames:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessNickname->Wrap( 0 ); + fgSizer52->Add( lblBusinessNickname, 0, wxALL, 5 ); + + wxBoxSizer* szrAddresses22; + szrAddresses22 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessNicknames = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses22->Add( lboBusinessNicknames, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrAddressesOuter22; + szrAddressesOuter22 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4632; + bSizer4632 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4732; + bSizer4732 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4732->Add( btnAddBusinessNickname, 0, wxALL, 5 ); + + btnModifyBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4732->Add( btnModifyBusinessNickname, 0, wxALL, 5 ); + + btnDeleteBusinessNickname = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4732->Add( btnDeleteBusinessNickname, 0, wxALL, 5 ); + + + bSizer4632->Add( bSizer4732, 1, wxEXPAND, 5 ); + + + szrAddressesOuter22->Add( bSizer4632, 1, wxEXPAND, 5 ); + + + szrAddresses22->Add( szrAddressesOuter22, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( szrAddresses22, 1, wxEXPAND, 5 ); + + lblBusinessAddress = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessAddress->Wrap( 0 ); + fgSizer52->Add( lblBusinessAddress, 0, wxALL, 5 ); + + wxBoxSizer* szrAddresses2; + szrAddresses2 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessAddresses = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses2->Add( lboBusinessAddresses, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrAddressesOuter2; + szrAddressesOuter2 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer463; + bSizer463 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer473; + bSizer473 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer473->Add( btnAddBusinessAddress, 0, wxALL, 5 ); + + btnModifyBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer473->Add( btnModifyBusinessAddress, 0, wxALL, 5 ); + + btnDeleteBusinessAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer473->Add( btnDeleteBusinessAddress, 0, wxALL, 5 ); + + + bSizer463->Add( bSizer473, 1, wxEXPAND, 5 ); + + + szrAddressesOuter2->Add( bSizer463, 1, wxEXPAND, 5 ); + + + szrAddresses2->Add( szrAddressesOuter2, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( szrAddresses2, 1, wxEXPAND, 5 ); + + lblBusinessEmail = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business E-mail:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessEmail->Wrap( 0 ); + fgSizer52->Add( lblBusinessEmail, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3013; + bSizer3013 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessEmail = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3013->Add( lboBusinessEmail, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3513; + bSizer3513 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4613; + bSizer4613 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4713; + bSizer4713 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4713->Add( btnAddBusinessEmailAddress, 0, wxALL, 5 ); + + btnModifyBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4713->Add( btnModifyBusinessEmailAddress, 0, wxALL, 5 ); + + btnDeleteBusinessEmailAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4713->Add( btnDeleteBusinessEmailAddress, 0, wxALL, 5 ); + + + bSizer4613->Add( bSizer4713, 1, wxEXPAND, 5 ); + + + bSizer3513->Add( bSizer4613, 1, wxEXPAND, 5 ); + + + bSizer3013->Add( bSizer3513, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer3013, 1, wxEXPAND, 5 ); + + lblBusinessIM = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Instant Messaging:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessIM->Wrap( 0 ); + fgSizer52->Add( lblBusinessIM, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30113; + bSizer30113 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessIM = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30113->Add( lboBusinessIM, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35113; + bSizer35113 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46113; + bSizer46113 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47113; + bSizer47113 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47113->Add( btnAddBusinessIMAddress, 0, wxALL, 5 ); + + btnModifyBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47113->Add( btnModifyBusinessIMAddress, 0, wxALL, 5 ); + + btnDeleteBusinessIMAddress = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47113->Add( btnDeleteBusinessIMAddress, 0, wxALL, 5 ); + + + bSizer46113->Add( bSizer47113, 1, wxEXPAND, 5 ); + + + bSizer35113->Add( bSizer46113, 1, wxEXPAND, 5 ); + + + bSizer30113->Add( bSizer35113, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer30113, 1, wxEXPAND, 5 ); + + lblBusinessTelephone = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Telephone:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessTelephone->Wrap( 0 ); + fgSizer52->Add( lblBusinessTelephone, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301113; + bSizer301113 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessTelephone = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301113->Add( lboBusinessTelephone, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351113; + bSizer351113 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461113; + bSizer461113 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471113; + bSizer471113 = new wxBoxSizer( wxVERTICAL ); + + btnBusinessAddTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471113->Add( btnBusinessAddTelephone, 0, wxALL, 5 ); + + btnBusinessModifyTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471113->Add( btnBusinessModifyTelephone, 0, wxALL, 5 ); + + btnBusinessDeleteTelephone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471113->Add( btnBusinessDeleteTelephone, 0, wxALL, 5 ); + + + bSizer461113->Add( bSizer471113, 1, wxEXPAND, 5 ); + + + bSizer351113->Add( bSizer461113, 1, wxEXPAND, 5 ); + + + bSizer301113->Add( bSizer351113, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer301113, 1, wxEXPAND, 5 ); + + lblBusinessLanguage = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Languages:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessLanguage->Wrap( 0 ); + fgSizer52->Add( lblBusinessLanguage, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011113; + bSizer3011113 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessLanguages = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011113->Add( lboBusinessLanguages, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511113; + bSizer3511113 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611113; + bSizer4611113 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711113; + bSizer4711113 = new wxBoxSizer( wxVERTICAL ); + + btnBusinessAddLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711113->Add( btnBusinessAddLanguage, 0, wxALL, 5 ); + + btnBusinessModifyLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711113->Add( btnBusinessModifyLanguage, 0, wxALL, 5 ); + + btnBusinessDeleteLanguage = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711113->Add( btnBusinessDeleteLanguage, 0, wxALL, 5 ); + + + bSizer4611113->Add( bSizer4711113, 1, wxEXPAND, 5 ); + + + bSizer3511113->Add( bSizer4611113, 1, wxEXPAND, 5 ); + + + bSizer3011113->Add( bSizer3511113, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer3011113, 1, wxEXPAND, 5 ); + + lblBusinessTimezones = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Timezones:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessTimezones->Wrap( 0 ); + fgSizer52->Add( lblBusinessTimezones, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111113; + bSizer30111113 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessTimezones = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111113->Add( lboBusinessTimezones, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111113; + bSizer35111113 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111113; + bSizer46111113 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111113; + bSizer47111113 = new wxBoxSizer( wxVERTICAL ); + + btnBusinessAddTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111113->Add( btnBusinessAddTimezone, 0, wxALL, 5 ); + + btnBusinessModifyTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111113->Add( btnBusinessModifyTimezone, 0, wxALL, 5 ); + + btnDeleteBusinessTimezone = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111113->Add( btnDeleteBusinessTimezone, 0, wxALL, 5 ); + + + bSizer46111113->Add( bSizer47111113, 1, wxEXPAND, 5 ); + + + bSizer35111113->Add( bSizer46111113, 1, wxEXPAND, 5 ); + + + bSizer30111113->Add( bSizer35111113, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer30111113, 1, wxEXPAND, 5 ); + + lblBusinessGeopositioning = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessGeopositioning->Wrap( 0 ); + fgSizer52->Add( lblBusinessGeopositioning, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011111411; + bSizer3011111411 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessGeoposition = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011111411->Add( lboBusinessGeoposition, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511111411; + bSizer3511111411 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611111411; + bSizer4611111411 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711111411; + bSizer4711111411 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111411->Add( btnAddBusinessGeoposition, 0, wxALL, 5 ); + + btnModifyBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111411->Add( btnModifyBusinessGeoposition, 0, wxALL, 5 ); + + btnDeleteBusinessGeoposition = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111411->Add( btnDeleteBusinessGeoposition, 0, wxALL, 5 ); + + + bSizer4611111411->Add( bSizer4711111411, 1, wxEXPAND, 5 ); + + + bSizer3511111411->Add( bSizer4611111411, 1, wxEXPAND, 5 ); + + + bSizer3011111411->Add( bSizer3511111411, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer3011111411, 1, wxEXPAND, 5 ); + + lblBusinessWebsites = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Websites:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessWebsites->Wrap( 1 ); + fgSizer52->Add( lblBusinessWebsites, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011111113; + bSizer3011111113 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessWebsites = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011111113->Add( lboBusinessWebsites, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511111113; + bSizer3511111113 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611111113; + bSizer4611111113 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711111113; + bSizer4711111113 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111113->Add( btnAddBusinessWebsite, 0, wxALL, 5 ); + + btnModifyBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111113->Add( btnModifyBusinessWebsite, 0, wxALL, 5 ); + + btnDeleteBusinessWebsite = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111113->Add( btnDeleteBusinessWebsite, 0, wxALL, 5 ); + + + bSizer4611111113->Add( bSizer4711111113, 1, wxEXPAND, 5 ); + + + bSizer3511111113->Add( bSizer4611111113, 1, wxEXPAND, 5 ); + + + bSizer3011111113->Add( bSizer3511111113, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer3011111113, 1, wxEXPAND, 5 ); + + lblBusinessTitles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Titles:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessTitles->Wrap( 1 ); + fgSizer52->Add( lblBusinessTitles, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111111113; + bSizer30111111113 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessTitles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER ); + bSizer30111111113->Add( lboBusinessTitles, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111111113; + bSizer35111111113 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111111113; + bSizer46111111113 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111111113; + bSizer47111111113 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111113->Add( btnAddBusinessTitle, 0, wxALL, 5 ); + + btnModifyBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111113->Add( btnModifyBusinessTitle, 0, wxALL, 5 ); + + btnDeleteBusinessTitle = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111113->Add( btnDeleteBusinessTitle, 0, wxALL, 5 ); + + + bSizer46111111113->Add( bSizer47111111113, 1, wxEXPAND, 5 ); + + + bSizer35111111113->Add( bSizer46111111113, 1, wxEXPAND, 5 ); + + + bSizer30111111113->Add( bSizer35111111113, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer30111111113, 1, wxEXPAND, 5 ); + + lblBusinessRoles = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Roles:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessRoles->Wrap( 1 ); + fgSizer52->Add( lblBusinessRoles, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301111111113; + bSizer301111111113 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessRoles = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301111111113->Add( lboBusinessRoles, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351111111113; + bSizer351111111113 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461111111113; + bSizer461111111113 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471111111113; + bSizer471111111113 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111113->Add( btnAddBusinessRole, 0, wxALL, 5 ); + + btnModifyBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111113->Add( btnModifyBusinessRole, 0, wxALL, 5 ); + + btnDeleteBusinessRole = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471111111113->Add( btnDeleteBusinessRole, 0, wxALL, 5 ); + + + bSizer461111111113->Add( bSizer471111111113, 1, wxEXPAND, 5 ); + + + bSizer351111111113->Add( bSizer461111111113, 1, wxEXPAND, 5 ); + + + bSizer301111111113->Add( bSizer351111111113, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer301111111113, 1, wxEXPAND, 5 ); + + lblBusinessOrganisations = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Organisations:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessOrganisations->Wrap( 1 ); + fgSizer52->Add( lblBusinessOrganisations, 0, wxALL, 5 ); + + wxBoxSizer* bSizer3011111111113; + bSizer3011111111113 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessOrganisations = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer3011111111113->Add( lboBusinessOrganisations, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer3511111111113; + bSizer3511111111113 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4611111111113; + bSizer4611111111113 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4711111111113; + bSizer4711111111113 = new wxBoxSizer( wxVERTICAL ); + + btnAddBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111113->Add( btnAddBusinessOrganisations, 0, wxALL, 5 ); + + btnModifyBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111113->Add( btnModifyBusinessOrganisations, 0, wxALL, 5 ); + + btnDeleteBusinessOrganisations = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4711111111113->Add( btnDeleteBusinessOrganisations, 0, wxALL, 5 ); + + + bSizer4611111111113->Add( bSizer4711111111113, 1, wxEXPAND, 5 ); + + + bSizer3511111111113->Add( bSizer4611111111113, 1, wxEXPAND, 5 ); + + + bSizer3011111111113->Add( bSizer3511111111113, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer3011111111113, 1, wxEXPAND, 5 ); + + lblBusinessNotes = new wxStaticText( tabBusiness, wxID_ANY, wxT("Business Notes:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblBusinessNotes->Wrap( 1 ); + fgSizer52->Add( lblBusinessNotes, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30111111111112; + bSizer30111111111112 = new wxBoxSizer( wxHORIZONTAL ); + + lboBusinessNotes = new wxListCtrl( tabBusiness, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30111111111112->Add( lboBusinessNotes, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35111111111112; + bSizer35111111111112 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46111111111112; + bSizer46111111111112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47111111111112; + bSizer47111111111112 = new wxBoxSizer( wxVERTICAL ); + + btnBusinessAddNote = new wxButton( tabBusiness, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111112->Add( btnBusinessAddNote, 0, wxALL, 5 ); + + btnBusinessModifyNote = new wxButton( tabBusiness, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111112->Add( btnBusinessModifyNote, 0, wxALL, 5 ); + + btnBusinessDeleteNote = new wxButton( tabBusiness, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47111111111112->Add( btnBusinessDeleteNote, 0, wxALL, 5 ); + + + bSizer46111111111112->Add( bSizer47111111111112, 1, wxEXPAND, 5 ); + + + bSizer35111111111112->Add( bSizer46111111111112, 1, wxEXPAND, 5 ); + + + bSizer30111111111112->Add( bSizer35111111111112, 0, wxEXPAND, 5 ); + + + fgSizer52->Add( bSizer30111111111112, 1, wxEXPAND, 5 ); + + + bSizer182->Add( fgSizer52, 0, wxEXPAND, 5 ); + + + tabBusiness->SetSizer( bSizer182 ); + tabBusiness->Layout(); + bSizer182->Fit( tabBusiness ); + nbkContact->AddPage( tabBusiness, wxT("Business"), false ); + tabCategories = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabCategories->SetScrollRate( 5, 5 ); + wxBoxSizer* szrAddresses11; + szrAddresses11 = new wxBoxSizer( wxHORIZONTAL ); + + lboCategories = new wxListCtrl( tabCategories, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses11->Add( lboCategories, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrCategoriesOuter; + szrCategoriesOuter = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4621; + bSizer4621 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4721; + bSizer4721 = new wxBoxSizer( wxVERTICAL ); + + btnAddCategory = new wxButton( tabCategories, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4721->Add( btnAddCategory, 0, wxALL, 5 ); + + btnModifyCategory = new wxButton( tabCategories, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4721->Add( btnModifyCategory, 0, wxALL, 5 ); + + btnDeleteCategory = new wxButton( tabCategories, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4721->Add( btnDeleteCategory, 0, wxALL, 5 ); + + + bSizer4621->Add( bSizer4721, 1, wxEXPAND, 5 ); + + + szrCategoriesOuter->Add( bSizer4621, 1, wxEXPAND, 5 ); + + + szrAddresses11->Add( szrCategoriesOuter, 0, wxEXPAND, 5 ); + + + tabCategories->SetSizer( szrAddresses11 ); + tabCategories->Layout(); + szrAddresses11->Fit( tabCategories ); + nbkContact->AddPage( tabCategories, wxT("Categories"), false ); + tabMembers = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabMembers->SetScrollRate( 5, 5 ); + wxBoxSizer* szrAddresses111; + szrAddresses111 = new wxBoxSizer( wxHORIZONTAL ); + + lboGroups = new wxListCtrl( tabMembers, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses111->Add( lboGroups, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrCategoriesOuter1; + szrCategoriesOuter1 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46211; + bSizer46211 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47211; + bSizer47211 = new wxBoxSizer( wxVERTICAL ); + + btnAddGroups = new wxButton( tabMembers, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47211->Add( btnAddGroups, 0, wxALL, 5 ); + + btnModifyGroups = new wxButton( tabMembers, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47211->Add( btnModifyGroups, 0, wxALL, 5 ); + + btnDeleteGroups = new wxButton( tabMembers, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47211->Add( btnDeleteGroups, 0, wxALL, 5 ); + + + bSizer46211->Add( bSizer47211, 1, wxEXPAND, 5 ); + + + szrCategoriesOuter1->Add( bSizer46211, 1, wxEXPAND, 5 ); + + + szrAddresses111->Add( szrCategoriesOuter1, 0, wxEXPAND, 5 ); + + + tabMembers->SetSizer( szrAddresses111 ); + tabMembers->Layout(); + szrAddresses111->Fit( tabMembers ); + nbkContact->AddPage( tabMembers, wxT("Members"), false ); + tabPictures = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabPictures->SetScrollRate( 5, 5 ); + wxBoxSizer* bSizer210; + bSizer210 = new wxBoxSizer( wxHORIZONTAL ); + + imgPicture = new wxStaticBitmap( tabPictures, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER ); + bSizer210->Add( imgPicture, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer211; + bSizer211 = new wxBoxSizer( wxVERTICAL ); + + lboPictures = new wxListCtrl( tabPictures, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer211->Add( lboPictures, 0, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer212; + bSizer212 = new wxBoxSizer( wxVERTICAL ); + + wxFlexGridSizer* fgSizer46; + fgSizer46 = new wxFlexGridSizer( 2, 3, 0, 0 ); + fgSizer46->SetFlexibleDirection( wxBOTH ); + fgSizer46->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + btnAddPicture = new wxButton( tabPictures, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer46->Add( btnAddPicture, 0, wxALL, 5 ); + + btnModifyPicture = new wxButton( tabPictures, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer46->Add( btnModifyPicture, 0, wxALL, 5 ); + + btnDeletePicture = new wxButton( tabPictures, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer46->Add( btnDeletePicture, 0, wxALL, 5 ); + + btnSavePicture = new wxButton( tabPictures, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer46->Add( btnSavePicture, 0, wxALL, 5 ); + + + bSizer212->Add( fgSizer46, 1, wxEXPAND, 5 ); + + + bSizer211->Add( bSizer212, 0, wxEXPAND, 5 ); + + + bSizer210->Add( bSizer211, 1, wxEXPAND, 5 ); + + + tabPictures->SetSizer( bSizer210 ); + tabPictures->Layout(); + bSizer210->Fit( tabPictures ); + nbkContact->AddPage( tabPictures, wxT("Pictures"), false ); + tabLogo = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabLogo->SetScrollRate( 5, 5 ); + wxBoxSizer* bSizer2101; + bSizer2101 = new wxBoxSizer( wxHORIZONTAL ); + + imgLogo = new wxStaticBitmap( tabLogo, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER ); + bSizer2101->Add( imgLogo, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer2111; + bSizer2111 = new wxBoxSizer( wxVERTICAL ); + + lboLogos = new wxListCtrl( tabLogo, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer2111->Add( lboLogos, 0, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer2121; + bSizer2121 = new wxBoxSizer( wxVERTICAL ); + + wxFlexGridSizer* fgSizer47; + fgSizer47 = new wxFlexGridSizer( 2, 3, 0, 0 ); + fgSizer47->SetFlexibleDirection( wxBOTH ); + fgSizer47->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + btnAddLogo = new wxButton( tabLogo, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer47->Add( btnAddLogo, 0, wxALL, 5 ); + + btnModifyLogo = new wxButton( tabLogo, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer47->Add( btnModifyLogo, 0, wxALL, 5 ); + + btnDeleteLogo = new wxButton( tabLogo, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer47->Add( btnDeleteLogo, 0, wxALL, 5 ); + + btnSaveLogo = new wxButton( tabLogo, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer47->Add( btnSaveLogo, 0, wxALL, 5 ); + + + bSizer2121->Add( fgSizer47, 1, wxEXPAND, 5 ); + + + bSizer2111->Add( bSizer2121, 0, wxEXPAND, 5 ); + + + bSizer2101->Add( bSizer2111, 1, wxEXPAND, 5 ); + + + tabLogo->SetSizer( bSizer2101 ); + tabLogo->Layout(); + bSizer2101->Fit( tabLogo ); + nbkContact->AddPage( tabLogo, wxT("Logos"), false ); + tabSounds = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabSounds->SetScrollRate( 5, 5 ); + wxBoxSizer* szrAddresses1111; + szrAddresses1111 = new wxBoxSizer( wxHORIZONTAL ); + + lboSounds = new wxListCtrl( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses1111->Add( lboSounds, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrCategoriesOuter11; + szrCategoriesOuter11 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer462111; + bSizer462111 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer472111; + bSizer472111 = new wxBoxSizer( wxVERTICAL ); + + btnAddSound = new wxButton( tabSounds, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472111->Add( btnAddSound, 0, wxALL, 5 ); + + btnModifySound = new wxButton( tabSounds, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472111->Add( btnModifySound, 0, wxALL, 5 ); + + btnDeleteSound = new wxButton( tabSounds, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472111->Add( btnDeleteSound, 0, wxALL, 5 ); + + btnSaveSound = new wxButton( tabSounds, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472111->Add( btnSaveSound, 0, wxALL, 5 ); + + m_staticline1 = new wxStaticLine( tabSounds, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); + bSizer472111->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer348; + bSizer348 = new wxBoxSizer( wxHORIZONTAL ); + + btnPlay = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW ); + btnPlay->SetMinSize( wxSize( -1,32 ) ); + + bSizer348->Add( btnPlay, 0, wxALL|wxEXPAND, 5 ); + + btnStop = new wxBitmapButton( tabSounds, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW ); + btnStop->SetMinSize( wxSize( -1,32 ) ); + + bSizer348->Add( btnStop, 0, wxALL, 5 ); + + + bSizer472111->Add( bSizer348, 0, wxALIGN_CENTER, 5 ); + + + bSizer462111->Add( bSizer472111, 1, wxEXPAND, 5 ); + + + szrCategoriesOuter11->Add( bSizer462111, 1, wxEXPAND, 5 ); + + + szrAddresses1111->Add( szrCategoriesOuter11, 0, wxEXPAND, 5 ); + + + tabSounds->SetSizer( szrAddresses1111 ); + tabSounds->Layout(); + szrAddresses1111->Fit( tabSounds ); + nbkContact->AddPage( tabSounds, wxT("Sounds"), false ); + tabCalendaring = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabCalendaring->SetScrollRate( 5, 5 ); + wxBoxSizer* bSizer1821; + bSizer1821 = new wxBoxSizer( wxVERTICAL ); + + wxFlexGridSizer* fgSizer521; + fgSizer521 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer521->AddGrowableCol( 1 ); + fgSizer521->SetFlexibleDirection( wxBOTH ); + fgSizer521->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblCalendarAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblCalendarAddresses->Wrap( 0 ); + fgSizer521->Add( lblCalendarAddresses, 0, wxALL, 5 ); + + wxBoxSizer* szrAddresses21; + szrAddresses21 = new wxBoxSizer( wxHORIZONTAL ); + + lboCalendarAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses21->Add( lboCalendarAddresses, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrAddressesOuter21; + szrAddressesOuter21 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer4631; + bSizer4631 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer4731; + bSizer4731 = new wxBoxSizer( wxVERTICAL ); + + btnAddCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4731->Add( btnAddCalendarAddress, 0, wxALL, 5 ); + + btnModifyCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4731->Add( btnModifyCalendarAddress, 0, wxALL, 5 ); + + btnDeleteCalendarAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer4731->Add( btnDeleteCalendarAddress, 0, wxALL, 5 ); + + + bSizer4631->Add( bSizer4731, 1, wxEXPAND, 5 ); + + + szrAddressesOuter21->Add( bSizer4631, 1, wxEXPAND, 5 ); + + + szrAddresses21->Add( szrAddressesOuter21, 0, wxEXPAND, 5 ); + + + fgSizer521->Add( szrAddresses21, 1, wxEXPAND, 5 ); + + lblCalendarRequestAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Calendar Request Address:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblCalendarRequestAddresses->Wrap( 0 ); + fgSizer521->Add( lblCalendarRequestAddresses, 0, wxALL, 5 ); + + wxBoxSizer* bSizer30131; + bSizer30131 = new wxBoxSizer( wxHORIZONTAL ); + + lboCalendarRequestAddress = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer30131->Add( lboCalendarRequestAddress, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer35131; + bSizer35131 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46131; + bSizer46131 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47131; + bSizer47131 = new wxBoxSizer( wxVERTICAL ); + + btnAddCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47131->Add( btnAddCalendarRequestAddress, 0, wxALL, 5 ); + + btnModifyCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47131->Add( btnModifyCalendarRequestAddress, 0, wxALL, 5 ); + + btnDeleteCalendarRequestAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47131->Add( btnDeleteCalendarRequestAddress, 0, wxALL, 5 ); + + + bSizer46131->Add( bSizer47131, 1, wxEXPAND, 5 ); + + + bSizer35131->Add( bSizer46131, 1, wxEXPAND, 5 ); + + + bSizer30131->Add( bSizer35131, 0, wxEXPAND, 5 ); + + + fgSizer521->Add( bSizer30131, 1, wxEXPAND, 5 ); + + lblFreeBusyAddresses = new wxStaticText( tabCalendaring, wxID_ANY, wxT("Free/Busy Addresses:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblFreeBusyAddresses->Wrap( 0 ); + fgSizer521->Add( lblFreeBusyAddresses, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301131; + bSizer301131 = new wxBoxSizer( wxHORIZONTAL ); + + lboFreeBusyAddresses = new wxListCtrl( tabCalendaring, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301131->Add( lboFreeBusyAddresses, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351131; + bSizer351131 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461131; + bSizer461131 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471131; + bSizer471131 = new wxBoxSizer( wxVERTICAL ); + + btnAddFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471131->Add( btnAddFreeBusyAddress, 0, wxALL, 5 ); + + btnModifyFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471131->Add( btnModifyFreeBusyAddress, 0, wxALL, 5 ); + + btnDeleteFreeBusyAddress = new wxButton( tabCalendaring, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471131->Add( btnDeleteFreeBusyAddress, 0, wxALL, 5 ); + + + bSizer461131->Add( bSizer471131, 1, wxEXPAND, 5 ); + + + bSizer351131->Add( bSizer461131, 1, wxEXPAND, 5 ); + + + bSizer301131->Add( bSizer351131, 0, wxEXPAND, 5 ); + + + fgSizer521->Add( bSizer301131, 1, wxEXPAND, 5 ); + + + bSizer1821->Add( fgSizer521, 0, wxEXPAND, 5 ); + + + tabCalendaring->SetSizer( bSizer1821 ); + tabCalendaring->Layout(); + bSizer1821->Fit( tabCalendaring ); + nbkContact->AddPage( tabCalendaring, wxT("Calendaring"), false ); + tabSecurity = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabSecurity->SetScrollRate( 5, 5 ); + wxBoxSizer* szrAddresses1112; + szrAddresses1112 = new wxBoxSizer( wxHORIZONTAL ); + + lboKeys = new wxListCtrl( tabSecurity, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + szrAddresses1112->Add( lboKeys, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrCategoriesOuter12; + szrCategoriesOuter12 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer462112; + bSizer462112 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer472112; + bSizer472112 = new wxBoxSizer( wxVERTICAL ); + + btnAddKey = new wxButton( tabSecurity, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472112->Add( btnAddKey, 0, wxALL, 5 ); + + btnModifyKey = new wxButton( tabSecurity, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472112->Add( btnModifyKey, 0, wxALL, 5 ); + + btnDeleteKey = new wxButton( tabSecurity, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer472112->Add( btnDeleteKey, 0, wxALL, 5 ); + + + bSizer462112->Add( bSizer472112, 1, wxEXPAND, 5 ); + + + szrCategoriesOuter12->Add( bSizer462112, 1, wxEXPAND, 5 ); + + + szrAddresses1112->Add( szrCategoriesOuter12, 0, wxEXPAND, 5 ); + + + tabSecurity->SetSizer( szrAddresses1112 ); + tabSecurity->Layout(); + szrAddresses1112->Fit( tabSecurity ); + nbkContact->AddPage( tabSecurity, wxT("Security"), false ); + tabOther = new wxScrolledWindow( nbkContact, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL ); + tabOther->SetScrollRate( 5, 5 ); + wxFlexGridSizer* fgSizer5211; + fgSizer5211 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer5211->AddGrowableCol( 1 ); + fgSizer5211->SetFlexibleDirection( wxBOTH ); + fgSizer5211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblVendorNamespace = new wxStaticText( tabOther, wxID_ANY, wxT("Vendor Namespace:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblVendorNamespace->Wrap( 0 ); + fgSizer5211->Add( lblVendorNamespace, 0, wxALL, 5 ); + + wxBoxSizer* szrAddresses211; + szrAddresses211 = new wxBoxSizer( wxHORIZONTAL ); + + lboVendorNamespace = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER ); + szrAddresses211->Add( lboVendorNamespace, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* szrAddressesOuter211; + szrAddressesOuter211 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer46311; + bSizer46311 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer47311; + bSizer47311 = new wxBoxSizer( wxVERTICAL ); + + btnAddVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47311->Add( btnAddVendorNamespace, 0, wxALL, 5 ); + + btnModifyVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47311->Add( btnModifyVendorNamespace, 0, wxALL, 5 ); + + btnDeleteVendorNamespace = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer47311->Add( btnDeleteVendorNamespace, 0, wxALL, 5 ); + + + bSizer46311->Add( bSizer47311, 1, wxEXPAND, 5 ); + + + szrAddressesOuter211->Add( bSizer46311, 1, wxEXPAND, 5 ); + + + szrAddresses211->Add( szrAddressesOuter211, 0, wxEXPAND, 5 ); + + + fgSizer5211->Add( szrAddresses211, 1, wxEXPAND, 5 ); + + lblXTokens = new wxStaticText( tabOther, wxID_ANY, wxT("X-Tokens:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblXTokens->Wrap( 0 ); + fgSizer5211->Add( lblXTokens, 0, wxALL, 5 ); + + wxBoxSizer* bSizer301311; + bSizer301311 = new wxBoxSizer( wxHORIZONTAL ); + + lboXToken = new wxListCtrl( tabOther, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer301311->Add( lboXToken, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer351311; + bSizer351311 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer461311; + bSizer461311 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer471311; + bSizer471311 = new wxBoxSizer( wxVERTICAL ); + + btnAddXToken = new wxButton( tabOther, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471311->Add( btnAddXToken, 0, wxALL, 5 ); + + btnModifyXToken = new wxButton( tabOther, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471311->Add( btnModifyXToken, 0, wxALL, 5 ); + + btnDeleteXToken = new wxButton( tabOther, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer471311->Add( btnDeleteXToken, 0, wxALL, 5 ); + + + bSizer461311->Add( bSizer471311, 1, wxEXPAND, 5 ); + + + bSizer351311->Add( bSizer461311, 1, wxEXPAND, 5 ); + + + bSizer301311->Add( bSizer351311, 0, wxEXPAND, 5 ); + + + fgSizer5211->Add( bSizer301311, 1, wxEXPAND, 5 ); + + + tabOther->SetSizer( fgSizer5211 ); + tabOther->Layout(); + fgSizer5211->Fit( tabOther ); + nbkContact->AddPage( tabOther, wxT("Other"), false ); + + bSizer17->Add( nbkContact, 1, wxEXPAND | wxALL, 5 ); + + + this->SetSizer( bSizer17 ); + this->Layout(); + m_menubar3 = new wxMenuBar( 0 ); + mnuContact = new wxMenu(); + wxMenuItem* mnuContactSave; + mnuContactSave = new wxMenuItem( mnuContact, CONTACT_SAVE, wxString( wxT("Save") ) + wxT('\t') + wxT("Ctrl+S"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuContactSave ); + + wxMenuItem* mnuContactSaveClose; + mnuContactSaveClose = new wxMenuItem( mnuContact, CONTACT_SAVECLOSE, wxString( wxT("&Save and Close Contact") ) + wxT('\t') + wxT("Ctrl+Shift+S"), wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuContactSaveClose ); + + mnuContact->AppendSeparator(); + + wxMenuItem* mnuContactClose; + mnuContactClose = new wxMenuItem( mnuContact, CONTACT_CLOSE, wxString( wxT("Close") ) , wxEmptyString, wxITEM_NORMAL ); + mnuContact->Append( mnuContactClose ); + + m_menubar3->Append( mnuContact, wxT("&Contact") ); + + mnuEdit = new wxMenu(); + wxMenuItem* mnuEditCut; + mnuEditCut = new wxMenuItem( mnuEdit, wxID_CUT, wxString( wxT("Cu&t") ) + wxT('\t') + wxT("Ctrl+X"), wxEmptyString, wxITEM_NORMAL ); + mnuEdit->Append( mnuEditCut ); + + wxMenuItem* mnuEditCopy; + mnuEditCopy = new wxMenuItem( mnuEdit, wxID_COPY, wxString( wxT("&Copy") ) + wxT('\t') + wxT("Ctrl+C"), wxEmptyString, wxITEM_NORMAL ); + mnuEdit->Append( mnuEditCopy ); + + wxMenuItem* mnuEditPaste; + mnuEditPaste = new wxMenuItem( mnuEdit, wxID_PASTE, wxString( wxT("&Paste") ) + wxT('\t') + wxT("Ctrl+V"), wxEmptyString, wxITEM_NORMAL ); + mnuEdit->Append( mnuEditPaste ); + + m_menubar3->Append( mnuEdit, wxT("&Edit") ); + + this->SetMenuBar( m_menubar3 ); + + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) ); + txtTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + txtForename->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + txtSurname->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + txtOtherNames->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + txtSuffix->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + cmbDisplayAs->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this ); + cmbDisplayAs->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this ); + cmbType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this ); + btnAddGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this ); + btnModifyGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this ); + btnDeleteGeneralNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this ); + btnAddGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this ); + btnModifyGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this ); + btnDeleteGeneralAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this ); + btnAddEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this ); + btnModifyEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this ); + btnDeleteEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this ); + btnAddIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this ); + btnModifyIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this ); + btnDeleteIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this ); + btnAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this ); + btnModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this ); + btnDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this ); + btnAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this ); + btnModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this ); + btnDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this ); + btnAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this ); + btnModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this ); + btnDeleteTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this ); + btnAddGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this ); + btnModifyGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this ); + btnDeleteGeneralGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this ); + btnAddRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this ); + btnModifyRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this ); + btnDeleteRelated->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this ); + btnAddWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this ); + btnModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this ); + btnDeleteWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this ); + btnAddTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this ); + btnModifyTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this ); + btnDeleteTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this ); + btnAddRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this ); + btnModifyRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this ); + btnDeleteRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this ); + btnAddOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this ); + btnModifyOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this ); + btnDeleteOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this ); + btnAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this ); + btnModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this ); + btnDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this ); + btnAddHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this ); + btnModifyHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this ); + btnDeleteHomeNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this ); + btnAddHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this ); + btnModifyHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this ); + btnDeleteHomeAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this ); + btnAddHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this ); + btnModifyHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this ); + btnDeleteHomeEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this ); + btnAddHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this ); + btnModifyHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this ); + btnDeleteHomeIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this ); + btnAddHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this ); + btnModifyHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this ); + btnDeleteHomeTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this ); + btnAddHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this ); + btnModifyHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this ); + btnDeleteHomeLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this ); + btnAddHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this ); + btnModifyHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this ); + btnDeleteHomeTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this ); + btnAddHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this ); + btnModifyHomeGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this ); + btnDeleteHomePosition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this ); + btnAddHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this ); + btnHomeModifyWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this ); + btnDeleteHomeWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this ); + btnAddHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this ); + btnModifyHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this ); + btnDeleteHomeTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this ); + btnAddHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this ); + btnModifyHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this ); + btnDeleteHomeRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this ); + btnAddHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this ); + btnModifyHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this ); + btnDeleteHomeOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this ); + btnAddHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this ); + btnModifyHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this ); + btnDeleteHomeNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this ); + btnAddBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this ); + btnModifyBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this ); + btnDeleteBusinessNickname->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this ); + btnAddBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this ); + btnModifyBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this ); + btnDeleteBusinessAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this ); + btnAddBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this ); + btnModifyBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this ); + btnDeleteBusinessEmailAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this ); + btnAddBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this ); + btnModifyBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this ); + btnDeleteBusinessIMAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this ); + btnBusinessAddTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this ); + btnBusinessModifyTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this ); + btnBusinessDeleteTelephone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this ); + btnBusinessAddLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this ); + btnBusinessModifyLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this ); + btnBusinessDeleteLanguage->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this ); + btnBusinessAddTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this ); + btnBusinessModifyTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this ); + btnDeleteBusinessTimezone->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this ); + btnAddBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this ); + btnModifyBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this ); + btnDeleteBusinessGeoposition->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this ); + btnAddBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this ); + btnModifyBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this ); + btnDeleteBusinessWebsite->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this ); + btnAddBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this ); + btnModifyBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this ); + btnDeleteBusinessTitle->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this ); + btnAddBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this ); + btnModifyBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this ); + btnDeleteBusinessRole->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this ); + btnAddBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this ); + btnModifyBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this ); + btnDeleteBusinessOrganisations->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this ); + btnBusinessAddNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this ); + btnBusinessModifyNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this ); + btnBusinessDeleteNote->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this ); + btnAddCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this ); + btnModifyCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this ); + btnDeleteCategory->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this ); + btnAddGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this ); + btnModifyGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this ); + btnDeleteGroups->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this ); + lboPictures->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this ); + btnAddPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this ); + btnModifyPicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this ); + btnDeletePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this ); + btnSavePicture->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this ); + lboLogos->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this ); + btnAddLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this ); + btnModifyLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this ); + btnDeleteLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this ); + btnSaveLogo->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this ); + btnAddSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this ); + btnModifySound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this ); + btnDeleteSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this ); + btnSaveSound->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this ); + btnPlay->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this ); + btnStop->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this ); + btnAddCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this ); + btnModifyCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this ); + btnDeleteCalendarAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this ); + btnAddCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this ); + btnModifyCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this ); + btnDeleteCalendarRequestAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this ); + btnAddFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this ); + btnModifyFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this ); + btnDeleteFreeBusyAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this ); + btnAddKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this ); + btnModifyKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this ); + btnDeleteKey->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this ); + btnAddVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this ); + btnModifyVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this ); + btnDeleteVendorNamespace->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this ); + btnAddXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this ); + btnModifyXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this ); + btnDeleteXToken->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this ); + this->Connect( mnuContactSave->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) ); + this->Connect( mnuContactSaveClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) ); + this->Connect( mnuContactClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) ); + this->Connect( mnuEditCut->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) ); + this->Connect( mnuEditCopy->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) ); + this->Connect( mnuEditPaste->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) ); +} + +frmContactEditorADT::~frmContactEditorADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmContactEditorADT::CloseWindow ) ); + txtTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + txtForename->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + txtSurname->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + txtOtherNames->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + txtSuffix->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateDisplayAs ), NULL, this ); + cmbDisplayAs->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this ); + cmbDisplayAs->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorADT::UpdateName ), NULL, this ); + cmbType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorADT::UpdateMembersTab ), NULL, this ); + btnAddGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNickname ), NULL, this ); + btnModifyGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNickname ), NULL, this ); + btnDeleteGeneralNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNickname ), NULL, this ); + btnAddGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralAddress ), NULL, this ); + btnModifyGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralAddress ), NULL, this ); + btnDeleteGeneralAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralAddress ), NULL, this ); + btnAddEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralEmail ), NULL, this ); + btnModifyEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralEmail ), NULL, this ); + btnDeleteEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralEmail ), NULL, this ); + btnAddIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralIM ), NULL, this ); + btnModifyIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralIM ), NULL, this ); + btnDeleteIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralIM ), NULL, this ); + btnAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTelephone ), NULL, this ); + btnModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTelephone ), NULL, this ); + btnDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTelephone ), NULL, this ); + btnAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralLanguages ), NULL, this ); + btnModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralLanguages ), NULL, this ); + btnDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralLanguage ), NULL, this ); + btnAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTimezone ), NULL, this ); + btnModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTimezone ), NULL, this ); + btnDeleteTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTimezone ), NULL, this ); + btnAddGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralGeoposition ), NULL, this ); + btnModifyGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralGeoposition ), NULL, this ); + btnDeleteGeneralGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralGeoposition ), NULL, this ); + btnAddRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRelated ), NULL, this ); + btnModifyRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRelated ), NULL, this ); + btnDeleteRelated->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRelated ), NULL, this ); + btnAddWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralWebsite ), NULL, this ); + btnModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralWebsite ), NULL, this ); + btnDeleteWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralWebsite ), NULL, this ); + btnAddTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralTitle ), NULL, this ); + btnModifyTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralTitle ), NULL, this ); + btnDeleteTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralTitle ), NULL, this ); + btnAddRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralRole ), NULL, this ); + btnModifyRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralRole ), NULL, this ); + btnDeleteRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralRole ), NULL, this ); + btnAddOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralOrganisation ), NULL, this ); + btnModifyOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralOrganisation ), NULL, this ); + btnDeleteOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralOrganisation ), NULL, this ); + btnAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGeneralNote ), NULL, this ); + btnModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGeneralNote ), NULL, this ); + btnDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGeneralNote ), NULL, this ); + btnAddHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNickname ), NULL, this ); + btnModifyHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNickname ), NULL, this ); + btnDeleteHomeNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNickname ), NULL, this ); + btnAddHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeAddress ), NULL, this ); + btnModifyHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeAddress ), NULL, this ); + btnDeleteHomeAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeAddress ), NULL, this ); + btnAddHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeEmail ), NULL, this ); + btnModifyHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeEmail ), NULL, this ); + btnDeleteHomeEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeEmail ), NULL, this ); + btnAddHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeIM ), NULL, this ); + btnModifyHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeIM ), NULL, this ); + btnDeleteHomeIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeIM ), NULL, this ); + btnAddHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTelephone ), NULL, this ); + btnModifyHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTelephone ), NULL, this ); + btnDeleteHomeTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTelephone ), NULL, this ); + btnAddHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeLanguage ), NULL, this ); + btnModifyHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeLanguage ), NULL, this ); + btnDeleteHomeLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeLanguage ), NULL, this ); + btnAddHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTimezone ), NULL, this ); + btnModifyHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTimezone ), NULL, this ); + btnDeleteHomeTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTimezone ), NULL, this ); + btnAddHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeGeoposition ), NULL, this ); + btnModifyHomeGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeGeoposition ), NULL, this ); + btnDeleteHomePosition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeGeoposition ), NULL, this ); + btnAddHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeWebsite ), NULL, this ); + btnHomeModifyWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeWebsite ), NULL, this ); + btnDeleteHomeWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeWebsite ), NULL, this ); + btnAddHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeTitle ), NULL, this ); + btnModifyHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeTitle ), NULL, this ); + btnDeleteHomeTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeTitle ), NULL, this ); + btnAddHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeRole ), NULL, this ); + btnModifyHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeRole ), NULL, this ); + btnDeleteHomeRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeRole ), NULL, this ); + btnAddHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeOrganisation ), NULL, this ); + btnModifyHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeOrganisation ), NULL, this ); + btnDeleteHomeOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeOrganisation ), NULL, this ); + btnAddHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddHomeNote ), NULL, this ); + btnModifyHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyHomeNote ), NULL, this ); + btnDeleteHomeNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteHomeNote ), NULL, this ); + btnAddBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNickname ), NULL, this ); + btnModifyBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNickname ), NULL, this ); + btnDeleteBusinessNickname->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNickname ), NULL, this ); + btnAddBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessAddress ), NULL, this ); + btnModifyBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessAddress ), NULL, this ); + btnDeleteBusinessAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessAddress ), NULL, this ); + btnAddBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessEmail ), NULL, this ); + btnModifyBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessEmail ), NULL, this ); + btnDeleteBusinessEmailAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessEmail ), NULL, this ); + btnAddBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessIM ), NULL, this ); + btnModifyBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessIM ), NULL, this ); + btnDeleteBusinessIMAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessIM ), NULL, this ); + btnBusinessAddTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTelephone ), NULL, this ); + btnBusinessModifyTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTelephone ), NULL, this ); + btnBusinessDeleteTelephone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTelephone ), NULL, this ); + btnBusinessAddLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessLanguage ), NULL, this ); + btnBusinessModifyLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessLanguage ), NULL, this ); + btnBusinessDeleteLanguage->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessLanguage ), NULL, this ); + btnBusinessAddTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTimezone ), NULL, this ); + btnBusinessModifyTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTimezone ), NULL, this ); + btnDeleteBusinessTimezone->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTimezone ), NULL, this ); + btnAddBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessGeoposition ), NULL, this ); + btnModifyBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessGeoposition ), NULL, this ); + btnDeleteBusinessGeoposition->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessGeoposition ), NULL, this ); + btnAddBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessWebsite ), NULL, this ); + btnModifyBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessWebsite ), NULL, this ); + btnDeleteBusinessWebsite->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessWebsite ), NULL, this ); + btnAddBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessTitle ), NULL, this ); + btnModifyBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessTitle ), NULL, this ); + btnDeleteBusinessTitle->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessTitle ), NULL, this ); + btnAddBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessRole ), NULL, this ); + btnModifyBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessRole ), NULL, this ); + btnDeleteBusinessRole->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessRole ), NULL, this ); + btnAddBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessOrganisation ), NULL, this ); + btnModifyBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessOrganisation ), NULL, this ); + btnDeleteBusinessOrganisations->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessOrganisation ), NULL, this ); + btnBusinessAddNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddBusinessNote ), NULL, this ); + btnBusinessModifyNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyBusinessNote ), NULL, this ); + btnBusinessDeleteNote->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteBusinessNote ), NULL, this ); + btnAddCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCategory ), NULL, this ); + btnModifyCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCategory ), NULL, this ); + btnDeleteCategory->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCategory ), NULL, this ); + btnAddGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddGroup ), NULL, this ); + btnModifyGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyGroup ), NULL, this ); + btnDeleteGroups->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteGroup ), NULL, this ); + lboPictures->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadPicture ), NULL, this ); + btnAddPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddPicture ), NULL, this ); + btnModifyPicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyPicture ), NULL, this ); + btnDeletePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeletePicture ), NULL, this ); + btnSavePicture->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SavePicture ), NULL, this ); + lboLogos->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmContactEditorADT::LoadLogo ), NULL, this ); + btnAddLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddLogo ), NULL, this ); + btnModifyLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyLogo ), NULL, this ); + btnDeleteLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteLogo ), NULL, this ); + btnSaveLogo->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveLogo ), NULL, this ); + btnAddSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddSound ), NULL, this ); + btnModifySound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifySound ), NULL, this ); + btnDeleteSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteSound ), NULL, this ); + btnSaveSound->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::SaveSound ), NULL, this ); + btnPlay->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::PlaySound ), NULL, this ); + btnStop->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::StopSound ), NULL, this ); + btnAddCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarAddress ), NULL, this ); + btnModifyCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarAddress ), NULL, this ); + btnDeleteCalendarAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this ); + btnAddCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddCalendarRequest ), NULL, this ); + btnModifyCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyCalendarRequest ), NULL, this ); + btnDeleteCalendarRequestAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteCalendarAddress ), NULL, this ); + btnAddFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddFreeBusy ), NULL, this ); + btnModifyFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyFreeBusy ), NULL, this ); + btnDeleteFreeBusyAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteFreeBusy ), NULL, this ); + btnAddKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddKey ), NULL, this ); + btnModifyKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyKey ), NULL, this ); + btnDeleteKey->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteKey ), NULL, this ); + btnAddVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddVendorNamespace ), NULL, this ); + btnModifyVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyVendorNamespace ), NULL, this ); + btnDeleteVendorNamespace->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteVendorNamespace ), NULL, this ); + btnAddXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::AddXToken ), NULL, this ); + btnModifyXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::ModifyXToken ), NULL, this ); + btnDeleteXToken->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorADT::DeleteXToken ), NULL, this ); + this->Disconnect( CONTACT_SAVE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveContact ) ); + this->Disconnect( CONTACT_SAVECLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::SaveCloseContact ) ); + this->Disconnect( CONTACT_CLOSE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CloseContact ) ); + this->Disconnect( wxID_CUT, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CutText ) ); + this->Disconnect( wxID_COPY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::CopyText ) ); + this->Disconnect( wxID_PASTE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmContactEditorADT::PasteText ) ); + +} + +frmContactEditorAddressADT::frmContactEditorAddressADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAddress->Wrap( -1 ); + fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtAddress->SetMaxLength( 0 ); + fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 ); + + m_staticText61 = new wxStaticText( tabGeneral, wxID_ANY, wxT("Town/City:"), wxDefaultPosition, wxDefaultSize, 0 ); + m_staticText61->Wrap( -1 ); + fgSizer6->Add( m_staticText61, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtTownCity = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtTownCity->SetMaxLength( 0 ); + fgSizer6->Add( txtTownCity, 0, wxALL|wxEXPAND, 5 ); + + lblCountyState = new wxStaticText( tabGeneral, wxID_ANY, wxT("County:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblCountyState->Wrap( -1 ); + fgSizer6->Add( lblCountyState, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtCounty = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtCounty->SetMaxLength( 0 ); + fgSizer6->Add( txtCounty, 0, wxALL|wxEXPAND, 5 ); + + lblPostCode = new wxStaticText( tabGeneral, wxID_ANY, wxT("Post Code:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPostCode->Wrap( -1 ); + fgSizer6->Add( lblPostCode, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtPostCode = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtPostCode->SetMaxLength( 0 ); + fgSizer6->Add( txtPostCode, 0, wxALL, 5 ); + + lblCountry = new wxStaticText( tabGeneral, wxID_ANY, wxT("Country:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblCountry->Wrap( -1 ); + fgSizer6->Add( lblCountry, 0, wxALL, 5 ); + + txtCountry = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtCountry->SetMaxLength( 0 ); + fgSizer6->Add( txtCountry, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkAddress->AddPage( tabGeneral, wxT("General"), true ); + tabLabel = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer253; + bSizer253 = new wxBoxSizer( wxVERTICAL ); + + btnCopyMailing = new wxButton( tabLabel, wxID_ANY, wxT("Copy Address to Label"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer253->Add( btnCopyMailing, 0, wxALL, 5 ); + + txtLabel = new wxTextCtrl( tabLabel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE ); + bSizer253->Add( txtLabel, 1, wxALL|wxEXPAND, 5 ); + + + tabLabel->SetSizer( bSizer253 ); + tabLabel->Layout(); + bSizer253->Fit( tabLabel ); + nbkAddress->AddPage( tabLabel, wxT("Label"), false ); + tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer61; + fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer61->AddGrowableCol( 1 ); + fgSizer61->SetFlexibleDirection( wxVERTICAL ); + fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLanguage->Wrap( -1 ); + fgSizer61->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer61->Add( cmbLanguage, 0, wxALL, 5 ); + + lblGeography = new wxStaticText( tabOther, wxID_ANY, wxT("Geopositioning:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblGeography->Wrap( -1 ); + fgSizer61->Add( lblGeography, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtGeo = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtGeo->SetMaxLength( 0 ); + fgSizer61->Add( txtGeo, 0, wxALL|wxEXPAND, 5 ); + + lblTimezone = new wxStaticText( tabOther, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTimezone->Wrap( -1 ); + fgSizer61->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtTimezone = new wxTextCtrl( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtTimezone->SetMaxLength( 0 ); + fgSizer61->Add( txtTimezone, 0, wxALL|wxEXPAND, 5 ); + + + tabOther->SetSizer( fgSizer61 ); + tabOther->Layout(); + fgSizer61->Fit( tabOther ); + nbkAddress->AddPage( tabOther, wxT("Other"), false ); + + bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) ); + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this ); + btnCopyMailing->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this ); +} + +frmContactEditorAddressADT::~frmContactEditorAddressADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorAddressADT::InitAddressEditor ) ); + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::EnablePriority ), NULL, this ); + btnCopyMailing->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CopyAddress ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::ProcessData ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorAddressADT::CloseWindow ), NULL, this ); + +} + +frmConflictResolutionADT::frmConflictResolutionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxFlexGridSizer* fgSizer39; + fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 ); + fgSizer39->AddGrowableCol( 0 ); + fgSizer39->AddGrowableRow( 0 ); + fgSizer39->SetFlexibleDirection( wxBOTH ); + fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + wxBoxSizer* bSizer363; + bSizer363 = new wxBoxSizer( wxHORIZONTAL ); + + wxBoxSizer* bSizer364; + bSizer364 = new wxBoxSizer( wxVERTICAL ); + + 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 ); + lblText->Wrap( -1 ); + bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 ); + + m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D ); + m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this ); + + m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer365; + bSizer365 = new wxBoxSizer( wxVERTICAL ); + + htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER ); + bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 ); + + + m_panel44->SetSizer( bSizer365 ); + m_panel44->Layout(); + bSizer365->Fit( m_panel44 ); + m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer366; + bSizer366 = new wxBoxSizer( wxVERTICAL ); + + htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER ); + bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 ); + + + m_panel45->SetSizer( bSizer366 ); + m_panel45->Layout(); + bSizer366->Fit( m_panel45 ); + m_splitter3->SplitVertically( m_panel44, m_panel45, 257 ); + bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer367; + bSizer367 = new wxBoxSizer( wxHORIZONTAL ); + + + bSizer367->Add( 0, 0, 1, wxEXPAND, 5 ); + + btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer367->Add( btnKeepLocal, 0, wxALL, 5 ); + + btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer367->Add( btnKeepServer, 0, wxALL, 5 ); + + btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer367->Add( btnDecideLater, 0, wxALL, 5 ); + + + bSizer367->Add( 0, 0, 1, wxEXPAND, 5 ); + + + bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 ); + + + bSizer363->Add( bSizer364, 1, wxEXPAND, 5 ); + + + fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 ); + + + this->SetSizer( fgSizer39 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this ); + btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this ); + btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this ); +} + +frmConflictResolutionADT::~frmConflictResolutionADT() +{ + // Disconnect Events + btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this ); + btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this ); + btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this ); + +} + +frmActivityMgrADT::frmActivityMgrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( 400,300 ), wxDefaultSize ); + + mnuMenuBar = new wxMenuBar( 0 ); + mnuWindow = new wxMenu(); + wxMenuItem* mnuStopActivity; + mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL ); + mnuWindow->Append( mnuStopActivity ); + + wxMenuItem* mnuActivityStopAll; + mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL ); + mnuWindow->Append( mnuActivityStopAll ); + + wxMenuItem* mnuRetryActivity; + mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL ); + mnuWindow->Append( mnuRetryActivity ); + + mnuWindow->AppendSeparator(); + + wxMenuItem* mnuSleepMode; + mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK ); + mnuWindow->Append( mnuSleepMode ); + + mnuWindow->AppendSeparator(); + + wxMenuItem* mnuWindowClose; + mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL ); + mnuWindow->Append( mnuWindowClose ); + + mnuMenuBar->Append( mnuWindow, wxT("&Activity") ); + + this->SetMenuBar( mnuMenuBar ); + + wxFlexGridSizer* fgSizer38; + fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 ); + fgSizer38->AddGrowableCol( 0 ); + fgSizer38->AddGrowableRow( 1 ); + fgSizer38->SetFlexibleDirection( wxBOTH ); + fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer363; + bSizer363 = new wxBoxSizer( wxHORIZONTAL ); + + bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 ); + bmpActivity->SetMinSize( wxSize( 64,64 ) ); + + bSizer363->Add( bmpActivity, 0, wxALL, 5 ); + + m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer364; + bSizer364 = new wxBoxSizer( wxVERTICAL ); + + + bSizer364->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE ); + lblDetails->Wrap( -1 ); + bSizer364->Add( lblDetails, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 0 ); + + + bSizer364->Add( 0, 0, 1, wxEXPAND, 5 ); + + GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL ); + GauProgress->SetValue( 0 ); + GauProgress->SetMinSize( wxSize( -1,20 ) ); + + bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 ); + + + bSizer364->Add( 0, 0, 1, wxEXPAND, 5 ); + + + m_panel46->SetSizer( bSizer364 ); + m_panel46->Layout(); + bSizer364->Fit( m_panel46 ); + bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 ); + + + m_panel43->SetSizer( bSizer363 ); + m_panel43->Layout(); + bSizer363->Fit( m_panel43 ); + fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 ); + + m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer365; + bSizer365 = new wxBoxSizer( wxVERTICAL ); + + lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER ); + bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 ); + + + m_panel44->SetSizer( bSizer365 ); + m_panel44->Layout(); + bSizer365->Fit( m_panel44 ); + fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 ); + + + this->SetSizer( fgSizer38 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) ); + this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) ); + this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) ); + this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) ); + this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) ); + this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) ); +} + +frmActivityMgrADT::~frmActivityMgrADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) ); + this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) ); + +} + +frmContactEditorNicknameADT::frmContactEditorNicknameADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblNickname = new wxStaticText( tabGeneral, wxID_ANY, wxT("Nickname:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblNickname->Wrap( -1 ); + fgSizer6->Add( lblNickname, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtNickname = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtNickname->SetMaxLength( 0 ); + fgSizer6->Add( txtNickname, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkAddress->AddPage( tabGeneral, wxT("General"), true ); + tabOther = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer61; + fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer61->AddGrowableCol( 1 ); + fgSizer61->SetFlexibleDirection( wxBOTH ); + fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblLanguage = new wxStaticText( tabOther, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLanguage->Wrap( -1 ); + fgSizer61->Add( lblLanguage, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + cmbLanguage = new wxComboBox( tabOther, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer61->Add( cmbLanguage, 1, wxALL|wxEXPAND, 5 ); + + + tabOther->SetSizer( fgSizer61 ); + tabOther->Layout(); + fgSizer61->Fit( tabOther ); + nbkAddress->AddPage( tabOther, wxT("Other"), false ); + + bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) ); + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this ); +} + +frmContactEditorNicknameADT::~frmContactEditorNicknameADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorNicknameADT::InitAddressEditor ) ); + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::ProcessData ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNicknameADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorGroupsADT::frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkGroup = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkGroup, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->AddGrowableRow( 0 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblContacts = new wxStaticText( tabGeneral, wxID_ANY, wxT("Contacts:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblContacts->Wrap( -1 ); + fgSizer6->Add( lblContacts, 0, wxALIGN_TOP|wxALL, 5 ); + + wxArrayString chkContactsChoices; + chkContacts = new wxCheckListBox( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, chkContactsChoices, wxLB_ALWAYS_SB|wxLB_MULTIPLE ); + fgSizer6->Add( chkContacts, 1, wxALL|wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkGroup->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkGroup, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this ); +} + +frmContactEditorGroupsADT::~frmContactEditorGroupsADT() +{ + // Disconnect Events + this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmContactEditorGroupsADT::FetchContacts ) ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::ProcessData ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGroupsADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorRolesADT::frmContactEditorRolesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkRole = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkRole, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblRole = new wxStaticText( tabGeneral, wxID_ANY, wxT("Role Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblRole->Wrap( -1 ); + fgSizer6->Add( lblRole, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtRole = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtRole->SetMaxLength( 0 ); + fgSizer6->Add( txtRole, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkRole->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkRole, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this ); +} + +frmContactEditorRolesADT::~frmContactEditorRolesADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRolesADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorOrganisationsADT::frmContactEditorOrganisationsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkOrganisation = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkOrganisation, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxBOTH ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblOrganisation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Organisation:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblOrganisation->Wrap( -1 ); + fgSizer6->Add( lblOrganisation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtOrganisation = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtOrganisation->SetMaxLength( 0 ); + fgSizer6->Add( txtOrganisation, 0, wxALL|wxEXPAND, 5 ); + + lblSortAs = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sort As:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblSortAs->Wrap( -1 ); + fgSizer6->Add( lblSortAs, 0, wxALL, 5 ); + + cmbSortAs = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer6->Add( cmbSortAs, 1, wxALL, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkOrganisation->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkOrganisation, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + txtOrganisation->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this ); + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this ); +} + +frmContactEditorOrganisationsADT::~frmContactEditorOrganisationsADT() +{ + // Disconnect Events + txtOrganisation->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmContactEditorOrganisationsADT::UpdateSortAs ), NULL, this ); + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorOrganisationsADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorNotesADT::frmContactEditorNotesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkNotes = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer353; + bSizer353 = new wxBoxSizer( wxVERTICAL ); + + txtNote = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE ); + bSizer353->Add( txtNote, 1, wxALL|wxEXPAND, 5 ); + + + tabGeneral->SetSizer( bSizer353 ); + tabGeneral->Layout(); + bSizer353->Fit( tabGeneral ); + nbkNotes->AddPage( tabGeneral, wxT("General"), true ); + tabPriority = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer61; + fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer61->AddGrowableCol( 1 ); + fgSizer61->SetFlexibleDirection( wxVERTICAL ); + fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblPriority = new wxStaticText( tabPriority, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer61->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer2601; + bSizer2601 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabPriority, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer2601->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer2541; + bSizer2541 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer2561; + bSizer2561 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabPriority, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer2561->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer2541->Add( bSizer2561, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer2551; + bSizer2551 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabPriority, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer2551->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer2551->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabPriority, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer2551->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer2541->Add( bSizer2551, 1, wxEXPAND, 0 ); + + + bSizer2601->Add( bSizer2541, 1, wxEXPAND, 5 ); + + + fgSizer61->Add( bSizer2601, 1, wxEXPAND, 5 ); + + + fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabPriority->SetSizer( fgSizer61 ); + tabPriority->Layout(); + fgSizer61->Fit( tabPriority ); + nbkNotes->AddPage( tabPriority, wxT("Priority"), false ); + tabLanguage = new wxPanel( nbkNotes, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer611; + fgSizer611 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer611->AddGrowableCol( 0 ); + fgSizer611->SetFlexibleDirection( wxBOTH ); + fgSizer611->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblLanguage = new wxStaticText( tabLanguage, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLanguage->Wrap( -1 ); + fgSizer611->Add( lblLanguage, 1, wxALL, 5 ); + + cmbLanguage = new wxComboBox( tabLanguage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer611->Add( cmbLanguage, 1, wxALL, 5 ); + + + tabLanguage->SetSizer( fgSizer611 ); + tabLanguage->Layout(); + fgSizer611->Fit( tabLanguage ); + nbkNotes->AddPage( tabLanguage, wxT("Language"), false ); + + bSizer251->Add( nbkNotes, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this ); +} + +frmContactEditorNotesADT::~frmContactEditorNotesADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorNotesADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorTitlesADT::frmContactEditorTitlesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkTitles = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkTitles, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblTitle = new wxStaticText( tabGeneral, wxID_ANY, wxT("Title:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTitle->Wrap( -1 ); + fgSizer6->Add( lblTitle, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtTitle = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtTitle->SetMaxLength( 0 ); + fgSizer6->Add( txtTitle, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkTitles->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkTitles, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this ); +} + +frmContactEditorTitlesADT::~frmContactEditorTitlesADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTitlesADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorRelatedADT::frmContactEditorRelatedADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 0 ); + fgSizer6->SetFlexibleDirection( wxBOTH ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblRelation = new wxStaticText( tabGeneral, wxID_ANY, wxT("Relation Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblRelation->Wrap( -1 ); + fgSizer6->Add( lblRelation, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtRelated = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtRelated->SetMaxLength( 0 ); + fgSizer6->Add( txtRelated, 0, wxALL|wxEXPAND, 5 ); + + lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblType->Wrap( -1 ); + fgSizer6->Add( lblType, 0, wxALL, 5 ); + + cmbType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer6->Add( cmbType, 0, wxALL, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkRelated->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this ); +} + +frmContactEditorRelatedADT::~frmContactEditorRelatedADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::ProcessData ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorRelatedADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorSoundADT::frmContactEditorSoundADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxBOTH ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblSoundFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Sound File:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblSoundFile->Wrap( -1 ); + fgSizer6->Add( lblSoundFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + fipSound = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE ); + fgSizer6->Add( fipSound, 1, wxALL|wxEXPAND, 5 ); + + lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblType->Wrap( -1 ); + fgSizer6->Add( lblType, 0, wxALL, 5 ); + + wxArrayString cmbTypeChoices; + cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); + cmbType->SetSelection( 0 ); + fgSizer6->Add( cmbType, 0, wxALL, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkRelated->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this ); +} + +frmContactEditorSoundADT::~frmContactEditorSoundADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::ProcessData ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorSoundADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorPictureADT::frmContactEditorPictureADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkRelated = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkRelated, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxBOTH ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblPictureFile = new wxStaticText( tabGeneral, wxID_ANY, wxT("Picture File:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPictureFile->Wrap( -1 ); + fgSizer6->Add( lblPictureFile, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + fipPicture = new wxFilePickerCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxT("Select a sound file"), wxT("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_DEFAULT_STYLE ); + fgSizer6->Add( fipPicture, 1, wxALL|wxEXPAND, 5 ); + + lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblType->Wrap( -1 ); + fgSizer6->Add( lblType, 0, wxALL, 5 ); + + wxArrayString cmbTypeChoices; + cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); + cmbType->SetSelection( 0 ); + fgSizer6->Add( cmbType, 0, wxALL, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkRelated->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkRelated, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this ); +} + +frmContactEditorPictureADT::~frmContactEditorPictureADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::ProcessData ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorPictureADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorWebsitesADT::frmContactEditorWebsitesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblWebsite = new wxStaticText( tabGeneral, wxID_ANY, wxT("Website:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblWebsite->Wrap( -1 ); + fgSizer6->Add( lblWebsite, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtWebsite = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtWebsite->SetMaxLength( 0 ); + fgSizer6->Add( txtWebsite, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this ); +} + +frmContactEditorWebsitesADT::~frmContactEditorWebsitesADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorWebsitesADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorGeopositionADT::frmContactEditorGeopositionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblGeoposition = new wxStaticText( tabGeneral, wxID_ANY, wxT("Geoposition:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblGeoposition->Wrap( -1 ); + fgSizer6->Add( lblGeoposition, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtGeoposition = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtGeoposition->SetMaxLength( 0 ); + fgSizer6->Add( txtGeoposition, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this ); +} + +frmContactEditorGeopositionADT::~frmContactEditorGeopositionADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorGeopositionADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorCalAdrADT::frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAddress->Wrap( -1 ); + fgSizer6->Add( lblAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtAddress = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtAddress->SetMaxLength( 0 ); + fgSizer6->Add( txtAddress, 0, wxALL|wxEXPAND, 5 ); + + lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblType->Wrap( -1 ); + fgSizer6->Add( lblType, 0, wxALL, 5 ); + + wxArrayString cmbTypeChoices; + cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); + cmbType->SetSelection( 0 ); + fgSizer6->Add( cmbType, 0, wxALL, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this ); +} + +frmContactEditorCalAdrADT::~frmContactEditorCalAdrADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCalAdrADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorVendorADT::frmContactEditorVendorADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblVendorPEN = new wxStaticText( tabGeneral, wxID_ANY, wxT("Vendor PEN:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblVendorPEN->Wrap( -1 ); + fgSizer6->Add( lblVendorPEN, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtPEN = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtPEN->SetMaxLength( 0 ); + fgSizer6->Add( txtPEN, 0, wxALL, 5 ); + + lblElement = new wxStaticText( tabGeneral, wxID_ANY, wxT("Element:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblElement->Wrap( -1 ); + fgSizer6->Add( lblElement, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtElement = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtElement->SetMaxLength( 0 ); + fgSizer6->Add( txtElement, 0, wxALL|wxEXPAND, 5 ); + + lblValue = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblValue->Wrap( -1 ); + fgSizer6->Add( lblValue, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtValue->SetMaxLength( 0 ); + fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this ); +} + +frmContactEditorVendorADT::~frmContactEditorVendorADT() +{ + // Disconnect Events + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorVendorADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorXTokenADT::frmContactEditorXTokenADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTokenName->Wrap( -1 ); + fgSizer6->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtTokenName->SetMaxLength( 0 ); + fgSizer6->Add( txtTokenName, 0, wxALL, 5 ); + + lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblXT->Wrap( -1 ); + fgSizer6->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtValue->SetMaxLength( 0 ); + fgSizer6->Add( txtValue, 0, wxALL|wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this ); +} + +frmContactEditorXTokenADT::~frmContactEditorXTokenADT() +{ + // Disconnect Events + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorXTokenADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorKeyADT::frmContactEditorKeyADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblKeyType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Key Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblKeyType->Wrap( -1 ); + fgSizer6->Add( lblKeyType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + wxArrayString cmbKeyMainTypeChoices; + cmbKeyMainType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbKeyMainTypeChoices, 0 ); + cmbKeyMainType->SetSelection( 0 ); + fgSizer6->Add( cmbKeyMainType, 0, wxALL, 5 ); + + lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblType->Wrap( -1 ); + fgSizer6->Add( lblType, 0, wxALL, 5 ); + + wxArrayString cmbTypeChoices; + cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); + cmbType->SetSelection( 0 ); + fgSizer6->Add( cmbType, 0, wxALL, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkWebsite->AddPage( tabGeneral, wxT("General"), false ); + tabURL = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer61; + fgSizer61 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer61->AddGrowableCol( 1 ); + fgSizer61->SetFlexibleDirection( wxHORIZONTAL ); + fgSizer61->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblKeyFormat = new wxStaticText( tabURL, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblKeyFormat->Wrap( -1 ); + fgSizer61->Add( lblKeyFormat, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + cmbURL = new wxComboBox( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer61->Add( cmbURL, 0, wxALL, 5 ); + + lblAddress = new wxStaticText( tabURL, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAddress->Wrap( -1 ); + fgSizer61->Add( lblAddress, 0, wxALL, 5 ); + + txtAddress = new wxTextCtrl( tabURL, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtAddress->SetMaxLength( 0 ); + fgSizer61->Add( txtAddress, 1, wxALL|wxEXPAND, 5 ); + + + fgSizer61->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabURL->SetSizer( fgSizer61 ); + tabURL->Layout(); + fgSizer61->Fit( tabURL ); + nbkWebsite->AddPage( tabURL, wxT("URL"), false ); + tabKey = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer62; + fgSizer62 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer62->AddGrowableCol( 1 ); + fgSizer62->AddGrowableRow( 1 ); + fgSizer62->SetFlexibleDirection( wxBOTH ); + fgSizer62->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblKeyFormatData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Format:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblKeyFormatData->Wrap( -1 ); + fgSizer62->Add( lblKeyFormatData, 0, wxALIGN_CENTER|wxALL, 5 ); + + cmbKeyType = new wxComboBox( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer62->Add( cmbKeyType, 0, wxALL, 5 ); + + lblKeyData = new wxStaticText( tabKey, wxID_ANY, wxT("Key Data:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblKeyData->Wrap( -1 ); + fgSizer62->Add( lblKeyData, 0, wxALL, 5 ); + + txtKeyData = new wxTextCtrl( tabKey, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE ); + fgSizer62->Add( txtKeyData, 1, wxALL|wxEXPAND, 5 ); + + + tabKey->SetSizer( fgSizer62 ); + tabKey->Layout(); + fgSizer62->Fit( tabKey ); + nbkWebsite->AddPage( tabKey, wxT("Key"), true ); + + bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + cmbKeyMainType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this ); + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this ); + cmbURL->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this ); + cmbKeyType->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this ); +} + +frmContactEditorKeyADT::~frmContactEditorKeyADT() +{ + // Disconnect Events + cmbKeyMainType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessKeyType ), NULL, this ); + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::EnablePriority ), NULL, this ); + cmbURL->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertURLType ), NULL, this ); + cmbKeyType->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( frmContactEditorKeyADT::ConvertKeyType ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorKeyADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorEmailADT::frmContactEditorEmailADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkEmail = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkEmail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblEmailAddress = new wxStaticText( tabGeneral, wxID_ANY, wxT("E-mail Address:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblEmailAddress->Wrap( -1 ); + fgSizer6->Add( lblEmailAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtEmail = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtEmail->SetMaxLength( 0 ); + fgSizer6->Add( txtEmail, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkEmail->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkEmail, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this ); +} + +frmContactEditorEmailADT::~frmContactEditorEmailADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::ProcessData ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorEmailADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorIMADT::frmContactEditorIMADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblIMType = new wxStaticText( tabGeneral, wxID_ANY, wxT("IM Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblIMType->Wrap( -1 ); + fgSizer6->Add( lblIMType, 0, wxALL, 5 ); + + cmbIMType = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, wxCB_DROPDOWN ); + fgSizer6->Add( cmbIMType, 0, wxALL, 5 ); + + lblUsername = new wxStaticText( tabGeneral, wxID_ANY, wxT("Username/E-mail address:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblUsername->Wrap( 0 ); + fgSizer6->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtUsername = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtUsername->SetMaxLength( 0 ); + fgSizer6->Add( txtUsername, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkIM->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this ); +} + +frmContactEditorIMADT::~frmContactEditorIMADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorIMADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorCategoryADT::frmContactEditorCategoryADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkIM = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkIM, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblCategory = new wxStaticText( tabGeneral, wxID_ANY, wxT("Category Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblCategory->Wrap( 0 ); + fgSizer6->Add( lblCategory, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtCategory = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtCategory->SetMaxLength( 0 ); + fgSizer6->Add( txtCategory, 0, wxALL|wxEXPAND, 5 ); + + lblType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblType->Wrap( -1 ); + fgSizer6->Add( lblType, 0, wxALL, 5 ); + + wxArrayString cmbTypeChoices; + cmbType = new wxChoice( tabGeneral, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbTypeChoices, 0 ); + cmbType->SetSelection( 0 ); + fgSizer6->Add( cmbType, 0, wxALL, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkIM->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkIM, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this ); +} + +frmContactEditorCategoryADT::~frmContactEditorCategoryADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorCategoryADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorTelephoneADT::frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkAddress = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkAddress, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblTelephone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Telephone:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTelephone->Wrap( -1 ); + fgSizer6->Add( lblTelephone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtTelephone = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtTelephone->SetMaxLength( 0 ); + fgSizer6->Add( txtTelephone, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 0, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + lblTelephoneType = new wxStaticText( tabGeneral, wxID_ANY, wxT("Type:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTelephoneType->Wrap( 0 ); + fgSizer6->Add( lblTelephoneType, 0, wxALIGN_TOP|wxALL, 5 ); + + wxGridSizer* gSizer5; + gSizer5 = new wxGridSizer( 0, 2, 0, 0 ); + + chkVoice = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Voice"), wxDefaultPosition, wxDefaultSize, 0 ); + gSizer5->Add( chkVoice, 0, wxALL, 2 ); + + chkText = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 ); + gSizer5->Add( chkText, 0, wxALL, 2 ); + + chkFax = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Fax"), wxDefaultPosition, wxDefaultSize, 0 ); + gSizer5->Add( chkFax, 0, wxALL, 2 ); + + chkMobile = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Mobile"), wxDefaultPosition, wxDefaultSize, 0 ); + gSizer5->Add( chkMobile, 0, wxALL, 2 ); + + chkVideo = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Video"), wxDefaultPosition, wxDefaultSize, 0 ); + gSizer5->Add( chkVideo, 0, wxALL, 2 ); + + chkTextphone = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Textphone"), wxDefaultPosition, wxDefaultSize, 0 ); + gSizer5->Add( chkTextphone, 0, wxALL, 2 ); + + chkPager = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Pager"), wxDefaultPosition, wxDefaultSize, 0 ); + gSizer5->Add( chkPager, 0, wxALL, 2 ); + + + fgSizer6->Add( gSizer5, 1, 0, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkAddress->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkAddress, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this ); +} + +frmContactEditorTelephoneADT::~frmContactEditorTelephoneADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTelephoneADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorLanguagesADT::frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkLanguages = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkLanguages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblLanguage = new wxStaticText( tabGeneral, wxID_ANY, wxT("Language:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLanguage->Wrap( -1 ); + fgSizer6->Add( lblLanguage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtLanguage = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtLanguage->SetMaxLength( 0 ); + fgSizer6->Add( txtLanguage, 0, wxALL|wxEXPAND, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkLanguages->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkLanguages, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this ); +} + +frmContactEditorLanguagesADT::~frmContactEditorLanguagesADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorLanguagesADT::CloseWindow ), NULL, this ); + +} + +frmContactEditorTimezonesADT::frmContactEditorTimezonesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer251; + bSizer251 = new wxBoxSizer( wxVERTICAL ); + + nbkTimezone = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabGeneral = new wxPanel( nbkTimezone, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer6; + fgSizer6 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer6->AddGrowableCol( 1 ); + fgSizer6->SetFlexibleDirection( wxVERTICAL ); + fgSizer6->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblTimezone = new wxStaticText( tabGeneral, wxID_ANY, wxT("Timezone:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblTimezone->Wrap( -1 ); + fgSizer6->Add( lblTimezone, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + cmbTimezone = new wxComboBox( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); + fgSizer6->Add( cmbTimezone, 0, wxALL, 5 ); + + lblPriority = new wxStaticText( tabGeneral, wxID_ANY, wxT("Priority:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPriority->Wrap( -1 ); + fgSizer6->Add( lblPriority, 0, wxALL, 5 ); + + wxBoxSizer* bSizer260; + bSizer260 = new wxBoxSizer( wxHORIZONTAL ); + + chkUsePref = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Use"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer260->Add( chkUsePref, 0, wxALL, 5 ); + + wxBoxSizer* bSizer254; + bSizer254 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* bSizer256; + bSizer256 = new wxBoxSizer( wxHORIZONTAL ); + + sliPriority = new wxSlider( tabGeneral, wxID_ANY, 0, 1, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + bSizer256->Add( sliPriority, 1, wxALL|wxEXPAND, 5 ); + + + bSizer254->Add( bSizer256, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer255; + bSizer255 = new wxBoxSizer( wxHORIZONTAL ); + + lblHigh = new wxStaticText( tabGeneral, wxID_ANY, wxT("High"), wxDefaultPosition, wxDefaultSize, 0 ); + lblHigh->Wrap( -1 ); + bSizer255->Add( lblHigh, 0, wxALIGN_LEFT|wxALL, 5 ); + + + bSizer255->Add( 0, 0, 1, wxEXPAND, 5 ); + + lblLow = new wxStaticText( tabGeneral, wxID_ANY, wxT("Low"), wxDefaultPosition, wxDefaultSize, 0 ); + lblLow->Wrap( -1 ); + bSizer255->Add( lblLow, 0, wxALIGN_RIGHT|wxALL, 5 ); + + + bSizer254->Add( bSizer255, 1, wxEXPAND, 0 ); + + + bSizer260->Add( bSizer254, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( bSizer260, 1, wxEXPAND, 5 ); + + + fgSizer6->Add( 0, 0, 1, wxEXPAND, 5 ); + + + tabGeneral->SetSizer( fgSizer6 ); + tabGeneral->Layout(); + fgSizer6->Fit( tabGeneral ); + nbkTimezone->AddPage( tabGeneral, wxT("General"), false ); + + bSizer251->Add( nbkTimezone, 1, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer252; + bSizer252 = new wxBoxSizer( wxHORIZONTAL ); + + btnAction = new wxButton( this, wxID_ANY, wxT("Action"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnAction, 0, wxALL, 5 ); + + btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer252->Add( btnClose, 0, wxALL, 5 ); + + + bSizer251->Add( bSizer252, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer251 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + chkUsePref->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this ); + btnAction->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this ); +} + +frmContactEditorTimezonesADT::~frmContactEditorTimezonesADT() +{ + // Disconnect Events + chkUsePref->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::EnablePriority ), NULL, this ); + btnAction->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::ProcessAction ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmContactEditorTimezonesADT::CloseWindow ), NULL, this ); + +} + +XABSearchPanelADT::XABSearchPanelADT( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style ) +{ + this->SetMinSize( wxSize( -1,40 ) ); + this->SetMaxSize( wxSize( -1,40 ) ); + + wxFlexGridSizer* fgSizer40; + fgSizer40 = new wxFlexGridSizer( 0, 3, 0, 0 ); + fgSizer40->AddGrowableCol( 1 ); + fgSizer40->SetFlexibleDirection( wxBOTH ); + fgSizer40->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + wxArrayString choOptionChoices; + choOption = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, choOptionChoices, 0 ); + choOption->SetSelection( 0 ); + fgSizer40->Add( choOption, 0, wxALIGN_TOP|wxALL, 5 ); + + szrSSet = new wxBoxSizer( wxHORIZONTAL ); + + chkActive = new wxCheckBox( this, wxID_ANY, wxT("Enable"), wxDefaultPosition, wxDefaultSize, 0 ); + szrSSet->Add( chkActive, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtSearch = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtSearch->SetMaxLength( 0 ); + szrSSet->Add( txtSearch, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + + fgSizer40->Add( szrSSet, 1, wxEXPAND, 5 ); + + wxBoxSizer* bSizer376; + bSizer376 = new wxBoxSizer( wxHORIZONTAL ); + + btnAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW ); + btnAdd->SetMinSize( wxSize( 28,28 ) ); + btnAdd->SetMaxSize( wxSize( 28,28 ) ); + + bSizer376->Add( btnAdd, 0, wxALL, 5 ); + + btnDelete = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 28,28 ), wxBU_AUTODRAW ); + btnDelete->SetMinSize( wxSize( 28,28 ) ); + btnDelete->SetMaxSize( wxSize( 28,28 ) ); + + bSizer376->Add( btnDelete, 0, wxALL, 5 ); + + + fgSizer40->Add( bSizer376, 0, 0, 5 ); + + + this->SetSizer( fgSizer40 ); + this->Layout(); + + // Connect Events + choOption->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this ); + btnAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this ); + btnDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this ); +} + +XABSearchPanelADT::~XABSearchPanelADT() +{ + // Disconnect Events + choOption->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( XABSearchPanelADT::UpdateOptions ), NULL, this ); + btnAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::AddSearchWidget ), NULL, this ); + btnDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( XABSearchPanelADT::RemoveSearchWidget ), NULL, this ); + +} + +frmSearchAccountsADT::frmSearchAccountsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer376; + bSizer376 = new wxBoxSizer( wxVERTICAL ); + + wxArrayString chlAccountsChoices; + chlAccounts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, chlAccountsChoices, wxLB_ALWAYS_SB|wxLB_SORT ); + bSizer376->Add( chlAccounts, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer377; + bSizer377 = new wxBoxSizer( wxHORIZONTAL ); + + + bSizer377->Add( 0, 0, 1, wxEXPAND, 5 ); + + btnSelect = new wxButton( this, wxID_ANY, wxT("Select"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer377->Add( btnSelect, 0, wxALL, 5 ); + + btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer377->Add( btnCancel, 0, wxALL, 5 ); + + + bSizer377->Add( 0, 0, 1, wxEXPAND, 5 ); + + + bSizer376->Add( bSizer377, 0, wxEXPAND, 5 ); + + + this->SetSizer( bSizer376 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnSelect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this ); + btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this ); +} + +frmSearchAccountsADT::~frmSearchAccountsADT() +{ + // Disconnect Events + btnSelect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::UpdateSelectedAccounts ), NULL, this ); + btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSearchAccountsADT::CloseWindow ), NULL, this ); + +} + +frmEditAccountADT::frmEditAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer384; + bSizer384 = new wxBoxSizer( wxVERTICAL ); + + wxBoxSizer* szrTabs; + szrTabs = new wxBoxSizer( wxVERTICAL ); + + tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer43; + fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer43->AddGrowableCol( 1 ); + fgSizer43->SetFlexibleDirection( wxBOTH ); + fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE ); + + lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAccName->Wrap( -1 ); + fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtAccountName->SetMaxLength( 0 ); + fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 ); + + lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAccAdr->Wrap( -1 ); + fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtAddress->SetMaxLength( 0 ); + fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 ); + + m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 ); + m_staticText193->Wrap( -1 ); + fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtPort->SetMaxLength( 5 ); + fgSizer43->Add( txtPort, 0, wxALL, 5 ); + + lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPort->Wrap( -1 ); + fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtUsername->SetMaxLength( 0 ); + fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 ); + + lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPassword->Wrap( -1 ); + fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtPassword->SetMaxLength( 0 ); + fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 ); + + lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblPrefix->Wrap( -1 ); + fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + wxBoxSizer* bSizer391; + bSizer391 = new wxBoxSizer( wxHORIZONTAL ); + + txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtPrefix->SetMaxLength( 0 ); + bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 ); + + btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT ); + bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 ); + + + fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 ); + + txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 ); + txtSSL->Wrap( -1 ); + fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer43->Add( chkSSL, 0, wxALL, 5 ); + + + tabProperties->SetSizer( fgSizer43 ); + tabProperties->Layout(); + fgSizer43->Fit( tabProperties ); + tabAccount->AddPage( tabProperties, wxT("General"), true ); + tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer431; + fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer431->AddGrowableCol( 1 ); + fgSizer431->SetFlexibleDirection( wxBOTH ); + fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE ); + + lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblRefresh->Wrap( -1 ); + fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + txtRefresh->SetMaxLength( 5 ); + fgSizer431->Add( txtRefresh, 1, wxALL, 5 ); + + + tabRefresh->SetSizer( fgSizer431 ); + tabRefresh->Layout(); + fgSizer431->Fit( tabRefresh ); + tabAccount->AddPage( tabRefresh, wxT("Refresh"), false ); + + szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 ); + + + bSizer384->Add( szrTabs, 1, wxEXPAND, 0 ); + + wxBoxSizer* szrButtons; + szrButtons = new wxBoxSizer( wxHORIZONTAL ); + + + szrButtons->Add( 1, 0, 1, wxEXPAND, 0 ); + + btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 ); + btnSave->SetDefault(); + szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 ); + + + szrButtons->Add( 5, 0, 0, 0, 0 ); + + btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); + szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 ); + + + szrButtons->Add( 5, 0, 0, wxEXPAND, 0 ); + + + bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 ); + + + this->SetSizer( bSizer384 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this ); + btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this ); + btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this ); +} + +frmEditAccountADT::~frmEditAccountADT() +{ + // Disconnect Events + btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this ); + btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this ); + btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this ); + +} + +frmSSLCertificateADT::frmSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer384; + bSizer384 = new wxBoxSizer( wxVERTICAL ); + + m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); + tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer386; + bSizer386 = new wxBoxSizer( wxVERTICAL ); + + pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) ); + + wxBoxSizer* bSizer389; + bSizer389 = new wxBoxSizer( wxVERTICAL ); + + lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 ); + lblCertName->Wrap( -1 ); + lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) ); + + bSizer389->Add( lblCertName, 0, wxALL, 5 ); + + lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 ); + lblValidityStatus->Wrap( -1 ); + bSizer389->Add( lblValidityStatus, 0, wxALL, 5 ); + + + pnlTop->SetSizer( bSizer389 ); + pnlTop->Layout(); + bSizer389->Fit( pnlTop ); + bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 ); + + wxBoxSizer* bSizer392; + bSizer392 = new wxBoxSizer( wxVERTICAL ); + + m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxFlexGridSizer* fgSizer44; + fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 ); + fgSizer44->AddGrowableCol( 1 ); + fgSizer44->SetFlexibleDirection( wxHORIZONTAL ); + fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); + + lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblIssuedTo->Wrap( -1 ); + fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 ); + + lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 ); + lblIssuedToData->Wrap( -1 ); + fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 ); + + lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblValidFrom->Wrap( -1 ); + fgSizer44->Add( lblValidFrom, 0, wxALL, 5 ); + + lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 ); + lblValidFromData->Wrap( -1 ); + fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 ); + + lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblValidUntil->Wrap( -1 ); + fgSizer44->Add( lblValidUntil, 0, wxALL, 5 ); + + lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 ); + lblValidUntilData->Wrap( -1 ); + fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 ); + + + m_panel54->SetSizer( fgSizer44 ); + m_panel54->Layout(); + fgSizer44->Fit( m_panel54 ); + bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 ); + + + bSizer386->Add( bSizer392, 1, wxEXPAND, 5 ); + + + tabSummary->SetSizer( bSizer386 ); + tabSummary->Layout(); + bSizer386->Fit( tabSummary ); + m_notebook28->AddPage( tabSummary, wxT("Summary"), true ); + tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer3891; + bSizer3891 = new wxBoxSizer( wxVERTICAL ); + + lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER ); + bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 ); + + txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY ); + txtValueData->SetMaxLength( 0 ); + txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) ); + + bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 ); + + + tabDetail->SetSizer( bSizer3891 ); + tabDetail->Layout(); + bSizer3891->Fit( tabDetail ); + m_notebook28->AddPage( tabDetail, wxT("Detail"), false ); + tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer390; + bSizer390 = new wxBoxSizer( wxVERTICAL ); + + treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER ); + bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 ); + + m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer393; + bSizer393 = new wxBoxSizer( wxVERTICAL ); + + btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 ); + + + m_panel57->SetSizer( bSizer393 ); + m_panel57->Layout(); + bSizer393->Fit( m_panel57 ); + bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 ); + + + tabHierarchy->SetSizer( bSizer390 ); + tabHierarchy->Layout(); + bSizer390->Fit( tabHierarchy ); + m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false ); + + bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 ); + + pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); + wxBoxSizer* bSizer385; + bSizer385 = new wxBoxSizer( wxVERTICAL ); + + btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + btnClose->SetDefault(); + bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 ); + + + pnlButtons->SetSizer( bSizer385 ); + pnlButtons->Layout(); + bSizer385->Fit( pnlButtons ); + bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 ); + + + this->SetSizer( bSizer384 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this ); + treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this ); + btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this ); + btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this ); +} + +frmSSLCertificateADT::~frmSSLCertificateADT() +{ + // Disconnect Events + lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this ); + treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this ); + btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this ); + btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this ); + +} + +frmInvalidSSLCertificateADT::frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer387; + bSizer387 = new wxBoxSizer( wxVERTICAL ); + + lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 ); + lblSSLText->Wrap( -1 ); + bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer388; + bSizer388 = new wxBoxSizer( wxHORIZONTAL ); + + btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer388->Add( btnAccept, 0, wxALL, 5 ); + + btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 ); + btnReject->SetDefault(); + bSizer388->Add( btnReject, 0, wxALL, 5 ); + + btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer388->Add( btnViewCert, 0, wxALL, 5 ); + + + bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 ); + + + this->SetSizer( bSizer387 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this ); + btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this ); + btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this ); +} + +frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT() +{ + // Disconnect Events + btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this ); + btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this ); + btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this ); + +} + +frmImportContactsADT::frmImportContactsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxSize( 325,400 ), wxSize( 325,400 ) ); + + wxBoxSizer* bSizer393; + bSizer393 = new wxBoxSizer( wxVERTICAL ); + + 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 ); + lblImportText->Wrap( 300 ); + bSizer393->Add( lblImportText, 0, wxALL|wxEXPAND, 5 ); + + wxArrayString lstContactsChoices; + lstContacts = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, lstContactsChoices, wxLB_ALWAYS_SB|wxLB_SORT ); + bSizer393->Add( lstContacts, 1, wxALL|wxEXPAND, 5 ); + + szrAccount = new wxBoxSizer( wxHORIZONTAL ); + + lblAccountText = new wxStaticText( this, wxID_ANY, wxT("Account:"), wxDefaultPosition, wxDefaultSize, 0 ); + lblAccountText->Wrap( -1 ); + szrAccount->Add( lblAccountText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); + + + bSizer393->Add( szrAccount, 0, wxEXPAND, 5 ); + + wxBoxSizer* bSizer394; + bSizer394 = new wxBoxSizer( wxHORIZONTAL ); + + btnImport = new wxButton( this, wxID_ANY, wxT("Import"), wxDefaultPosition, wxDefaultSize, 0 ); + btnImport->SetDefault(); + bSizer394->Add( btnImport, 0, wxALL, 5 ); + + btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer394->Add( btnCancel, 0, wxALL, 5 ); + + + bSizer393->Add( bSizer394, 0, wxALIGN_RIGHT, 5 ); + + + this->SetSizer( bSizer393 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnImport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this ); + btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this ); +} + +frmImportContactsADT::~frmImportContactsADT() +{ + // Disconnect Events + btnImport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::ImportContacts ), NULL, this ); + btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportContactsADT::CloseWindow ), NULL, this ); + +} + +frmImportResultsADT::frmImportResultsADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +{ + this->SetSizeHints( wxDefaultSize, wxDefaultSize ); + + wxBoxSizer* bSizer396; + bSizer396 = new wxBoxSizer( wxVERTICAL ); + + lblText = new wxStaticText( this, wxID_ANY, wxT("x contacts imported. x contacts had errors and could not be imported."), wxDefaultPosition, wxDefaultSize, 0 ); + lblText->Wrap( -1 ); + bSizer396->Add( lblText, 0, wxALL, 5 ); + + txtResults = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY ); + txtResults->SetMaxLength( 0 ); + bSizer396->Add( txtResults, 1, wxALL|wxEXPAND, 5 ); + + wxBoxSizer* bSizer397; + bSizer397 = new wxBoxSizer( wxHORIZONTAL ); + + btnCopyClipboard = new wxButton( this, wxID_ANY, wxT("Copy to Clipboard"), wxDefaultPosition, wxDefaultSize, 0 ); + btnCopyClipboard->Hide(); + + bSizer397->Add( btnCopyClipboard, 0, 0, 5 ); + + btnFinish = new wxButton( this, wxID_ANY, wxT("Finish"), wxDefaultPosition, wxDefaultSize, 0 ); + bSizer397->Add( btnFinish, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 ); + + + bSizer396->Add( bSizer397, 0, wxALIGN_RIGHT|wxRIGHT, 5 ); + + + this->SetSizer( bSizer396 ); + this->Layout(); + + this->Centre( wxBOTH ); + + // Connect Events + btnCopyClipboard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this ); + btnFinish->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this ); +} + +frmImportResultsADT::~frmImportResultsADT() +{ + // Disconnect Events + btnCopyClipboard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CopyClipboard ), NULL, this ); + btnFinish->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmImportResultsADT::CloseWindow ), NULL, this ); + +} diff --git a/source/AppXestiaAddrBk.h b/source/AppXestiaAddrBk.h index aeecee4..b26a8b3 100644 --- a/source/AppXestiaAddrBk.h +++ b/source/AppXestiaAddrBk.h @@ -1,1946 +1,1946 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jun 17 2015) -// http://www.wxformbuilder.org/ -// -// PLEASE DO "NOT" EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#ifndef __APPXESTIAADDRBK_H__ -#define __APPXESTIAADDRBK_H__ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - -#define ID_MANAGE_NEWAB 1000 -#define ID_IMPORT 1001 -#define ID_EXPORT 1002 -#define ID_CONTACT_EDIT 1003 -#define ID_CONTACT_DELETE 1004 -#define ID_VIEW_FNLN 1005 -#define ID_VIEW_LNFN 1006 -#define ID_VIEW_NICK 1007 -#define ID_VIEW_ASC 1008 -#define ID_VIEW_DESC 1009 -#define ID_VIEW_STATUSBAR 1010 -#define ID_MANAGE_CUT 1011 -#define ID_MANAGE_COPY 1012 -#define ID_MANAGE_PASTE 1013 -#define ID_HELP_SHOW 1014 -#define ID_MANAGE_UPDATE 1015 -#define ID_CONTACT_CLOSE 1016 -#define CONTACT_SAVE 1017 -#define CONTACT_SAVECLOSE 1018 -#define CONTACT_CLOSE 1019 - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmMainADT -/////////////////////////////////////////////////////////////////////////////// -class frmMainADT : public wxFrame -{ - private: - - protected: - wxMenuBar* mnuMain; - wxMenu* mnuManage; - wxMenuItem* mnuPrefSep; - wxMenuItem* mnuExitSep; - wxMenu* mnuContact; - wxMenu* mnuView; - wxMenu* mnuShowContactsAs; - wxMenu* mnuViewSortBy; - wxMenu* mnuViewShow; - wxMenu* mnuEdit; - wxMenu* mnuWindow; - wxMenu* mnuHelp; - wxMenuItem* mnuHelpAboutSep; - wxBoxSizer* szrMain; - wxStaticBitmap* bmpIcon; - wxComboCtrl* AccCtrl; - wxSplitterWindow* m_splitter13; - wxPanel* m_panel19; - wxBoxSizer* szrContactList; - wxListCtrl* lstContacts; - wxPanel* m_panel20; - wxHtmlWindow* htmContactData; - wxStatusBar* stbBottom; - - // Virtual event handlers, overide them in your derived class - virtual void QuitApp( wxCloseEvent& event ) { event.Skip(); } - virtual void OpenNewABDialog( wxCommandEvent& event ) { event.Skip(); } - virtual void RefreshAddressBook( wxCommandEvent& event ) { event.Skip(); } - virtual void OpenImportDialog( wxCommandEvent& event ) { event.Skip(); } - virtual void OpenExportDialog( wxCommandEvent& event ) { event.Skip(); } - virtual void OpenPreferences( wxCommandEvent& event ) { event.Skip(); } - virtual void QuitApp( wxCommandEvent& event ) { event.Skip(); } - virtual void ShowContactEditorNew( wxCommandEvent& event ) { event.Skip(); } - virtual void ShowContactEditorEdit( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteContact( wxCommandEvent& event ) { event.Skip(); } - virtual void OpenFindContactsWindow( wxCommandEvent& event ) { event.Skip(); } - virtual void SortFNLN( wxCommandEvent& event ) { event.Skip(); } - virtual void SortLNFN( wxCommandEvent& event ) { event.Skip(); } - virtual void SortNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void SortDisplayAs( wxCommandEvent& event ) { event.Skip(); } - virtual void SortAscending( wxCommandEvent& event ) { event.Skip(); } - virtual void SortDescending( wxCommandEvent& event ) { event.Skip(); } - virtual void ToggleStatusBar( wxCommandEvent& event ) { event.Skip(); } - virtual void ShowActivityWindow( wxCommandEvent& event ) { event.Skip(); } - virtual void CutAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CopyAction( wxCommandEvent& event ) { event.Skip(); } - virtual void PasteAction( wxCommandEvent& event ) { event.Skip(); } - virtual void ShowHelp( wxCommandEvent& event ) { event.Skip(); } - virtual void CheckUpdates( wxCommandEvent& event ) { event.Skip(); } - virtual void ShowAboutWindow( wxCommandEvent& event ) { event.Skip(); } - virtual void OpenContactInfoList( wxListEvent& event ) { event.Skip(); } - virtual void ShowContactInfo( wxListEvent& event ) { event.Skip(); } - virtual void ShowContactMenu( wxMouseEvent& event ) { event.Skip(); } - virtual void ShowContactSubmenu( wxMouseEvent& event ) { event.Skip(); } - virtual void UpdateSBIconPlacement( wxSizeEvent& event ) { event.Skip(); } - - - public: - - frmMainADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Xestia Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 745,476 ), long style = wxDEFAULT_FRAME_STYLE ); - - ~frmMainADT(); - - void m_splitter13OnIdle( wxIdleEvent& ) - { - m_splitter13->SetSashPosition( 201 ); - m_splitter13->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmMainADT::m_splitter13OnIdle ), NULL, this ); - } - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmUpdateADT -/////////////////////////////////////////////////////////////////////////////// -class frmUpdateADT : public wxDialog -{ - private: - - protected: - wxPanel* pnlUpdateData; - wxStaticText* lblRunningText; - wxStaticText* lblRunningVer; - wxStaticText* lblAvailableText; - wxStaticText* lblAvailableVer; - wxStaticText* lblBuildTypeText; - wxStaticText* lblBuildType; - wxStaticText* lblUpdateMessage; - wxStaticLine* statLine; - wxButton* btnVisitGelforn; - wxButton* btnVisitPREMIUM; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void VisitGelforn( wxCommandEvent& event ) { event.Skip(); } - virtual void VisitPREMIUM( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmUpdateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Check For Updates"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 433,273 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmUpdateADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmSearchADT -/////////////////////////////////////////////////////////////////////////////// -class frmSearchADT : public wxFrame -{ - private: - - protected: - wxStatusBar* stbBottom; - wxSplitterWindow* m_splitter4; - wxPanel* m_panel60; - wxNotebook* nbkSearch; - wxScrolledWindow* tabSearch; - wxFlexGridSizer* szrSearch; - wxScrolledWindow* tabAdvanced; - wxButton* btnSelectAccounts; - wxButton* btnSearch; - wxButton* btnReset; - wxPanel* m_panel61; - wxListCtrl* lstResults; - wxMenuBar* m_menubar5; - wxMenu* mnuContact; - wxMenuItem* mnuContactEdit; - wxMenuItem* mnuContactReveal; - - // Virtual event handlers, overide them in your derived class - virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } - virtual void SelectAccounts( wxCommandEvent& event ) { event.Skip(); } - virtual void SearchContacts( wxCommandEvent& event ) { event.Skip(); } - virtual void ResetContacts( wxCommandEvent& event ) { event.Skip(); } - virtual void ShowContactMenu( wxMouseEvent& event ) { event.Skip(); } - virtual void OpenContact( wxCommandEvent& event ) { event.Skip(); } - virtual void EditContact( wxCommandEvent& event ) { event.Skip(); } - virtual void RevealContact( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmSearchADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Search Contacts"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 517,450 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); - - ~frmSearchADT(); - - void m_splitter4OnIdle( wxIdleEvent& ) - { - m_splitter4->SetSashPosition( 178 ); - m_splitter4->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this ); - } - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmPreferencesADT -/////////////////////////////////////////////////////////////////////////////// -class frmPreferencesADT : public wxDialog -{ - private: - - protected: - wxNotebook* NbtPreferences; - wxPanel* tabGeneral; - wxCheckBox* chkSaveWindowPosition; - wxCheckBox* chkHideLocal; - wxPanel* tabTheme; - wxListCtrl* lstThemes; - wxButton* btnThemeAdd; - wxButton* btnThemeModify; - wxButton* btnThemeDelete; - wxPanel* tabAccounts; - wxListCtrl* lstAccounts; - wxButton* btnAccountAdd; - wxButton* btnAccountModify; - wxButton* btnAccountDelete; - wxButton* btnSave; - wxButton* btnCancel; - - // Virtual event handlers, overide them in your derived class - virtual void LoadPreferences( wxInitDialogEvent& event ) { event.Skip(); } - virtual void DisableABButtons( wxListEvent& event ) { event.Skip(); } - virtual void EnableABButtons( wxListEvent& event ) { event.Skip(); } - virtual void AddABAccount( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyABAccount( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteABAccount( wxCommandEvent& event ) { event.Skip(); } - virtual void SavePreferences( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmPreferencesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Preferences"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 450,400 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmPreferencesADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmAboutADT -/////////////////////////////////////////////////////////////////////////////// -class frmAboutADT : public wxDialog -{ - private: - - protected: - wxStaticBitmap* bmpLogo; - wxStaticText* lblVersion; - wxStaticText* lblCompileTime; - wxStaticText* lblCopyright; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void CloseAboutWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmAboutADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About Xestia Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,400 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmAboutADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactADT : public wxFrame -{ - private: - - protected: - wxHtmlWindow* htmContactData; - wxMenuBar* m_menubar2; - wxMenu* contact; - - // Virtual event handlers, overide them in your derived class - virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 320,240 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); - - ~frmContactADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmNewAccountADT -/////////////////////////////////////////////////////////////////////////////// -class frmNewAccountADT : public wxDialog -{ - private: - - protected: - wxBoxSizer* szrNewAccount; - wxPanel* tabType; - wxStaticText* lblEnterText; - wxStaticText* lblType; - wxChoice* cmbServerType; - wxStaticText* lblServerAddress; - wxTextCtrl* txtServerAddress; - wxStaticText* lblServerPort; - wxTextCtrl* txtServerPort; - wxStaticText* lblUsername; - wxTextCtrl* txtUsername; - wxStaticText* lblPassword; - wxTextCtrl* txtPassword; - wxStaticText* lblSSL; - wxCheckBox* chkUseSSL; - wxPanel* tabConn; - wxStaticText* lblConnectionResult; - wxStaticText* lblServerConnected; - wxStaticText* lblServerConnResult; - wxStaticText* lblValidResponse; - wxStaticText* lblServerResponse; - wxStaticText* lblUseSSL; - wxStaticText* lblServerSSLResult; - wxStaticText* lblServerSSLCert; - wxStaticText* lblServerSSLValid; - wxStaticText* lblServerUsernamePassword; - wxStaticText* lblAbleToLoginResult; - wxStaticText* lblIsCalDAV; - wxStaticText* lblCardDAVSupportResult; - wxStaticLine* m_staticline3; - wxStaticText* lblConnectionResultText; - wxPanel* tabFinish; - wxStaticText* lblFinishText; - wxStaticText* lblAccountName; - wxTextCtrl* txtAccountName; - wxButton* btnPrevious; - wxButton* btnNext; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void UpdateRequirements( wxCommandEvent& event ) { event.Skip(); } - virtual void CheckAccountName( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessPrevious( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessNext( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmNewAccountADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("New Account"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 425,330 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmNewAccountADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorADT : public wxFrame -{ - private: - - protected: - wxNotebook* nbkContact; - wxScrolledWindow* tabGeneral; - wxStaticText* lblTitle; - wxTextCtrl* txtTitle; - wxStaticText* lblForename; - wxTextCtrl* txtForename; - wxStaticText* lblSurname; - wxTextCtrl* txtSurname; - wxStaticText* lblOtherNames; - wxTextCtrl* txtOtherNames; - wxStaticText* lblSuffix; - wxTextCtrl* txtSuffix; - wxStaticText* lblDisplayAs; - wxComboBox* cmbDisplayAs; - wxStaticText* lblBirthday; - wxDatePickerCtrl* dapBirthday; - wxTextCtrl* txtBirthday; - wxStaticText* lblAnniversary; - wxDatePickerCtrl* dapAnniversary; - wxTextCtrl* txtAnniversary; - wxStaticText* lblGender; - wxChoice* cmbGender; - wxTextCtrl* txtGenderDescription; - wxStaticText* lblType; - wxChoice* cmbType; - wxStaticText* lblNicknames; - wxListCtrl* lboNicknames; - wxButton* btnAddGeneralNickname; - wxButton* btnModifyGeneralNickname; - wxButton* btnDeleteGeneralNickname; - wxStaticText* lblAddress; - wxListCtrl* lboAddresses; - wxButton* btnAddGeneralAddress; - wxButton* btnModifyGeneralAddress; - wxButton* btnDeleteGeneralAddress; - wxStaticText* lblEmail; - wxListCtrl* lboEmails; - wxButton* btnAddEmailAddress; - wxButton* btnModifyEmailAddress; - wxButton* btnDeleteEmailAddress; - wxStaticText* lblIM; - wxListCtrl* lboIM; - wxButton* btnAddIMAddress; - wxButton* btnModifyIMAddress; - wxButton* btnDeleteIMAddress; - wxStaticText* lblTelephone; - wxListCtrl* lboTelephone; - wxButton* btnAddTelephone; - wxButton* btnModifyTelephone; - wxButton* btnDeleteTelephone; - wxStaticText* lblLanguages; - wxListCtrl* lboLanguages; - wxButton* btnAddLanguage; - wxButton* btnModifyLanguage; - wxButton* btnDeleteLanguage; - wxStaticText* lblTimezone; - wxListCtrl* lboTimezones; - wxButton* btnAddTimezone; - wxButton* btnModifyTimezone; - wxButton* btnDeleteTimezone; - wxStaticText* lblGeopositioning; - wxListCtrl* lboGeoposition; - wxButton* btnAddGeneralGeoposition; - wxButton* btnModifyGeneralGeoposition; - wxButton* btnDeleteGeneralGeoposition; - wxStaticText* lblRelated; - wxListCtrl* lboRelated; - wxButton* btnAddRelated; - wxButton* btnModifyRelated; - wxButton* btnDeleteRelated; - wxStaticText* lblWebsites; - wxListCtrl* lboWebsites; - wxButton* btnAddWebsite; - wxButton* btnModifyWebsite; - wxButton* btnDeleteWebsite; - wxStaticText* lblTitles; - wxListCtrl* lboTitles; - wxButton* btnAddTitle; - wxButton* btnModifyTitle; - wxButton* btnDeleteTitle; - wxStaticText* lblRoles; - wxListCtrl* lboRoles; - wxButton* btnAddRole; - wxButton* btnModifyRole; - wxButton* btnDeleteRole; - wxStaticText* lblOrganisations; - wxListCtrl* lboOrganisations; - wxButton* btnAddOrganisations; - wxButton* btnModifyOrganisations; - wxButton* btnDeleteOrganisations; - wxStaticText* lblNotes; - wxListCtrl* lboNotes; - wxButton* btnAddNote; - wxButton* btnModifyNote; - wxButton* btnDeleteNote; - wxScrolledWindow* tabHome; - wxStaticText* lblHomeNickname; - wxListCtrl* lboHomeNicknames; - wxButton* btnAddHomeNickname; - wxButton* btnModifyHomeNickname; - wxButton* btnDeleteHomeNickname; - wxStaticText* lblHomeAddresses; - wxListCtrl* lboHomeAddresses; - wxButton* btnAddHomeAddress; - wxButton* btnModifyHomeAddress; - wxButton* btnDeleteHomeAddress; - wxStaticText* lblHomeEmail; - wxListCtrl* lboHomeEmails; - wxButton* btnAddHomeEmailAddress; - wxButton* btnModifyHomeEmailAddress; - wxButton* btnDeleteHomeEmailAddress; - wxStaticText* lblHomeIM; - wxListCtrl* lboHomeIM; - wxButton* btnAddHomeIMAddress; - wxButton* btnModifyHomeIMAddress; - wxButton* btnDeleteHomeIMAddress; - wxStaticText* lblHomeTelephone; - wxListCtrl* lboHomeTelephone; - wxButton* btnAddHomeTelephone; - wxButton* btnModifyHomeTelephone; - wxButton* btnDeleteHomeTelephone; - wxStaticText* lblHomeLanguages; - wxListCtrl* lboHomeLanguages; - wxButton* btnAddHomeLanguage; - wxButton* btnModifyHomeLanguage; - wxButton* btnDeleteHomeLanguage; - wxStaticText* lblHomeTimezone; - wxListCtrl* lboHomeTimezones; - wxButton* btnAddHomeTimezone; - wxButton* btnModifyHomeTimezone; - wxButton* btnDeleteHomeTimezone; - wxStaticText* lblHomeGeopositioning; - wxListCtrl* lboHomeGeoposition; - wxButton* btnAddHomeGeoposition; - wxButton* btnModifyHomeGeoposition; - wxButton* btnDeleteHomePosition; - wxStaticText* lblHomeWebsites; - wxListCtrl* lboHomeWebsites; - wxButton* btnAddHomeWebsite; - wxButton* btnHomeModifyWebsite; - wxButton* btnDeleteHomeWebsite; - wxStaticText* lblHomeTitles; - wxListCtrl* lboHomeTitles; - wxButton* btnAddHomeTitle; - wxButton* btnModifyHomeTitle; - wxButton* btnDeleteHomeTitle; - wxStaticText* lblHomeRoles; - wxListCtrl* lboHomeRoles; - wxButton* btnAddHomeRole; - wxButton* btnModifyHomeRole; - wxButton* btnDeleteHomeRole; - wxStaticText* lblHomeOrganisations; - wxListCtrl* lboHomeOrganisations; - wxButton* btnAddHomeOrganisations; - wxButton* btnModifyHomeOrganisations; - wxButton* btnDeleteHomeOrganisations; - wxStaticText* lblHomeNotes; - wxListCtrl* lboHomeNotes; - wxButton* btnAddHomeNote; - wxButton* btnModifyHomeNote; - wxButton* btnDeleteHomeNote; - wxScrolledWindow* tabBusiness; - wxStaticText* lblBusinessNickname; - wxListCtrl* lboBusinessNicknames; - wxButton* btnAddBusinessNickname; - wxButton* btnModifyBusinessNickname; - wxButton* btnDeleteBusinessNickname; - wxStaticText* lblBusinessAddress; - wxListCtrl* lboBusinessAddresses; - wxButton* btnAddBusinessAddress; - wxButton* btnModifyBusinessAddress; - wxButton* btnDeleteBusinessAddress; - wxStaticText* lblBusinessEmail; - wxListCtrl* lboBusinessEmail; - wxButton* btnAddBusinessEmailAddress; - wxButton* btnModifyBusinessEmailAddress; - wxButton* btnDeleteBusinessEmailAddress; - wxStaticText* lblBusinessIM; - wxListCtrl* lboBusinessIM; - wxButton* btnAddBusinessIMAddress; - wxButton* btnModifyBusinessIMAddress; - wxButton* btnDeleteBusinessIMAddress; - wxStaticText* lblBusinessTelephone; - wxListCtrl* lboBusinessTelephone; - wxButton* btnBusinessAddTelephone; - wxButton* btnBusinessModifyTelephone; - wxButton* btnBusinessDeleteTelephone; - wxStaticText* lblBusinessLanguage; - wxListCtrl* lboBusinessLanguages; - wxButton* btnBusinessAddLanguage; - wxButton* btnBusinessModifyLanguage; - wxButton* btnBusinessDeleteLanguage; - wxStaticText* lblBusinessTimezones; - wxListCtrl* lboBusinessTimezones; - wxButton* btnBusinessAddTimezone; - wxButton* btnBusinessModifyTimezone; - wxButton* btnDeleteBusinessTimezone; - wxStaticText* lblBusinessGeopositioning; - wxListCtrl* lboBusinessGeoposition; - wxButton* btnAddBusinessGeoposition; - wxButton* btnModifyBusinessGeoposition; - wxButton* btnDeleteBusinessGeoposition; - wxStaticText* lblBusinessWebsites; - wxListCtrl* lboBusinessWebsites; - wxButton* btnAddBusinessWebsite; - wxButton* btnModifyBusinessWebsite; - wxButton* btnDeleteBusinessWebsite; - wxStaticText* lblBusinessTitles; - wxListCtrl* lboBusinessTitles; - wxButton* btnAddBusinessTitle; - wxButton* btnModifyBusinessTitle; - wxButton* btnDeleteBusinessTitle; - wxStaticText* lblBusinessRoles; - wxListCtrl* lboBusinessRoles; - wxButton* btnAddBusinessRole; - wxButton* btnModifyBusinessRole; - wxButton* btnDeleteBusinessRole; - wxStaticText* lblBusinessOrganisations; - wxListCtrl* lboBusinessOrganisations; - wxButton* btnAddBusinessOrganisations; - wxButton* btnModifyBusinessOrganisations; - wxButton* btnDeleteBusinessOrganisations; - wxStaticText* lblBusinessNotes; - wxListCtrl* lboBusinessNotes; - wxButton* btnBusinessAddNote; - wxButton* btnBusinessModifyNote; - wxButton* btnBusinessDeleteNote; - wxScrolledWindow* tabCategories; - wxListCtrl* lboCategories; - wxButton* btnAddCategory; - wxButton* btnModifyCategory; - wxButton* btnDeleteCategory; - wxScrolledWindow* tabMembers; - wxListCtrl* lboGroups; - wxButton* btnAddGroups; - wxButton* btnModifyGroups; - wxButton* btnDeleteGroups; - wxScrolledWindow* tabPictures; - wxStaticBitmap* imgPicture; - wxListCtrl* lboPictures; - wxButton* btnAddPicture; - wxButton* btnModifyPicture; - wxButton* btnDeletePicture; - wxButton* btnSavePicture; - wxScrolledWindow* tabLogo; - wxStaticBitmap* imgLogo; - wxListCtrl* lboLogos; - wxButton* btnAddLogo; - wxButton* btnModifyLogo; - wxButton* btnDeleteLogo; - wxButton* btnSaveLogo; - wxScrolledWindow* tabSounds; - wxListCtrl* lboSounds; - wxButton* btnAddSound; - wxButton* btnModifySound; - wxButton* btnDeleteSound; - wxButton* btnSaveSound; - wxStaticLine* m_staticline1; - wxBitmapButton* btnPlay; - wxBitmapButton* btnStop; - wxScrolledWindow* tabCalendaring; - wxStaticText* lblCalendarAddresses; - wxListCtrl* lboCalendarAddresses; - wxButton* btnAddCalendarAddress; - wxButton* btnModifyCalendarAddress; - wxButton* btnDeleteCalendarAddress; - wxStaticText* lblCalendarRequestAddresses; - wxListCtrl* lboCalendarRequestAddress; - wxButton* btnAddCalendarRequestAddress; - wxButton* btnModifyCalendarRequestAddress; - wxButton* btnDeleteCalendarRequestAddress; - wxStaticText* lblFreeBusyAddresses; - wxListCtrl* lboFreeBusyAddresses; - wxButton* btnAddFreeBusyAddress; - wxButton* btnModifyFreeBusyAddress; - wxButton* btnDeleteFreeBusyAddress; - wxScrolledWindow* tabSecurity; - wxListCtrl* lboKeys; - wxButton* btnAddKey; - wxButton* btnModifyKey; - wxButton* btnDeleteKey; - wxScrolledWindow* tabOther; - wxStaticText* lblVendorNamespace; - wxListCtrl* lboVendorNamespace; - wxButton* btnAddVendorNamespace; - wxButton* btnModifyVendorNamespace; - wxButton* btnDeleteVendorNamespace; - wxStaticText* lblXTokens; - wxListCtrl* lboXToken; - wxButton* btnAddXToken; - wxButton* btnModifyXToken; - wxButton* btnDeleteXToken; - wxMenuBar* m_menubar3; - wxMenu* mnuContact; - wxMenu* mnuEdit; - - // Virtual event handlers, overide them in your derived class - virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } - virtual void UpdateDisplayAs( wxCommandEvent& event ) { event.Skip(); } - virtual void UpdateName( wxCommandEvent& event ) { event.Skip(); } - virtual void UpdateMembersTab( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralIM( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralIM( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralIM( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralLanguages( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralLanguages( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralLanguage( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralRelated( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralRelated( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralRelated( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralRole( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralRole( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralRole( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGeneralNote( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGeneralNote( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGeneralNote( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeIM( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeIM( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeIM( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeLanguage( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeLanguage( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeLanguage( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeRole( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeRole( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeRole( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void AddHomeNote( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyHomeNote( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteHomeNote( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessNickname( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessEmail( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessIM( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessIM( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessIM( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessTelephone( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessLanguage( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessLanguage( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessLanguage( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessTimezone( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessGeoposition( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessWebsite( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessTitle( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessRole( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessRole( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessRole( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessOrganisation( wxCommandEvent& event ) { event.Skip(); } - virtual void AddBusinessNote( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyBusinessNote( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteBusinessNote( wxCommandEvent& event ) { event.Skip(); } - virtual void AddCategory( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyCategory( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteCategory( wxCommandEvent& event ) { event.Skip(); } - virtual void AddGroup( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyGroup( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteGroup( wxCommandEvent& event ) { event.Skip(); } - virtual void LoadPicture( wxListEvent& event ) { event.Skip(); } - virtual void AddPicture( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyPicture( wxCommandEvent& event ) { event.Skip(); } - virtual void DeletePicture( wxCommandEvent& event ) { event.Skip(); } - virtual void SavePicture( wxCommandEvent& event ) { event.Skip(); } - virtual void LoadLogo( wxListEvent& event ) { event.Skip(); } - virtual void AddLogo( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyLogo( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteLogo( wxCommandEvent& event ) { event.Skip(); } - virtual void SaveLogo( wxCommandEvent& event ) { event.Skip(); } - virtual void AddSound( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifySound( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteSound( wxCommandEvent& event ) { event.Skip(); } - virtual void SaveSound( wxCommandEvent& event ) { event.Skip(); } - virtual void PlaySound( wxCommandEvent& event ) { event.Skip(); } - virtual void StopSound( wxCommandEvent& event ) { event.Skip(); } - virtual void AddCalendarAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyCalendarAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteCalendarAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void AddCalendarRequest( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyCalendarRequest( wxCommandEvent& event ) { event.Skip(); } - virtual void AddFreeBusy( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyFreeBusy( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteFreeBusy( wxCommandEvent& event ) { event.Skip(); } - virtual void AddKey( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyKey( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteKey( wxCommandEvent& event ) { event.Skip(); } - virtual void AddVendorNamespace( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyVendorNamespace( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteVendorNamespace( wxCommandEvent& event ) { event.Skip(); } - virtual void AddXToken( wxCommandEvent& event ) { event.Skip(); } - virtual void ModifyXToken( wxCommandEvent& event ) { event.Skip(); } - virtual void DeleteXToken( wxCommandEvent& event ) { event.Skip(); } - virtual void SaveContact( wxCommandEvent& event ) { event.Skip(); } - virtual void SaveCloseContact( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseContact( wxCommandEvent& event ) { event.Skip(); } - virtual void CutText( wxCommandEvent& event ) { event.Skip(); } - virtual void CopyText( wxCommandEvent& event ) { event.Skip(); } - virtual void PasteText( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Contact Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 765,517 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); - - ~frmContactEditorADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorAddressADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorAddressADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkAddress; - wxPanel* tabGeneral; - wxStaticText* lblAddress; - wxTextCtrl* txtAddress; - wxStaticText* m_staticText61; - wxTextCtrl* txtTownCity; - wxStaticText* lblCountyState; - wxTextCtrl* txtCounty; - wxStaticText* lblPostCode; - wxTextCtrl* txtPostCode; - wxStaticText* lblCountry; - wxTextCtrl* txtCountry; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxPanel* tabLabel; - wxButton* btnCopyMailing; - wxTextCtrl* txtLabel; - wxPanel* tabOther; - wxStaticText* lblLanguage; - wxComboBox* cmbLanguage; - wxStaticText* lblGeography; - wxTextCtrl* txtGeo; - wxStaticText* lblTimezone; - wxTextCtrl* txtTimezone; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void InitAddressEditor( wxInitDialogEvent& event ) { event.Skip(); } - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void CopyAddress( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorAddressADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Address Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 426,317 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorAddressADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmConflictResolutionADT -/////////////////////////////////////////////////////////////////////////////// -class frmConflictResolutionADT : public wxDialog -{ - private: - - protected: - wxStaticText* lblText; - wxSplitterWindow* m_splitter3; - wxPanel* m_panel44; - wxHtmlWindow* htmClient; - wxPanel* m_panel45; - wxHtmlWindow* htmServer; - wxButton* btnKeepLocal; - wxButton* btnKeepServer; - wxButton* btnDecideLater; - - // Virtual event handlers, overide them in your derived class - virtual void KeepLocalData( wxCommandEvent& event ) { event.Skip(); } - virtual void KeepServerData( wxCommandEvent& event ) { event.Skip(); } - virtual void DecideLater( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmConflictResolutionADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Conflict Resolution"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 536,417 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmConflictResolutionADT(); - - void m_splitter3OnIdle( wxIdleEvent& ) - { - m_splitter3->SetSashPosition( 257 ); - m_splitter3->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this ); - } - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmActivityMgrADT -/////////////////////////////////////////////////////////////////////////////// -class frmActivityMgrADT : public wxFrame -{ - private: - - protected: - wxMenuBar* mnuMenuBar; - wxMenu* mnuWindow; - wxPanel* m_panel43; - wxStaticBitmap* bmpActivity; - wxPanel* m_panel46; - wxStaticText* lblDetails; - wxGauge* GauProgress; - wxPanel* m_panel44; - wxListCtrl* lstActivity; - - // Virtual event handlers, overide them in your derived class - virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } - virtual void StopTask( wxCommandEvent& event ) { event.Skip(); } - virtual void StopAllTasks( wxCommandEvent& event ) { event.Skip(); } - virtual void RetryTask( wxCommandEvent& event ) { event.Skip(); } - virtual void SleepMode( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmActivityMgrADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Activity Manager"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 400,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); - - ~frmActivityMgrADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorNicknameADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorNicknameADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkAddress; - wxPanel* tabGeneral; - wxStaticText* lblNickname; - wxTextCtrl* txtNickname; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxPanel* tabOther; - wxStaticText* lblLanguage; - wxComboBox* cmbLanguage; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void InitAddressEditor( wxInitDialogEvent& event ) { event.Skip(); } - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorNicknameADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Nickname Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 386,231 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorNicknameADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorGroupsADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorGroupsADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkGroup; - wxPanel* tabGeneral; - wxStaticText* lblContacts; - wxCheckListBox* chkContacts; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void FetchContacts( wxInitDialogEvent& event ) { event.Skip(); } - virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Group Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 398,392 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorGroupsADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorRolesADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorRolesADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkRole; - wxPanel* tabGeneral; - wxStaticText* lblRole; - wxTextCtrl* txtRole; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorRolesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Role Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,184 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorRolesADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorOrganisationsADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorOrganisationsADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkOrganisation; - wxPanel* tabGeneral; - wxStaticText* lblOrganisation; - wxTextCtrl* txtOrganisation; - wxStaticText* lblSortAs; - wxComboBox* cmbSortAs; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void UpdateSortAs( wxCommandEvent& event ) { event.Skip(); } - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorOrganisationsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Organisation Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 349,224 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorOrganisationsADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorNotesADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorNotesADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkNotes; - wxPanel* tabGeneral; - wxTextCtrl* txtNote; - wxPanel* tabPriority; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxPanel* tabLanguage; - wxStaticText* lblLanguage; - wxComboBox* cmbLanguage; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorNotesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Note Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,184 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorNotesADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorTitlesADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorTitlesADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkTitles; - wxPanel* tabGeneral; - wxStaticText* lblTitle; - wxTextCtrl* txtTitle; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorTitlesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Title Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,184 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorTitlesADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorRelatedADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorRelatedADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkRelated; - wxPanel* tabGeneral; - wxStaticText* lblRelation; - wxTextCtrl* txtRelated; - wxStaticText* lblType; - wxComboBox* cmbType; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorRelatedADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Related Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,226 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorRelatedADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorSoundADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorSoundADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkRelated; - wxPanel* tabGeneral; - wxStaticText* lblSoundFile; - wxFilePickerCtrl* fipSound; - wxStaticText* lblType; - wxChoice* cmbType; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorSoundADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Sound Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,226 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorSoundADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorPictureADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorPictureADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkRelated; - wxPanel* tabGeneral; - wxStaticText* lblPictureFile; - wxFilePickerCtrl* fipPicture; - wxStaticText* lblType; - wxChoice* cmbType; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorPictureADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Picture Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,226 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorPictureADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorWebsitesADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorWebsitesADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkWebsite; - wxPanel* tabGeneral; - wxStaticText* lblWebsite; - wxTextCtrl* txtWebsite; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorWebsitesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Website Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,184 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorWebsitesADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorGeopositionADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorGeopositionADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkWebsite; - wxPanel* tabGeneral; - wxStaticText* lblGeoposition; - wxTextCtrl* txtGeoposition; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorGeopositionADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Geoposition Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,184 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorGeopositionADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorCalAdrADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorCalAdrADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkWebsite; - wxPanel* tabGeneral; - wxStaticText* lblAddress; - wxTextCtrl* txtAddress; - wxStaticText* lblType; - wxChoice* cmbType; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Calendar Address Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 448,270 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorCalAdrADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorVendorADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorVendorADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkWebsite; - wxPanel* tabGeneral; - wxStaticText* lblVendorPEN; - wxTextCtrl* txtPEN; - wxStaticText* lblElement; - wxTextCtrl* txtElement; - wxStaticText* lblValue; - wxTextCtrl* txtValue; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorVendorADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Vendor Namespace Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 448,270 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorVendorADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorXTokenADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorXTokenADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkWebsite; - wxPanel* tabGeneral; - wxStaticText* lblTokenName; - wxTextCtrl* txtTokenName; - wxStaticText* lblXT; - wxTextCtrl* txtValue; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorXTokenADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("X-Token Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 448,270 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorXTokenADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorKeyADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorKeyADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkWebsite; - wxPanel* tabGeneral; - wxStaticText* lblKeyType; - wxChoice* cmbKeyMainType; - wxStaticText* lblType; - wxChoice* cmbType; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxPanel* tabURL; - wxStaticText* lblKeyFormat; - wxComboBox* cmbURL; - wxStaticText* lblAddress; - wxTextCtrl* txtAddress; - wxPanel* tabKey; - wxStaticText* lblKeyFormatData; - wxComboBox* cmbKeyType; - wxStaticText* lblKeyData; - wxTextCtrl* txtKeyData; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void ProcessKeyType( wxCommandEvent& event ) { event.Skip(); } - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ConvertURLType( wxCommandEvent& event ) { event.Skip(); } - virtual void ConvertKeyType( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorKeyADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Key Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 448,270 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorKeyADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorEmailADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorEmailADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkEmail; - wxPanel* tabGeneral; - wxStaticText* lblEmailAddress; - wxTextCtrl* txtEmail; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorEmailADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Email Address Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 411,251 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorEmailADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorIMADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorIMADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkIM; - wxPanel* tabGeneral; - wxStaticText* lblIMType; - wxComboBox* cmbIMType; - wxStaticText* lblUsername; - wxTextCtrl* txtUsername; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorIMADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Instant Messaging Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 424,224 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorIMADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorCategoryADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorCategoryADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkIM; - wxPanel* tabGeneral; - wxStaticText* lblCategory; - wxTextCtrl* txtCategory; - wxStaticText* lblType; - wxChoice* cmbType; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorCategoryADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Category Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 424,224 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorCategoryADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorTelephoneADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorTelephoneADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkAddress; - wxPanel* tabGeneral; - wxStaticText* lblTelephone; - wxTextCtrl* txtTelephone; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxStaticText* lblTelephoneType; - wxCheckBox* chkVoice; - wxCheckBox* chkText; - wxCheckBox* chkFax; - wxCheckBox* chkMobile; - wxCheckBox* chkVideo; - wxCheckBox* chkTextphone; - wxCheckBox* chkPager; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Telephone Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 401,307 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorTelephoneADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorLanguagesADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorLanguagesADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkLanguages; - wxPanel* tabGeneral; - wxStaticText* lblLanguage; - wxTextCtrl* txtLanguage; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Language Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,184 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorLanguagesADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmContactEditorTimezonesADT -/////////////////////////////////////////////////////////////////////////////// -class frmContactEditorTimezonesADT : public wxDialog -{ - private: - - protected: - wxNotebook* nbkTimezone; - wxPanel* tabGeneral; - wxStaticText* lblTimezone; - wxComboBox* cmbTimezone; - wxStaticText* lblPriority; - wxCheckBox* chkUsePref; - wxSlider* sliPriority; - wxStaticText* lblHigh; - wxStaticText* lblLow; - wxButton* btnAction; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } - virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmContactEditorTimezonesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Timezone Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,184 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmContactEditorTimezonesADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class XABSearchPanelADT -/////////////////////////////////////////////////////////////////////////////// -class XABSearchPanelADT : public wxPanel -{ - private: - - protected: - wxChoice* choOption; - wxBoxSizer* szrSSet; - wxCheckBox* chkActive; - wxTextCtrl* txtSearch; - wxBitmapButton* btnAdd; - wxBitmapButton* btnDelete; - - // Virtual event handlers, overide them in your derived class - virtual void UpdateOptions( wxCommandEvent& event ) { event.Skip(); } - virtual void AddSearchWidget( wxCommandEvent& event ) { event.Skip(); } - virtual void RemoveSearchWidget( wxCommandEvent& event ) { event.Skip(); } - - - public: - - XABSearchPanelADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 390,40 ), long style = wxTAB_TRAVERSAL ); - ~XABSearchPanelADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmSearchAccountsADT -/////////////////////////////////////////////////////////////////////////////// -class frmSearchAccountsADT : public wxDialog -{ - private: - - protected: - wxCheckListBox* chlAccounts; - wxButton* btnSelect; - wxButton* btnCancel; - - // Virtual event handlers, overide them in your derived class - virtual void UpdateSelectedAccounts( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmSearchAccountsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Select Accounts"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 353,376 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmSearchAccountsADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmEditAccountADT -/////////////////////////////////////////////////////////////////////////////// -class frmEditAccountADT : public wxDialog -{ - private: - - protected: - wxNotebook* tabAccount; - wxPanel* tabProperties; - wxStaticText* lblAccName; - wxTextCtrl* txtAccountName; - wxStaticText* lblAccAdr; - wxTextCtrl* txtAddress; - wxStaticText* m_staticText193; - wxTextCtrl* txtPort; - wxStaticText* lblPort; - wxTextCtrl* txtUsername; - wxStaticText* lblPassword; - wxTextCtrl* txtPassword; - wxStaticText* lblPrefix; - wxTextCtrl* txtPrefix; - wxButton* btnDetect; - wxStaticText* txtSSL; - wxCheckBox* chkSSL; - wxPanel* tabRefresh; - wxStaticText* lblRefresh; - wxTextCtrl* txtRefresh; - wxButton* btnSave; - wxButton* btnCancel; - - // Virtual event handlers, overide them in your derived class - virtual void DetectAddressBook( wxCommandEvent& event ) { event.Skip(); } - virtual void UpdateSettings( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmEditAccountADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Edit Account"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 306,319 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmEditAccountADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmSSLCertificateADT -/////////////////////////////////////////////////////////////////////////////// -class frmSSLCertificateADT : public wxDialog -{ - private: - - protected: - wxNotebook* m_notebook28; - wxPanel* tabSummary; - wxPanel* pnlTop; - wxStaticText* lblCertName; - wxStaticText* lblValidityStatus; - wxPanel* m_panel54; - wxStaticText* lblIssuedTo; - wxStaticText* lblIssuedToData; - wxStaticText* lblValidFrom; - wxStaticText* lblValidFromData; - wxStaticText* lblValidUntil; - wxStaticText* lblValidUntilData; - wxPanel* tabDetail; - wxListCtrl* lstValues; - wxTextCtrl* txtValueData; - wxPanel* tabHierarchy; - wxTreeCtrl* treHierarchy; - wxPanel* m_panel57; - wxButton* btnViewCert; - wxPanel* pnlButtons; - wxButton* btnClose; - - // Virtual event handlers, overide them in your derived class - virtual void LoadValueData( wxListEvent& event ) { event.Skip(); } - virtual void CheckCertificate( wxTreeEvent& event ) { event.Skip(); } - virtual void ViewCertificate( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmSSLCertificateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("SSL Certificate Window"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 347,402 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmSSLCertificateADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmInvalidSSLCertificateADT -/////////////////////////////////////////////////////////////////////////////// -class frmInvalidSSLCertificateADT : public wxDialog -{ - private: - - protected: - wxStaticText* lblSSLText; - wxButton* btnAccept; - wxButton* btnReject; - wxButton* btnViewCert; - - // Virtual event handlers, overide them in your derived class - virtual void Accept( wxCommandEvent& event ) { event.Skip(); } - virtual void Reject( wxCommandEvent& event ) { event.Skip(); } - virtual void ViewCertificates( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Invalid SSL Certificate"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 445,239 ), long style = wxCAPTION ); - ~frmInvalidSSLCertificateADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmImportContactsADT -/////////////////////////////////////////////////////////////////////////////// -class frmImportContactsADT : public wxDialog -{ - private: - - protected: - wxStaticText* lblImportText; - wxCheckListBox* lstContacts; - wxBoxSizer* szrAccount; - wxStaticText* lblAccountText; - wxButton* btnImport; - wxButton* btnCancel; - - // Virtual event handlers, overide them in your derived class - virtual void ImportContacts( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmImportContactsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 325,400 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmImportContactsADT(); - -}; - -/////////////////////////////////////////////////////////////////////////////// -/// Class frmImportResultsADT -/////////////////////////////////////////////////////////////////////////////// -class frmImportResultsADT : public wxDialog -{ - private: - - protected: - wxStaticText* lblText; - wxTextCtrl* txtResults; - wxButton* btnCopyClipboard; - wxButton* btnFinish; - - // Virtual event handlers, overide them in your derived class - virtual void CopyClipboard( wxCommandEvent& event ) { event.Skip(); } - virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } - - - public: - - frmImportResultsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Import Results"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 489,299 ), long style = wxDEFAULT_DIALOG_STYLE ); - ~frmImportResultsADT(); - -}; - -#endif //__APPXESTIAADDRBK_H__ +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version Feb 10 2016) +// http://www.wxformbuilder.org/ +// +// PLEASE DO "NOT" EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#ifndef __APPXESTIAADDRBK_H__ +#define __APPXESTIAADDRBK_H__ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/////////////////////////////////////////////////////////////////////////// + +#define ID_MANAGE_NEWAB 1000 +#define ID_IMPORT 1001 +#define ID_EXPORT 1002 +#define ID_CONTACT_EDIT 1003 +#define ID_CONTACT_DELETE 1004 +#define ID_VIEW_FNLN 1005 +#define ID_VIEW_LNFN 1006 +#define ID_VIEW_NICK 1007 +#define ID_VIEW_ASC 1008 +#define ID_VIEW_DESC 1009 +#define ID_VIEW_STATUSBAR 1010 +#define ID_MANAGE_CUT 1011 +#define ID_MANAGE_COPY 1012 +#define ID_MANAGE_PASTE 1013 +#define ID_HELP_SHOW 1014 +#define ID_MANAGE_UPDATE 1015 +#define ID_CONTACT_CLOSE 1016 +#define CONTACT_SAVE 1017 +#define CONTACT_SAVECLOSE 1018 +#define CONTACT_CLOSE 1019 + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmMainADT +/////////////////////////////////////////////////////////////////////////////// +class frmMainADT : public wxFrame +{ + private: + + protected: + wxMenuBar* mnuMain; + wxMenu* mnuManage; + wxMenuItem* mnuPrefSep; + wxMenuItem* mnuExitSep; + wxMenu* mnuContact; + wxMenu* mnuView; + wxMenu* mnuShowContactsAs; + wxMenu* mnuViewSortBy; + wxMenu* mnuViewShow; + wxMenu* mnuEdit; + wxMenu* mnuWindow; + wxMenu* mnuHelp; + wxMenuItem* mnuHelpAboutSep; + wxBoxSizer* szrMain; + wxStaticBitmap* bmpIcon; + wxComboCtrl* AccCtrl; + wxSplitterWindow* m_splitter13; + wxPanel* m_panel19; + wxBoxSizer* szrContactList; + wxListCtrl* lstContacts; + wxPanel* m_panel20; + wxHtmlWindow* htmContactData; + wxStatusBar* stbBottom; + + // Virtual event handlers, overide them in your derived class + virtual void QuitApp( wxCloseEvent& event ) { event.Skip(); } + virtual void OpenNewABDialog( wxCommandEvent& event ) { event.Skip(); } + virtual void RefreshAddressBook( wxCommandEvent& event ) { event.Skip(); } + virtual void OpenImportDialog( wxCommandEvent& event ) { event.Skip(); } + virtual void OpenExportDialog( wxCommandEvent& event ) { event.Skip(); } + virtual void OpenPreferences( wxCommandEvent& event ) { event.Skip(); } + virtual void QuitApp( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowContactEditorNew( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowContactEditorEdit( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteContact( wxCommandEvent& event ) { event.Skip(); } + virtual void OpenFindContactsWindow( wxCommandEvent& event ) { event.Skip(); } + virtual void SortFNLN( wxCommandEvent& event ) { event.Skip(); } + virtual void SortLNFN( wxCommandEvent& event ) { event.Skip(); } + virtual void SortNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void SortDisplayAs( wxCommandEvent& event ) { event.Skip(); } + virtual void SortAscending( wxCommandEvent& event ) { event.Skip(); } + virtual void SortDescending( wxCommandEvent& event ) { event.Skip(); } + virtual void ToggleStatusBar( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowActivityWindow( wxCommandEvent& event ) { event.Skip(); } + virtual void CutAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CopyAction( wxCommandEvent& event ) { event.Skip(); } + virtual void PasteAction( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowHelp( wxCommandEvent& event ) { event.Skip(); } + virtual void CheckUpdates( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowAboutWindow( wxCommandEvent& event ) { event.Skip(); } + virtual void OpenContactInfoList( wxListEvent& event ) { event.Skip(); } + virtual void ShowContactInfo( wxListEvent& event ) { event.Skip(); } + virtual void ShowContactMenu( wxMouseEvent& event ) { event.Skip(); } + virtual void ShowContactSubmenu( wxMouseEvent& event ) { event.Skip(); } + virtual void UpdateSBIconPlacement( wxSizeEvent& event ) { event.Skip(); } + + + public: + + frmMainADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Xestia Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 745,476 ), long style = wxDEFAULT_FRAME_STYLE ); + + ~frmMainADT(); + + void m_splitter13OnIdle( wxIdleEvent& ) + { + m_splitter13->SetSashPosition( 201 ); + m_splitter13->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmMainADT::m_splitter13OnIdle ), NULL, this ); + } + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmUpdateADT +/////////////////////////////////////////////////////////////////////////////// +class frmUpdateADT : public wxDialog +{ + private: + + protected: + wxPanel* pnlUpdateData; + wxStaticText* lblRunningText; + wxStaticText* lblRunningVer; + wxStaticText* lblAvailableText; + wxStaticText* lblAvailableVer; + wxStaticText* lblBuildTypeText; + wxStaticText* lblBuildType; + wxStaticText* lblUpdateMessage; + wxStaticLine* statLine; + wxButton* btnVisitGelforn; + wxButton* btnVisitPREMIUM; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void VisitGelforn( wxCommandEvent& event ) { event.Skip(); } + virtual void VisitPREMIUM( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmUpdateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Check For Updates"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 433,273 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmUpdateADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmSearchADT +/////////////////////////////////////////////////////////////////////////////// +class frmSearchADT : public wxFrame +{ + private: + + protected: + wxStatusBar* stbBottom; + wxSplitterWindow* m_splitter4; + wxPanel* m_panel60; + wxNotebook* nbkSearch; + wxScrolledWindow* tabSearch; + wxFlexGridSizer* szrSearch; + wxScrolledWindow* tabAdvanced; + wxButton* btnSelectAccounts; + wxButton* btnSearch; + wxButton* btnReset; + wxPanel* m_panel61; + wxListCtrl* lstResults; + wxMenuBar* m_menubar5; + wxMenu* mnuContact; + wxMenuItem* mnuContactEdit; + wxMenuItem* mnuContactReveal; + + // Virtual event handlers, overide them in your derived class + virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } + virtual void SelectAccounts( wxCommandEvent& event ) { event.Skip(); } + virtual void SearchContacts( wxCommandEvent& event ) { event.Skip(); } + virtual void ResetContacts( wxCommandEvent& event ) { event.Skip(); } + virtual void ShowContactMenu( wxMouseEvent& event ) { event.Skip(); } + virtual void OpenContact( wxCommandEvent& event ) { event.Skip(); } + virtual void EditContact( wxCommandEvent& event ) { event.Skip(); } + virtual void RevealContact( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmSearchADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Search Contacts"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 517,450 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); + + ~frmSearchADT(); + + void m_splitter4OnIdle( wxIdleEvent& ) + { + m_splitter4->SetSashPosition( 178 ); + m_splitter4->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmSearchADT::m_splitter4OnIdle ), NULL, this ); + } + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmPreferencesADT +/////////////////////////////////////////////////////////////////////////////// +class frmPreferencesADT : public wxDialog +{ + private: + + protected: + wxNotebook* NbtPreferences; + wxPanel* tabGeneral; + wxCheckBox* chkSaveWindowPosition; + wxCheckBox* chkHideLocal; + wxPanel* tabTheme; + wxListCtrl* lstThemes; + wxButton* btnThemeAdd; + wxButton* btnThemeModify; + wxButton* btnThemeDelete; + wxPanel* tabAccounts; + wxListCtrl* lstAccounts; + wxButton* btnAccountAdd; + wxButton* btnAccountModify; + wxButton* btnAccountDelete; + wxButton* btnSave; + wxButton* btnCancel; + + // Virtual event handlers, overide them in your derived class + virtual void LoadPreferences( wxInitDialogEvent& event ) { event.Skip(); } + virtual void DisableABButtons( wxListEvent& event ) { event.Skip(); } + virtual void EnableABButtons( wxListEvent& event ) { event.Skip(); } + virtual void AddABAccount( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyABAccount( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteABAccount( wxCommandEvent& event ) { event.Skip(); } + virtual void SavePreferences( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmPreferencesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Preferences"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 450,400 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmPreferencesADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmAboutADT +/////////////////////////////////////////////////////////////////////////////// +class frmAboutADT : public wxDialog +{ + private: + + protected: + wxStaticBitmap* bmpLogo; + wxStaticText* lblVersion; + wxStaticText* lblCompileTime; + wxStaticText* lblCopyright; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void CloseAboutWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmAboutADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About Xestia Address Book"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,400 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmAboutADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactADT : public wxFrame +{ + private: + + protected: + wxHtmlWindow* htmContactData; + wxMenuBar* m_menubar2; + wxMenu* contact; + + // Virtual event handlers, overide them in your derived class + virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 320,240 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); + + ~frmContactADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmNewAccountADT +/////////////////////////////////////////////////////////////////////////////// +class frmNewAccountADT : public wxDialog +{ + private: + + protected: + wxBoxSizer* szrNewAccount; + wxPanel* tabType; + wxStaticText* lblEnterText; + wxStaticText* lblType; + wxChoice* cmbServerType; + wxStaticText* lblServerAddress; + wxTextCtrl* txtServerAddress; + wxStaticText* lblServerPort; + wxTextCtrl* txtServerPort; + wxStaticText* lblUsername; + wxTextCtrl* txtUsername; + wxStaticText* lblPassword; + wxTextCtrl* txtPassword; + wxStaticText* lblSSL; + wxCheckBox* chkUseSSL; + wxPanel* tabConn; + wxStaticText* lblConnectionResult; + wxStaticText* lblServerConnected; + wxStaticText* lblServerConnResult; + wxStaticText* lblValidResponse; + wxStaticText* lblServerResponse; + wxStaticText* lblUseSSL; + wxStaticText* lblServerSSLResult; + wxStaticText* lblServerSSLCert; + wxStaticText* lblServerSSLValid; + wxStaticText* lblServerUsernamePassword; + wxStaticText* lblAbleToLoginResult; + wxStaticText* lblIsCalDAV; + wxStaticText* lblCardDAVSupportResult; + wxStaticLine* m_staticline3; + wxStaticText* lblConnectionResultText; + wxPanel* tabFinish; + wxStaticText* lblFinishText; + wxStaticText* lblAccountName; + wxTextCtrl* txtAccountName; + wxButton* btnPrevious; + wxButton* btnNext; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void UpdateRequirements( wxCommandEvent& event ) { event.Skip(); } + virtual void CheckAccountName( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessPrevious( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessNext( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmNewAccountADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("New Account"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 425,330 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmNewAccountADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorADT : public wxFrame +{ + private: + + protected: + wxNotebook* nbkContact; + wxScrolledWindow* tabGeneral; + wxStaticText* lblTitle; + wxTextCtrl* txtTitle; + wxStaticText* lblForename; + wxTextCtrl* txtForename; + wxStaticText* lblSurname; + wxTextCtrl* txtSurname; + wxStaticText* lblOtherNames; + wxTextCtrl* txtOtherNames; + wxStaticText* lblSuffix; + wxTextCtrl* txtSuffix; + wxStaticText* lblDisplayAs; + wxComboBox* cmbDisplayAs; + wxStaticText* lblBirthday; + wxDatePickerCtrl* dapBirthday; + wxTextCtrl* txtBirthday; + wxStaticText* lblAnniversary; + wxDatePickerCtrl* dapAnniversary; + wxTextCtrl* txtAnniversary; + wxStaticText* lblGender; + wxChoice* cmbGender; + wxTextCtrl* txtGenderDescription; + wxStaticText* lblType; + wxChoice* cmbType; + wxStaticText* lblNicknames; + wxListCtrl* lboNicknames; + wxButton* btnAddGeneralNickname; + wxButton* btnModifyGeneralNickname; + wxButton* btnDeleteGeneralNickname; + wxStaticText* lblAddress; + wxListCtrl* lboAddresses; + wxButton* btnAddGeneralAddress; + wxButton* btnModifyGeneralAddress; + wxButton* btnDeleteGeneralAddress; + wxStaticText* lblEmail; + wxListCtrl* lboEmails; + wxButton* btnAddEmailAddress; + wxButton* btnModifyEmailAddress; + wxButton* btnDeleteEmailAddress; + wxStaticText* lblIM; + wxListCtrl* lboIM; + wxButton* btnAddIMAddress; + wxButton* btnModifyIMAddress; + wxButton* btnDeleteIMAddress; + wxStaticText* lblTelephone; + wxListCtrl* lboTelephone; + wxButton* btnAddTelephone; + wxButton* btnModifyTelephone; + wxButton* btnDeleteTelephone; + wxStaticText* lblLanguages; + wxListCtrl* lboLanguages; + wxButton* btnAddLanguage; + wxButton* btnModifyLanguage; + wxButton* btnDeleteLanguage; + wxStaticText* lblTimezone; + wxListCtrl* lboTimezones; + wxButton* btnAddTimezone; + wxButton* btnModifyTimezone; + wxButton* btnDeleteTimezone; + wxStaticText* lblGeopositioning; + wxListCtrl* lboGeoposition; + wxButton* btnAddGeneralGeoposition; + wxButton* btnModifyGeneralGeoposition; + wxButton* btnDeleteGeneralGeoposition; + wxStaticText* lblRelated; + wxListCtrl* lboRelated; + wxButton* btnAddRelated; + wxButton* btnModifyRelated; + wxButton* btnDeleteRelated; + wxStaticText* lblWebsites; + wxListCtrl* lboWebsites; + wxButton* btnAddWebsite; + wxButton* btnModifyWebsite; + wxButton* btnDeleteWebsite; + wxStaticText* lblTitles; + wxListCtrl* lboTitles; + wxButton* btnAddTitle; + wxButton* btnModifyTitle; + wxButton* btnDeleteTitle; + wxStaticText* lblRoles; + wxListCtrl* lboRoles; + wxButton* btnAddRole; + wxButton* btnModifyRole; + wxButton* btnDeleteRole; + wxStaticText* lblOrganisations; + wxListCtrl* lboOrganisations; + wxButton* btnAddOrganisations; + wxButton* btnModifyOrganisations; + wxButton* btnDeleteOrganisations; + wxStaticText* lblNotes; + wxListCtrl* lboNotes; + wxButton* btnAddNote; + wxButton* btnModifyNote; + wxButton* btnDeleteNote; + wxScrolledWindow* tabHome; + wxStaticText* lblHomeNickname; + wxListCtrl* lboHomeNicknames; + wxButton* btnAddHomeNickname; + wxButton* btnModifyHomeNickname; + wxButton* btnDeleteHomeNickname; + wxStaticText* lblHomeAddresses; + wxListCtrl* lboHomeAddresses; + wxButton* btnAddHomeAddress; + wxButton* btnModifyHomeAddress; + wxButton* btnDeleteHomeAddress; + wxStaticText* lblHomeEmail; + wxListCtrl* lboHomeEmails; + wxButton* btnAddHomeEmailAddress; + wxButton* btnModifyHomeEmailAddress; + wxButton* btnDeleteHomeEmailAddress; + wxStaticText* lblHomeIM; + wxListCtrl* lboHomeIM; + wxButton* btnAddHomeIMAddress; + wxButton* btnModifyHomeIMAddress; + wxButton* btnDeleteHomeIMAddress; + wxStaticText* lblHomeTelephone; + wxListCtrl* lboHomeTelephone; + wxButton* btnAddHomeTelephone; + wxButton* btnModifyHomeTelephone; + wxButton* btnDeleteHomeTelephone; + wxStaticText* lblHomeLanguages; + wxListCtrl* lboHomeLanguages; + wxButton* btnAddHomeLanguage; + wxButton* btnModifyHomeLanguage; + wxButton* btnDeleteHomeLanguage; + wxStaticText* lblHomeTimezone; + wxListCtrl* lboHomeTimezones; + wxButton* btnAddHomeTimezone; + wxButton* btnModifyHomeTimezone; + wxButton* btnDeleteHomeTimezone; + wxStaticText* lblHomeGeopositioning; + wxListCtrl* lboHomeGeoposition; + wxButton* btnAddHomeGeoposition; + wxButton* btnModifyHomeGeoposition; + wxButton* btnDeleteHomePosition; + wxStaticText* lblHomeWebsites; + wxListCtrl* lboHomeWebsites; + wxButton* btnAddHomeWebsite; + wxButton* btnHomeModifyWebsite; + wxButton* btnDeleteHomeWebsite; + wxStaticText* lblHomeTitles; + wxListCtrl* lboHomeTitles; + wxButton* btnAddHomeTitle; + wxButton* btnModifyHomeTitle; + wxButton* btnDeleteHomeTitle; + wxStaticText* lblHomeRoles; + wxListCtrl* lboHomeRoles; + wxButton* btnAddHomeRole; + wxButton* btnModifyHomeRole; + wxButton* btnDeleteHomeRole; + wxStaticText* lblHomeOrganisations; + wxListCtrl* lboHomeOrganisations; + wxButton* btnAddHomeOrganisations; + wxButton* btnModifyHomeOrganisations; + wxButton* btnDeleteHomeOrganisations; + wxStaticText* lblHomeNotes; + wxListCtrl* lboHomeNotes; + wxButton* btnAddHomeNote; + wxButton* btnModifyHomeNote; + wxButton* btnDeleteHomeNote; + wxScrolledWindow* tabBusiness; + wxStaticText* lblBusinessNickname; + wxListCtrl* lboBusinessNicknames; + wxButton* btnAddBusinessNickname; + wxButton* btnModifyBusinessNickname; + wxButton* btnDeleteBusinessNickname; + wxStaticText* lblBusinessAddress; + wxListCtrl* lboBusinessAddresses; + wxButton* btnAddBusinessAddress; + wxButton* btnModifyBusinessAddress; + wxButton* btnDeleteBusinessAddress; + wxStaticText* lblBusinessEmail; + wxListCtrl* lboBusinessEmail; + wxButton* btnAddBusinessEmailAddress; + wxButton* btnModifyBusinessEmailAddress; + wxButton* btnDeleteBusinessEmailAddress; + wxStaticText* lblBusinessIM; + wxListCtrl* lboBusinessIM; + wxButton* btnAddBusinessIMAddress; + wxButton* btnModifyBusinessIMAddress; + wxButton* btnDeleteBusinessIMAddress; + wxStaticText* lblBusinessTelephone; + wxListCtrl* lboBusinessTelephone; + wxButton* btnBusinessAddTelephone; + wxButton* btnBusinessModifyTelephone; + wxButton* btnBusinessDeleteTelephone; + wxStaticText* lblBusinessLanguage; + wxListCtrl* lboBusinessLanguages; + wxButton* btnBusinessAddLanguage; + wxButton* btnBusinessModifyLanguage; + wxButton* btnBusinessDeleteLanguage; + wxStaticText* lblBusinessTimezones; + wxListCtrl* lboBusinessTimezones; + wxButton* btnBusinessAddTimezone; + wxButton* btnBusinessModifyTimezone; + wxButton* btnDeleteBusinessTimezone; + wxStaticText* lblBusinessGeopositioning; + wxListCtrl* lboBusinessGeoposition; + wxButton* btnAddBusinessGeoposition; + wxButton* btnModifyBusinessGeoposition; + wxButton* btnDeleteBusinessGeoposition; + wxStaticText* lblBusinessWebsites; + wxListCtrl* lboBusinessWebsites; + wxButton* btnAddBusinessWebsite; + wxButton* btnModifyBusinessWebsite; + wxButton* btnDeleteBusinessWebsite; + wxStaticText* lblBusinessTitles; + wxListCtrl* lboBusinessTitles; + wxButton* btnAddBusinessTitle; + wxButton* btnModifyBusinessTitle; + wxButton* btnDeleteBusinessTitle; + wxStaticText* lblBusinessRoles; + wxListCtrl* lboBusinessRoles; + wxButton* btnAddBusinessRole; + wxButton* btnModifyBusinessRole; + wxButton* btnDeleteBusinessRole; + wxStaticText* lblBusinessOrganisations; + wxListCtrl* lboBusinessOrganisations; + wxButton* btnAddBusinessOrganisations; + wxButton* btnModifyBusinessOrganisations; + wxButton* btnDeleteBusinessOrganisations; + wxStaticText* lblBusinessNotes; + wxListCtrl* lboBusinessNotes; + wxButton* btnBusinessAddNote; + wxButton* btnBusinessModifyNote; + wxButton* btnBusinessDeleteNote; + wxScrolledWindow* tabCategories; + wxListCtrl* lboCategories; + wxButton* btnAddCategory; + wxButton* btnModifyCategory; + wxButton* btnDeleteCategory; + wxScrolledWindow* tabMembers; + wxListCtrl* lboGroups; + wxButton* btnAddGroups; + wxButton* btnModifyGroups; + wxButton* btnDeleteGroups; + wxScrolledWindow* tabPictures; + wxStaticBitmap* imgPicture; + wxListCtrl* lboPictures; + wxButton* btnAddPicture; + wxButton* btnModifyPicture; + wxButton* btnDeletePicture; + wxButton* btnSavePicture; + wxScrolledWindow* tabLogo; + wxStaticBitmap* imgLogo; + wxListCtrl* lboLogos; + wxButton* btnAddLogo; + wxButton* btnModifyLogo; + wxButton* btnDeleteLogo; + wxButton* btnSaveLogo; + wxScrolledWindow* tabSounds; + wxListCtrl* lboSounds; + wxButton* btnAddSound; + wxButton* btnModifySound; + wxButton* btnDeleteSound; + wxButton* btnSaveSound; + wxStaticLine* m_staticline1; + wxBitmapButton* btnPlay; + wxBitmapButton* btnStop; + wxScrolledWindow* tabCalendaring; + wxStaticText* lblCalendarAddresses; + wxListCtrl* lboCalendarAddresses; + wxButton* btnAddCalendarAddress; + wxButton* btnModifyCalendarAddress; + wxButton* btnDeleteCalendarAddress; + wxStaticText* lblCalendarRequestAddresses; + wxListCtrl* lboCalendarRequestAddress; + wxButton* btnAddCalendarRequestAddress; + wxButton* btnModifyCalendarRequestAddress; + wxButton* btnDeleteCalendarRequestAddress; + wxStaticText* lblFreeBusyAddresses; + wxListCtrl* lboFreeBusyAddresses; + wxButton* btnAddFreeBusyAddress; + wxButton* btnModifyFreeBusyAddress; + wxButton* btnDeleteFreeBusyAddress; + wxScrolledWindow* tabSecurity; + wxListCtrl* lboKeys; + wxButton* btnAddKey; + wxButton* btnModifyKey; + wxButton* btnDeleteKey; + wxScrolledWindow* tabOther; + wxStaticText* lblVendorNamespace; + wxListCtrl* lboVendorNamespace; + wxButton* btnAddVendorNamespace; + wxButton* btnModifyVendorNamespace; + wxButton* btnDeleteVendorNamespace; + wxStaticText* lblXTokens; + wxListCtrl* lboXToken; + wxButton* btnAddXToken; + wxButton* btnModifyXToken; + wxButton* btnDeleteXToken; + wxMenuBar* m_menubar3; + wxMenu* mnuContact; + wxMenu* mnuEdit; + + // Virtual event handlers, overide them in your derived class + virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } + virtual void UpdateDisplayAs( wxCommandEvent& event ) { event.Skip(); } + virtual void UpdateName( wxCommandEvent& event ) { event.Skip(); } + virtual void UpdateMembersTab( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralIM( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralIM( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralIM( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralLanguages( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralLanguages( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralLanguage( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralRelated( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralRelated( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralRelated( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralRole( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralRole( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralRole( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGeneralNote( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGeneralNote( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGeneralNote( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeIM( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeIM( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeIM( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeLanguage( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeLanguage( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeLanguage( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeRole( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeRole( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeRole( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void AddHomeNote( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyHomeNote( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteHomeNote( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessNickname( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessEmail( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessIM( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessIM( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessIM( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessTelephone( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessLanguage( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessLanguage( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessLanguage( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessTimezone( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessGeoposition( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessWebsite( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessTitle( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessRole( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessRole( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessRole( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessOrganisation( wxCommandEvent& event ) { event.Skip(); } + virtual void AddBusinessNote( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyBusinessNote( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteBusinessNote( wxCommandEvent& event ) { event.Skip(); } + virtual void AddCategory( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyCategory( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteCategory( wxCommandEvent& event ) { event.Skip(); } + virtual void AddGroup( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyGroup( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteGroup( wxCommandEvent& event ) { event.Skip(); } + virtual void LoadPicture( wxListEvent& event ) { event.Skip(); } + virtual void AddPicture( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyPicture( wxCommandEvent& event ) { event.Skip(); } + virtual void DeletePicture( wxCommandEvent& event ) { event.Skip(); } + virtual void SavePicture( wxCommandEvent& event ) { event.Skip(); } + virtual void LoadLogo( wxListEvent& event ) { event.Skip(); } + virtual void AddLogo( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyLogo( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteLogo( wxCommandEvent& event ) { event.Skip(); } + virtual void SaveLogo( wxCommandEvent& event ) { event.Skip(); } + virtual void AddSound( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifySound( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteSound( wxCommandEvent& event ) { event.Skip(); } + virtual void SaveSound( wxCommandEvent& event ) { event.Skip(); } + virtual void PlaySound( wxCommandEvent& event ) { event.Skip(); } + virtual void StopSound( wxCommandEvent& event ) { event.Skip(); } + virtual void AddCalendarAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyCalendarAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteCalendarAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void AddCalendarRequest( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyCalendarRequest( wxCommandEvent& event ) { event.Skip(); } + virtual void AddFreeBusy( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyFreeBusy( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteFreeBusy( wxCommandEvent& event ) { event.Skip(); } + virtual void AddKey( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyKey( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteKey( wxCommandEvent& event ) { event.Skip(); } + virtual void AddVendorNamespace( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyVendorNamespace( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteVendorNamespace( wxCommandEvent& event ) { event.Skip(); } + virtual void AddXToken( wxCommandEvent& event ) { event.Skip(); } + virtual void ModifyXToken( wxCommandEvent& event ) { event.Skip(); } + virtual void DeleteXToken( wxCommandEvent& event ) { event.Skip(); } + virtual void SaveContact( wxCommandEvent& event ) { event.Skip(); } + virtual void SaveCloseContact( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseContact( wxCommandEvent& event ) { event.Skip(); } + virtual void CutText( wxCommandEvent& event ) { event.Skip(); } + virtual void CopyText( wxCommandEvent& event ) { event.Skip(); } + virtual void PasteText( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Contact Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 800,517 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); + + ~frmContactEditorADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorAddressADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorAddressADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkAddress; + wxPanel* tabGeneral; + wxStaticText* lblAddress; + wxTextCtrl* txtAddress; + wxStaticText* m_staticText61; + wxTextCtrl* txtTownCity; + wxStaticText* lblCountyState; + wxTextCtrl* txtCounty; + wxStaticText* lblPostCode; + wxTextCtrl* txtPostCode; + wxStaticText* lblCountry; + wxTextCtrl* txtCountry; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxPanel* tabLabel; + wxButton* btnCopyMailing; + wxTextCtrl* txtLabel; + wxPanel* tabOther; + wxStaticText* lblLanguage; + wxComboBox* cmbLanguage; + wxStaticText* lblGeography; + wxTextCtrl* txtGeo; + wxStaticText* lblTimezone; + wxTextCtrl* txtTimezone; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void InitAddressEditor( wxInitDialogEvent& event ) { event.Skip(); } + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void CopyAddress( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorAddressADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Address Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 426,362 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorAddressADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmConflictResolutionADT +/////////////////////////////////////////////////////////////////////////////// +class frmConflictResolutionADT : public wxDialog +{ + private: + + protected: + wxStaticText* lblText; + wxSplitterWindow* m_splitter3; + wxPanel* m_panel44; + wxHtmlWindow* htmClient; + wxPanel* m_panel45; + wxHtmlWindow* htmServer; + wxButton* btnKeepLocal; + wxButton* btnKeepServer; + wxButton* btnDecideLater; + + // Virtual event handlers, overide them in your derived class + virtual void KeepLocalData( wxCommandEvent& event ) { event.Skip(); } + virtual void KeepServerData( wxCommandEvent& event ) { event.Skip(); } + virtual void DecideLater( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmConflictResolutionADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Conflict Resolution"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 536,417 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmConflictResolutionADT(); + + void m_splitter3OnIdle( wxIdleEvent& ) + { + m_splitter3->SetSashPosition( 257 ); + m_splitter3->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this ); + } + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmActivityMgrADT +/////////////////////////////////////////////////////////////////////////////// +class frmActivityMgrADT : public wxFrame +{ + private: + + protected: + wxMenuBar* mnuMenuBar; + wxMenu* mnuWindow; + wxPanel* m_panel43; + wxStaticBitmap* bmpActivity; + wxPanel* m_panel46; + wxStaticText* lblDetails; + wxGauge* GauProgress; + wxPanel* m_panel44; + wxListCtrl* lstActivity; + + // Virtual event handlers, overide them in your derived class + virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); } + virtual void StopTask( wxCommandEvent& event ) { event.Skip(); } + virtual void StopAllTasks( wxCommandEvent& event ) { event.Skip(); } + virtual void RetryTask( wxCommandEvent& event ) { event.Skip(); } + virtual void SleepMode( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmActivityMgrADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Activity Manager"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 400,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); + + ~frmActivityMgrADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorNicknameADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorNicknameADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkAddress; + wxPanel* tabGeneral; + wxStaticText* lblNickname; + wxTextCtrl* txtNickname; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxPanel* tabOther; + wxStaticText* lblLanguage; + wxComboBox* cmbLanguage; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void InitAddressEditor( wxInitDialogEvent& event ) { event.Skip(); } + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorNicknameADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Nickname Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 386,231 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorNicknameADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorGroupsADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorGroupsADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkGroup; + wxPanel* tabGeneral; + wxStaticText* lblContacts; + wxCheckListBox* chkContacts; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void FetchContacts( wxInitDialogEvent& event ) { event.Skip(); } + virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorGroupsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Group Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 398,392 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorGroupsADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorRolesADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorRolesADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkRole; + wxPanel* tabGeneral; + wxStaticText* lblRole; + wxTextCtrl* txtRole; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorRolesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Role Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,210 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorRolesADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorOrganisationsADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorOrganisationsADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkOrganisation; + wxPanel* tabGeneral; + wxStaticText* lblOrganisation; + wxTextCtrl* txtOrganisation; + wxStaticText* lblSortAs; + wxComboBox* cmbSortAs; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void UpdateSortAs( wxCommandEvent& event ) { event.Skip(); } + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorOrganisationsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Organisation Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 349,264 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorOrganisationsADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorNotesADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorNotesADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkNotes; + wxPanel* tabGeneral; + wxTextCtrl* txtNote; + wxPanel* tabPriority; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxPanel* tabLanguage; + wxStaticText* lblLanguage; + wxComboBox* cmbLanguage; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorNotesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Note Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,184 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorNotesADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorTitlesADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorTitlesADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkTitles; + wxPanel* tabGeneral; + wxStaticText* lblTitle; + wxTextCtrl* txtTitle; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorTitlesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Title Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,204 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorTitlesADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorRelatedADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorRelatedADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkRelated; + wxPanel* tabGeneral; + wxStaticText* lblRelation; + wxTextCtrl* txtRelated; + wxStaticText* lblType; + wxComboBox* cmbType; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorRelatedADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Related Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,236 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorRelatedADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorSoundADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorSoundADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkRelated; + wxPanel* tabGeneral; + wxStaticText* lblSoundFile; + wxFilePickerCtrl* fipSound; + wxStaticText* lblType; + wxChoice* cmbType; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorSoundADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Sound Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,250 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorSoundADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorPictureADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorPictureADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkRelated; + wxPanel* tabGeneral; + wxStaticText* lblPictureFile; + wxFilePickerCtrl* fipPicture; + wxStaticText* lblType; + wxChoice* cmbType; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorPictureADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Picture Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,247 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorPictureADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorWebsitesADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorWebsitesADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkWebsite; + wxPanel* tabGeneral; + wxStaticText* lblWebsite; + wxTextCtrl* txtWebsite; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorWebsitesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Website Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,205 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorWebsitesADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorGeopositionADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorGeopositionADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkWebsite; + wxPanel* tabGeneral; + wxStaticText* lblGeoposition; + wxTextCtrl* txtGeoposition; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorGeopositionADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Geoposition Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,201 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorGeopositionADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorCalAdrADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorCalAdrADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkWebsite; + wxPanel* tabGeneral; + wxStaticText* lblAddress; + wxTextCtrl* txtAddress; + wxStaticText* lblType; + wxChoice* cmbType; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorCalAdrADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Calendar Address Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 448,270 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorCalAdrADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorVendorADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorVendorADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkWebsite; + wxPanel* tabGeneral; + wxStaticText* lblVendorPEN; + wxTextCtrl* txtPEN; + wxStaticText* lblElement; + wxTextCtrl* txtElement; + wxStaticText* lblValue; + wxTextCtrl* txtValue; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorVendorADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Vendor Namespace Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 448,270 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorVendorADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorXTokenADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorXTokenADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkWebsite; + wxPanel* tabGeneral; + wxStaticText* lblTokenName; + wxTextCtrl* txtTokenName; + wxStaticText* lblXT; + wxTextCtrl* txtValue; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorXTokenADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("X-Token Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 448,270 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorXTokenADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorKeyADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorKeyADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkWebsite; + wxPanel* tabGeneral; + wxStaticText* lblKeyType; + wxChoice* cmbKeyMainType; + wxStaticText* lblType; + wxChoice* cmbType; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxPanel* tabURL; + wxStaticText* lblKeyFormat; + wxComboBox* cmbURL; + wxStaticText* lblAddress; + wxTextCtrl* txtAddress; + wxPanel* tabKey; + wxStaticText* lblKeyFormatData; + wxComboBox* cmbKeyType; + wxStaticText* lblKeyData; + wxTextCtrl* txtKeyData; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void ProcessKeyType( wxCommandEvent& event ) { event.Skip(); } + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ConvertURLType( wxCommandEvent& event ) { event.Skip(); } + virtual void ConvertKeyType( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorKeyADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Key Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 448,270 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorKeyADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorEmailADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorEmailADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkEmail; + wxPanel* tabGeneral; + wxStaticText* lblEmailAddress; + wxTextCtrl* txtEmail; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessData( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorEmailADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Email Address Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 411,251 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorEmailADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorIMADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorIMADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkIM; + wxPanel* tabGeneral; + wxStaticText* lblIMType; + wxComboBox* cmbIMType; + wxStaticText* lblUsername; + wxTextCtrl* txtUsername; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorIMADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Instant Messaging Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 421,279 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorIMADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorCategoryADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorCategoryADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkIM; + wxPanel* tabGeneral; + wxStaticText* lblCategory; + wxTextCtrl* txtCategory; + wxStaticText* lblType; + wxChoice* cmbType; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorCategoryADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Category Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 424,245 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorCategoryADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorTelephoneADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorTelephoneADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkAddress; + wxPanel* tabGeneral; + wxStaticText* lblTelephone; + wxTextCtrl* txtTelephone; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxStaticText* lblTelephoneType; + wxCheckBox* chkVoice; + wxCheckBox* chkText; + wxCheckBox* chkFax; + wxCheckBox* chkMobile; + wxCheckBox* chkVideo; + wxCheckBox* chkTextphone; + wxCheckBox* chkPager; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorTelephoneADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Telephone Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 402,331 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorTelephoneADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorLanguagesADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorLanguagesADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkLanguages; + wxPanel* tabGeneral; + wxStaticText* lblLanguage; + wxTextCtrl* txtLanguage; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorLanguagesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Language Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 369,206 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorLanguagesADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmContactEditorTimezonesADT +/////////////////////////////////////////////////////////////////////////////// +class frmContactEditorTimezonesADT : public wxDialog +{ + private: + + protected: + wxNotebook* nbkTimezone; + wxPanel* tabGeneral; + wxStaticText* lblTimezone; + wxComboBox* cmbTimezone; + wxStaticText* lblPriority; + wxCheckBox* chkUsePref; + wxSlider* sliPriority; + wxStaticText* lblHigh; + wxStaticText* lblLow; + wxButton* btnAction; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void EnablePriority( wxCommandEvent& event ) { event.Skip(); } + virtual void ProcessAction( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmContactEditorTimezonesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Timezone Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,231 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmContactEditorTimezonesADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class XABSearchPanelADT +/////////////////////////////////////////////////////////////////////////////// +class XABSearchPanelADT : public wxPanel +{ + private: + + protected: + wxChoice* choOption; + wxBoxSizer* szrSSet; + wxCheckBox* chkActive; + wxTextCtrl* txtSearch; + wxBitmapButton* btnAdd; + wxBitmapButton* btnDelete; + + // Virtual event handlers, overide them in your derived class + virtual void UpdateOptions( wxCommandEvent& event ) { event.Skip(); } + virtual void AddSearchWidget( wxCommandEvent& event ) { event.Skip(); } + virtual void RemoveSearchWidget( wxCommandEvent& event ) { event.Skip(); } + + + public: + + XABSearchPanelADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 390,40 ), long style = wxTAB_TRAVERSAL ); + ~XABSearchPanelADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmSearchAccountsADT +/////////////////////////////////////////////////////////////////////////////// +class frmSearchAccountsADT : public wxDialog +{ + private: + + protected: + wxCheckListBox* chlAccounts; + wxButton* btnSelect; + wxButton* btnCancel; + + // Virtual event handlers, overide them in your derived class + virtual void UpdateSelectedAccounts( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmSearchAccountsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Select Accounts"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 353,376 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmSearchAccountsADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmEditAccountADT +/////////////////////////////////////////////////////////////////////////////// +class frmEditAccountADT : public wxDialog +{ + private: + + protected: + wxNotebook* tabAccount; + wxPanel* tabProperties; + wxStaticText* lblAccName; + wxTextCtrl* txtAccountName; + wxStaticText* lblAccAdr; + wxTextCtrl* txtAddress; + wxStaticText* m_staticText193; + wxTextCtrl* txtPort; + wxStaticText* lblPort; + wxTextCtrl* txtUsername; + wxStaticText* lblPassword; + wxTextCtrl* txtPassword; + wxStaticText* lblPrefix; + wxTextCtrl* txtPrefix; + wxButton* btnDetect; + wxStaticText* txtSSL; + wxCheckBox* chkSSL; + wxPanel* tabRefresh; + wxStaticText* lblRefresh; + wxTextCtrl* txtRefresh; + wxButton* btnSave; + wxButton* btnCancel; + + // Virtual event handlers, overide them in your derived class + virtual void DetectAddressBook( wxCommandEvent& event ) { event.Skip(); } + virtual void UpdateSettings( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmEditAccountADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Edit Account"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 306,319 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmEditAccountADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmSSLCertificateADT +/////////////////////////////////////////////////////////////////////////////// +class frmSSLCertificateADT : public wxDialog +{ + private: + + protected: + wxNotebook* m_notebook28; + wxPanel* tabSummary; + wxPanel* pnlTop; + wxStaticText* lblCertName; + wxStaticText* lblValidityStatus; + wxPanel* m_panel54; + wxStaticText* lblIssuedTo; + wxStaticText* lblIssuedToData; + wxStaticText* lblValidFrom; + wxStaticText* lblValidFromData; + wxStaticText* lblValidUntil; + wxStaticText* lblValidUntilData; + wxPanel* tabDetail; + wxListCtrl* lstValues; + wxTextCtrl* txtValueData; + wxPanel* tabHierarchy; + wxTreeCtrl* treHierarchy; + wxPanel* m_panel57; + wxButton* btnViewCert; + wxPanel* pnlButtons; + wxButton* btnClose; + + // Virtual event handlers, overide them in your derived class + virtual void LoadValueData( wxListEvent& event ) { event.Skip(); } + virtual void CheckCertificate( wxTreeEvent& event ) { event.Skip(); } + virtual void ViewCertificate( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmSSLCertificateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("SSL Certificate Window"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 347,402 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmSSLCertificateADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmInvalidSSLCertificateADT +/////////////////////////////////////////////////////////////////////////////// +class frmInvalidSSLCertificateADT : public wxDialog +{ + private: + + protected: + wxStaticText* lblSSLText; + wxButton* btnAccept; + wxButton* btnReject; + wxButton* btnViewCert; + + // Virtual event handlers, overide them in your derived class + virtual void Accept( wxCommandEvent& event ) { event.Skip(); } + virtual void Reject( wxCommandEvent& event ) { event.Skip(); } + virtual void ViewCertificates( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Invalid SSL Certificate"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 445,239 ), long style = wxCAPTION ); + ~frmInvalidSSLCertificateADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmImportContactsADT +/////////////////////////////////////////////////////////////////////////////// +class frmImportContactsADT : public wxDialog +{ + private: + + protected: + wxStaticText* lblImportText; + wxCheckListBox* lstContacts; + wxBoxSizer* szrAccount; + wxStaticText* lblAccountText; + wxButton* btnImport; + wxButton* btnCancel; + + // Virtual event handlers, overide them in your derived class + virtual void ImportContacts( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmImportContactsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 325,400 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmImportContactsADT(); + +}; + +/////////////////////////////////////////////////////////////////////////////// +/// Class frmImportResultsADT +/////////////////////////////////////////////////////////////////////////////// +class frmImportResultsADT : public wxDialog +{ + private: + + protected: + wxStaticText* lblText; + wxTextCtrl* txtResults; + wxButton* btnCopyClipboard; + wxButton* btnFinish; + + // Virtual event handlers, overide them in your derived class + virtual void CopyClipboard( wxCommandEvent& event ) { event.Skip(); } + virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); } + + + public: + + frmImportResultsADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Import Results"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 489,299 ), long style = wxDEFAULT_DIALOG_STYLE ); + ~frmImportResultsADT(); + +}; + +#endif //__APPXESTIAADDRBK_H__ -- 2.39.5