class wxValidator : public wxEvtHandler
{
public:
- %addtofunc wxValidator "self._setOORInfo(self)"
+ %pythonAppend wxValidator "self._setOORInfo(self)"
wxValidator();
//~wxValidator();
// validators beep by default if invalid key is pressed, these functions
// allow to change it
static bool IsSilent();
- static void SetBellOnError(int doIt = TRUE);
+ static void SetBellOnError(int doIt = True);
};
class wxPyValidator : public wxValidator {
public:
- %addtofunc wxPyValidator "
+ %pythonAppend wxPyValidator "
self._setCallbackInfo(self, PyValidator, 1)
self._setOORInfo(self)"
wxPyValidator();
- void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=TRUE);
+ void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=True);
};