X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d55734102e25f5d11bcb4bbac39083320afd3699..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/src/_radio.i diff --git a/wxPython/src/_radio.i b/wxPython/src/_radio.i index 275dce10c6..fac2b130c1 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 @@ -87,6 +87,8 @@ public: int GetNextItem(int item, wxDirection dir, long style) const { return -1; } } #endif + +// bool IsValid(int n) const; ** not public static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); @@ -111,7 +113,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,