]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valgen.h
Added missing AddBook
[wxWidgets.git] / include / wx / valgen.h
index 1dbcdb62ecb527db508df3795955f2c879226874..f80ced14c3f9b2a127bd52bd7d588574250a385b 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_VALGENH__
 #define _WX_VALGENH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "valgen.h"
 #endif
 
@@ -22,6 +22,7 @@
 
 class WXDLLEXPORT wxGenericValidator: public wxValidator
 {
+DECLARE_CLASS(wxGenericValidator)
 public:
   wxGenericValidator(bool* val);
   wxGenericValidator(int* val);