]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for STL build after the last commit.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Oct 2012 23:55:54 +0000 (23:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 25 Oct 2012 23:55:54 +0000 (23:55 +0000)
Add missing fn_str() call.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dirdlg.cpp

index 71d0ed409543a87e34c776ea579945d456911ebc..de1449c750efb064bc8e0b813ce55ddf62e10c2a 100644 (file)
@@ -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);