]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontenum.h
fix comparison of BYTE variable with -1 after last commit
[wxWidgets.git] / include / wx / fontenum.h
index 0e4b525cd573ef573d0bfe5e414eda6b9e6fa857..29127061a8bcf78899e5c21cd9efac0143c494dd 100644 (file)
 #ifndef _WX_FONTENUM_H_
 #define _WX_FONTENUM_H_
 
+#include "wx/defs.h"
+
+#if wxUSE_FONTENUM
+
 #include "wx/fontenc.h"
 #include "wx/arrstr.h"
 
@@ -80,4 +84,6 @@ private:
     DECLARE_NO_COPY_CLASS(wxFontEnumerator)
 };
 
+#endif // wxUSE_FONTENUM
+
 #endif // _WX_FONTENUM_H_