X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d57be459406c2830f6abc9d99ae99166c6d133b..0a9f252212bdc4f9eea745a04632748d5544c042:/include/wx/motif/gauge.h?ds=sidebyside diff --git a/include/wx/motif/gauge.h b/include/wx/motif/gauge.h index 551aa00577..81413b0488 100644 --- a/include/wx/motif/gauge.h +++ b/include/wx/motif/gauge.h @@ -57,11 +57,15 @@ class WXDLLEXPORT wxGauge: public wxControl int GetValue() const ; void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); } virtual void Command(wxCommandEvent& WXUNUSED(event)) {} ; // Implementation - virtual void ChangeFont(); + virtual void ChangeFont(bool keepOriginalSize = TRUE); virtual void ChangeBackgroundColour(); virtual void ChangeForegroundColour();