git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8191
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Calculate the tree overall size so we can set the scrollbar
// correctly
void CalcTreeSize(wxRect& rect);
- void CalcTreeSize(wxTreeItemId& id, wxRect& rect);
+ void CalcTreeSize(const wxTreeItemId& id, wxRect& rect);
// Adjust the containing wxScrolledWindow's scrollbars appropriately
void AdjustRemoteScrollbars();
CalcTreeSize(GetRootItem(), rect);
}
-void wxRemotelyScrolledTreeCtrl::CalcTreeSize(wxTreeItemId& id, wxRect& rect)
+void wxRemotelyScrolledTreeCtrl::CalcTreeSize(const wxTreeItemId& id, wxRect& rect)
{
// TODO: implement GetFirst/NextVisibleItem
// for wxGenericTreeCtrl, plus GetBoundingRect.