]> git.saurik.com Git - wxWidgets.git/commitdiff
Since wxGTK's wxGauge doesn't derive from wxGaugeBase it needs to have
authorRobin Dunn <robin@alldunn.com>
Wed, 24 Sep 2003 20:08:25 +0000 (20:08 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 24 Sep 2003 20:08:25 +0000 (20:08 +0000)
an IsVertical method added too

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

include/wx/gtk/gauge.h
include/wx/gtk1/gauge.h

index f014fcf379cc7d90bb5eaa9cf173028663688c87..47606768003477f372702e03a20ad74eebec5640 100644 (file)
@@ -75,6 +75,8 @@ public:
     int GetRange() const;
     int GetValue() const;
 
+    bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
+    
     // implementation
     // -------------
 
index f014fcf379cc7d90bb5eaa9cf173028663688c87..47606768003477f372702e03a20ad74eebec5640 100644 (file)
@@ -75,6 +75,8 @@ public:
     int GetRange() const;
     int GetValue() const;
 
+    bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
+    
     // implementation
     // -------------