X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..659ade8c5b948b775ba278837659f10bf66b4844:/include/wx/msw/slidrmsw.h diff --git a/include/wx/msw/slidrmsw.h b/include/wx/msw/slidrmsw.h index 34dbe92451..9409797ccc 100644 --- a/include/wx/msw/slidrmsw.h +++ b/include/wx/msw/slidrmsw.h @@ -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; }