X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d38315df30415b030d93172123920d69c5c5e3b6..887b919bde47aeab043506e220be25d4d293afaf:/src/msw/dir.cpp?ds=sidebyside diff --git a/src/msw/dir.cpp b/src/msw/dir.cpp index 81c312e825..48d4e4e0a5 100644 --- a/src/msw/dir.cpp +++ b/src/msw/dir.cpp @@ -67,7 +67,7 @@ inline void FreeFindData(FIND_DATA fd) inline FIND_DATA FindFirst(const wxString& spec, FIND_STRUCT *finddata) { - return ::FindFirstFile(spec.fn_str(), finddata); + return ::FindFirstFile(spec.t_str(), finddata); } inline bool FindNext(FIND_DATA fd, FIND_STRUCT *finddata)