Fix crash on calltip click on macOS
Commit b0d0494f
fixed it for autocomplete popup, but a similar issue is
still present for calltips. This commit fixes it.
Closes https://github.com/wxWidgets/wxWidgets/pull/595
This commit is contained in:
committed by
Vadim Zeitlin
parent
d3f20c3837
commit
c677e4e652
@@ -490,9 +490,10 @@ void ScintillaWX::NotifyParent(SCNotification scn) {
|
|||||||
// a side effect that the AutoComp will also not be destroyed when switching
|
// a side effect that the AutoComp will also not be destroyed when switching
|
||||||
// to another window, but I think that is okay.
|
// to another window, but I think that is okay.
|
||||||
void ScintillaWX::CancelModes() {
|
void ScintillaWX::CancelModes() {
|
||||||
if (! focusEvent)
|
if (! focusEvent) {
|
||||||
AutoCompleteCancel();
|
AutoCompleteCancel();
|
||||||
ct.CallTipCancel();
|
ct.CallTipCancel();
|
||||||
|
}
|
||||||
Editor::CancelModes();
|
Editor::CancelModes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user