X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..22692cf6eab5cb2ee12853b96bbf53afd73d5d66:/include/wx/motif/statbmp.h diff --git a/include/wx/motif/statbmp.h b/include/wx/motif/statbmp.h index 8045813fc4..ccc1c0e86c 100644 --- a/include/wx/motif/statbmp.h +++ b/include/wx/motif/statbmp.h @@ -25,6 +25,7 @@ class WXDLLEXPORT wxStaticBitmap: public wxControl DECLARE_DYNAMIC_CLASS(wxStaticBitmap) public: inline wxStaticBitmap() { } + ~wxStaticBitmap(); inline wxStaticBitmap(wxWindow *parent, wxWindowID id, const wxBitmap& label, @@ -49,12 +50,20 @@ 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; } // overriden base class virtuals virtual bool AcceptsFocus() const { return FALSE; } +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); + protected: wxBitmap m_messageBitmap;