Fix incorrect XRC format docs for wxMenu(Bar)'s "style" property.

It is not true that no standard properties are allowed, "style" is.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2013-09-11 15:20:16 +00:00
parent fe94d0d06a
commit 697c1d39be

View File

@ -1214,6 +1214,8 @@ objects. If sizer child is used, it sets
@row3col{label, @ref overview_xrcformat_type_text,
Menu's label (default: empty, but required for menus other
than popup menus).}
@row3col{style, @ref overview_xrcformat_type_style,
Window style for the menu.}
@row3col{help, @ref overview_xrcformat_type_text,
Help shown in statusbar when the menu is selected (only for submenus
of another wxMenu, default: none).}
@ -1223,7 +1225,7 @@ objects. If sizer child is used, it sets
@endTable
Note that unlike most controls, wxMenu does @em not have
@ref overview_xrcformat_std_props.
@ref overview_xrcformat_std_props, with the exception of @c style.
A menu object can have one or more child objects of the wxMenuItem or wxMenu
classes or @c break or @c separator pseudo-classes.
@ -1284,8 +1286,14 @@ Example:
@subsubsection xrc_wxmenubar wxMenuBar
No properties. Note that unlike most controls, wxMenuBar does @em not have
@ref overview_xrcformat_std_props.
@beginTable
@hdr3col{property, type, description}
@row3col{style, @ref overview_xrcformat_type_style,
Window style for the menu bar.}
@endTable
Note that unlike most controls, wxMenuBar does @em not have
@ref overview_xrcformat_std_props, with the exception of @c style.
A menubar can have one or more child objects of the @ref xrc_wxmenu "wxMenu"
class.