X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..81ce36aa591e89a802e0d900ac3c4bdbbacce48c:/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; }