Use wxString::t_str(), not fn_str(), with Windows API functions.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jun 2012 16:33:32 +0000 (16:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jun 2012 16:33:32 +0000 (16:33 +0000)
commit9c505a36e7cd4aa04a16c7ad4c68a57b5e266a82
tree8d52dfceaf0b6665ad7995cd4858ac07576be449
parent26cdd42d2cbd99d23159ae4b4d41ae93ed23317c
Use wxString::t_str(), not fn_str(), with Windows API functions.

fn_str() is supposed to be used with the CRT functions taking file names only,
not Windows API functions that always take LPCTSTR with all compilers/CRT
versions.

Closes #14433.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/filefn.cpp
src/common/filename.cpp