]> git.saurik.com Git - wxWidgets.git/commitdiff
take into account DirectFB's removal of some command line arguments
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 9 May 2007 13:45:32 +0000 (13:45 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 9 May 2007 13:45:32 +0000 (13:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/dfb/app.cpp

index 2cac31028be7194d4b18dab6b947e248b8d87038..68cb00037db486a00579a80d182d799bb396d1de 100644 (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;