mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-04 05:40:45 +01:00
win32: handle SW_SHOWFULLSCREEN in TWin32WidgetSet.ShowWindow
git-svn-id: trunk@36183 -
This commit is contained in:
parent
0d66913910
commit
5a475a393d
@ -3401,6 +3401,8 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
function TWin32WidgetSet.ShowWindow(hWnd: HWND; nCmdShow: Integer): Boolean;
|
||||
begin
|
||||
if nCmdShow = SW_SHOWFULLSCREEN then
|
||||
nCmdShow := SW_SHOWMAXIMIZED;
|
||||
Result := Boolean(Windows.ShowWindow(hWnd, nCmdShow));
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user