]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_panel.i
wx.Window.CenterOnScreen has been removed
[wxWidgets.git] / wxPython / src / _panel.i
index 1a32e3cc0ca8d76bfe0c753cb1e403bc844ce5ab..881ceefcec622608e58cba80c72f3fef679c118a 100644 (file)
@@ -37,7 +37,7 @@ public:
             const wxSize& size = wxDefaultSize,
             long style = wxTAB_TRAVERSAL | wxNO_BORDER,
             const wxString& name = wxPyPanelNameStr);
-    %name(PrePanel)wxPanel();
+    %RenameCtor(PrePanel, wxPanel());
 
     // Turn it back on again
     %typemap(out) wxPanel* { $result = wxPyMake_wxObject($1, $owner); }
@@ -96,7 +96,7 @@ public:
                      const wxSize& size = wxDefaultSize,
                      long style = wxHSCROLL | wxVSCROLL,
                      const wxString& name = wxPyPanelNameStr);
-    %name(PreScrolledWindow)wxScrolledWindow();
+    %RenameCtor(PreScrolledWindow, wxScrolledWindow());
 
     // Turn it back on again
     %typemap(out) wxScrolledWindow* { $result = wxPyMake_wxObject($1, $owner); }