mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 23:49:36 +02:00
LCL-Win32: Fix variable type in GetControlText. Issue #35637, patch from Pascal Riekenberg.
git-svn-id: trunk@61295 -
This commit is contained in:
parent
383cc68489
commit
51dc36a761
@ -1065,7 +1065,7 @@ end;
|
||||
|
||||
function GetControlText(AHandle: HWND): string;
|
||||
var
|
||||
TextLen: dword;
|
||||
TextLen: longint;
|
||||
WideBuffer: WideString;
|
||||
begin
|
||||
TextLen := Windows.GetWindowTextLengthW(AHandle);
|
||||
|
Loading…
Reference in New Issue
Block a user