make compile work again when wxUSE_UNICODE is not defined

This commit is contained in:
Jouk
2017-04-26 11:24:33 +02:00
parent 37ecd7b760
commit 0c748453e7

View File

@@ -336,7 +336,11 @@ bool wxEntryStart(int& argc, wxChar **argv)
// remember, possibly modified (e.g. due to removal of toolkit-specific
// parameters), command line arguments in member variables
app->argc = argc;
#if wxUSE_UNICODE
app->argv.Init(argc, argv);
#else
app->argv = argv;
#endif
wxCallAppCleanup callAppCleanup(app.get());