summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/mir_core.def2
-rw-r--r--src/mir_core/src/mir_core64.def3
-rw-r--r--src/mir_core/src/ui_utils.cpp4
3 files changed, 4 insertions, 5 deletions
diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def
index afc34ebc8a..02430c360a 100644
--- a/src/mir_core/src/mir_core.def
+++ b/src/mir_core/src/mir_core.def
@@ -815,7 +815,7 @@ mir_wstrcmpi @280
?GetItem@CCtrlListView@@QAEXPAUtagLVITEMW@@@Z @814 NONAME
?GetItem@CCtrlTreeView@@QAEXPAU_TREEITEM@@PAUtagTVITEMEXW@@@Z @815 NONAME
?GetItem@CCtrlTreeView@@QAEXPAU_TREEITEM@@PAUtagTVITEMEXW@@PA_WH@Z @816 NONAME
-?GetItem@CCtrlTreeView@@QAEXPAUtagTVITEMEXW@@@Z @817 NONAME
+?GetItem@CCtrlTreeView@@QAE_NPAUtagTVITEMEXW@@@Z @817 NONAME
?GetItemCount@CCtrlListView@@QAEHXZ @818 NONAME
?GetItemData@CCtrlCombo@@QAEJH@Z @819 NONAME
?GetItemData@CCtrlListBox@@QAEJH@Z @820 NONAME
diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def
index 6b2071dfc8..a92977f3c8 100644
--- a/src/mir_core/src/mir_core64.def
+++ b/src/mir_core/src/mir_core64.def
@@ -815,7 +815,7 @@ mir_wstrcmpi @280
?GetItem@CCtrlListView@@QEAAXPEAUtagLVITEMW@@@Z @814 NONAME
?GetItem@CCtrlTreeView@@QEAAXPEAU_TREEITEM@@PEAUtagTVITEMEXW@@@Z @815 NONAME
?GetItem@CCtrlTreeView@@QEAAXPEAU_TREEITEM@@PEAUtagTVITEMEXW@@PEA_WH@Z @816 NONAME
-?GetItem@CCtrlTreeView@@QEAAXPEAUtagTVITEMEXW@@@Z @817 NONAME
+?GetItem@CCtrlTreeView@@QEAA_NPEAUtagTVITEMEXW@@@Z @817 NONAME
?GetItemCount@CCtrlListView@@QEAAHXZ @818 NONAME
?GetItemData@CCtrlCombo@@QEAA_JH@Z @819 NONAME
?GetItemData@CCtrlListBox@@QEAA_JH@Z @820 NONAME
@@ -1073,7 +1073,6 @@ ProtoWindowAdd @1071 NONAME
ProtoWindowRemove @1072 NONAME
Proto_IsProtocolLoaded @1073 NONAME
Proto_RegisterModule @1074 NONAME
-
?GetInst@CDlgBase@@QEBAPEAUHINSTANCE__@@XZ @1075 NONAME
?Find@CDlgBase@@SAPEAV1@PEAUHWND__@@@Z @1076 NONAME
?SetCaption@CDlgBase@@QEAAXPEB_W@Z @1077 NONAME
diff --git a/src/mir_core/src/ui_utils.cpp b/src/mir_core/src/ui_utils.cpp
index e4fad58f64..720ad5f812 100644
--- a/src/mir_core/src/ui_utils.cpp
+++ b/src/mir_core/src/ui_utils.cpp
@@ -1452,8 +1452,8 @@ COLORREF CCtrlTreeView::GetInsertMarkColor()
{ return TreeView_GetInsertMarkColor(m_hwnd);
}
-void CCtrlTreeView::GetItem(TVITEMEX *tvi)
-{ TreeView_GetItem(m_hwnd, tvi);
+bool CCtrlTreeView::GetItem(TVITEMEX *tvi)
+{ return TreeView_GetItem(m_hwnd, tvi) == TRUE;
}
int CCtrlTreeView::GetItemHeight()