Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
frmMain: Added initial code
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 26 Nov 2016 22:48:08 +0000 (22:48 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sat, 26 Nov 2016 22:48:08 +0000 (22:48 +0000)
source/forms/main/frmMain.cpp
source/forms/main/frmMain.h

index ad424fa..47199f9 100644 (file)
@@ -4,5 +4,9 @@ frmMain::frmMain( wxWindow* parent )
 :
 frmMainADT( parent )
 {
-
+       
+       MainCalendarCtrl = new XCCalendarCtrl(this);
+       szrMain->Add(MainCalendarCtrl, 1, wxEXPAND, 5);
+       szrMain->Layout();
+       
 }
index 8e27797..bce60c6 100644 (file)
@@ -7,12 +7,22 @@ Subclass of frmMainADT, which is generated by wxFormBuilder.
 */
 
 #include "../../AppXestiaCalendar.h"
+#include "../../widgets/XCCalendarCtrl.h"
+#include "events.h"
+
 
 //// end generated include
 
 /** Implementing frmMainADT */
 class frmMain : public frmMainADT
 {
+       
+       private:
+               XCCalendarCtrl *MainCalendarCtrl = nullptr;
+               XCCalendarMonthView *MonthViewCtrl = nullptr;
+       
+       protected:
+       
        public:
                /** Constructor */
                frmMain( wxWindow* parent );
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