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