From da0588537a9aee58726b78d1f2ee78920ab248cc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 May 2015 20:58:37 +0000 Subject: CCtrlListView::GetItem() - missing return type git-svn-id: http://svn.miranda-ng.org/main/trunk@13580 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/src/mir_core.def | 4 +++- src/mir_core/src/mir_core64.def | 4 +++- src/mir_core/src/ui_utils.cpp | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/mir_core/src/mir_core.def b/src/mir_core/src/mir_core.def index 4e55fce8cf..058d980505 100644 --- a/src/mir_core/src/mir_core.def +++ b/src/mir_core/src/mir_core.def @@ -812,7 +812,7 @@ mir_wstrcmpi @280 ?GetInsertMarkColor@CCtrlTreeView@@QAEKXZ @811 NONAME ?GetInsertMarkRect@CCtrlListView@@QAEHPAUtagRECT@@@Z @812 NONAME ?GetInt@CCtrlBase@@QAEHXZ @813 NONAME -?GetItem@CCtrlListView@@QAEXPAUtagLVITEMW@@@Z @814 NONAME +?GetItem@CCtrlListView@@QAE_NPAUtagLVITEMW@@@Z @814 NONAME ?GetItem@CCtrlTreeView@@QAEXPAU_TREEITEM@@PAUtagTVITEMEXW@@@Z @815 NONAME ?GetItem@CCtrlTreeView@@QAEXPAU_TREEITEM@@PAUtagTVITEMEXW@@PA_WH@Z @816 NONAME ?GetItem@CCtrlTreeView@@QAE_NPAUtagTVITEMEXW@@@Z @817 NONAME @@ -1077,3 +1077,5 @@ Proto_RegisterModule @1074 NONAME ?NotifyChange@CDlgBase@@QAEXXZ @1078 NONAME ?InvertCheck@CCtrlTreeView@@QAEXPAU_TREEITEM@@@Z @1079 NONAME ?SetFlags@CCtrlTreeView@@QAEXI@Z @1080 NONAME +?CustomWndProc@CCtrlTreeView@@MAEJIIJ@Z @1081 NONAME +?OnInit@CCtrlTreeView@@MAEXXZ @1082 NONAME diff --git a/src/mir_core/src/mir_core64.def b/src/mir_core/src/mir_core64.def index 6da78214f5..0efcff15f5 100644 --- a/src/mir_core/src/mir_core64.def +++ b/src/mir_core/src/mir_core64.def @@ -812,7 +812,7 @@ mir_wstrcmpi @280 ?GetInsertMarkColor@CCtrlTreeView@@QEAAKXZ @811 NONAME ?GetInsertMarkRect@CCtrlListView@@QEAAHPEAUtagRECT@@@Z @812 NONAME ?GetInt@CCtrlBase@@QEAAHXZ @813 NONAME -?GetItem@CCtrlListView@@QEAAXPEAUtagLVITEMW@@@Z @814 NONAME +?GetItem@CCtrlListView@@QEAA_NPEAUtagLVITEMW@@@Z @814 NONAME ?GetItem@CCtrlTreeView@@QEAAXPEAU_TREEITEM@@PEAUtagTVITEMEXW@@@Z @815 NONAME ?GetItem@CCtrlTreeView@@QEAAXPEAU_TREEITEM@@PEAUtagTVITEMEXW@@PEA_WH@Z @816 NONAME ?GetItem@CCtrlTreeView@@QEAA_NPEAUtagTVITEMEXW@@@Z @817 NONAME @@ -1077,3 +1077,5 @@ Proto_RegisterModule @1074 NONAME ?NotifyChange@CDlgBase@@QEAAXXZ @1078 NONAME ?InvertCheck@CCtrlTreeView@@QEAAXPEAU_TREEITEM@@@Z @1079 NONAME ?SetFlags@CCtrlTreeView@@QEAAXI@Z @1080 NONAME +?CustomWndProc@CCtrlTreeView@@MEAA_JI_K_J@Z @1081 NONAME +?OnInit@CCtrlTreeView@@MEAAXXZ @1082 NONAME diff --git a/src/mir_core/src/ui_utils.cpp b/src/mir_core/src/ui_utils.cpp index ce86fe1735..99124df0d0 100644 --- a/src/mir_core/src/ui_utils.cpp +++ b/src/mir_core/src/ui_utils.cpp @@ -1114,8 +1114,8 @@ int CCtrlListView::GetInsertMarkRect(LPRECT prc) BOOL CCtrlListView::GetISearchString(LPSTR lpsz) { return ListView_GetISearchString(m_hwnd, lpsz); } -void CCtrlListView::GetItem(LPLVITEM pitem) -{ ListView_GetItem(m_hwnd, pitem); +bool CCtrlListView::GetItem(LPLVITEM pitem) +{ return ListView_GetItem(m_hwnd, pitem) == TRUE; } int CCtrlListView::GetItemCount() { return ListView_GetItemCount(m_hwnd); -- cgit v1.2.3