diff --git a/src/univ/statbmp.cpp b/src/univ/statbmp.cpp index dc6a590d65..a773abd383 100644 --- a/src/univ/statbmp.cpp +++ b/src/univ/statbmp.cpp @@ -67,6 +67,10 @@ bool wxStaticBitmap::Create(wxWindow *parent, void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap) { m_bitmap = bitmap; + + InvalidateBestSize(); + SetSize(GetBestSize()); + Refresh(); } // ----------------------------------------------------------------------------