summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2020-11-11 03:06:46 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-11-12 01:56:42 +0100
commita874f1e6d4b3195885f440e2aaf2c848db435985 (patch)
tree6bc1368568e8d1bf41ef6cfe2ae6c144faba34ad /include
parentf74deaaeeed314a761443dd3d4a1cf04bca31c16 (diff)
Create tabpage scrollbars only on demand
Otherwise glade-ui code gets confused to find controls it never generated. Change-Id: Iaf9a6e6aa5080f7a49bb754fe967e6a85e80cfae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105572 Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/tabpage.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/vcl/tabpage.hxx b/include/vcl/tabpage.hxx
index 10fe3d588ee3..e69c45585b74 100644
--- a/include/vcl/tabpage.hxx
+++ b/include/vcl/tabpage.hxx
@@ -48,8 +48,6 @@ private:
bool mbHasVertBar;
Point mnScrollPos;
long mnScrWidth;
- enum ScrollBarVisibility { None, Vert, Hori, Both };
- ScrollBarVisibility maScrollVis;
public:
explicit TabPage( vcl::Window* pParent, WinBits nStyle = 0 );
@@ -78,7 +76,6 @@ public:
void SetScrollHeight( long nHeight );
void SetScrollLeft( long nLeft );
void SetScrollTop( long Top );
- void setScrollVisibility( ScrollBarVisibility rState );
void ResetScrollBars();
};