wxAnimation and wxANIM_TYPE_ANY [wxMSW 2.8.0]

Volker Bartheld dr_versaeg at freenet.de
Fri Nov 24 03:15:37 PST 2006


Hi Francesco!

>> I was playing a litte with wxAnimation and wxAnimationCtrl in wxWidgets
>> 2.8.0. Does it have a reason why the enum value wxANIM_TYPE_ANY (see
>> %WXDIR%include\wx\animdecod.h) is encapsulated in
>> #if wxUSE_STREAMS
>> #endif
>> I think, wxAnimation could be well used without wxUSE_STREAMS being
>> defined.

>with wxUSE_STREAMS==0 ?

After a night's sleep, it seems like either I must have been totally
confused when I wrote that post or IntelliSense/Visual Assist's
autocomplete played me a nasty trick.

Note the slight but subtle difference between
 wxANIM_TYPE_ANY
and
 wxANIMATION_TYPE_ANY
. *D-O-H*

And, yes, wxUSE_STREAMS was defined 1 (by default) in my project and
animate.h happily includes animdecod.h, which has the
wxAnimationType-enumeration.

Sorry. My bad.

Cheers,
Volker
__
Mail replies to/an V B A R T H E L D at G M X dot D E






More information about the wx-users mailing list