return fi->szMethod;\r
case 5:\r
{\r
-#ifdef WINDOWS\r
+#ifdef __WINDOWS__\r
wxString szTemp = wxT("---w-");\r
szTemp[0] = fi->dwAttribute & TPI_ATTRIBUTE_DIRECTORY ? wxT('d') :\r
fi->dwAttribute & TPI_ATTRIBUTE_ARCHIVE ? wxT('a') : wxT('-');\r
szTemp[2] = fi->dwAttribute & TPI_ATTRIBUTE_HIDDEN ? wxT('h') : wxT('-');\r
szTemp[3] = fi->dwAttribute & TPI_ATTRIBUTE_READONLY ? wxT('r') : wxT('w');\r
szTemp[4] = fi->dwAttribute & TPI_ATTRIBUTE_ENCRYPTED ? wxT('g') : wxT('-');\r
+ return szTemp;\r
#else\r
- wxString szTemp = wxString::Format(wxT("%o"), fi->wPermission);\r
+ return wxString::Format(wxT("%o"), fi->wPermission);\r
#endif\r
- return szTemp;\r
}\r
case 6:\r
return fi->tmModified.Format(_("%Y/%m/%d %H:%M:%S"));\r