]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/control.h
blind fix for compilation error in EVT macros
[wxWidgets.git] / include / wx / univ / control.h
index c2511deda490e1d4a3c783d2da2d295c279dff9f..710e6307fdecf3965428bd30f2b6a08c57412473 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_CONTROL_H_
 #define _WX_UNIV_CONTROL_H_
 
 #ifndef _WX_UNIV_CONTROL_H_
 #define _WX_UNIV_CONTROL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "control.h"
 #endif
 
     #pragma interface "control.h"
 #endif