User proper value type of wxPG_ATTR_MULTICHOICE_USERSTRINGMODE attribute
This attribute is of int type.
This commit is contained in:
@@ -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() ) );
|
||||||
|
Reference in New Issue
Block a user