remove the vertical scrollbar completely if the control is empty

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-26 00:17:52 +00:00
parent b1b408af9e
commit c1aa5517ac
2 changed files with 21 additions and 4 deletions

View File

@@ -188,6 +188,9 @@ protected:
// update the thumb size shown by the scrollbar
void UpdateScrollbar();
// remove the scrollbar completely because we don't need it
void RemoveScrollbar();
private:
// common part of all ctors
void Init();