]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_panel.cpp
Use the current font for the DoGetBestSize calculation
[wxWidgets.git] / src / xrc / xh_panel.cpp
index 6b6a467e19e7b675d75a38cf26ea2569bb503bb9..d059aebba823114fbb809fd9c75f909ed63592cc 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_panel.h"
 #endif