git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58963
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Gets the item rectangle
bool GetItemRect(long item, wxRect& rect, int code = wxLIST_RECT_BOUNDS) const ;
+ // Gets the item rectangle of a subitem
+ bool GetSubItemRect( long item, long subItem, wxRect& rect, int code = wxLIST_RECT_BOUNDS ) const;
+
// Gets the item position
bool GetItemPosition(long item, wxPoint& pos) const ;
return rect;
}
+bool wxListCtrl::GetSubItemRect( long item, long subItem, wxRect& rect, int code ) const
+{
+ if (m_genericImpl)
+ return m_genericImpl->GetItemRect(item, rect, code);
+
+ // TODO: implement for DataBrowser implementation
+ return false;
+}
+
// Gets the item rectangle
bool wxListCtrl::GetItemRect(long item, wxRect& rect, int code) const
{