mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 06:56:10 +02:00
LCL, windows, while TEdit/TComboBox edit don't play sound on pressing ESCAPE key, issue #25847
git-svn-id: trunk@44414 -
This commit is contained in:
parent
c20f74439d
commit
156692fdcd
@ -2542,7 +2542,7 @@ begin
|
||||
if WinProcess then
|
||||
begin
|
||||
|
||||
if (Msg=WM_CHAR) and (WParam=VK_RETURN) and
|
||||
if (Msg=WM_CHAR) and ((WParam=VK_RETURN) or (WPARAM=VK_ESCAPE)) and
|
||||
((lWinControl is TCustomCombobox) or
|
||||
((lWinControl is TCustomEdit) and not (lWinControl is TCustomMemo ))
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user