]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/xrc/derivdlg.h
Rework modal dialog code to not depend on now obsolete wxDIALOG_MODAL flag.
[wxWidgets.git] / contrib / samples / xrc / derivdlg.h
index ca580eed79278b7fd45dd2c105aec59201aa1064..2bea8e39ea65dcf3f6bbfe0ba4615b80502593d4 100644 (file)
@@ -18,7 +18,7 @@
 // GCC interface
 //-----------------------------------------------------------------------------
 
 // GCC interface
 //-----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "derivdlg.h"
 #endif
 
     #pragma interface "derivdlg.h"
 #endif