Fixed bug: SetPropertyValueUnspecified(p) and p->SetValue(wxNullVariant) were out of sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1285,9 +1285,6 @@ void wxPGProperty::SetValue( wxVariant value, wxVariant* pList, int flags )
|
||||
{
|
||||
m_value = value;
|
||||
OnSetValue();
|
||||
|
||||
if ( !(flags & wxPG_SETVAL_FROM_PARENT) )
|
||||
UpdateParentValues();
|
||||
}
|
||||
|
||||
if ( flags & wxPG_SETVAL_BY_USER )
|
||||
@@ -1317,6 +1314,9 @@ void wxPGProperty::SetValue( wxVariant value, wxVariant* pList, int flags )
|
||||
}
|
||||
}
|
||||
|
||||
if ( !(flags & wxPG_SETVAL_FROM_PARENT) )
|
||||
UpdateParentValues();
|
||||
|
||||
//
|
||||
// Update editor control
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user