// Name: validate.h
// Purpose: interface of wxValidator
// Author: wxWidgets team
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
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
{
*/
static void SuppressBellOnError(bool suppress = true);
+ /**
+ Returns if the error sound is currently disabled.
+ */
+ static bool IsSilent();
+
/**
Associates a window with the validator.
/**
An empty, "null" wxValidator instance.
*/
-wxValidator wxDefaultValidator;
+const wxValidator wxDefaultValidator;