Add XRC handler for wxAuiToolBar.

Also add the demonstration of AUI handlers (this one and the existing one for
wxAuiNotebook) to the xrc sample.

See #15686.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2013-11-23 00:34:55 +00:00
parent 76845041b7
commit f269f868d7
37 changed files with 856 additions and 39 deletions

View file

@ -154,6 +154,7 @@ builtinWindowClasses =
( unknown
| wxAnimationCtrl
| wxAuiNotebook
| wxAuiToolBar
| wxBannerWindow
| wxBitmapButton
| wxBitmapComboBox
@ -242,6 +243,7 @@ builtinClassesNames =
| "wxAnimationCtrl"
| "wxAuiNotebook"
| "wxAuiToolBar"
| "wxBannerWindow"
| "wxBitmapButton"
| "wxBitmapComboBox"
@ -525,6 +527,25 @@ wxAuiNotebook_notebookpage =
}
wxAuiToolBar =
element object {
attribute class { "wxAuiToolBar" } &
stdObjectNodeAttributes &
stdWindowProperties &
[xrc:p="o"] element bitmapsize {_, t_size }* &
[xrc:p="o"] element margins {_, t_size }* &
[xrc:p="o"] element packing {_, t_integer }* &
[xrc:p="o"] element separation {_, t_integer }* &
[xrc:p="o"] element dontattachtoframe {_, t_bool }* &
(
windowNode |
wxToolBar_tool |
element object { attribute class { "separator" }, platform } |
element object { attribute class { "space" }, platform }
)*
}
wxBannerWindow =
element object {
attribute class { "wxBannerWindow" } &