Use checkbox mode for boolean props

This commit is contained in:
Jon Evans 2021-08-22 10:20:36 -04:00
parent 91c15b7e21
commit 239fd29da4
1 changed files with 1 additions and 0 deletions

View File

@ -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 ) )
{