]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/animate.cpp
Fix various minor PS issues
[wxWidgets.git] / src / gtk / animate.cpp
index 820536a56489d495fce5d8e1cca98665d91cc65c..8786f1fde980b47493a532f1aa04fbc3bc2f5353 100644 (file)
@@ -82,8 +82,7 @@ wxAnimation& wxAnimation::operator=(const wxAnimation& that)
 bool wxAnimation::LoadFile(const wxString &name, wxAnimationType WXUNUSED(type))
 {
     UnRef();
-    m_pixbuf = gdk_pixbuf_animation_new_from_file(
-        wxConvFileName->cWX2MB(name), NULL);
+    m_pixbuf = gdk_pixbuf_animation_new_from_file(name.fn_str(), NULL);
     return IsOk();
 }