X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46ec70fb5ab5f089c80fc8e2c90b4bc573d333ce..0c6b008469803f4575c64892caf0830ab98868c5:/src/motif/combobox.cpp

diff --git a/src/motif/combobox.cpp b/src/motif/combobox.cpp
index 9cf68483e5..e4ec22c7da 100644
--- a/src/motif/combobox.cpp
+++ b/src/motif/combobox.cpp
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "combobox.h"
 #endif