Merge branch 'msw-combo-keys'

Fix behaviour of comboboxes in presence of accelerators in wxMSW.

See https://github.com/wxWidgets/wxWidgets/pull/2443
This commit is contained in:
Vadim Zeitlin
2021-08-06 20:29:20 +01:00
5 changed files with 114 additions and 97 deletions

View File

@@ -84,6 +84,10 @@ protected:
// Returns true if this control uses standard file names completion.
bool MSWUsesStandardAutoComplete() const;
// Returns false if this message shouldn't be preprocessed, but is always
// handled by the EDIT control represented by this object itself.
bool MSWShouldPreProcessMessage(WXMSG* msg) const;
// Helper for wxTE_PROCESS_ENTER handling: activates the default button in
// the dialog containing this control if any.
bool ClickDefaultButtonIfPossible();