]> git.saurik.com Git - wxWidgets.git/commitdiff
gizmos compilation fixes (gcc)
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 26 Aug 2000 21:01:48 +0000 (21:01 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 26 Aug 2000 21:01:48 +0000 (21:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/include/wx/gizmos/splittree.h
contrib/src/gizmos/splittree.cpp

index d5e178bb598bd5bcfee96cddba063cbbcc05d9ef..5758dde534ea56d64660ca7957492f1d0666576c 100644 (file)
@@ -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();
index 8dbd9221e4f44f19ab99fc20a659dcddae15bfa5..76cd79471c48fe73b1d202b259961c53fe422aa7 100644 (file)
@@ -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.