Add support for stretchable spacers to XRC wxToolBar handler.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Jan 2010 00:29:00 +0000 (00:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Jan 2010 00:29:00 +0000 (00:29 +0000)
commit5852e62f1fe76907832ba2c7f2b4099635e44c4b
treea390fb06fc61650c4360ec73289918a0b64c4f92
parentca67f0d85925332847b79a8215514fd2d4034f3c
Add support for stretchable spacers to XRC wxToolBar handler.

Notice that currently only stretchable spacers are supported via
separator-like "space" XRC element. If we ever add support for fixed spacers
in the toolbar we should do it via its fixed sub-element, e.g. they would be
specified with <fixed>1</fixed> in XRC file.

Also use spacers instead of separator in the XRC sample and ensure that the
toolbars in it are resized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/doxygen/overviews/xrc_format.h
samples/xrc/rc/controls.xrc
src/xrc/xh_toolb.cpp