Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
CalDAV: WIP CalDAV support
[xestiacalendar/.git] / source / main.cpp
index 77f7fbf..ee0cd0b 100644 (file)
@@ -29,6 +29,7 @@
 #include "version.h"
 #include "bitmaps.h"
 #include "forms/main/frmMain.h"
+#include "forms/actmgr/frmActivityMgr.h"
 #include "defaults.h"
 
 class XestiaCALApp: public wxApp
@@ -83,6 +84,8 @@ bool XestiaCALApp::OnInit()
        SetupDefaultSettings();
        SetupDefaultCalendar();
        
+       // Setup the main form.
+       
        frmMain *frameMain = new frmMain( NULL );
        
        wxMemoryInputStream istream(bigimgs_appicon48_png, sizeof(bigimgs_appicon48_png));
@@ -92,8 +95,13 @@ bool XestiaCALApp::OnInit()
     
        appIcon.CopyFromBitmap(appIconBMP);
        
+       // Setup the activity manager.
+       
+       frmActivityMgr *frameActMgr = new frmActivityMgr ( frameMain );
+       
        frameMain->SetIcon(appIcon);
        frameMain->Show(true);
+       frameMain->SetupPointers(frameActMgr);
        
        SetTopWindow(frameMain);
        
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