Blind implementation of GetSubItemRect() for wxListCtrl under carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
103339b01e
commit
9e5754bebd
@ -127,6 +127,9 @@ class WXDLLIMPEXP_CORE wxListCtrl: public wxControl
|
||||
// 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 ;
|
||||
|
||||
|
@ -1383,6 +1383,15 @@ wxRect wxListCtrl::GetViewRect() 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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user