]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_control.i
Added some docstrings.
[wxWidgets.git] / wxPython / src / _control.i
index 8019be7641c6e4879b8eb5df1a71f18d0bb69b6c..69c67f3da3246accfdda49fd06e725ee949412ce 100644 (file)
@@ -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,