diff options
author | aunsane <aunsane@gmail.com> | 2018-02-24 15:51:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-25 13:40:57 +0200 |
commit | 304d0d4271c081efd9dc9bc639f83a42e4f9bc03 (patch) | |
tree | a2aa6f7761eee3829f13be4a590fd581b86a0f64 /src | |
parent | a3805a0a6771e282026bf3c4783bea1cdba58556 (diff) |
core: added OnClick event to CCtrlListView
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_core/src/CCtrlListView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_core/src/CCtrlListView.cpp b/src/mir_core/src/CCtrlListView.cpp index 3977238a14..f627ee0b3a 100644 --- a/src/mir_core/src/CCtrlListView.cpp +++ b/src/mir_core/src/CCtrlListView.cpp @@ -34,6 +34,7 @@ BOOL CCtrlListView::OnNotify(int, NMHDR *pnmh) TEventInfo evt = { this, pnmh }; switch (pnmh->code) { + case NM_CLICK: OnClick(&evt); return TRUE; case NM_DBLCLK: OnDoubleClick(&evt); return TRUE; case LVN_BEGINDRAG: OnBeginDrag(&evt); return TRUE; case LVN_BEGINLABELEDIT: OnBeginLabelEdit(&evt); return TRUE; |