]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_tglbtn.i
Move LabelWrapper, TextSizerWrapper classes out of function body to accommodate some...
[wxWidgets.git] / wxPython / src / _tglbtn.i
index 3241807ee64b4a508b4089c412561df4606fdb7e..4b6e6eef247520f01c8529db664e77f94949c56d 100644 (file)
@@ -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,