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;