From: Steve Brokenshire Date: Wed, 9 Mar 2016 23:03:20 +0000 (+0000) Subject: Removed commented out code in main.cpp X-Git-Tag: release-0.11~162 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=be6d1be5c6ab26a90108e30ca03cbeeb272ca843;p=xestiaab%2F.git Removed commented out code in main.cpp --- diff --git a/source/main.cpp b/source/main.cpp index 4bc7249..cad49aa 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -54,19 +54,6 @@ bool XestiaABApp::OnInit() wxLocale locale; locale.Init(wxLANGUAGE_DEFAULT, wxLOCALE_LOAD_DEFAULT); -/*#if defined(__WIN32__) - - // Check that the minimum version of Xestia Common Components is installed on the system. - -#include - - if (!CheckXCCVersion(1, 0, 0)){ - MessageBox(0, L"The version of Xestia Common Components installed is an older version not supported by this version of Xestia Address Book.\n\nPlease visit http://xestia.co.uk/commoncomponents and follow the page instructions to download the version required.", L"Older version of Xestia Common Components installed", MB_OK|MB_ICONSTOP); - this->Exit(); - } - -#endif*/ - static const wxCmdLineEntryDesc g_cmdLineDesc [] = { { wxCMD_LINE_SWITCH, wxT_2("h"), wxT_2("help"), wxTRANSLATE(_("Displays help on command line parameters")), @@ -340,24 +327,11 @@ bool XestiaABApp::OnInit() ContactWindow->SetupContactData(&FileLoadData); ContactWindow->Show(true); - /*frmContactEditor *ContactEditor = new frmContactEditor( NULL ); - ContactEditor->SetupHeaders(); - ContactEditor->SetMode(TRUE); - ContactEditor->LoadContact(wxSContactFilename); - ContactEditor->SetIcon(contacticon); - ContactEditor->Show(true);*/ - SetTopWindow(ContactWindow); return true; } - - /*if (!XABArgs.Found(wxT(""))){ - - return false; - - }*/ // Setup default settings and accounts if they don't exist.