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