From: Václav Slavík Date: Wed, 9 May 2007 13:45:32 +0000 (+0000) Subject: take into account DirectFB's removal of some command line arguments X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/50f1747a7c235f4fab5e07d29399a698a71e4aee 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 --- 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;