diff --git a/src/propgrid/propgridiface.cpp b/src/propgrid/propgridiface.cpp index f0c24fe020..06c089b862 100644 --- a/src/propgrid/propgridiface.cpp +++ b/src/propgrid/propgridiface.cpp @@ -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 ) {