X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1541f5f05a4f8f59b1a83959c099a1b0a660973..c781c31638cc5ae06eb325567323f131e8183a75:/include/wx/os2/mimetype.h diff --git a/include/wx/os2/mimetype.h b/include/wx/os2/mimetype.h index 475fb05288..f21ddc37fb 100644 --- a/include/wx/os2/mimetype.h +++ b/include/wx/os2/mimetype.h @@ -63,10 +63,10 @@ public: bool Unassociate(); // set an arbitrary command, ask confirmation if it already exists and - // overwriteprompt is TRUE + // overwriteprompt is true bool SetCommand(const wxString& cmd, const wxString& verb, - bool overwriteprompt = TRUE); + bool overwriteprompt = true); bool SetDefaultIcon(const wxString& cmd = wxEmptyString, int index = 0); @@ -101,10 +101,10 @@ public: size_t EnumAllFileTypes(wxArrayString& mimetypes); // these are NOPs under OS/2 - 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); } @@ -116,4 +116,3 @@ private: #endif //_MIMETYPE_IMPL_H -