Suppress spurious icon-related log messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b6668c257d
commit
02dd0487d1
@ -1645,9 +1645,13 @@ int wxFileIconsTable::GetIconID(const wxString& extension, const wxString& mime)
|
||||
|
||||
wxIconLocation iconLoc;
|
||||
wxIcon ic;
|
||||
if ( ft && ft->GetIcon(&iconLoc) )
|
||||
|
||||
{
|
||||
ic = wxIcon(iconLoc);
|
||||
wxLogNull logNull;
|
||||
if ( ft && ft->GetIcon(&iconLoc) )
|
||||
{
|
||||
ic = wxIcon(iconLoc);
|
||||
}
|
||||
}
|
||||
|
||||
delete ft;
|
||||
|
Loading…
Reference in New Issue
Block a user