]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mimetype.h
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / include / wx / mimetype.h
index 0f5b78819b419e76404007ff63928be2a54035c2..2b7219d771b81ebd3e7aa142bfdeb88774170891 100644 (file)
@@ -23,6 +23,8 @@
 
 #include "wx/defs.h"
 
+#if wxUSE_MIMETYPE
+
 // the things we really need
 #include "wx/string.h"
 #include "wx/dynarray.h"
@@ -385,5 +387,7 @@ private:
 // the default mime manager for wxWindows programs
 WXDLLEXPORT_DATA(extern wxMimeTypesManager *) wxTheMimeTypesManager;
 
+#endif // wxUSE_MIMETYPE
+
 #endif
   //_WX_MIMETYPE_H_