From 1da4efa50a5b989115292ea66befea52c73b8b2d Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 30 Sep 2013 14:32:42 +1000 Subject: Added FocusIn and FocusOut notification events (SCN_FOCUSIN/SCN_FOCUSOUT) to be used in preference to the SCEN_SETFOCUS and SCEN_KILLFOCUS command events. --- qt/ScintillaEditBase/ScintillaQt.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt/ScintillaEditBase/ScintillaQt.cpp') diff --git a/qt/ScintillaEditBase/ScintillaQt.cpp b/qt/ScintillaEditBase/ScintillaQt.cpp index d79fe3a86..2e3b9a0a5 100644 --- a/qt/ScintillaEditBase/ScintillaQt.cpp +++ b/qt/ScintillaEditBase/ScintillaQt.cpp @@ -392,6 +392,8 @@ void ScintillaQt::NotifyFocus(bool focus) Platform::LongFromTwoShorts (GetCtrlID(), focus ? SCEN_SETFOCUS : SCEN_KILLFOCUS), reinterpret_cast(wMain.GetID())); + + Editor::NotifyFocus(focus); } void ScintillaQt::NotifyParent(SCNotification scn) -- cgit v1.2.3