summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-13 20:58:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-13 20:58:37 +0000
commitda0588537a9aee58726b78d1f2ee78920ab248cc (patch)
tree762286d463c65a2a1da9f62de32dde32b458efe8 /src/mir_core
parent2dab2384e9f06ae3ef087820228e69c750de4f6e (diff)
CCtrlListView::GetItem() - missing return type
git-svn-id: http://svn.miranda-ng.org/main/trunk@13580 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/mir_core.def4
-rw-r--r--src/mir_core/src/mir_core64.def4
-rw-r--r--src/mir_core/src/ui_utils.cpp4
3 files changed, 8 insertions, 4 deletions
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);