2 #include "../widgets/XCCalendarMonthView.h"
3 #include "../common/monthviewgen.h"
5 class XCCalendarMonthViewTest: public wxApp
10 /*class MyFrame: public wxFrame
13 XCCalendarDay *XCCalWidget = nullptr;
14 wxBoxSizer *WindowSizer = new wxBoxSizer(wxVERTICAL);
16 MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
19 IMPLEMENT_APP(XCCalendarMonthViewTest);
23 bool XCCalendarMonthViewTest::OnInit()
26 XCCalendarMonthViewGrid MonthViewGrid = GenerateMonthGrid(6, 2016);
28 XCCalendarMonthView *frmMain = new XCCalendarMonthView("XCCalendarMonthView Test", wxPoint(50, 50), wxSize(200, 200), &MonthViewGrid);
31 SetTopWindow(frmMain);