From eb29e7071f01834400fda4c51b5fb7717374be76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 26 Aug 2000 21:01:48 +0000 Subject: [PATCH] gizmos compilation fixes (gcc) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/gizmos/splittree.h | 2 +- contrib/src/gizmos/splittree.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/include/wx/gizmos/splittree.h b/contrib/include/wx/gizmos/splittree.h index d5e178bb59..5758dde534 100644 --- a/contrib/include/wx/gizmos/splittree.h +++ b/contrib/include/wx/gizmos/splittree.h @@ -84,7 +84,7 @@ public: // 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(); diff --git a/contrib/src/gizmos/splittree.cpp b/contrib/src/gizmos/splittree.cpp index 8dbd9221e4..76cd79471c 100644 --- a/contrib/src/gizmos/splittree.cpp +++ b/contrib/src/gizmos/splittree.cpp @@ -277,7 +277,7 @@ void wxRemotelyScrolledTreeCtrl::CalcTreeSize(wxRect& rect) 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. -- 2.50.0