diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-19 19:19:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-19 19:19:49 +0300 |
commit | 791b7433578c53e2a094b78f3c324b7a414230ea (patch) | |
tree | 840a6511d1a5be851b1a0f205d46e59738e5a145 | |
parent | 52fa4fd5a679c218290f96c2a86e91b7800f24f9 (diff) |
missing CBN_KILLFOCUS handler in CCtrlCombo
-rw-r--r-- | include/m_gui.h | 1 | ||||
-rw-r--r-- | src/mir_core/src/CCtrlCombo.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
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<CCtrlCombo> OnCloseup;
CCallback<CCtrlCombo> OnDropdown;
+ CCallback<CCtrlCombo> OnKillFocus;
CCallback<CCtrlCombo> 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: |