]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/clipbrd.cpp
use GetFont() instead of (possibly not initialized) m_font in GetCharWidth/Height()
[wxWidgets.git] / src / x11 / clipbrd.cpp
index bb143dcc1ff4f7d6587f3a96586b9dc9d62240bd..e9ba9c5a04572bf75156accad28f9e026ccf05f1 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "clipbrd.h"
 #endif