]> git.saurik.com Git - wxWidgets.git/commit
just return the min size needed by the sizer for the windows with sizers from their...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 May 2007 00:26:43 +0000 (00:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 May 2007 00:26:43 +0000 (00:26 +0000)
commit7e0f753950f9c3fe004818b9d7ba733a22bd169d
treeb391abbcd79271b1c21b4933996c3264803ee37b
parentd296fd8ff72d0a931ec074363ff502a481754b0f
just return the min size needed by the sizer for the windows with sizers from their DoGetBestSize() instead of adjusting it upwards to the current size via GetWindowSizeForVirtualSize() call: this might be wrong as it could reintroduce the bug fixed in rev 1.66 of src/generic/scrlwing.cpp (but it's not really clear just what exactly this bug was) but the existing code was definitely wrong as the best size of the window must not change as it's being resized

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