X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..3a5910cbe95603698b984cc6d8d41bbe7e2f89d9:/include/wx/univ/radiobut.h?ds=inline

diff --git a/include/wx/univ/radiobut.h b/include/wx/univ/radiobut.h
index 39ad91618b..5d78b3e9a3 100644
--- a/include/wx/univ/radiobut.h
+++ b/include/wx/univ/radiobut.h
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_RADIOBUT_H_
 #define _WX_UNIV_RADIOBUT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univradiobut.h"
 #endif