X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0d5e7a25aef93d3a907d005c572bc8cca4f41a1..30e0e2518f3ad0e49ea9972d8e7f6a1ce5d1ec33:/src/generic/calctrl.cpp diff --git a/src/generic/calctrl.cpp b/src/generic/calctrl.cpp index 0352b4c2f5..b1e3317091 100644 --- a/src/generic/calctrl.cpp +++ b/src/generic/calctrl.cpp @@ -34,6 +34,7 @@ #include "wx/brush.h" #include "wx/combobox.h" #include "wx/stattext.h" + #include "wx/textctrl.h" #endif //WX_PRECOMP #if wxUSE_CALENDARCTRL @@ -154,6 +155,19 @@ wxYearSpinCtrl::wxYearSpinCtrl(wxCalendarCtrl *cal) // wxCalendarCtrl // ---------------------------------------------------------------------------- +wxCalendarCtrl::wxCalendarCtrl(wxWindow *parent, + wxWindowID id, + const wxDateTime& date, + const wxPoint& pos, + const wxSize& size, + long style, + const wxString& name) +{ + Init(); + + (void)Create(parent, id, date, pos, size, style, name); +} + void wxCalendarCtrl::Init() { m_comboMonth = NULL;