mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 10:39:15 +02:00
win32: notify LCL about notebook size change in case of switching multiline property
git-svn-id: trunk@25506 -
This commit is contained in:
parent
e362c99c72
commit
32ae8008b2
@ -718,9 +718,8 @@ begin
|
||||
if NewStyle <> CurrentStyle then
|
||||
begin
|
||||
SetWindowLong(ANotebook.Handle, GWL_STYLE, NewStyle);
|
||||
ANotebook.InvalidateClientRectCache(False);
|
||||
SetWindowPos(ANoteBook.Handle, 0, 0, 0, 0, 0, SWP_NOSIZE or SWP_NOMOVE or SWP_NOZORDER or SWP_DRAWFRAME);
|
||||
InvalidateRect(ANoteBook.Handle, nil, True);
|
||||
LCLControlSizeNeedsUpdate(ANotebook, True);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user