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")),
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.