]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/slidrmsw.h
split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
[wxWidgets.git] / include / wx / msw / slidrmsw.h
index 34dbe924515b605a572d3057e24b39bddb46efdc..9409797ccc30e557636956f004ac61d1a07bc134 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _SLIDRMSW_H_
 #define _SLIDRMSW_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "slidrmsw.h"
 #endif
 
@@ -62,6 +62,10 @@ public:
     void SetLineSize(int lineSize);
     int GetLineSize() const;
 
+    // these methods get/set the length of the slider pointer in pixels
+    virtual void SetThumbLength(int lenPixels);
+    virtual int GetThumbLength() const ;
+
     // IMPLEMENTATION
     WXHWND GetStaticMin() const { return m_staticMin; }
     WXHWND GetStaticMax() const { return m_staticMax; }