Added more '#pragma implementation' for gcc.

Replaced wxString[0u] by wxString[(size_t) 0]: size_t is signed for EMX,
        so explicitly using '0u' causes problems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2000-01-23 15:39:55 +00:00
parent 2b75c8f219
commit a4372af60a
4 changed files with 12 additions and 4 deletions

View File

@@ -318,7 +318,7 @@ wxMimeTypesManagerImpl::GetFileTypeFromExtension(const wxString& ext)
{
// add the leading point if necessary
wxString str;
if ( ext[0u] != wxT('.') ) {
if ( ext[(size_t) 0] != wxT('.') ) {
str = wxT('.');
}
str << ext;