some HP-UX compiler warnings fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-06-19 11:25:02 +00:00
parent 8494b2036a
commit 0890fc3629

View File

@@ -557,7 +557,7 @@ void wxFileCtrl::Update()
res = wxFileNameFromPath( f ); res = wxFileNameFromPath( f );
fd = new wxFileData( res, f ); fd = new wxFileData( res, f );
wxString s = fd->GetName(); wxString s = fd->GetName();
if (m_showHidden || (s[0] != wxT('.'))) if (m_showHidden || (s[0u] != wxT('.')))
{ {
Add( fd, item ); Add( fd, item );
item.m_itemId++; item.m_itemId++;
@@ -572,7 +572,7 @@ void wxFileCtrl::Update()
res = wxFileNameFromPath( f ); res = wxFileNameFromPath( f );
fd = new wxFileData( res, f ); fd = new wxFileData( res, f );
wxString s = fd->GetName(); wxString s = fd->GetName();
if (m_showHidden || (s[0] != wxT('.'))) if (m_showHidden || (s[0u] != wxT('.')))
{ {
Add( fd, item ); Add( fd, item );
item.m_itemId++; item.m_itemId++;
@@ -1026,7 +1026,7 @@ void wxFileDialog::HandleAction( const wxString &fn )
return; return;
} }
if (filename[0] == wxT('~')) if (filename[0u] == wxT('~'))
{ {
filename.Remove( 0, 1 ); filename.Remove( 0, 1 );
wxString tmp( wxGetUserHome() ); wxString tmp( wxGetUserHome() );
@@ -1048,7 +1048,7 @@ void wxFileDialog::HandleAction( const wxString &fn )
} }
if (dir != wxT("/")) dir += wxT("/"); if (dir != wxT("/")) dir += wxT("/");
if (filename[0] != wxT('/')) if (filename[0u] != wxT('/'))
{ {
dir += filename; dir += filename;
filename = dir; filename = dir;