X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b5f3fe655deeb91d5d3abe8fad30c4a1cae63dc..5b077d483bcd47bcd1c3e89a9adc1d6b1a44e046:/include/wx/motif/statbmp.h?ds=sidebyside diff --git a/include/wx/motif/statbmp.h b/include/wx/motif/statbmp.h index 600168a84e..ccc1c0e86c 100644 --- a/include/wx/motif/statbmp.h +++ b/include/wx/motif/statbmp.h @@ -50,6 +50,9 @@ class WXDLLEXPORT wxStaticBitmap: public wxControl virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}; 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); } inline wxBitmap& GetBitmap() const { return (wxBitmap&) m_messageBitmap; }