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:
Artur Wieczorek
2014-11-28 20:45:35 +00:00
parent 919a7afba2
commit f34f9d6708

View File

@@ -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 )
{