]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valgen.h
GTK+ cell renderers are not widget, so use a
[wxWidgets.git] / include / wx / valgen.h
index 44596d0486c5596db0f03c379f2a67f09e84e8f7..35dd44ff5faaaacb3ede183eec4c431ce7f21070 100644 (file)
 #ifndef _WX_VALGENH__
 #define _WX_VALGENH__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "valgen.h"
-#endif
-
 #include "wx/validate.h"
 
 #if wxUSE_VALIDATORS
@@ -30,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.