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:
parent
c986b01f89
commit
cb0f3ec171
@ -262,7 +262,7 @@ void wxPGEditor::SetControlAppearance( wxPropertyGrid* pg,
|
||||
}
|
||||
}
|
||||
|
||||
wxVisualAttributes vattrs = ctrl->GetDefaultAttributes();
|
||||
wxVisualAttributes vattrs = ctrl->GetClassDefaultAttributes();
|
||||
|
||||
// Foreground colour
|
||||
const wxColour& fgCol = cell.GetFgCol();
|
||||
|
Loading…
Reference in New Issue
Block a user