Fix compilation of wxDFB wxApp::Initialize()

Use wxCmdLineArgsArray::Init() instead of assignment operator in Unicode
build.

This was broken by 70a499f635.
This commit is contained in:
Vadim Zeitlin
2018-05-23 17:06:11 +02:00
parent 802c77b964
commit 9b4855ea5e

View File

@@ -92,7 +92,11 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
// update internal arg[cv] as DFB may have removed processed options:
this->argc = argc;
#if wxUSE_UNICODE
this->argv.Init(argc, argv);
#else
this->argv = argv;
#endif
if ( !wxIDirectFB::Get() )
return false;