]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbmp.cpp
Removed unneeded GSocket files
[wxWidgets.git] / src / mac / carbon / statbmp.cpp
index f8fb079fd450d273395aa4c5765e33a516854ba3..69b6f8b448c28a098485690e60044baa2372c065 100644 (file)
@@ -59,6 +59,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id,
 void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap)
 {
     m_bitmap = bitmap;
+    InvalidateBestSize();
     SetSize(GetBestSize());
     Refresh() ;
 }