]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/validate.h
added definition of TARGET_CARBON when compiling with non generated setup.h
[wxWidgets.git] / include / wx / validate.h
index 0cd221045c1c34d95bde088be584979eabc8747e..f4be5b093d501ee9377c2476de77e6d9b811808b 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_VALIDATEH__
 #define _WX_VALIDATEH__
 
 #ifndef _WX_VALIDATEH__
 #define _WX_VALIDATEH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "validate.h"
 #endif
 
     #pragma interface "validate.h"
 #endif
 
@@ -83,6 +83,7 @@ private:
     static bool ms_isSilent;
 
     DECLARE_DYNAMIC_CLASS(wxValidator)
     static bool ms_isSilent;
 
     DECLARE_DYNAMIC_CLASS(wxValidator)
+    DECLARE_NO_COPY_CLASS(wxValidator)
 };
 
 WXDLLEXPORT_DATA(extern const wxValidator) wxDefaultValidator;
 };
 
 WXDLLEXPORT_DATA(extern const wxValidator) wxDefaultValidator;