]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
need to include wx/msw/private.h to get GetHwnd() which is used here
[wxWidgets.git] / include / wx / valtext.h
index 394c160fcfe71aa482ef6655b9d3914f460b0ee3..1bea80e06c4ad19564f46392e7681f83e3eae5be 100644 (file)
@@ -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.