unicode compilation fix for wxBase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-12-17 19:49:48 +00:00
parent 462c9d9cc2
commit 342e11c27b

View File

@@ -160,7 +160,7 @@ int wxEntry(int argc, char **argv)
wxTheApp->argv = argv;
#endif
wxString name = wxFileNameFromPath(argv[0]);
wxString name = wxFileNameFromPath(wxTheApp->argv[0]);
wxStripExtension(name);
wxTheApp->SetAppName(name);