We used to get the escape key event on the AutoCompleteCombo object. Now we get it on AutoCompleteCombo -> PopupTransientWindow -> ListCtrl.
We used to use this event to
cancel a search only if we didn't have a combo box open, if we did, we assume they meant to close
the history popup.
We used the capture the key event to dismiss the history.
Now it's all messed up in the latest wxpython. So use the original esc hotkey of the main window to check the hierarchy, and do what we were doing before (cancel search if conditions are right), but we also need to capture the escape on the list now or send it down from the escape hotkey; the first would be much cleaner.
We used to get the escape key event on the
AutoCompleteCombo
object. Now we get it onAutoCompleteCombo
->PopupTransientWindow
->ListCtrl
.We used to use this event to
cancel a search only if we didn't have a combo box open, if we did, we assume they meant to close the history popup.
We used the capture the key event to dismiss the history.
Now it's all messed up in the latest wxpython. So use the original esc hotkey of the main window to check the hierarchy, and do what we were doing before (cancel search if conditions are right), but we also need to capture the escape on the list now or send it down from the escape hotkey; the first would be much cleaner.