class wxValidator : public wxEvtHandler
{
public:
- %addtofunc wxValidator "self._setOORInfo(self)"
+ %pythonAppend wxValidator "self._setOORInfo(self)"
+ %typemap(out) wxValidator*; // turn off this typemap
+
wxValidator();
//~wxValidator();
+ // Turn it back on again
+ %typemap(out) wxValidator* { $result = wxPyMake_wxObject($1, $owner); }
+
// Make a clone of this validator (or return NULL)
wxValidator* Clone();
class wxPyValidator : public wxValidator {
public:
- %addtofunc wxPyValidator "
+ %pythonAppend wxPyValidator "
self._setCallbackInfo(self, PyValidator, 1)
self._setOORInfo(self)"
wxPyValidator();