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.
This commit is contained in:
Vadim Zeitlin
2021-07-24 12:39:01 +01:00
parent 47a5f42b78
commit b30a93465a

View File

@@ -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;
}
}