In wxPGEditor::SetControlAppearance() use GetClassDefaultAttributes() instead of GetDefaultAttributes()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2010-01-03 10:23:40 +00:00
parent c986b01f89
commit cb0f3ec171

View File

@ -262,7 +262,7 @@ void wxPGEditor::SetControlAppearance( wxPropertyGrid* pg,
}
}
wxVisualAttributes vattrs = ctrl->GetDefaultAttributes();
wxVisualAttributes vattrs = ctrl->GetClassDefaultAttributes();
// Foreground colour
const wxColour& fgCol = cell.GetFgCol();