X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..2421eb827857325ff4886131c337391365986d6b:/wxPython/src/_tglbtn.i diff --git a/wxPython/src/_tglbtn.i b/wxPython/src/_tglbtn.i index b0eec03e23..2cf934ce84 100644 --- a/wxPython/src/_tglbtn.i +++ b/wxPython/src/_tglbtn.i @@ -15,10 +15,7 @@ //--------------------------------------------------------------------------- -%{ - wxChar* wxToggleButtonNameStr = _T("wxToggleButton"); - DECLARE_DEF_STRING(ToggleButtonNameStr); -%} +MAKE_CONST_WXSTRING2(ToggleButtonNameStr, _T("wxToggleButton")); //--------------------------------------------------------------------------- %newgroup @@ -36,10 +33,10 @@ public: wxToggleButton(wxWindow *, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long, const wxValidator&, const wxString&) - { PyErr_SetNone(PyExc_NotImplementedError); } + { wxPyRaiseNotImplemented(); } wxToggleButton() - { PyErr_SetNone(PyExc_NotImplementedError); } + { wxPyRaiseNotImplemented(); } }; #endif %}