X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb29dcac01af849053d8f85b69aae7e7ca8c7d26..5b5ea4664162471bb709cf6addaba92936ccd36a:/src/unix/taskbarx11.cpp

diff --git a/src/unix/taskbarx11.cpp b/src/unix/taskbarx11.cpp
index 1d01758c9f..841786b04b 100644
--- a/src/unix/taskbarx11.cpp
+++ b/src/unix/taskbarx11.cpp
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "taskbarx11.h"
 #endif