X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fda7962d029672a5f4c718a3c6b2559856f4cd95..7a5e53abb3f9ea13eba2880972306446e4e21e83:/include/wx/mimetype.h diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index 59071d6d30..38ee6138a8 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -13,7 +13,7 @@ #ifndef _WX_MIMETYPE_H_ #define _WX_MIMETYPE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mimetypebase.h" #endif // __GNUG__ @@ -212,6 +212,8 @@ public: bool GetExtensions(wxArrayString& extensions); // get the icon corresponding to this file type and of the given size bool GetIcon(wxIconLocation *iconloc) const; + bool GetIcon(wxIconLocation *iconloc, + const MessageParameters& params) const; // get a brief file type description ("*.txt" => "text document") bool GetDescription(wxString *desc) const; @@ -385,7 +387,7 @@ private: // global variables // ---------------------------------------------------------------------------- -// the default mime manager for wxWindows programs +// the default mime manager for wxWidgets programs WXDLLIMPEXP_DATA_BASE(extern wxMimeTypesManager *) wxTheMimeTypesManager; #endif // wxUSE_MIMETYPE