X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e267406e113e2842201ca7049159c578d4988015..01705e98c13137aa667da6c580d14c0ea1b98713:/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; }