]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_validator.i
Updating with Vadim's API changes.
[wxWidgets.git] / wxPython / src / _validator.i
index 4c72e8b05ae7c7751a0b075a9869883dcc1f0763..8d4377ab7406ca6d61ccc2bbd9bbbaaf713e6231 100644 (file)
@@ -79,12 +79,11 @@ IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
 
 class wxPyValidator : public wxValidator {
 public:
-    %pythonAppend wxPyValidator "
-        self._setCallbackInfo(self, PyValidator, 1)
-        self._setOORInfo(self)"
+    %pythonAppend wxPyValidator "self._setOORInfo(self);"  setCallbackInfo(PyValidator)
+        
     wxPyValidator();
 
-    void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=true);
+    void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=1);
 };