X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a6b16e36bd514672d3e978673b82ec2d461cdb5..e8617760b089b3dd31e4d77ce493267a82fc1003:/src/os2/mimetype.cpp diff --git a/src/os2/mimetype.cpp b/src/os2/mimetype.cpp index 623d4f0644..215229c4a3 100644 --- a/src/os2/mimetype.cpp +++ b/src/os2/mimetype.cpp @@ -6,7 +6,7 @@ // Created: 01.21.00 // RCS-ID: $Id$ // Copyright: Adopted from msw port --(c) 1998 Vadim Zeitlin -// Licence: wxWindows license (part of wxExtra library) +// Licence: wxWindows licence (part of wxExtra library) ///////////////////////////////////////////////////////////////////////////// #define INCL_DOS @@ -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