X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d55734102e25f5d11bcb4bbac39083320afd3699..62705a278a57b8d3dd67222f20b161584a86982d:/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,