Define wxHAS_NATIVE_ANIMATIONCTRL

This allows to easily test for the native control existence and also
whether wxGenericAnimationCtrl is really different from wxAnimationCtrl.

It also allows to avoid explicit check for wxGTK in common code.
This commit is contained in:
Vadim Zeitlin
2020-04-05 16:32:45 +02:00
parent 6f2a5937f5
commit d0371d75f7
3 changed files with 4 additions and 1 deletions

View File

@@ -167,6 +167,8 @@ private:
#if defined(__WXGTK20__)
#include "wx/gtk/animate.h"
#define wxHAS_NATIVE_ANIMATIONCTRL
#else
class WXDLLIMPEXP_ADV wxAnimationCtrl : public wxGenericAnimationCtrl
{