From 584c173e833456e735396b339fdc740e0343ef9b Mon Sep 17 00:00:00 2001 From: rich2014 Date: Wed, 19 Jun 2024 22:21:53 +0800 Subject: [PATCH] Cocoa & Db: Fix #40985 the issue that Space can't activate editing --- lcl/include/dbedit.inc | 1 + lcl/include/dbmemo.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/lcl/include/dbedit.inc b/lcl/include/dbedit.inc index f9305980f6..b74461752f 100644 --- a/lcl/include/dbedit.inc +++ b/lcl/include/dbedit.inc @@ -132,6 +132,7 @@ begin // see also the comments in TDBMemo.KeyDown() VK_0..VK_9, VK_A..VK_Z, + VK_SPACE, VK_NUMPAD0..VK_DIVIDE, VK_OEM_1..VK_OEM_3, VK_OEM_4..VK_OEM_8: diff --git a/lcl/include/dbmemo.inc b/lcl/include/dbmemo.inc index 20243faa59..a8bfba4ac4 100644 --- a/lcl/include/dbmemo.inc +++ b/lcl/include/dbmemo.inc @@ -160,6 +160,7 @@ begin // and will cause the Memo content to change, leading to the issue #40985 VK_0..VK_9, VK_A..VK_Z, + VK_SPACE, VK_NUMPAD0..VK_DIVIDE, VK_OEM_1..VK_OEM_3, VK_OEM_4..VK_OEM_8: