Always call OnSetValue() for a property when values are being set for its children (fixes #12085)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4090fe84c4
commit
ace9bc2697
@ -1364,6 +1364,12 @@ void wxPGProperty::SetValue( wxVariant value, wxVariant* pList, int flags )
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
||||
// Always call OnSetValue() for a parent property (do not call it
|
||||
// here if the value is non-null because it will then be called
|
||||
// below)
|
||||
if ( value.IsNull() )
|
||||
OnSetValue();
|
||||
}
|
||||
|
||||
if ( !value.IsNull() )
|
||||
|
Loading…
Reference in New Issue
Block a user