]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/calendar.i
Fixed compilation error
[wxWidgets.git] / wxPython / src / calendar.i
index 73fc6bd66a1f35420eb597d4b4a4e22d7189be86..aeaed635aeabf36d724f1c66b4f7082f07a5e8f8 100644 (file)
@@ -14,7 +14,7 @@
 
 
 %{
-#include "helpers.h"
+#include "export.h"
 #include <wx/calctrl.h>
 %}
 
@@ -157,6 +157,15 @@ public:
                    const wxSize& size = wxDefaultSize,
                    long style = wxCAL_SHOW_HOLIDAYS,
                    const char* name = "calendar");
+    %name(wxPreCalendarCtrl)wxCalendarCtrl();
+
+    bool Create(wxWindow *parent,
+                wxWindowID id,
+                const wxDateTime& date = wxDefaultDateTime,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = wxCAL_SHOW_HOLIDAYS,
+                const char* name = "calendar");
 
     // set/get the current date
     // ------------------------
@@ -223,6 +232,12 @@ public:
 
 
 //---------------------------------------------------------------------------
+
+%init %{
+    wxClassInfo::CleanUpClasses();
+    wxClassInfo::InitializeClasses();
+%}
+
 //---------------------------------------------------------------------------
 
 %pragma(python) include="_calextras.py";