- wxASSERT_MSG( (m_animation != NULL), "Animation not present in wxAnimationPlayer");
- wxASSERT_MSG( (m_frames.Number() != 0), "Animation cache not present in wxAnimationPlayer");
- wxASSERT_MSG( (m_frames.Nth(frame) != (wxNode*) NULL), "Image not present in wxAnimationPlayer::DrawFrame");
+ wxASSERT_MSG( (m_animation != NULL), _T("Animation not present in wxAnimationPlayer"));
+ wxASSERT_MSG( (m_frames.GetCount() != 0), _T("Animation cache not present in wxAnimationPlayer"));
+ wxASSERT_MSG( !!m_frames.Item(frame), _T("Image not present in wxAnimationPlayer::DrawFrame"));