make compile work again when wxUSE_UNICODE is not defined
This commit is contained in:
@@ -336,7 +336,11 @@ bool wxEntryStart(int& argc, wxChar **argv)
|
|||||||
// remember, possibly modified (e.g. due to removal of toolkit-specific
|
// remember, possibly modified (e.g. due to removal of toolkit-specific
|
||||||
// parameters), command line arguments in member variables
|
// parameters), command line arguments in member variables
|
||||||
app->argc = argc;
|
app->argc = argc;
|
||||||
|
#if wxUSE_UNICODE
|
||||||
app->argv.Init(argc, argv);
|
app->argv.Init(argc, argv);
|
||||||
|
#else
|
||||||
|
app->argv = argv;
|
||||||
|
#endif
|
||||||
|
|
||||||
wxCallAppCleanup callAppCleanup(app.get());
|
wxCallAppCleanup callAppCleanup(app.get());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user