X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4294b7832a5aed3c1cccc06aecd227d43da8830..d3dcceb4363163ea8eeba75234ac938e690230c8:/include/wx/motif/slider.h?ds=sidebyside diff --git a/include/wx/motif/slider.h b/include/wx/motif/slider.h index d54c2772ea..5d1bacf51a 100644 --- a/include/wx/motif/slider.h +++ b/include/wx/motif/slider.h @@ -52,7 +52,13 @@ public: virtual int GetValue() 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); } + virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); } void SetRange(int minValue, int maxValue); @@ -76,6 +82,12 @@ public: void SetTick(int tickPos) ; void Command(wxCommandEvent& event); + +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); + protected: int m_rangeMin; int m_rangeMax;