]> git.saurik.com Git - wxWidgets.git/commitdiff
pragma interface/implementation should not be used for __APPLE__
authorDavid Elliott <dfe@tgwbd.org>
Mon, 28 Jul 2003 17:51:33 +0000 (17:51 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 28 Jul 2003 17:51:33 +0000 (17:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/validate/validate.cpp
samples/validate/validate.h

index 2348ebf269febbc2e97971410b9666a755a05d4c..c5a188234ae57dea2c924f79447a907b2b79bafa 100644 (file)
@@ -15,7 +15,7 @@
 // from a text control. All validators transfer data, but not
 // all test validity, so don't be confused by the name.
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #   pragma implementation
 #endif // __GNUG__
 
index 3a4bd970e5b4aefcd49b4403d4aed0bcbdf4da62..546cfb254f9169a8d0d03465e3e0a7f236b403ac 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #   pragma interface
 #endif