Only respect property's wxPG_PROP_READONLY flag for the 'value' column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1642,7 +1642,7 @@ wxWindow* wxPropertyGrid::GenerateEditorTextCtrl( const wxPoint& pos,
|
|||||||
|
|
||||||
int tcFlags = wxTE_PROCESS_ENTER | extraStyle;
|
int tcFlags = wxTE_PROCESS_ENTER | extraStyle;
|
||||||
|
|
||||||
if ( prop->HasFlag(wxPG_PROP_READONLY) )
|
if ( prop->HasFlag(wxPG_PROP_READONLY) && forColumn == 1 )
|
||||||
tcFlags |= wxTE_READONLY;
|
tcFlags |= wxTE_READONLY;
|
||||||
|
|
||||||
wxPoint p(pos.x,pos.y);
|
wxPoint p(pos.x,pos.y);
|
||||||
|
Reference in New Issue
Block a user