]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/mimetype.cpp
Checked for stream validity in wxImage::GetImageCount.
[wxWidgets.git] / src / os2 / mimetype.cpp
index 623d4f064469b1cdfd2bfe9b5c7beb740f357692..8ee7a320599d0be86efa4072a0b3520c88053c8d 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
@@ -243,7 +245,7 @@ bool wxFileTypeImpl::GetMimeTypes(wxArrayString& mimeTypes) const
         return FALSE;
 }
 
-bool wxFileTypeImpl::GetIcon(wxIcon *icon) const
+bool wxFileTypeImpl::GetIcon(wxIcon *icon, wxString* psCommand, int* pnIndex) const
 {
 #if wxUSE_GUI
     if ( m_info ) {
@@ -450,3 +452,4 @@ size_t wxMimeTypesManagerImpl::EnumAllFileTypes(wxArrayString& mimetypes)
   return 0;
 }
 
+#endif //wxUSE_FILE