mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 14:20:41 +02:00
Fix: Cocoa: SW_MAXIMIZE issue in TCocoaWidgetSet.ShowWindow()
This commit is contained in:
parent
b027994d7d
commit
6220d40d21
@ -1070,7 +1070,7 @@ begin
|
||||
SW_MINIMIZE:
|
||||
win.miniaturize(nil);
|
||||
SW_MAXIMIZE:
|
||||
win.zoom(nil);
|
||||
if NOT win.isZoomed then win.zoom(nil);
|
||||
SW_SHOWFULLSCREEN:
|
||||
if Assigned(lCocoaWin) then
|
||||
lCocoaWin.lclSwitchFullScreen(true);
|
||||
|
Loading…
Reference in New Issue
Block a user