Stop deriving native wxGTK wxAnimationCtrl from generic one

This is unnecessary and confusing.
This commit is contained in:
Vadim Zeitlin
2020-04-06 01:09:36 +02:00
parent 3678d67f92
commit d9b1ca54ca
4 changed files with 7 additions and 3 deletions

View File

@@ -146,13 +146,13 @@ protected:
// include the platform-specific version of the wxAnimationCtrl class
// ----------------------------------------------------------------------------
#include "wx/generic/animate.h"
#if defined(__WXGTK20__)
#include "wx/gtk/animate.h"
#define wxHAS_NATIVE_ANIMATIONCTRL
#else
#include "wx/generic/animate.h"
class WXDLLIMPEXP_ADV wxAnimationCtrl : public wxGenericAnimationCtrl
{
public: