]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/mimetype.cpp
replaced wxYield() call in PopupMenu() by a much safer wxYieldForCommandsOnly() ...
[wxWidgets.git] / src / os2 / mimetype.cpp
index 623d4f064469b1cdfd2bfe9b5c7beb740f357692..cd51d499dc41e9a07ede4596e5b941ddbdf8306f 100644 (file)
@@ -27,6 +27,8 @@
 #include "wx/dynarray.h"
 #include "wx/confbase.h"
 
+#if wxUSE_FILE
+
 #include "wx/os2/mimetype.h"
 
 // other standard headers
@@ -450,3 +452,4 @@ size_t wxMimeTypesManagerImpl::EnumAllFileTypes(wxArrayString& mimetypes)
   return 0;
 }
 
+#endif //wxUSE_FILE