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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user