X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e267406e113e2842201ca7049159c578d4988015..194323c7c0c16222a1c05e2d7f7c507439d7260f:/src/univ/statbmp.cpp diff --git a/src/univ/statbmp.cpp b/src/univ/statbmp.cpp index c71ce2a7b4..6059a8ab2e 100644 --- a/src/univ/statbmp.cpp +++ b/src/univ/statbmp.cpp @@ -61,7 +61,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, SetBitmap(label); // and adjust our size to fit it after this - SetBestSize(size); + SetInitialSize(size); return true; }