Applied patch [ 619539 ] patch to get small icon via geticon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-06-01 13:57:23 +00:00
parent ef094fa075
commit 5c5428f913
7 changed files with 34 additions and 9 deletions

View File

@@ -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;