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
This commit is contained in:
Vadim Zeitlin
2010-03-02 00:20:21 +00:00
parent 2afbd70030
commit be1ec70d1d

View File

@@ -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)