Use checkbox mode for boolean props
This commit is contained in:
parent
91c15b7e21
commit
239fd29da4
|
@ -89,6 +89,7 @@ wxPGProperty* PGPropertyFactory( const PROPERTY_BASE* aProperty )
|
|||
else if( typeId == TYPE_HASH( bool ) )
|
||||
{
|
||||
ret = new wxBoolProperty();
|
||||
ret->SetAttribute( wxT( "UseCheckbox" ), true );
|
||||
}
|
||||
else if( typeId == TYPE_HASH( wxString ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue