X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05b0355af838c4407bf977923d82f07abc098d91..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/validate.h?ds=inline diff --git a/interface/wx/validate.h b/interface/wx/validate.h index bdbe3aeea4..5a1c4e81d9 100644 --- a/interface/wx/validate.h +++ b/interface/wx/validate.h @@ -2,7 +2,6 @@ // Name: validate.h // Purpose: interface of wxValidator // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -26,19 +25,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 +77,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.