From 0fe260084e941fd0083bb1939a3af120df80bf4f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 10 May 2010 21:28:17 +0000 Subject: [PATCH] Build fix: forgotten part of the previous commit. This commit should have been part of r64281. Also notice that the previous commit message mentioned a wrong ticket number, see #10572. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/private/listctrl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/generic/private/listctrl.h b/include/wx/generic/private/listctrl.h index f257fcd7a8..f8fb6baaf2 100644 --- a/include/wx/generic/private/listctrl.h +++ b/include/wx/generic/private/listctrl.h @@ -589,11 +589,12 @@ public: bool GetItemPosition( long item, wxPoint& pos ) const; int GetSelectedItemCount() const; - wxString GetItemText(long item) const + wxString GetItemText(long item, int col = 0) const { wxListItem info; info.m_mask = wxLIST_MASK_TEXT; info.m_itemId = item; + info.m_col = col; GetItem( info ); return info.m_text; } -- 2.45.2