From e72793abec89751594e12402ed375bb6afda3e79 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 30 Mar 2020 15:44:32 -0700 Subject: [PATCH] IsOk is pure virtual --- interface/wx/animate.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/wx/animate.h b/interface/wx/animate.h index 811005bfde..1ed928846f 100644 --- a/interface/wx/animate.h +++ b/interface/wx/animate.h @@ -265,7 +265,7 @@ class wxAnimationBase : public wxObject public: wxAnimationBase(); - virtual bool IsOk() const; + virtual bool IsOk() const = 0; virtual int GetDelay(unsigned int frame) const = 0; @@ -460,6 +460,8 @@ public: If the platform supports a native animation control (currently just wxGTK) then this is the animation class that should be used with @c wxAnimationCtrl. Otherwise it is virtually the same as @c wxGenericAnimation. + + @see wxGenericAnimation */ class wxAnimation : public wxAnimationBase { @@ -467,6 +469,8 @@ public: wxAnimation(); wxAnimation(const wxString &name, wxAnimationType type = wxANIMATION_TYPE_ANY); + virtual bool IsOk() const; + virtual int GetDelay(unsigned int frame) const; virtual unsigned int GetFrameCount() const; virtual wxImage GetFrame(unsigned int frame) const;