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:
@@ -498,18 +498,6 @@ bool wxPropertyGridInterface::ExpandAll( bool doExpand )
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
void wxPropertyGridInterface::SetPropertyValueUnspecified( wxPGPropArg id )
|
||||
{
|
||||
wxPG_PROP_ARG_CALL_PROLOG()
|
||||
wxPropertyGrid* propGrid = p->GetGridIfDisplayed();
|
||||
if ( propGrid )
|
||||
propGrid->DoSetPropertyValueUnspecified(p);
|
||||
else
|
||||
p->GetParentState()->DoSetPropertyValueUnspecified(p);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
void wxPropertyGridInterface::ClearModifiedStatus()
|
||||
{
|
||||
unsigned int pageIndex = 0;
|
||||
|
Reference in New Issue
Block a user