]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/fontenum.cpp
Don't call wxSafeYield() from wxGenericListCtrl::EditLabel().
[wxWidgets.git] / src / dfb / fontenum.cpp
index fe1e05340e9c6f8a0dde82253b0b815f1a04bf08..71be1d3d1fdc3fc9e2edcce35afc04373660ccde 100644 (file)
@@ -18,6 +18,8 @@
 #include "wx/fontenum.h"
 #include "wx/private/fontmgr.h"
 
 #include "wx/fontenum.h"
 #include "wx/private/fontmgr.h"
 
+#if wxUSE_FONTENUM
+
 // ----------------------------------------------------------------------------
 // wxFontEnumerator
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // wxFontEnumerator
 // ----------------------------------------------------------------------------
@@ -49,3 +51,5 @@ bool wxFontEnumerator::EnumerateEncodings(const wxString& facename)
 {
     return EnumerateEncodingsUTF8(facename);
 }
 {
     return EnumerateEncodingsUTF8(facename);
 }
+
+#endif // wxUSE_FONTENUM