mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 18:20:30 +02:00
LCL, Win32: fix range check error with newly started Windows. Issue #20321, patch from Benito van der Zander
git-svn-id: trunk@32464 -
This commit is contained in:
parent
e0f7806aca
commit
4d3cc5e247
@ -294,7 +294,10 @@ const
|
||||
|
||||
initialization
|
||||
{ initialize mousedownclick to far before double click time }
|
||||
MouseDownTime := GetTickCount - 5000;
|
||||
if GetTickCount > 5000 then
|
||||
MouseDownTime := GetTickCount - 5000
|
||||
else
|
||||
MouseDownTime := 0;
|
||||
{$IFDEF WindowsUnicodeSupport}
|
||||
SystemCharSetIsUTF8:=true;
|
||||
{$ELSE}
|
||||
|
Loading…
Reference in New Issue
Block a user