summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2b053ae)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35888
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- m_arguments.push_back(wxTheApp ? wxTheApp->argv[0] : _T(""));
+ m_arguments.push_back(
+ (wxTheApp && wxTheApp->argc > 0) ? wxTheApp->argv[0] : wxEmptyString);
wxArrayString args = wxCmdLineParser::ConvertStringToArgs(cmdLine);
wxArrayString args = wxCmdLineParser::ConvertStringToArgs(cmdLine);