win32: send wm_size if clientrect changes on DoSetBounds

git-svn-id: trunk@25008 -
This commit is contained in:
paul 2010-04-27 14:30:32 +00:00
parent ca3c600e37
commit e9e35dd3d2

View File

@ -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);