X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57e6713594b149b521f9f2a85f8345be4f78eb60..30e671a59f943a03b2aea6b3b7880a221a422a19:/include/wx/mimetype.h diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index 241bdb34f9..ee204f6de5 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -7,7 +7,7 @@ // Created: 23.09.98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license (part of wxExtra library) +// Licence: wxWindows licence (part of wxExtra library) ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_MIMETYPE_H_ @@ -46,6 +46,9 @@ enum wxMailcapStyle wxMAILCAP_ALL = 15 }; +#define wxICON_LARGE 0 +#define wxICON_SMALL 1 + /* TODO: would it be more convenient to have this class? @@ -214,7 +217,8 @@ public: // in this file (Win-only) is in iconIndex bool GetIcon(wxIcon *icon, wxString *iconFile = NULL, - int *iconIndex = NULL) const; + int *iconIndex = NULL, + int iconSize = wxICON_LARGE) const; // get a brief file type description ("*.txt" => "text document") bool GetDescription(wxString *desc) const; @@ -305,7 +309,7 @@ public: // // use the extraDir parameter if you want to look for files in another // directory - void Initialize(int mailcapStyle = wxMAILCAP_STANDARD, + void Initialize(int mailcapStyle = wxMAILCAP_ALL, const wxString& extraDir = wxEmptyString); // and this function clears all the data from the manager