Blind bug fix to bug reported by Angel Kry.
[wxWidgets.git] / include / wx / gtk / dialog.h
index 79be8d80095ec437ca685b3a7e9b2600566a1f45..9f30a1c8d8426a2295d9e2f2252008ef95dbd75d 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKDIALOGH__
 #define __GTKDIALOGH__
 
 #ifndef __GTKDIALOGH__
 #define __GTKDIALOGH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
 #pragma interface
 #endif