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

@ -765,7 +765,7 @@ wxCheckBox =
stdObjectNodeAttributes &
stdWindowProperties &
[xrc:p="important"] element label {_, t_text }* &
[xrc:p="o"] element checked {_, t_bool }*
[xrc:p="o"] element checked {_, t_integer }*
}