From ef802f32a3dc4cab0fd388354a6b968a80eea521 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 4 May 2006 02:05:58 +0000 Subject: [PATCH] Expose UpdateScrollbar and RemoveScrollbar git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_vscroll.i | 5 +++++ 1 file changed, 5 insertions(+) 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; }; -- 2.45.2