construct icon from wxIconLocation, not just the file name without index: this fixes icons display under MSW (replaces patch 1047225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1642,7 +1642,7 @@ int wxFileIconsTable::GetIconID(const wxString& extension, const wxString& mime)
|
||||
wxLogNull logNull;
|
||||
if ( ft && ft->GetIcon(&iconLoc) )
|
||||
{
|
||||
ic = wxIcon( iconLoc.GetFileName() );
|
||||
ic = wxIcon( iconLoc );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user