User proper value type of wxPG_ATTR_MULTICHOICE_USERSTRINGMODE attribute

This attribute is of int type.
This commit is contained in:
Artur Wieczorek
2019-04-22 12:43:55 +02:00
parent cd1dafb619
commit 0c144f6cda

View File

@@ -1429,7 +1429,7 @@ void FormMain::PopulateWithExamples ()
pg->Append( new wxMultiChoiceProperty( "MultiChoiceProperty", wxPG_LABEL, pg->Append( new wxMultiChoiceProperty( "MultiChoiceProperty", wxPG_LABEL,
tchoices, tchoicesValues ) ); tchoices, tchoicesValues ) );
pg->SetPropertyAttribute( "MultiChoiceProperty", wxPG_ATTR_MULTICHOICE_USERSTRINGMODE, true ); pg->SetPropertyAttribute("MultiChoiceProperty", wxPG_ATTR_MULTICHOICE_USERSTRINGMODE, 1);
pg->Append( new wxSizeProperty( "SizeProperty", "Size", GetSize() ) ); pg->Append( new wxSizeProperty( "SizeProperty", "Size", GetSize() ) );
pg->Append( new wxPointProperty( "PointProperty", "Position", GetPosition() ) ); pg->Append( new wxPointProperty( "PointProperty", "Position", GetPosition() ) );