Qt: fixed result of TQtWidgetSet.SetFocus(), in case when handle param is invalid.

git-svn-id: trunk@27379 -
This commit is contained in:
zeljko 2010-09-16 06:27:30 +00:00
parent f8823dc2ea
commit 6f8a1be510

View File

@ -4818,6 +4818,7 @@ end;
------------------------------------------------------------------------------}
function TQtWidgetSet.SetFocus(hWnd: HWND): HWND;
begin
Result := 0;
if hwnd<>0 then
begin
{$ifdef VerboseFocus}