From: Vadim Zeitlin Date: Thu, 25 Oct 2012 23:55:54 +0000 (+0000) Subject: Compilation fix for STL build after the last commit. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9823d1c5d1e46420d29cb4d05d8ea66308c10663 Compilation fix for STL build after the last commit. Add missing fn_str() call. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dirdlg.cpp b/src/gtk/dirdlg.cpp index 71d0ed4095..de1449c750 100644 --- a/src/gtk/dirdlg.cpp +++ b/src/gtk/dirdlg.cpp @@ -131,7 +131,7 @@ void wxDirDialog::GTKOnAccept() // change to the directory where the user went if asked if (HasFlag(wxDD_CHANGE_DIR)) { - chdir(m_selectedDirectory); + chdir(m_selectedDirectory.fn_str()); } EndDialog(wxID_OK);