From 50f1747a7c235f4fab5e07d29399a698a71e4aee Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 9 May 2007 13:45:32 +0000 Subject: [PATCH] take into account DirectFB's removal of some command line arguments git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/dfb/app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dfb/app.cpp b/src/dfb/app.cpp index 2cac31028b..68cb00037d 100644 --- a/src/dfb/app.cpp +++ b/src/dfb/app.cpp @@ -48,6 +48,10 @@ bool wxApp::Initialize(int& argc, wxChar **argv) if ( !wxDfbCheckReturn(DirectFBInit(&argc, &argv)) ) return false; + // update internal arg[cv] as DFB may have removed processed options: + this->argc = argc; + this->argv = argv; + if ( !wxIDirectFB::Get() ) return false; -- 2.47.2