]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/fontdlg.h
use GTK+ API for setting icons instead of direct X11 calls
[wxWidgets.git] / include / wx / gtk1 / fontdlg.h
index 20a92375e81b2ba7b8d5ef97b3b568a65df159b7..901f458fa2cda19a8227a7777e9051ff17181d74 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTK_FONTDLGH__
 #define __GTK_FONTDLGH__
 
 #ifndef __GTK_FONTDLGH__
 #define __GTK_FONTDLGH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "fontdlg.h"
 #endif
 
 #pragma interface "fontdlg.h"
 #endif