Add undetermined state to wxCheckBoxXmlHandler

3-state checkboxes can have their initial value set to checked
or undetermined -- this adds support for the undetermined
state to the handler (only allowed if the style includes wxCHK_3STATE).

Closes #22468.
This commit is contained in:
Randalphwa
2022-05-28 08:23:47 -07:00
committed by Vadim Zeitlin
parent 070bc8bd29
commit cb8c0dfb0d
3 changed files with 37 additions and 4 deletions

View File

@@ -946,8 +946,10 @@ No additional properties.
@hdr3col{property, type, description}
@row3col{label, @ref overview_xrcformat_type_text,
Label to use for the checkbox (default: empty).}
@row3col{checked, @ref overview_xrcformat_type_bool,
Should the checkbox be checked initially (default: 0)?}
@row3col{checked, integer,
Sets the initial state of the checkbox. 0 is unchecked (default),
1 is checked, and since wxWidgets 3.1.7, 2 sets the undetermined
state of a 3-state checkbox.}
@endTable