Added to wxSystemSettings for better GTK+ themes compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1818,7 +1818,7 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level
|
||||
if ( attr && attr->HasTextColour() )
|
||||
colText = attr->GetTextColour();
|
||||
else
|
||||
colText = *wxBLACK;
|
||||
colText = wxSystemSettings::GetSystemColour( wxSYS_COLOUR_WINDOWTEXT );
|
||||
}
|
||||
|
||||
// prepare to draw
|
||||
|
Reference in New Issue
Block a user