]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/timer.h
blind fix for compilation error in EVT macros
[wxWidgets.git] / include / wx / gtk / timer.h
index 91fbc1002e8e900f97503d502ba55d88f23494b5..5d006be202fcc6669609694909695f1df3b4f92d 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKTIMERH__
 #define __GTKTIMERH__
 
 #ifndef __GTKTIMERH__
 #define __GTKTIMERH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "timer.h"
 #endif
 
     #pragma interface "timer.h"
 #endif