X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..856bf319b572699cc31ceef8cf78d1b9770cacf9:/wxPython/src/_control.i?ds=sidebyside diff --git a/wxPython/src/_control.i b/wxPython/src/_control.i index 8019be7641..69c67f3da3 100644 --- a/wxPython/src/_control.i +++ b/wxPython/src/_control.i @@ -15,9 +15,7 @@ //--------------------------------------------------------------------------- -%{ - DECLARE_DEF_STRING(ControlNameStr); -%} +MAKE_CONST_WXSTRING(ControlNameStr); //--------------------------------------------------------------------------- %newgroup; @@ -30,8 +28,8 @@ class wxControl : public wxWindow { public: - %addtofunc wxControl "self._setOORInfo(self)" - %addtofunc wxControl() "" + %pythonAppend wxControl "self._setOORInfo(self)" + %pythonAppend wxControl() "" wxControl(wxWindow *parent, wxWindowID id,