]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/button.cpp
m_font may not have been set yet. Default to letting GetTextExtent
[wxWidgets.git] / src / univ / button.cpp
index f76b62d67846ec62b211f02f9dbb817ec08f9ed7..fb7914d2a157c6bfe223b7503af937a7e36e2782 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univbutton.h"
 #endif