Fixed value column rendering for properties which do not create editor control when selected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2437,9 +2437,8 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc,
|
|||||||
{
|
{
|
||||||
dc.SetBrush(m_colPropBack);
|
dc.SetBrush(m_colPropBack);
|
||||||
dc.SetPen(m_colPropBack);
|
dc.SetPen(m_colPropBack);
|
||||||
dc.SetTextForeground(m_colDisPropFore);
|
|
||||||
if ( p->IsEnabled() )
|
if ( p->IsEnabled() )
|
||||||
dc.SetTextForeground(rowFgCol);
|
dc.SetTextForeground(m_colPropFore);
|
||||||
else
|
else
|
||||||
dc.SetTextForeground(m_colDisPropFore);
|
dc.SetTextForeground(m_colDisPropFore);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user