X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..8853b9a80e58b01a77700cb28c560ba3c1b033ce:/include/wx/motif/gauge.h?ds=sidebyside diff --git a/include/wx/motif/gauge.h b/include/wx/motif/gauge.h index 13eddaecae..30381c04e8 100644 --- a/include/wx/motif/gauge.h +++ b/include/wx/motif/gauge.h @@ -57,9 +57,17 @@ 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 Command(wxCommandEvent& WXUNUSED(event)) {} ; +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); + protected: int m_rangeMax; int m_gaugePos;