Add window variant support to XRC.

Fixes #16247.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2014-08-03 17:10:49 +00:00
parent dbf432f126
commit 96d714660a
5 changed files with 32 additions and 0 deletions

View File

@@ -392,6 +392,7 @@ stdWindowProperties =
[xrc:p="o"] element focused {_, t_bool }* &
[xrc:p="o"] element hidden {_, t_bool }* &
[xrc:p="o"] element tooltip {_, t_text }* &
[xrc:p="o"] element variant {_, t_variant }* &
[xrc:p="o"] element font {_, t_font }* &
[xrc:p="o"] element ownfont {_, t_font }* &
[xrc:p="o"] element help {_, t_text }*
@@ -447,6 +448,8 @@ t_font = (
[xrc:p="o"] element relativesize {_, t_float }*
)
t_variant = "normal" | "small" | "mini" | "large"
t_imagelist = (
[xrc:p="o"] element mask {_, t_bool }* &
[xrc:p="o"] element size {_, t_size }* &