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