X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d57be459406c2830f6abc9d99ae99166c6d133b..5b077d483bcd47bcd1c3e89a9adc1d6b1a44e046:/include/wx/motif/slider.h diff --git a/include/wx/motif/slider.h b/include/wx/motif/slider.h index c61f865c56..d0448159f1 100644 --- a/include/wx/motif/slider.h +++ b/include/wx/motif/slider.h @@ -52,7 +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 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,7 +83,7 @@ public: void Command(wxCommandEvent& event); // Implementation - virtual void ChangeFont(); + virtual void ChangeFont(bool keepOriginalSize = TRUE); virtual void ChangeBackgroundColour(); virtual void ChangeForegroundColour();