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