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:
Václav Slavík
2007-05-09 13:45:32 +00:00
parent ed38aa559c
commit 50f1747a7c

View File

@@ -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;