]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/frames.i
fixes for the wxPre* helpers
[wxWidgets.git] / wxPython / src / frames.i
index d0fd4866b13db7e8e71c678aeeee9197cb96222d..b100fc250166bfedb704009f4bf688b8c89b2bd6 100644 (file)
@@ -72,7 +72,7 @@ public:
                 const char* name = "frame");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreTopLevelWindowXXX:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreTopLevelWindow:val._setOORInfo(val)"
 
     // maximize = TRUE => maximize, otherwise - restore
     virtual void Maximize(bool maximize = TRUE);
@@ -125,7 +125,7 @@ public:
                 char* name = "frame");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreFrame:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreFrame:val._setOORInfo(val)"
 
     wxPoint GetClientAreaOrigin();
 
@@ -189,7 +189,7 @@ public:
                 const char* name = "dialogBox");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreDialog:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreDialog:val._setOORInfo(val)"
 
     void Centre(int direction = wxBOTH);
     void EndModal(int retCode);
@@ -224,7 +224,7 @@ public:
                 char* name = "frame");
 
     %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
-    %pragma(python) addtomethod = "wxPreMiniFrame:val._setOORInfo(self)"
+    %pragma(python) addtomethod = "wxPreMiniFrame:val._setOORInfo(val)"
 };