Add text to wxAnimation docs about how to use the generic version on wxGTK

This commit is contained in:
Robin Dunn
2020-03-24 19:58:04 -07:00
parent 201af608f7
commit 7468e7c8a8

View File

@@ -229,9 +229,12 @@ public:
An animation is a sequence of frames of the same size. An animation is a sequence of frames of the same size.
Sound is not supported by wxAnimation. Sound is not supported by wxAnimation.
Note that on wxGTK wxAnimation is capable of loading the formats supported Note that on wxGTK wxAnimation by default is capable of loading the
by the internally-used @c gdk-pixbuf library (typically this means only formats supported by the internally-used @c gdk-pixbuf library (typically
@c wxANIMATION_TYPE_GIF). 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 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). formats (i.e. both @c wxANIMATION_TYPE_GIF and @c wxANIMATION_TYPE_ANI).