X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..9bd6a5037aa30e8fa46466509aee18abd14318a0:/include/wx/msw/slider95.h diff --git a/include/wx/msw/slider95.h b/include/wx/msw/slider95.h index ed8c6523c3..612c5f5044 100644 --- a/include/wx/msw/slider95.h +++ b/include/wx/msw/slider95.h @@ -51,9 +51,18 @@ public: virtual int GetValue(void) const ; virtual void SetValue(int); + void GetSize(int *x, int *y) const ; + wxSize GetSize() const { return wxWindow::GetSize(); } + void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + void GetPosition(int *x, int *y) const ; + wxPoint GetPosition() const { return wxWindow::GetPosition(); } + bool Show(bool show); void SetRange(int minValue, int maxValue); @@ -83,11 +92,6 @@ public: inline WXHWND GetEditValue() const { return m_staticValue; } virtual bool ContainsHWND(WXHWND hWnd) const; - // Backward compatibility: translate to familiar wxEVT_COMMAND_SLIDER_UPDATED -#if WXWIN_COMPATIBILITY - void OnScroll(wxScrollEvent& event); -#endif - void Command(wxCommandEvent& event); virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); @@ -103,7 +107,6 @@ public: int m_pageSize; int m_lineSize; int m_tickFreq; -DECLARE_EVENT_TABLE() }; #endif