From be1ec70d1d03a049a11d619cb064e6a99bcd5352 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 2 Mar 2010 00:20:21 +0000 Subject: [PATCH] Fix another incorrect file name conversion in wxGTK. GTK file paths are in UTF-8 and not ASCII. Really closes #11743. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/filepicker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/gtk/filepicker.h b/include/wx/gtk/filepicker.h index 976da2a469..570c1f2ec1 100644 --- a/include/wx/gtk/filepicker.h +++ b/include/wx/gtk/filepicker.h @@ -189,7 +189,7 @@ public: // used by the GTK callback only bool m_bIgnoreNextChange; void UpdatePath(const char *gtkpath) - { m_path = wxString::FromAscii(gtkpath); } + { m_path = wxString::FromUTF8(gtkpath); } private: DECLARE_DYNAMIC_CLASS(wxDirButton)