]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valgen.h
fix DLL export declaration (adv, not core)
[wxWidgets.git] / include / wx / valgen.h
index 395f06a7c012aa224d57e2dc23c923250831c853..35dd44ff5faaaacb3ede183eec4c431ce7f21070 100644 (file)
@@ -5,17 +5,13 @@
 // Modified by:
 // Created:     Jan 22 1999
 // RCS-ID:
-// Copyright:   (c) 1999 Kevin Smith
+// Copyright:   (c) 1999 Julian Smart (assigned from Kevin)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #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.