summaryrefslogtreecommitdiff
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
parent2dab2384e9f06ae3ef087820228e69c750de4f6e (diff)
CCtrlListView::GetItem() - missing return type
git-svn-id: http://svn.miranda-ng.org/main/trunk@13580 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--bin10/lib/mir_core.libbin329106 -> 329110 bytes
-rw-r--r--bin10/lib/mir_core64.libbin330882 -> 330886 bytes
-rw-r--r--bin12/lib/mir_core.libbin329106 -> 329110 bytes
-rw-r--r--bin12/lib/mir_core64.libbin330882 -> 330886 bytes
-rw-r--r--include/m_gui.h2
-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
8 files changed, 9 insertions, 5 deletions
diff --git a/bin10/lib/mir_core.lib b/bin10/lib/mir_core.lib
index b5626ddaf2..f5bdee4bf1 100644
--- a/bin10/lib/mir_core.lib
+++ b/bin10/lib/mir_core.lib
Binary files differ
diff --git a/bin10/lib/mir_core64.lib b/bin10/lib/mir_core64.lib
index b90021e5dc..b36cf1669a 100644
--- a/bin10/lib/mir_core64.lib
+++ b/bin10/lib/mir_core64.lib
Binary files differ
diff --git a/bin12/lib/mir_core.lib b/bin12/lib/mir_core.lib
index ec60ffb43a..5be659bc2f 100644
--- a/bin12/lib/mir_core.lib
+++ b/bin12/lib/mir_core.lib
Binary files differ
diff --git a/bin12/lib/mir_core64.lib b/bin12/lib/mir_core64.lib
index 11a84c974b..1b693720d2 100644
--- a/bin12/lib/mir_core64.lib
+++ b/bin12/lib/mir_core64.lib
Binary files differ
diff --git a/include/m_gui.h b/include/m_gui.h
index d369ed5058..89393d0be7 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -709,7 +709,7 @@ public:
COLORREF GetInsertMarkColor();
int GetInsertMarkRect(LPRECT prc);
BOOL GetISearchString(LPSTR lpsz);
- void GetItem(LPLVITEM pitem);
+ bool GetItem(LPLVITEM pitem);
int GetItemCount();
void GetItemPosition(int i, POINT *ppt);
void GetItemRect(int i, RECT *prc, int code);
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);