Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed commented out code in main.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 9 Mar 2016 23:03:20 +0000 (23:03 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 9 Mar 2016 23:03:20 +0000 (23:03 +0000)
source/main.cpp

index 4bc7249..cad49aa 100644 (file)
@@ -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 <xestiaccdll.h>
-
-       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.
     
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy