X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbc65e2760f79e0296c7e8b49ec6791d62070d3e..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/include/wx/gtk/fontdlg.h

diff --git a/include/wx/gtk/fontdlg.h b/include/wx/gtk/fontdlg.h
index 20a92375e8..901f458fa2 100644
--- a/include/wx/gtk/fontdlg.h
+++ b/include/wx/gtk/fontdlg.h
@@ -11,7 +11,7 @@
 #ifndef __GTK_FONTDLGH__
 #define __GTK_FONTDLGH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "fontdlg.h"
 #endif