diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-02 12:34:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-02 12:34:41 +0300 |
commit | 65a64ecdcb5e79c95e235e1dee1ee5a37cfef175 (patch) | |
tree | d472d101af978730b1adf5c97e079b26c2f2cd48 /src | |
parent | 23af445499887c5a557ab65c6ec3aec63632527e (diff) |
fixes #2869 (DbEditor: в некоторых областях экрана вызывается неправильное контекстное меню)
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 b41aa8e085..ec0995e4d2 100644 --- a/src/mir_core/src/CCtrlListView.cpp +++ b/src/mir_core/src/CCtrlListView.cpp @@ -168,6 +168,7 @@ void CCtrlListView::GetCaretPos(CContextMenuPos &pos) const else { LVHITTESTINFO hti; hti.pt = pos.pt; + ScreenToClient(m_hwnd, &hti.pt); if (SubItemHitTest(&hti) != -1) { pos.iCurr = hti.iItem; return; |