]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/calctrl.cpp
tried to fix compilation with Watcom 11 (should fix the bug 651492)
[wxWidgets.git] / src / generic / calctrl.cpp
index 0352b4c2f52daf11fb603beb2d70344a0e24679d..b1e33170914cd3c5e911ddb02a9caa1130e498bd 100644 (file)
@@ -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;