// consider that we're in the last "bin" subdirectory of our prefix
wxString basename(wxString(wxTheApp->argv[0]).AfterLast(_T('/')));
size_t pos = exe.find(_T("/bin/") + basename);
// consider that we're in the last "bin" subdirectory of our prefix
wxString basename(wxString(wxTheApp->argv[0]).AfterLast(_T('/')));
size_t pos = exe.find(_T("/bin/") + basename);