X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52437a76c384f7f27ff3632e152e71847b34f65e..08202189cbf2f78d932f85b9733b69e24f08e58c:/include/wx/valtext.h?ds=sidebyside diff --git a/include/wx/valtext.h b/include/wx/valtext.h index 394c160fcf..1bea80e06c 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -37,7 +37,7 @@ public: wxTextValidator(long style = wxFILTER_NONE, wxString *val = 0); wxTextValidator(const wxTextValidator& val); - ~wxTextValidator(){} + virtual ~wxTextValidator(){} // Make a clone of this validator (or return NULL) - currently necessary // if you're passing a reference to a validator.