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