mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 22:00:25 +02:00
git-svn-id: trunk@51115 -
This commit is contained in:
parent
b538c367a2
commit
86ee218ac2
@ -712,23 +712,6 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
//DebugLn('Trace:WMSIZE in TCustomForm');
|
||||
if (Message.SizeType and SIZE_SourceIsInterface) <> 0 then
|
||||
begin
|
||||
NewState := FWindowState;
|
||||
case (Message.SizeType xor SIZE_SourceIsInterface) of
|
||||
SIZE_RESTORED:
|
||||
NewState := wsNormal;
|
||||
SIZE_MINIMIZED:
|
||||
NewState := wsMinimized;
|
||||
SIZE_MAXIMIZED:
|
||||
NewState := wsMaximized;
|
||||
SIZE_FULLSCREEN:
|
||||
NewState := wsFullScreen;
|
||||
end;
|
||||
Resizing(NewState);
|
||||
end;
|
||||
|
||||
inherited WMSize(Message);
|
||||
|
||||
if (Message.SizeType and not SIZE_SourceIsInterface) = SIZE_RESTORED then
|
||||
|
Loading…
Reference in New Issue
Block a user