From 791b7433578c53e2a094b78f3c324b7a414230ea Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Mar 2019 19:19:49 +0300 Subject: missing CBN_KILLFOCUS handler in CCtrlCombo --- include/m_gui.h | 1 + src/mir_core/src/CCtrlCombo.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/include/m_gui.h b/include/m_gui.h index b69b0bec3a..60ab61d3d3 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -968,6 +968,7 @@ public: // Events CCallback OnCloseup; CCallback OnDropdown; + CCallback OnKillFocus; CCallback OnSelChanged; }; diff --git a/src/mir_core/src/CCtrlCombo.cpp b/src/mir_core/src/CCtrlCombo.cpp index dbd6f394d2..93cf02bcdb 100644 --- a/src/mir_core/src/CCtrlCombo.cpp +++ b/src/mir_core/src/CCtrlCombo.cpp @@ -35,6 +35,7 @@ BOOL CCtrlCombo::OnCommand(HWND, WORD, WORD idCode) case CBN_CLOSEUP: OnCloseup(this); break; case CBN_DROPDOWN: OnDropdown(this); break; case CBN_SELCHANGE: OnSelChanged(this); break; + case CBN_KILLFOCUS: OnKillFocus(this); break; case CBN_EDITCHANGE: case CBN_EDITUPDATE: -- cgit v1.2.3