]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/app.cpp
take into account DirectFB's removal of some command line arguments
[wxWidgets.git] / 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;