X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/src/_radio.i diff --git a/wxPython/src/_radio.i b/wxPython/src/_radio.i index 93a78b647d..d71462cc00 100644 --- a/wxPython/src/_radio.i +++ b/wxPython/src/_radio.i @@ -41,7 +41,7 @@ public: long style = wxRA_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyRadioBoxNameStr); - %name(PreRadioBox)wxRadioBox(); + %RenameCtor(PreRadioBox, wxRadioBox()); bool Create(wxWindow* parent, wxWindowID id=-1, const wxString& label = wxPyEmptyString, @@ -70,8 +70,8 @@ public: %pythoncode { SetItemLabel = SetString }; // change the individual radio button state - %name(EnableItem) virtual void Enable(int n, bool enable = true); - %name(ShowItem) virtual void Show(int n, bool show = true); + %Rename(EnableItem, virtual void, Enable(int n, bool enable = true)); + %Rename(ShowItem, virtual void, Show(int n, bool show = true)); #ifndef __WXGTK__ // layout parameters @@ -111,7 +111,7 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyRadioButtonNameStr); - %name(PreRadioButton)wxRadioButton(); + %RenameCtor(PreRadioButton, wxRadioButton()); bool Create(wxWindow* parent, wxWindowID id=-1, const wxString& label = wxPyEmptyString,