Fix wxGenericCollapsiblePane to expand frame's size.
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Oct 2012 16:49:28 +0000 (16:49 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Oct 2012 16:49:28 +0000 (16:49 +0000)
commit47c82b4b9cfe1002ed142ae7315a1b0867c5fb17
tree5a62013ed3da0093649b0b48c752486b757a4693
parent2119b213e378d69b8d13f4c8f6012b3aa381efe9
Fix wxGenericCollapsiblePane to expand frame's size.

wxGenericCollapsiblePane::DoGetBestSize() is dynamic, returning
different values for collapsed and open states. Therefore the control
must invalidate best sizes cache every time its state changes.

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