LCL-Win32: Fix variable type in GetControlText. Issue #35637, patch from Pascal Riekenberg.

git-svn-id: trunk@61295 -
This commit is contained in:
juha 2019-05-27 09:40:00 +00:00
parent 383cc68489
commit 51dc36a761

View File

@ -1065,7 +1065,7 @@ end;
function GetControlText(AHandle: HWND): string;
var
TextLen: dword;
TextLen: longint;
WideBuffer: WideString;
begin
TextLen := Windows.GetWindowTextLengthW(AHandle);