X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..2421eb827857325ff4886131c337391365986d6b:/wxPython/src/_radio.i diff --git a/wxPython/src/_radio.i b/wxPython/src/_radio.i index e3d02a71a1..aaced88af9 100644 --- a/wxPython/src/_radio.i +++ b/wxPython/src/_radio.i @@ -15,10 +15,8 @@ //--------------------------------------------------------------------------- -%{ - DECLARE_DEF_STRING(RadioBoxNameStr); - DECLARE_DEF_STRING(RadioButtonNameStr); -%} +MAKE_CONST_WXSTRING(RadioBoxNameStr); +MAKE_CONST_WXSTRING(RadioButtonNameStr); //--------------------------------------------------------------------------- %newgroup @@ -66,8 +64,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); + %name(EnableItem) virtual void Enable(int n, bool enable = True); + %name(ShowItem) virtual void Show(int n, bool show = True); #ifndef __WXGTK__ // layout parameters