X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..30d54e2732fe66d65c76b65a092b52e712d7abb8:/include/wx/valgen.h

diff --git a/include/wx/valgen.h b/include/wx/valgen.h
index 1a4c017840..35dd44ff5f 100644
--- a/include/wx/valgen.h
+++ b/include/wx/valgen.h
@@ -26,7 +26,7 @@ public:
   wxGenericValidator(wxArrayInt* val);
   wxGenericValidator(const wxGenericValidator& copyFrom);
 
-  ~wxGenericValidator(){}
+  virtual ~wxGenericValidator(){}
 
   // Make a clone of this validator (or return NULL) - currently necessary
   // if you're passing a reference to a validator.