X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..759f72726133ce3bdbe1c3a2f444aa816c7f46c9:/src/mac/classic/statbmp.cpp diff --git a/src/mac/classic/statbmp.cpp b/src/mac/classic/statbmp.cpp index 68bc4efa6a..9bd84f6aa8 100644 --- a/src/mac/classic/statbmp.cpp +++ b/src/mac/classic/statbmp.cpp @@ -67,6 +67,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id, void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap) { m_bitmap = bitmap; + InvalidateBestSize(); SetSize(wxSize(bitmap.GetWidth(), bitmap.GetHeight())); Refresh() ; }