Don't reserve space for hidden controller in wxBookCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 22:39:55 +0000 (22:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 22:39:55 +0000 (22:39 +0000)
commit448ca22809ae775faae8c1366561d8add20536c5
tree189317fc00946b3e5e3ac52fa55d5d39abdf0bab
parent5995a84fcf90abb057c9bb92f80f79e8e66a6ad0
Don't reserve space for hidden controller in wxBookCtrl.

Even when the controller was hidden, space was still allocated for it by
wxBookCtrl. Fix this by only reserving extra space when the controller is
shown.

Closes #12609.

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