User should no longer be able to modify disabled or read only child properties by editing their parent (wxPG sf bug #2181860)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5855,7 +5855,8 @@ wxPGProperty* wxPropertyGridPopulator::Add( const wxString& propClass,
|
||||
m_state->DoInsert(parent, -1, property);
|
||||
|
||||
if ( propValue )
|
||||
property->SetValueFromString( *propValue, wxPG_FULL_VALUE );
|
||||
property->SetValueFromString( *propValue, wxPG_FULL_VALUE|
|
||||
wxPG_PROGRAMMATIC_VALUE );
|
||||
|
||||
return property;
|
||||
}
|
||||
|
Reference in New Issue
Block a user