Re: wxAnimationCtrl layout size is incorrect (#15514)

18 views
Skip to first unread message

Richard Thomson

unread,
Jul 11, 2026, 3:05:44 PM (9 days ago) Jul 11
to wx-...@googlegroups.com, wxtrac, Author
LegalizeAdulthood left a comment (wxWidgets/wxWidgets#15514)

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.Message ID: <wxWidgets/wxWidgets/issues/15514/4948401526@github.com>

VZ

unread,
Jul 19, 2026, 2:18:09 PM (2 days ago) Jul 19
to wx-...@googlegroups.com, wxtrac, Author

Closed #15514 as completed.


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.Message ID: <wxWidgets/wxWidgets/issue/15514/issue_event/28184943698@github.com>

Reply all
Reply to author
Forward
0 new messages