X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f040060e2fdaf0a5cc20f986fbbc67a000f5f57b..ec75d791f043b3b43cac9825a2c62e9d5321e616:/include/wx/mac/mimetype.h diff --git a/include/wx/mac/mimetype.h b/include/wx/mac/mimetype.h index 409eb06d7a..475267c7ba 100644 --- a/include/wx/mac/mimetype.h +++ b/include/wx/mac/mimetype.h @@ -12,7 +12,7 @@ #ifndef _MIMETYPE_IMPL_H #define _MIMETYPE_IMPL_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "mimetype.h" #endif @@ -24,7 +24,7 @@ class wxMimeTypesManagerImpl { public : wxMimeTypesManagerImpl() { } -#ifdef __WXMAC_X__ +#ifdef __DARWIN__ ~wxMimeTypesManagerImpl() { } #endif @@ -43,8 +43,8 @@ public : size_t EnumAllFileTypes(wxArrayString& mimetypes); // this are NOPs under MacOS - bool ReadMailcap(const wxString& filename, bool fallback = TRUE) { return TRUE; } - bool ReadMimeTypes(const wxString& filename) { return TRUE; } + bool ReadMailcap(const wxString& WXUNUSED(filename), bool WXUNUSED(fallback) = TRUE) { return TRUE; } + bool ReadMimeTypes(const wxString& WXUNUSED(filename)) { return TRUE; } void AddFallback(const wxFileTypeInfo& ft) { m_fallbacks.Add(ft); }