X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..ed8385818f26035d2f60d3a719250ffab48e6c34:/src/msw/statbmp.cpp diff --git a/src/msw/statbmp.cpp b/src/msw/statbmp.cpp index 26a32bf03b..cd03008f89 100644 --- a/src/msw/statbmp.cpp +++ b/src/msw/statbmp.cpp @@ -166,7 +166,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, SetImageNoCopy(image); // GetBestSize will work properly now, so set the best size if needed - SetBestSize(size); + SetInitialSize(size); return true; }