Improve wxBookCtrlBase controller size calculations.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 May 2012 14:24:44 +0000 (14:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 May 2012 14:24:44 +0000 (14:24 +0000)
commit402dae7b464a7b24f8acc61887d5b939a6dc3cc5
tree454751509801f630a3c8c99814cab0877270aeaa
parentd119983947975b98ad4ca1295be46ae9d7ffe805
Improve wxBookCtrlBase controller size calculations.

Use GetBest{Height,Width}() in wxBookCtrlBase to compute the controller
control size height/width from its known (from wxBookCtrlBase size itself)
width/height. This will allow to correctly compute the size of wxListCtrl used
by wxListbook once it provides the necessary support for width-from-height and
height-from-width calculations.

See #13898.

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