]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/calendar.i
Fixed compile errors, warnings and other DSMs, and improved comments.
[wxWidgets.git] / wxPython / src / calendar.i
index aeaed635aeabf36d724f1c66b4f7082f07a5e8f8..91369950d2f4dffc75f3e0d636a19044c0ad7e56 100644 (file)
@@ -155,7 +155,7 @@ public:
                    const wxDateTime& date = wxDefaultDateTime,
                    const wxPoint& pos = wxDefaultPosition,
                    const wxSize& size = wxDefaultSize,
-                   long style = wxCAL_SHOW_HOLIDAYS,
+                   long style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS,
                    const char* name = "calendar");
     %name(wxPreCalendarCtrl)wxCalendarCtrl();
 
@@ -164,7 +164,7 @@ public:
                 const wxDateTime& date = wxDefaultDateTime,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
-                long style = wxCAL_SHOW_HOLIDAYS,
+                long style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS,
                 const char* name = "calendar");
 
     // set/get the current date