X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..5b077d483bcd47bcd1c3e89a9adc1d6b1a44e046:/include/wx/motif/slider.h diff --git a/include/wx/motif/slider.h b/include/wx/motif/slider.h index a11705040c..d0448159f1 100644 --- a/include/wx/motif/slider.h +++ b/include/wx/motif/slider.h @@ -52,9 +52,12 @@ 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 GetPosition(int *x, int *y) const ; - bool Show(bool show); + void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + void SetSize(const wxSize& size) { wxWindow::SetSize(size); } void SetRange(int minValue, int maxValue); @@ -78,6 +81,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;