From 6c0f734302b65a9649c2590f1095d14e26c9b9db Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 22 Sep 2009 15:20:42 +0000 Subject: [PATCH] Returning WVR_REDRAW triggers Windows bug that moves child windows, so don't use it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 82638ab333..5c55dc690b 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -3362,7 +3362,9 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l csparam->rgrc[0] = rcClient; else *((RECT*)lParam) = rcClient; - rc.result = WVR_REDRAW; + // WVR_REDRAW triggers a bug whereby child windows are moved up and left, + // so don't use. + //rc.result = WVR_REDRAW; } } }