From 9b4855ea5e7c604b3715dee58fdb55c2f8bfb1b4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 23 May 2018 17:06:11 +0200 Subject: [PATCH] Fix compilation of wxDFB wxApp::Initialize() Use wxCmdLineArgsArray::Init() instead of assignment operator in Unicode build. This was broken by 70a499f635a8f42bfdd9c719faa6ddbd05bf7d6a. --- src/dfb/app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dfb/app.cpp b/src/dfb/app.cpp index c1d4f134a0..73763699ff 100644 --- a/src/dfb/app.cpp +++ b/src/dfb/app.cpp @@ -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;