Ticket #15643 (closed defect: fixed)
Animate Effects bug on non-visible windows
|Reported by:||Chuddah||Owned by:|
|Keywords:||animate infobar shown||Cc:|
Animations on win32 are not behaving correctly when the window is not visible.
The example I have uses a wxInfoBar which animates the message into and out of view. This seems to work as expected when the window is visible.
When the window is hidden (eg. in a non-visible notebook page) the animation\hiding doesn't seem to happen in the MSW components (although the wx object wrapper assumes that it has been).
This causes graphical glitches when viewing the previously hidden window.
The fix is to simply not animate the window if the parent is not visible on the screen.