Use wxSetWorkingDirectory() instead of chdir().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Dec 2012 14:41:31 +0000 (14:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Dec 2012 14:41:31 +0000 (14:41 +0000)
commit7c211441f48690078cfa537fdfe3c317fde8f9f3
tree0ba6db08204a0648e04aa73ee884a00826c7dd68
parent6a5c9ff8e8864c2a1540af521d9a93bae9617d93
Use wxSetWorkingDirectory() instead of chdir().

This fixes compilation of wxGTK under Windows after the changes of r72779 and
r72780, where _wchdir() would need to be used but we don't currently have a
wxChdir() CRT function wrapper so use wxSetWorkingDirectory() instead.

Closes #14886.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/dirdlg.cpp