wxComboBox::MSWShouldPreProcessMessage() didn't take into account many keys that must be handled in wxComboBox even if they're used as accelerators, including plain (i.e. without Ctrl modifier) Delete, Home and End that are used by the embedded text control, if there is one. Fix this by reusing wxTextCtrl::MSWShouldPreProcessMessage() which already handled these keys correctly, by moving it to wxTextEntry, which can be used from both classes. Also add a check for wxCB_READONLY to prevent overriding the accelerators using the keys that the combobox doesn't need when there is no text control in it. Closes #19227. |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||