From c5fe0dcced09d682063ed608f3fe7d32eb48fc77 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 27 Nov 2001 05:44:36 +0000 Subject: [PATCH 1/1] Added IsVertical to wxMac's wxScrollBar. (It doesn't derive from wxScrollbarBase) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/scrolbar.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/mac/scrolbar.h b/include/wx/mac/scrolbar.h index 10e80637db..62f85a3437 100644 --- a/include/wx/mac/scrolbar.h +++ b/include/wx/mac/scrolbar.h @@ -50,6 +50,8 @@ public: inline int GetPageSize() const { return m_viewSize; } inline int GetRange() const { return m_objectSize; } + bool IsVertical() const { return (m_windowStyle & wxVERTICAL) != 0; } + virtual void SetThumbPosition(int viewStart); virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize, bool refresh = TRUE); -- 2.45.2