Perform Default Item Click on macOS for combobox
even when wxTE_PROCESS_ENTER has ben applied if we don’t have a non-skipping handler, see #18273
This commit is contained in:
@@ -260,7 +260,7 @@ void wxComboBox::OnChar(wxKeyEvent& event)
|
||||
if (HandleWindowEvent(event))
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
||||
{
|
||||
wxTopLevelWindow *tlw = wxDynamicCast(wxGetTopLevelParent(this), wxTopLevelWindow);
|
||||
if (tlw && tlw->GetDefaultItem())
|
||||
|
Reference in New Issue
Block a user