]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/region.cpp
m_font may not have been set yet. Default to letting GetTextExtent
[wxWidgets.git] / src / x11 / region.cpp
index b1575a3f0d7e2eaad52cc0bed635d26c6782c8e8..78be8597084ab2b73f918d2c64f0cf95438d0fba 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:   wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "region.h"
 #endif