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