wxWidgets/samples/toolbar
Vadim Zeitlin cc26010927 Add support for stretchable spaces to wxToolBar.
Stretchable spaces consume all extra toolbar space not allocated to the fixed
size items. They can in particular be used to right-align (some) toolbar tools.

Add and document the new API, change the sample to show it and implement it
for MSW, GTK and OS X/Cocoa.

Also refactor MSW background erasing/repainting code to avoid duplicated calls
to DrawThemeBackground(), call it from a new helper MSWEraseRect() function.

Note that we may want to add support for "invisible" separators, IOW
non-stretchable spaces. This could be easily done for MSW after the changes in
this commit and is supported natively by GTK+ and Cocoa so implementing this
would be trivial if there is any interest.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-10 03:04:19 +00:00
..
bitmaps made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
makefile.bcc Rebake after last commit. 2009-11-18 19:22:58 +00:00
makefile.gcc Rebake after last commit. 2009-11-18 19:22:58 +00:00
Makefile.in Rebake after last commit. 2009-11-18 19:22:58 +00:00
makefile.unx Rebaked using post-0.2.7 svn version of bakefile. 2009-10-23 17:48:21 +00:00
makefile.vc Use X64 machine type for MSVC linker instead of old AMD64. 2009-12-08 16:36:37 +00:00
makefile.wat Rebake after last commit. 2009-11-18 19:22:58 +00:00
mondrian.ico
mondrian.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
mondros2.ico
toolbar_vc7.vcproj Rebake after last commit. 2009-11-18 19:22:58 +00:00
toolbar_vc8.vcproj Rebake after last commit. 2009-11-18 19:22:58 +00:00
toolbar_vc9.vcproj Rebake after last commit. 2009-11-18 19:22:58 +00:00
toolbar.bkl
toolbar.cpp Add support for stretchable spaces to wxToolBar. 2009-12-10 03:04:19 +00:00
toolbar.dsp Rebake everything using bakefile 0.2.7. 2009-10-22 16:53:10 +00:00
toolbar.rc
toolbar.rco