mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:39:44 +02:00
Carbon: implemented LCLIntf.ShowWindow(SW_RESTORE). Patch by Craig Peterson. Issue #0021816
git-svn-id: branches/fixes_1_8@56298 -
This commit is contained in:
parent
d32512c2cd
commit
55569f881c
@ -1939,6 +1939,16 @@ begin
|
||||
if OSError(CollapseWindow(fWindowRef, True),
|
||||
Self, SName, SCollapse) then Exit;
|
||||
end;
|
||||
SW_RESTORE:
|
||||
begin
|
||||
if IsIconic then
|
||||
SetForeground
|
||||
else if IsZoomed then begin
|
||||
if OSError(ZoomWindowIdeal(fWindowRef, inZoomIn, P),
|
||||
Self, SName, SZoomIdeal, 'inZoomIn') then Exit;
|
||||
SetForeground;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
Result := True;
|
||||
|
Loading…
Reference in New Issue
Block a user