]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/validate.h
Implement monitoring of file descriptors in wxMotif event loop.
[wxWidgets.git] / interface / wx / validate.h
index 01213826023c275168bd32a6160994ee2dc7e259..e8e18f6ddd605c9bba65441fbbc9d8e82b0613dc 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     interface of wxValidator
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
-// Licence:     wxWindows license
+// 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
 {
@@ -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;