From: Robin Dunn Date: Wed, 24 Sep 2003 20:08:25 +0000 (+0000) Subject: Since wxGTK's wxGauge doesn't derive from wxGaugeBase it needs to have X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e04fe03d0f0d5cda7f9c2712ed3a65988839002c 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 --- 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 // -------------