]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcscreen.h
dirty hack to fix deprecation warning when building wxMotif
[wxWidgets.git] / include / wx / motif / dcscreen.h
index d66674a33e8ef7ce9c5421644b42a68c5b15ab58..16b498aa71e02dbbb6cfa46f49c7bb6be1a5110a 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
 #ifndef _WX_DCSCREEN_H_
 #define _WX_DCSCREEN_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcscreen.h"
 #endif
 
 #pragma interface "dcscreen.h"
 #endif