X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c74e7fe1de14f32dcd6f3c9cdd727de540bbd0e..7dee4b2ba05f613f75afa3994320a1b547bb04c3:/src/common/mimetype.cpp diff --git a/src/common/mimetype.cpp b/src/common/mimetype.cpp index 796a19f062..11e01b7291 100644 --- a/src/common/mimetype.cpp +++ b/src/common/mimetype.cpp @@ -771,6 +771,7 @@ bool wxFileTypeImpl::GetMimeType(wxString *mimeType) const bool wxFileTypeImpl::GetIcon(wxIcon *icon) const { +#if wxUSE_GUI if ( m_info ) { // we don't have icons in the fallback resources return FALSE; @@ -819,6 +820,8 @@ bool wxFileTypeImpl::GetIcon(wxIcon *icon) const } // no such file type or no value or incorrect icon entry +#endif // wxUSE_GUI + return FALSE; }