XRC: ability to create wxButton with wxBitmapBundle

This commit is contained in:
Alexander Koshelev 2021-12-31 14:05:59 +03:00
parent 96f5258df5
commit 7a13979f5a
3 changed files with 10 additions and 5 deletions

View file

@ -742,7 +742,10 @@ wxButton =
stdObjectNodeAttributes &
stdWindowProperties &
[xrc:p="o"] element label {_, t_text }* &
[xrc:p="o"] element bitmap {_, t_bitmap }* &
[xrc:p="o"](
element bitmap {_, t_bitmap } |
element bitmaps {_, t_bitmaps }
)* &
[xrc:p="o"] element bitmapposition {_, t_direction }* &
[xrc:p="o"] element default {_, t_bool }*
}