X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aae91497f6ac36a76d3313cf405cae0f098ea1d1..268bec5aee1a39b1d69e2d149a071c7b7c3a15dc:/include/wx/motif/bmpmotif.h

diff --git a/include/wx/motif/bmpmotif.h b/include/wx/motif/bmpmotif.h
index d0003b7df6..1e88d23c75 100644
--- a/include/wx/motif/bmpmotif.h
+++ b/include/wx/motif/bmpmotif.h
@@ -12,7 +12,7 @@
 #ifndef _WX_BMPMOTIF_H_
 #define _WX_BMPMOTIF_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "bmpmotif.h"
 #endif