Fix calculating the size of vertical toolbar in wxMSW.

Use the width of the largest toolbar item as the toolbar width, not the width
of the first one. The implicit assumption that all items had the same width
was wrong and resulted in items wider than the first one being truncated.

Closes #3788.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-02-28 23:39:54 +00:00
parent 4ffdda9961
commit aa8b1fe82f
2 changed files with 12 additions and 2 deletions

View File

@@ -634,6 +634,7 @@ wxMSW:
- Fix checking menu items before appending them to the menu.
- Fix crash when adding/removing the same path to/from wxFileSystemWatcher.
- Draw "classic" disabled owner drawn buttons better (Artur Wieczorek).
- Fix width of the vertical toolbars (Artur Wieczorek).
wxOSX: