From 8a69ec7c4eab4b3bf5b3b25b5d66572f3dac56f9 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 13 Jul 2019 18:22:35 +0200 Subject: [PATCH] Perform Default Item Click on macOS for combobox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit even when wxTE_PROCESS_ENTER has ben applied if we don’t have a non-skipping handler, see #18273 --- src/osx/combobox_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/combobox_osx.cpp b/src/osx/combobox_osx.cpp index 5bc0224a50..aa377cd9a5 100644 --- a/src/osx/combobox_osx.cpp +++ b/src/osx/combobox_osx.cpp @@ -260,7 +260,7 @@ void wxComboBox::OnChar(wxKeyEvent& event) if (HandleWindowEvent(event)) return; } - else + { wxTopLevelWindow *tlw = wxDynamicCast(wxGetTopLevelParent(this), wxTopLevelWindow); if (tlw && tlw->GetDefaultItem())