replaced all occurences of wxColourDatabase::FindColour() with Find(); minor code cleanup here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -343,8 +343,9 @@ void wxFileData::MakeItem( wxListItem &item )
|
||||
|
||||
if (IsLink())
|
||||
{
|
||||
wxColour *dg = wxTheColourDatabase->FindColour( _T("MEDIUM GREY") );
|
||||
item.SetTextColour(*dg);
|
||||
wxColour dg = wxTheColourDatabase->Find( _T("MEDIUM GREY") );
|
||||
if ( dg.Ok() )
|
||||
item.SetTextColour(dg);
|
||||
}
|
||||
item.m_data = (long)this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user