]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/gauge.h
renamed WX_DEFINE_ARRAY_NO_PTR in WX_DEFINE_ARRAY_PTR
[wxWidgets.git] / include / wx / gtk1 / gauge.h
index c1d22c1a988e8b9da3e3b0b0ceca3fca0733744c..47606768003477f372702e03a20ad74eebec5640 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKGAUGEH__
 #define __GTKGAUGEH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -75,6 +75,8 @@ public:
     int GetRange() const;
     int GetValue() const;
 
+    bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
+    
     // implementation
     // -------------