Refresh wxPGProperty after changing its attribute.
Closes #16696 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -452,6 +452,12 @@ void wxPropertyGridInterface::DoSetPropertyAttribute( wxPGPropArg id, const wxSt
|
||||
wxPG_PROP_ARG_CALL_PROLOG()
|
||||
|
||||
p->SetAttribute( name, value );
|
||||
// If property is attached to the property grid
|
||||
// then refresh the view.
|
||||
if( p->GetParentState() )
|
||||
{
|
||||
RefreshProperty( p );
|
||||
}
|
||||
|
||||
if ( argFlags & wxPG_RECURSE )
|
||||
{
|
||||
|
Reference in New Issue
Block a user