From 720aa0c2762f8f7f4175435e68e69eefd0a3b0a5 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 25 Dec 2016 01:30:49 +0000 Subject: [PATCH] main.cpp: Added subroutines to create default settings --- source/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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)); -- 2.39.2