- wxString basename( wxString(wxTheApp->argv[0]).AfterLast( wxChar('/')) );
- size_t pos = exeStr.find( wxT("/bin/") + basename );
- if (pos != wxString::npos)
- pathPtr->m_prefix.assign( exeStr, 0, pos );
+ wxString basename(wxString(wxTheApp->argv[0]).AfterLast(_T('/')));
+ size_t pos = exeStr.find(wxT("/bin/") + basename);
+ if ( pos != wxString::npos )
+ pathPtr->m_prefix.assign(exeStr, 0, pos);