win32: handle SW_SHOWFULLSCREEN in TWin32WidgetSet.ShowWindow

git-svn-id: trunk@36183 -
This commit is contained in:
paul 2012-03-21 01:43:45 +00:00
parent 0d66913910
commit 5a475a393d

View File

@ -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;