From 089097654dca97894e7d699fd990763125177471 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 30 Mar 2020 16:05:37 -0700 Subject: [PATCH] Add changelog entry --- CHANGES.rst | 4 ++++ demo/AnimateCtrl.py | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index f2c43d01..2b4f7fb4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -88,6 +88,10 @@ New and improved in this release: * Added wx.msw.CHMHelpController, and also a wx.HelpController factory function that creates an instance of the best Help Controller for the platform. (#1536) +* Added wx.GenericAnimation and wx.GenericAnimationCtrl so the generic version + of the animation classes can be used even on the platforms that have a native + version. (#1579) + diff --git a/demo/AnimateCtrl.py b/demo/AnimateCtrl.py index c579bb78..438f933d 100644 --- a/demo/AnimateCtrl.py +++ b/demo/AnimateCtrl.py @@ -2,9 +2,10 @@ import wx -if True: +if False: # use the native classes, if the platform has a native widget - from wx.adv import Animation, AnimationCtrl + from wx.adv import Animation + from wx.adv import AnimationCtrl else: # Otherwise, force use of the generic widgets on all platforms from wx.adv import GenericAnimation as Animation