From 7468e7c8a83068214c1228855376dad646459b64 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 24 Mar 2020 19:58:04 -0700 Subject: [PATCH] Add text to wxAnimation docs about how to use the generic version on wxGTK --- interface/wx/animate.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/interface/wx/animate.h b/interface/wx/animate.h index b5043a8b69..612665c474 100644 --- a/interface/wx/animate.h +++ b/interface/wx/animate.h @@ -229,9 +229,12 @@ public: An animation is a sequence of frames of the same size. Sound is not supported by wxAnimation. - Note that on wxGTK wxAnimation is capable of loading the formats supported - by the internally-used @c gdk-pixbuf library (typically this means only - @c wxANIMATION_TYPE_GIF). + Note that on wxGTK wxAnimation by default is capable of loading the + formats supported by the internally-used @c gdk-pixbuf library (typically + this means only @c wxANIMATION_TYPE_GIF). To use the generic version of + wxAnimation and wxAnimationCtrl instead, use the --disable-nativeanimation + configure option when buildign wxWidgets. + On other platforms wxAnimation is always capable of loading both GIF and ANI formats (i.e. both @c wxANIMATION_TYPE_GIF and @c wxANIMATION_TYPE_ANI).