]> git.saurik.com Git - wxWidgets.git/commitdiff
Build fix: forgotten part of the previous commit.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 May 2010 21:28:17 +0000 (21:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 May 2010 21:28:17 +0000 (21:28 +0000)
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

index f257fcd7a89bd16054f3fb3341163250361c7973..f8fb6baaf25e009c05a09fcc0ffef44c87934b2d 100644 (file)
@@ -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;
     }