X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a6b16e36bd514672d3e978673b82ec2d461cdb5..088117622c38b0cef9ab634ebc0987b839572e74:/src/os2/mimetype.cpp diff --git a/src/os2/mimetype.cpp b/src/os2/mimetype.cpp index 623d4f0644..8ee7a32059 100644 --- a/src/os2/mimetype.cpp +++ b/src/os2/mimetype.cpp @@ -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