warn that a seekable stream is required for generic implementation of wxAnimation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-13 19:26:53 +00:00
parent 74be3634b9
commit d72f7a9d56

View File

@@ -203,7 +203,7 @@ public:
@param name @param name
The name of the file to load. The name of the file to load.
@param type @param type
See LoadFile for more info. See LoadFile() for more info.
*/ */
wxAnimation(const wxString& name, wxAnimation(const wxString& name,
wxAnimationType type = wxANIMATION_TYPE_ANY); wxAnimationType type = wxANIMATION_TYPE_ANY);
@@ -245,11 +245,10 @@ public:
@param stream @param stream
The stream to use to load the animation. The stream to use to load the animation.
Under wxGTK may be any kind of stream; under other platforms
this must be a seekable stream.
@param type @param type
One of the following values: One of the ::wxAnimationType enumeration values.
@li wxANIMATION_TYPE_GIF: loads an animated GIF file;
@li wxANIMATION_TYPE_ANI: load an ANI file;
@li wxANIMATION_TYPE_ANY: tries to autodetect the filetype.
@return @true if the operation succeeded, @false otherwise. @return @true if the operation succeeded, @false otherwise.
*/ */
@@ -262,7 +261,7 @@ public:
@param name @param name
A filename. A filename.
@param type @param type
One of the wxAnimationType values; wxANIMATION_TYPE_ANY One of the ::wxAnimationType values; wxANIMATION_TYPE_ANY
means that the function should try to autodetect the filetype. means that the function should try to autodetect the filetype.
@return @true if the operation succeeded, @false otherwise. @return @true if the operation succeeded, @false otherwise.