From 0e4e783cf0c0648dc1d3cad07ec42c4372533233 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 7 Mar 2006 18:49:17 +0000 Subject: [PATCH] ::GetFileAttributes takes Unicode in Unicode build, don't use fn_str() (Borland Unicode build fix). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/filedlgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 8f42413ada..6ca8f2ade2 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -297,7 +297,7 @@ void wxFileData::ReadData() buff.st_mode & wxS_IWOTH ? _T('w') : _T('-'), buff.st_mode & wxS_IXOTH ? _T('x') : _T('-')); #elif defined(__WIN32__) - DWORD attribs = GetFileAttributes(m_filePath.fn_str()); + DWORD attribs = ::GetFileAttributes(m_filePath.c_str()); if (attribs != (DWORD)-1) { m_permissions.Printf(_T("%c%c%c%c"), -- 2.45.2