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