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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user