mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:19:32 +02:00
win32 interface: fixed range check error
git-svn-id: trunk@15999 -
This commit is contained in:
parent
b7bba11457
commit
cedc3fdcad
@ -101,7 +101,7 @@ begin
|
||||
Windows.SetFocus(BuddyWindow);
|
||||
// don't select text in edit, if user clicked on the up down and the edit
|
||||
// was already focused
|
||||
if WPARAM<>BuddyWindow then ;
|
||||
if HWND(WPARAM)<>BuddyWindow then ;
|
||||
// for LCL controls this is done in win32callback.inc
|
||||
Windows.SendMessage(BuddyWindow, EM_SETSEL, 0, -1);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user