]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/glcanvas.h
Allow an app to call SetFont on a PS DC without assertion
[wxWidgets.git] / include / wx / mac / glcanvas.h
index a94814f6a69821fbca826b979d09af14731034ee..6f044609c3f5861a0c1c3677166589993deffbc6 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #  pragma interface "glcanvas.h"
 #endif
 
 #  pragma interface "glcanvas.h"
 #endif