]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/fontenum.cpp
don't crash in UnselectAll() if the tree has no root
[wxWidgets.git] / src / os2 / fontenum.cpp
index b74beb093930ada3a1e5316b52f3fda0183c62c5..476798911f0ab5bc727294adbd165b45071a4bed 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
+#ifdef __GNUG__
+    #pragma implementation "fontenum.h"
+#endif
+
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_FONTMAP
+
 #ifndef WX_PRECOMP
   #include "wx/font.h"
 #endif
@@ -212,3 +218,4 @@ int CALLBACK wxFontEnumeratorProc(LPLOGFONT lplf, LPTEXTMETRIC lptm,
 }
 */
 
+#endif // wxUSE_FONTMAP