From fba93835f51b6c922bf3cc447367ed97ccd3d600 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 9 Oct 2006 20:10:02 +0000 Subject: [PATCH] Compilation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/animate.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gtk/animate.cpp b/src/gtk/animate.cpp index df942e3c1a..27e535f8ef 100644 --- a/src/gtk/animate.cpp +++ b/src/gtk/animate.cpp @@ -20,6 +20,7 @@ #if wxUSE_ANIMATIONCTRL #include "wx/animate.h" +#include "wx/log.h" #include #include @@ -53,7 +54,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxAnimation, wxAnimationBase) bool wxAnimation::LoadFile(const wxString &name, wxAnimationType WXUNUSED(type)) { UnRef(); - m_pixbuf = gdk_pixbuf_animation_new_from_file(name.c_str(), NULL); + m_pixbuf = gdk_pixbuf_animation_new_from_file( + wxConvFileName->cWX2MB(name), NULL); return IsOk(); } -- 2.47.2