X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9691c806e6fbb08b01c9eec9998ad1e8242c7df3..0f8218d7ca7c8913bfdf82cad2f7be117a662b0d:/include/wx/x11/clipbrd.h?ds=inline

diff --git a/include/wx/x11/clipbrd.h b/include/wx/x11/clipbrd.h
index 1a42d17cb6..981aab4690 100644
--- a/include/wx/x11/clipbrd.h
+++ b/include/wx/x11/clipbrd.h
@@ -11,7 +11,7 @@
 #ifndef __X11CLIPBOARDH__
 #define __X11CLIPBOARDH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif