X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ed2b503d1ff88e0a53ddf6067e91813762a4da4..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/src/_panel.i diff --git a/wxPython/src/_panel.i b/wxPython/src/_panel.i index 1a32e3cc0c..881ceefcec 100644 --- a/wxPython/src/_panel.i +++ b/wxPython/src/_panel.i @@ -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); }