X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c299c3ab663257429983c24e6fb71450f3cf9f1..158b668823e14d9b42c9e7fe0281d35924192c68:/include/wx/os2/slider.h diff --git a/include/wx/os2/slider.h b/include/wx/os2/slider.h index 66b9b282be..006158d7b8 100644 --- a/include/wx/os2/slider.h +++ b/include/wx/os2/slider.h @@ -14,8 +14,6 @@ #include "wx/control.h" -WXDLLEXPORT_DATA(extern const char*) wxSliderNameStr; - // Slider class WXDLLEXPORT wxSlider: public wxSliderBase { @@ -74,7 +72,7 @@ public: void GetPosition( int* pnX ,int* pnY ) const ; - bool Show(bool bShow); + bool Show(bool bShow = TRUE); void SetRange( int nMinValue ,int nMaxValue ); @@ -113,6 +111,13 @@ public: inline WXHWND GetStaticMax(void) const { return m_hStaticMax; } inline WXHWND GetEditValue(void) const { return m_hStaticValue; } virtual bool ContainsHWND(WXHWND hWnd) const; + void AdjustSubControls( int nX + ,int nY + ,int nWidth + ,int nHeight + ,int nSizeFlags + ); + inline int GetSizeFlags(void) { return m_nSizeFlags; } void Command(wxCommandEvent& rEvent); virtual WXHBRUSH OnCtlColor( WXHDC hDC ,WXHWND hWnd @@ -138,7 +143,11 @@ protected: int m_nTickFreq; double m_dPixelToRange; int m_nThumbLength; + int m_nSizeFlags; + virtual void DoGetSize( int* pnWidth + ,int* pnHeight + ) const; virtual void DoSetSize( int nX ,int nY ,int nWidth