I checked this against the current tree and it appears to have been addressed.
For non-GTK ports, including MSW, wxAnimationCtrl uses wxGenericAnimationCtrl. In the current implementation, wxGenericAnimationCtrl::Load() calls SetAnimation(), SetAnimation() calls FitToAnimation() unless wxAC_NO_AUTORESIZE is set, and FitToAnimation() now calls InvalidateBestSize() before setting the control size.
That matches the fix requested in the 2013 comment. The InvalidateBestSize() call was added to wxGenericAnimationCtrl::FitToAnimation() in commit e2d6bdf5189, so I don't think this still needs a code change for the generic/MSW path.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.![]()