fix for Unicode compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-04-28 11:51:53 +00:00
parent 2f930c8501
commit b8985048a5

View File

@@ -253,24 +253,25 @@ wxString wxFileData::GetHint() const
{
wxString s = m_filePath;
s += wxT(" ");
if (IsDir())
s += wxT("<DIR> ");
s += _("<DIR>");
else if (IsLink())
s += wxT("<LINK> ");
s += _("<LINK>");
else if (IsDrive())
s += _("<DRIVE>");
else // plain file
s += wxString::Format( _("%ld bytes"), m_size );
s += wxT(' ');
if ( !IsDrive() )
{
s += wxT("<DRIVE> ");
return s;
}
else
{
s += wxString::Format( "%ld", m_size );
s += wxT(" bytes ");
s << GetModificationTime()
<< wxT(" ")
<< m_permissions;
}
s += GetModificationTime();
s += wxT(" ");
s += m_permissions;
return s;
};