X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..5fa507c8cadd72e5b9765167897baf00f48ac7ea:/interface/wx/validate.h diff --git a/interface/wx/validate.h b/interface/wx/validate.h index 98bfc9c26a..5ef578fb58 100644 --- a/interface/wx/validate.h +++ b/interface/wx/validate.h @@ -51,7 +51,7 @@ public: /** Destructor. */ - ~wxValidator(); + virtual ~wxValidator(); /** All validator classes must implement the Clone() function, which @@ -75,7 +75,7 @@ public: This functions switches on or turns off the error sound produced by the validators if an invalid key is pressed. */ - void SetBellOnError(bool doIt = true); + static void SetBellOnError(bool doIt = true); /** Associates a window with the validator.