From e9e35dd3d2233611f788af9b740eda65e4bec05e Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 27 Apr 2010 14:30:32 +0000 Subject: [PATCH] win32: send wm_size if clientrect changes on DoSetBounds git-svn-id: trunk@25008 - --- lcl/interfaces/win32/win32wscontrols.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/interfaces/win32/win32wscontrols.pp b/lcl/interfaces/win32/win32wscontrols.pp index 1d499a8fc9..1e640dc7df 100644 --- a/lcl/interfaces/win32/win32wscontrols.pp +++ b/lcl/interfaces/win32/win32wscontrols.pp @@ -505,7 +505,7 @@ begin if not suppressMove then Windows.SetWindowPos(AWinControl.Handle, 0, IntfLeft, IntfTop, IntfWidth, IntfHeight, SWP_NOZORDER or SWP_NOACTIVATE); - LCLControlSizeNeedsUpdate(AWinControl, False); + LCLControlSizeNeedsUpdate(AWinControl, True); end; class procedure TWin32WSWinControl.SetColor(const AWinControl: TWinControl);