X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fmain.cpp;h=cad49aa4e7909b4189036b60669b6bf07c0a1b46;hb=26c542881613813bd6a671a56e78f129944f68e6;hp=4bc72497dd4ab23849bb32976c9dab284f0da3f1;hpb=6e7e508af65b6a65b491f2727006ce53f90f4b8e;p=xestiaab%2F.git 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.