X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fwidgets%2FXCCalendarMonthView.h;h=62b986b9cc418f39fb99edc6328adf1ab3f4dd89;hb=f1ecf412b80a5c25421595fde8f1e86131414f4c;hp=9799ea844d5e7b726fe314d58a8834c3c05ae48f;hpb=318513b721b9794b6a91b880b75e5a00be039ded;p=xestiacalendar%2F.git diff --git a/source/widgets/XCCalendarMonthView.h b/source/widgets/XCCalendarMonthView.h index 9799ea8..62b986b 100644 --- a/source/widgets/XCCalendarMonthView.h +++ b/source/widgets/XCCalendarMonthView.h @@ -33,7 +33,7 @@ class XCCalendarDay; -class XCCalendarMonthView: public wxFrame +class XCCalendarMonthView: public wxPanel { private: @@ -52,7 +52,8 @@ class XCCalendarMonthView: public wxFrame void Repaint(); public: - XCCalendarMonthView(const wxString& title, const wxPoint& pos, const wxSize& size, XCCalendarMonthViewGrid *grid); + XCCalendarMonthView(wxWindow *parent, const wxString& title, const wxPoint& pos, const wxSize& size, XCCalendarMonthViewGrid *grid); + XCCalendarMonthView(XCCalendarMonthViewGrid *grid); ~XCCalendarMonthView(); void PaintFrameEvent(wxPaintEvent &PaintEvent);