X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68df211faedeabdf4259858109d1bd7385fdccf5..9f556d1dd6a06524c0d5419862836b9f0e9e6e1d:/contrib/src/gizmos/statpict.cpp?ds=sidebyside diff --git a/contrib/src/gizmos/statpict.cpp b/contrib/src/gizmos/statpict.cpp index a6fd9f768e..b8c1cdf99d 100644 --- a/contrib/src/gizmos/statpict.cpp +++ b/contrib/src/gizmos/statpict.cpp @@ -67,7 +67,7 @@ bool wxStaticPicture::Create(wxWindow *parent, wxWindowID id, bool ret = wxControl::Create( parent, id, pos, size, style, wxDefaultValidator, name ); - SetBestSize( size ) ; + SetInitialSize( size ) ; return ret; }