X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..84d1cd430f9f4cba81737a45cd40fdb7cbac4f7d:/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.