From: Stefan Csomor Date: Wed, 15 Apr 2009 16:55:01 +0000 (+0000) Subject: using proper SubItemRect X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f63c36c378c55a4a727e3fcd732bd6b7cdced1bd using proper SubItemRect git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/listctrl_mac.cpp b/src/osx/carbon/listctrl_mac.cpp index 915fd58aef..82a99344fc 100644 --- a/src/osx/carbon/listctrl_mac.cpp +++ b/src/osx/carbon/listctrl_mac.cpp @@ -1385,10 +1385,10 @@ wxRect wxListCtrl::GetViewRect() const return rect; } -bool wxListCtrl::GetSubItemRect( long item, long WXUNUSED(subItem), wxRect& rect, int code ) const +bool wxListCtrl::GetSubItemRect( long item, long subItem, wxRect& rect, int code ) const { if (m_genericImpl) - return m_genericImpl->GetItemRect(item, rect, code); + return m_genericImpl->GetSubItemRect(item, subItem, rect, code); // TODO: implement for DataBrowser implementation return false;