X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..d910fe28f4159b0c6ee622598883cc26fa6abffd:/include/wx/msw/slidrmsw.h diff --git a/include/wx/msw/slidrmsw.h b/include/wx/msw/slidrmsw.h index 34dbe92451..9edfa755bb 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; } @@ -69,8 +73,6 @@ public: virtual bool ContainsHWND(WXHWND hWnd) const; void Command(wxCommandEvent& event); - virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, WXWPARAM wParam, WXLPARAM lParam); virtual bool MSWOnScroll(int orientation, WXWORD wParam, WXWORD pos, WXHWND control);