X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..15475ced8819ab9fe6ababa609811399bfb45a43:/src/univ/stattext.cpp

diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp
index 8521014b48..2f2a955f83 100644
--- a/src/univ/stattext.cpp
+++ b/src/univ/stattext.cpp
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univstattext.h"
 #endif