]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valgen.h
CanAcceptFocus() now returns true if either the window itself or one of its children...
[wxWidgets.git] / include / wx / valgen.h
index 1a4c01784025b9aed6270e4fe188267d965f66c2..35dd44ff5faaaacb3ede183eec4c431ce7f21070 100644 (file)
@@ -26,7 +26,7 @@ public:
   wxGenericValidator(wxArrayInt* val);
   wxGenericValidator(const wxGenericValidator& copyFrom);
 
   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.
 
   // Make a clone of this validator (or return NULL) - currently necessary
   // if you're passing a reference to a validator.