]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
removed useless colMapAllocCounter (patch 1413456)
[wxWidgets.git] / src / generic / filedlgg.cpp
index 8f42413ada7ce0c780f5c7d7b2378545ea13114b..6ca8f2ade2a22570e7be75a1d45cbda1d1f4e0b2 100644 (file)
@@ -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"),