]> git.saurik.com Git - wxWidgets.git/commit
Use deferred window positioning in wxWindow::Layout() in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 May 2013 23:21:06 +0000 (23:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 May 2013 23:21:06 +0000 (23:21 +0000)
commitff3493c0cefd6713772be9747b8a1e6d874e1afe
treefb30dd065d9f911100610bef8bc5fdf45a62271e
parent1a986642f587a0ef9c77b7644cc1df7573bce75d
Use deferred window positioning in wxWindow::Layout() in wxMSW.

Ensure that {Begin,End}RepositioningChildren() are called before/after
changing the positions of multiple children, whether we're using sizers or
constraints.

This fixes display corruption which could happen under Windows 7 and a child
resized first became bigger, pushing off the children resized later.

Closes #15214.

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