Support additional wxWizard properties in XRC

Add support for border, bitmap placement, minimum width and background.

Closes #22539.
This commit is contained in:
Randalphwa 2022-06-16 06:17:23 -07:00 committed by Vadim Zeitlin
parent 237f0c640e
commit a0bdcc0d0f
3 changed files with 57 additions and 0 deletions

View file

@ -1734,7 +1734,18 @@ wxWizard =
stdObjectNodeAttributes &
stdWindowProperties &
[xrc:p="o"] element title {_, t_text }* &
[xrc:p="o"] element border {_, t_integer }* &
[xrc:p="o"] element bitmap {_, t_bitmap }* &
[xrc:p="o"] element bitmap-placement {_, ("wxWIZARD_VALIGN_TOP" |
"wxWIZARD_VALIGN_CENTRE" |
"wxWIZARD_VALIGN_BOTTOM" |
"wxWIZARD_VALIGN_CENTRE" |
"wxWIZARD_HALIGN_LEFT" |
"wxWIZARD_HALIGN_CENTRE" |
"wxWIZARD_HALIGN_RIGHT" |
"wxWIZARD_TILE") }* &
[xrc:p="o"] element bitmap-minwidth {_, t_integer }* &
[xrc:p="o"] element bitmap-bg {_, t_colour }* &
(wxWizardPage_any | objectRef)*
}