X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b39c3fa09a936e6a3f386a67c0fc7cfd84df0168..f1b1ecf0200d1c790c2852b99d0fe20f30b3a08d:/wxPython/src/_statctrls.i?ds=sidebyside diff --git a/wxPython/src/_statctrls.i b/wxPython/src/_statctrls.i index 9c2df37ac9..a22abfe080 100644 --- a/wxPython/src/_statctrls.i +++ b/wxPython/src/_statctrls.i @@ -37,7 +37,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxPyStaticBoxNameStr); - %name(PreStaticBox)wxStaticBox(); + %RenameCtor(PreStaticBox, wxStaticBox()); // Turn it back on again %typemap(out) wxStaticBox* { $result = wxPyMake_wxObject($1, $owner); } @@ -70,7 +70,7 @@ public: const wxSize &size = wxDefaultSize, long style = wxLI_HORIZONTAL, const wxString& name = wxPyStaticTextNameStr); - %name(PreStaticLine)wxStaticLine(); + %RenameCtor(PreStaticLine, wxStaticLine()); bool Create( wxWindow *parent, wxWindowID id=-1, const wxPoint &pos = wxDefaultPosition, @@ -105,7 +105,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxPyStaticTextNameStr); - %name(PreStaticText)wxStaticText(); + %RenameCtor(PreStaticText, wxStaticText()); bool Create(wxWindow* parent, wxWindowID id=-1, const wxString& label = wxPyEmptyString, @@ -134,7 +134,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxPyStaticBitmapNameStr); - %name(PreStaticBitmap)wxStaticBitmap(); + %RenameCtor(PreStaticBitmap, wxStaticBitmap()); bool Create(wxWindow* parent, wxWindowID id=-1, const wxBitmap& bitmap = wxNullBitmap,