Set built-in attributes also for parent wxPGProperties

If given attribute is not a built-in attribute handled by the current property it should be passed to the parent property because it may be handled there.
This commit is contained in:
Artur Wieczorek
2019-04-22 13:17:58 +02:00
parent 0c144f6cda
commit cbfff9c944
3 changed files with 14 additions and 13 deletions

View File

@@ -642,7 +642,7 @@ bool wxArrayDoubleProperty::DoSetAttribute( const wxString& name, wxVariant& val
GenerateValueAsString( m_display, m_precision, true );
return true;
}
return false;
return wxPGProperty::DoSetAttribute(name, value);
}
wxValidator* wxArrayDoubleProperty::DoGetValidator() const