]> git.saurik.com Git - wxWidgets.git/commit
Correct controller size determination in wxToolbook.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Mar 2010 23:55:04 +0000 (23:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Mar 2010 23:55:04 +0000 (23:55 +0000)
commit7019c4a5e63669cb6caae262ebd3bbcd5c6446cd
tree6d558e138dbbd1b954c1d98d6aa257b009b8ae92
parentdb06bfb4026c7cde587c139b67fac1dd65a0a214
Correct controller size determination in wxToolbook.

The old code used the current toolbar size instead of determining its best
size for some strange reason and this resulted in toolbar remaining of tiny (1
pixel) height at least under wxGTK.

Fix this by simply using the best size of the toolbar.

Closes #11606.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/toolbkg.cpp