]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valgen.h
Committed a couple of IPC changes I forgot to do
[wxWidgets.git] / include / wx / valgen.h
index 8fa29d664204fbf8261c12bbbad22275b0a186d8..f80ced14c3f9b2a127bd52bd7d588574250a385b 100644 (file)
 #ifndef _WX_VALGENH__
 #define _WX_VALGENH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "valgen.h"
 #endif
 
 #include "wx/validate.h"
 
+#if wxUSE_VALIDATORS
+
 class WXDLLEXPORT wxGenericValidator: public wxValidator
 {
+DECLARE_CLASS(wxGenericValidator)
 public:
   wxGenericValidator(bool* val);
   wxGenericValidator(int* val);
@@ -55,4 +58,8 @@ protected:
   wxArrayInt* m_pArrayInt;
 };
 
-#endif    // _WX_VALGENH__
+#endif
+  // wxUSE_VALIDATORS
+
+#endif    
+  // _WX_VALGENH__