mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 21:00:23 +02:00
LCL, win, prevent combobox from beeping too, issue #16620
git-svn-id: trunk@33359 -
This commit is contained in:
parent
11adf3e5b4
commit
626cc62f6d
@ -2460,7 +2460,8 @@ begin
|
||||
if WinProcess then
|
||||
begin
|
||||
|
||||
if (Msg=WM_CHAR) and (WParam=VK_RETURN) and (lWinControl is TCustomEdit)
|
||||
if (Msg=WM_CHAR) and (WParam=VK_RETURN) and
|
||||
((lWinControl is TCustomEdit) or (lWinControl is TCustomCombobox))
|
||||
// and not TCustomEdit(lWinControl).WindowsSpecificOptionToEnableBeep
|
||||
then
|
||||
// this thing will beep, don't call defaultWindowProc
|
||||
|
Loading…
Reference in New Issue
Block a user