X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..1b7751aaa9a86d76a850b9267bc0c201e3cea30f:/interface/wx/validate.h?ds=sidebyside diff --git a/interface/wx/validate.h b/interface/wx/validate.h index 7b458300fb..e8e18f6ddd 100644 --- a/interface/wx/validate.h +++ b/interface/wx/validate.h @@ -26,19 +26,14 @@ For more information, please see @ref overview_validator. - @beginWxPythonOnly - If you wish to create a validator class in wxPython you should derive the - class from @c wxPyValidator in order to get Python-aware capabilities for - the various virtual methods. - @endWxPythonOnly - @library{wxcore} @category{validator} @stdobjects ::wxDefaultValidator - @see @ref overview_validator, wxTextValidator, wxGenericValidator + @see @ref overview_validator, wxTextValidator, wxGenericValidator, + wxIntegerValidator, wxFloatingPointValidator */ class wxValidator : public wxEvtHandler { @@ -83,6 +78,11 @@ public: */ static void SuppressBellOnError(bool suppress = true); + /** + Returns if the error sound is currently disabled. + */ + static bool IsSilent(); + /** Associates a window with the validator. @@ -131,5 +131,5 @@ public: /** An empty, "null" wxValidator instance. */ -wxValidator wxDefaultValidator; +const wxValidator wxDefaultValidator;