From: Steve Brokenshire Date: Sun, 25 Dec 2016 01:30:49 +0000 (+0000) Subject: main.cpp: Added subroutines to create default settings X-Git-Tag: release-0.02~62 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=720aa0c2762f8f7f4175435e68e69eefd0a3b0a5;p=xestiacalendar%2F.git main.cpp: Added subroutines to create default settings --- diff --git a/source/main.cpp b/source/main.cpp index 2faffa9..b4be0fd 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -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));