]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/calendar.i
don't try to refresh the menu bar before showing it, fixes crash on startup with...
[wxWidgets.git] / wxPython / src / calendar.i
index 120e372b07ffcecd844aec2e46833cbd3f44b4e6..ee24ecbe022ae755960b4ab7626541848bb004e4 100644 (file)
@@ -223,6 +223,12 @@ public:
 
 
 //---------------------------------------------------------------------------
 
 
 //---------------------------------------------------------------------------
+
+%init %{
+    wxClassInfo::CleanUpClasses();
+    wxClassInfo::InitializeClasses();
+%}
+
 //---------------------------------------------------------------------------
 
 %pragma(python) include="_calextras.py";
 //---------------------------------------------------------------------------
 
 %pragma(python) include="_calextras.py";