]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/statbox.h
Applied patch [ 858324 ] Calling EndModal inside an EVT_INIT_DIALOG event handler
[wxWidgets.git] / include / wx / gtk1 / statbox.h
index 8b9c296f706ded79066058f6c06c680de32e5f6d..fa4d65228ad46eddbe28a2c8fdf3d112dc9cbc35 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKSTATICBOXH__
 #define __GTKSTATICBOXH__
 
 #ifndef __GTKSTATICBOXH__
 #define __GTKSTATICBOXH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
 #pragma interface
 #endif