Don't gray out mandatory field names.
(Even though they are read-only. It makes it look like the whole field is disabled.)
This commit is contained in:
parent
1792479ca5
commit
fb8dcb52d1
|
@ -257,7 +257,10 @@ wxGridCellAttr* FIELDS_GRID_TABLE<T>::GetAttr( int aRow, int aCol, wxGridCellAtt
|
|||
{
|
||||
tmp = m_fieldNameAttr->Clone();
|
||||
tmp->SetReadOnly( true );
|
||||
tmp->SetTextColour( wxSystemSettings::GetColour( wxSYS_COLOUR_GRAYTEXT ) );
|
||||
|
||||
if( rowIsReadOnly )
|
||||
tmp->SetTextColour( wxSystemSettings::GetColour( wxSYS_COLOUR_GRAYTEXT ) );
|
||||
|
||||
return tmp;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue