]> git.saurik.com Git - wxWidgets.git/commitdiff
disable use of #pragma interface under Mac OS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Mon, 2 Sep 2002 19:15:40 +0000 (19:15 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Mon, 2 Sep 2002 19:15:40 +0000 (19:15 +0000)
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/ownerdrw.h

index fdbc769b15cd3c8c790cdc483061f80c67da2d6d..64d4f2b67d72fa4a89351e731e5a6a1e021e986e 100644 (file)
@@ -14,7 +14,7 @@
 
 #if wxUSE_OWNER_DRAWN
 
-#ifdef    __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "ownerdrw.h"
 #endif