]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/icon.h
disable use of #pragma interface under Mac OS X
[wxWidgets.git] / include / wx / x11 / icon.h
index 6ffa9e7903bece44102e2621c1798e3d35717370..1f3314b6bdc27576c4f9b3e968863821401feb82 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_ICON_H_
 #define _WX_ICON_H_
 
 #ifndef _WX_ICON_H_
 #define _WX_ICON_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "icon.h"
 #endif
 
 #pragma interface "icon.h"
 #endif