Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated widgets
[xestiacalendar/.git] / source / widgets / XCCalendarCtrl.h
index d3a9cca..b8ed1d4 100644 (file)
@@ -19,8 +19,6 @@
 #ifndef __WIDGETS_XCCALENDARCTRL_H__
 #define __WIDGETS_XCCALENDARCTRL_H__
 
-#endif
-
 #include <wx/wx.h>
 
 #include "events.h"
@@ -29,6 +27,7 @@
 #include "XCCalendarManipulator.h"
 
 #include "../common/monthviewgen.h"
+#include "../libraries/CalendarDataStorage/CalendarDataStorage.h"
 
 class XCCalendarCtrl: public wxPanel
 {
@@ -36,15 +35,18 @@ class XCCalendarCtrl: public wxPanel
        private:
                XCCalendarMonthView *MonthViewCtrl = nullptr;
                XCCalendarManipulator *ManipulatorCtrl = nullptr;
-               wxFlexGridSizer* szrMain = nullptr;
+               wxFlexGridSizer *szrMain = nullptr;
+               CalendarDataStorage *calendarStorage = nullptr;
        
        protected:
                void UpdateGrid(wxCommandEvent &event);
        
        public:
-               XCCalendarCtrl(wxWindow *parent);
+               XCCalendarCtrl(wxWindow *parent, CalendarDataStorage *storage);
                ~XCCalendarCtrl();
        
        //DECLARE_EVENT_TABLE()
        
-};
\ No newline at end of file
+};
+
+#endif
\ No newline at end of file
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