Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
main.cpp: Added subroutines to create default settings
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 25 Dec 2016 01:30:49 +0000 (01:30 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 25 Dec 2016 01:30:49 +0000 (01:30 +0000)
source/main.cpp

index 2faffa9..b4be0fd 100644 (file)
@@ -29,6 +29,7 @@
 #include "version.h"
 #include "bitmaps.h"
 #include "forms/main/frmMain.h"
+#include "defaults.h"
 
 class XestiaCALApp: public wxApp
 {
@@ -76,6 +77,12 @@ bool XestiaCALApp::OnInit()
     
        }
        
+       // Setup the default accounts.
+       
+       SetupDirectories();
+       SetupDefaultSettings();
+       SetupDefaultCalendar();
+       
        frmMain *frame = new frmMain( NULL );
        
        wxMemoryInputStream istream(bigimgs_appicon48_png, sizeof(bigimgs_appicon48_png));
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