From: Robin Dunn Date: Thu, 4 May 2006 02:05:58 +0000 (+0000) Subject: Expose UpdateScrollbar and RemoveScrollbar X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ef802f32a3dc4cab0fd388354a6b968a80eea521 Expose UpdateScrollbar and RemoveScrollbar git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_vscroll.i b/wxPython/src/_vscroll.i index 3fbfa62d47..ce66f5cd23 100644 --- a/wxPython/src/_vscroll.i +++ b/wxPython/src/_vscroll.i @@ -95,6 +95,11 @@ public: wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } + // update the thumb size shown by the scrollbar + void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); } + + // remove the scrollbar completely because we don't need it + void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); } PYPRIVATE; };