]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/toplevel.h
disable use of #pragma interface under Mac OS X
[wxWidgets.git] / include / wx / mac / toplevel.h
index 5c3672f37ade58bfcf01f45124978b45523fffa4..f5da13f8708636616ef245bdbc8759acf5ddf544 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MSW_TOPLEVEL_H_
 #define _WX_MSW_TOPLEVEL_H_
 
 #ifndef _WX_MSW_TOPLEVEL_H_
 #define _WX_MSW_TOPLEVEL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "toplevel.h"
 #endif
 
     #pragma interface "toplevel.h"
 #endif