X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d57be459406c2830f6abc9d99ae99166c6d133b..5b077d483bcd47bcd1c3e89a9adc1d6b1a44e046:/include/wx/motif/statbmp.h diff --git a/include/wx/motif/statbmp.h b/include/wx/motif/statbmp.h index e4dcd4f9e2..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; } @@ -57,7 +60,7 @@ class WXDLLEXPORT wxStaticBitmap: public wxControl virtual bool AcceptsFocus() const { return FALSE; } // Implementation - virtual void ChangeFont(); + virtual void ChangeFont(bool keepOriginalSize = TRUE); virtual void ChangeBackgroundColour(); virtual void ChangeForegroundColour();