diff options
-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: |