X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55ccdb93e4ae4b606a4068cb37492c1ec3ed77a6..215a6add75ebab9a6f5e5635551585b2b690e8fb:/src/gtk/animate.cpp?ds=sidebyside diff --git a/src/gtk/animate.cpp b/src/gtk/animate.cpp index e2c1333636..7b3b798c00 100644 --- a/src/gtk/animate.cpp +++ b/src/gtk/animate.cpp @@ -211,7 +211,7 @@ bool wxAnimationCtrl::Create( wxWindow *parent, wxWindowID id, m_parent->DoAddChild( this ); PostCreation(size); - SetBestSize(size); + SetInitialSize(size); if (anim.IsOk()) SetAnimation(anim);