X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b5f3fe655deeb91d5d3abe8fad30c4a1cae63dc..a43a4f9d4d4a7f107e81bc7de0c1eea729593ee2:/include/wx/motif/statbmp.h 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; }