X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d55734102e25f5d11bcb4bbac39083320afd3699..32485259c1342115488d219776dfebeb3d4d81b1:/wxPython/src/_tglbtn.i diff --git a/wxPython/src/_tglbtn.i b/wxPython/src/_tglbtn.i index 3241807ee6..4b6e6eef24 100644 --- a/wxPython/src/_tglbtn.i +++ b/wxPython/src/_tglbtn.i @@ -66,7 +66,7 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyToggleButtonNameStr); - %name(PreToggleButton)wxToggleButton(); + %RenameCtor(PreToggleButton, wxToggleButton()); bool Create(wxWindow *parent, wxWindowID id=-1,