using proper SubItemRect

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2009-04-15 16:55:01 +00:00
parent 85ec29bc58
commit f63c36c378

View File

@ -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;