From be6d1be5c6ab26a90108e30ca03cbeeb272ca843 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 9 Mar 2016 23:03:20 +0000 Subject: [PATCH] Removed commented out code in main.cpp --- source/main.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) 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. -- 2.39.2