From b30a93465a011e012d868cc4d0b80bb0ac593e74 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 24 Jul 2021 12:39:01 +0100 Subject: [PATCH] Don't allow accelerators intercept F4 in the MSW comboboxes This key is used to open the dropdown and should still work even if there is an accelerator using it too. --- src/msw/choice.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index b681735fd3..21fdc862b1 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -139,6 +139,10 @@ bool wxChoice::MSWShouldPreProcessMessage(WXMSG *msg) return false; } break; + + case VK_F4: + // This key can always be used to show the dropdown. + return false; } }