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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user