#include "wx/control.h"
-WXDLLEXPORT_DATA(extern const char*) wxSliderNameStr;
-
// Slider
class WXDLLEXPORT wxSlider: public wxSliderBase
{
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxSL_HORIZONTAL
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxSliderNameStr
)
{
,rPos
,rSize
,lStyle
-#if wxUSE_VALIDATORS
,rValidator
-#endif
,rsName
);
}
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxSL_HORIZONTAL
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxSliderNameStr
);
void GetPosition( int* pnX
,int* pnY
) const ;
- bool Show(bool bShow);
+ bool Show(bool bShow = TRUE);
void SetRange( int nMinValue
,int nMaxValue
);
int m_nThumbLength;
int m_nSizeFlags;
+ virtual void DoGetSize( int* pnWidth
+ ,int* pnHeight
+ ) const;
virtual void DoSetSize( int nX
,int nY
,int nWidth