]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/icon.cpp
that was a memory leak
[wxWidgets.git] / src / x11 / icon.cpp
index e563e7b5482499a6d7c89235d7545890727638e3..0086004ff43c60d315ecbf5c4067daeffb357d96 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "icon.h"
 #endif