X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a584f14bf7c07c7f1a87ad80a5a9b710402dd27..1bc32508684ff0b49fcf0f03ef27e31669fc2eae:/contrib/include/wx/gizmos/splittree.h diff --git a/contrib/include/wx/gizmos/splittree.h b/contrib/include/wx/gizmos/splittree.h index d5e178bb59..4be4386cda 100644 --- a/contrib/include/wx/gizmos/splittree.h +++ b/contrib/include/wx/gizmos/splittree.h @@ -78,13 +78,16 @@ public: // In case we're using the generic tree control. virtual void PrepareDC(wxDC& dc); + // In case we're using the generic tree control. + virtual int GetScrollPos(int orient) const; + //// Helpers void HideVScrollbar(); // 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();