Add static wxAnimationCtrl::CreateCompatibleAnimation()

This may be more convenient to use than CreateAnimation() if there is no
wxAnimationCtrl object at hand.
This commit is contained in:
Vadim Zeitlin
2020-04-06 23:33:07 +02:00
parent cdf156e7e8
commit f2ed3a5376
6 changed files with 32 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ public: // public API
bool SetBackgroundColour( const wxColour &colour ) wxOVERRIDE;
static wxAnimation CreateCompatibleAnimation();
protected:
virtual wxAnimationImpl* DoCreateAnimationImpl() const wxOVERRIDE;