]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_validator.i
Trim trailing spaces from key names when parsing
[wxWidgets.git] / wxPython / src / _validator.i
index 10da1778a52ff7264bbe8453792aad88b254418a..2951244f365c354b9123e3da686fedfc82be83ed 100644 (file)
@@ -32,7 +32,7 @@
 class wxValidator : public wxEvtHandler
 {
 public:
-    %addtofunc wxValidator "self._setOORInfo(self)"
+    %pythonAppend wxValidator "self._setOORInfo(self)"
     wxValidator();
     //~wxValidator();
 
@@ -73,7 +73,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
 
 class wxPyValidator : public wxValidator {
 public:
-    %addtofunc wxPyValidator "
+    %pythonAppend wxPyValidator "
         self._setCallbackInfo(self, PyValidator, 1)
         self._setOORInfo(self)"
     wxPyValidator();