#include "wx/animdecod.h"
#include "wx/control.h"
#include "wx/timer.h"
+#include "wx/bitmap.h"
class WXDLLIMPEXP_ADV wxAnimation;
// auto-resizes by default to fit the new animation when SetAnimation() is called
#define wxAC_DEFAULT_STYLE (wxNO_BORDER)
-
class WXDLLIMPEXP_ADV wxAnimationCtrlBase : public wxControl
{
public:
virtual bool IsPlaying() const = 0;
+ virtual void SetInactiveBitmap(const wxBitmap &bmp);
+ wxBitmap GetInactiveBitmap() const
+ { return m_bmpStatic; }
+
+protected:
+ wxBitmap m_bmpStatic;
+
private:
DECLARE_ABSTRACT_CLASS(wxAnimationCtrlBase)
};
// include the platform-specific version of the wxAnimationCtrl class
// ----------------------------------------------------------------------------
-#if defined(__WXGTK__)
+#if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
#include "wx/gtk/animate.h"
#else
#include "wx/generic/animate.h"