From e04fe03d0f0d5cda7f9c2712ed3a65988839002c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 24 Sep 2003 20:08:25 +0000 Subject: [PATCH] Since wxGTK's wxGauge doesn't derive from wxGaugeBase it needs to have 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 | 2 ++ include/wx/gtk1/gauge.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index f014fcf379..4760676800 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -75,6 +75,8 @@ public: int GetRange() const; int GetValue() const; + bool IsVertical() const { return HasFlag(wxGA_VERTICAL); } + // implementation // ------------- diff --git a/include/wx/gtk1/gauge.h b/include/wx/gtk1/gauge.h index f014fcf379..4760676800 100644 --- a/include/wx/gtk1/gauge.h +++ b/include/wx/gtk1/gauge.h @@ -75,6 +75,8 @@ public: int GetRange() const; int GetValue() const; + bool IsVertical() const { return HasFlag(wxGA_VERTICAL); } + // implementation // ------------- -- 2.45.2