]> git.saurik.com Git - wxWidgets.git/commitdiff
Added IsVertical to wxMac's wxScrollBar. (It doesn't derive
authorRobin Dunn <robin@alldunn.com>
Tue, 27 Nov 2001 05:44:36 +0000 (05:44 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 27 Nov 2001 05:44:36 +0000 (05:44 +0000)
from wxScrollbarBase)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/scrolbar.h

index 10e80637dbff11d2ae4332310bef2eda8c36ad42..62f85a3437312111751626edfdcdee13d8c3f7da 100644 (file)
@@ -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);