X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b39c3fa09a936e6a3f386a67c0fc7cfd84df0168..c01075e580ba924cf27ea7a4ba85508366143326:/wxPython/src/_validator.i diff --git a/wxPython/src/_validator.i b/wxPython/src/_validator.i index e68789f9e9..4c72e8b05a 100644 --- a/wxPython/src/_validator.i +++ b/wxPython/src/_validator.i @@ -61,8 +61,9 @@ public: // 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); + %property(Window, GetWindow, SetWindow, doc="See `GetWindow` and `SetWindow`"); }; @@ -83,13 +84,12 @@ public: self._setOORInfo(self)" wxPyValidator(); - void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=True); + void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=true); }; %immutable; -// See also wxPy_ReinitStockObjects in helpers.cpp const wxValidator wxDefaultValidator; %mutable;