X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e267406e113e2842201ca7049159c578d4988015..0286d08d1453506f9ff9a830d58b3b35817d0b14:/src/univ/statbmp.cpp?ds=sidebyside 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; }