Restore wxAnimation::GetFrame() constness

This got lost, almost surely accidentally, in 706c8e8ad6 (Merge branch
'disable-native-animation', 2020-04-07), so just restore it now.

See https://github.com/wxWidgets/wxWidgets/pull/1768

Closes #18725.
This commit is contained in:
Vadim Zeitlin
2020-04-12 16:32:58 +02:00
parent 2197f9d10e
commit ed077e17cf
3 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ public:
int GetDelay(unsigned int frame) const;
unsigned int GetFrameCount() const;
wxImage GetFrame(unsigned int frame);
wxImage GetFrame(unsigned int frame) const;
wxSize GetSize() const;
bool LoadFile(const wxString& name, wxAnimationType type = wxANIMATION_TYPE_ANY);