]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
include 'Version' in version string, it's what Apple apps do
[wxWidgets.git] / src / gtk / app.cpp
index d16741238b99ae806f35c5aa54a5cf9352cc19ea..8a762a4c4de1359ecb193868ff8e3b8e52a70c4d 100644 (file)
@@ -437,6 +437,7 @@ bool wxApp::Initialize(int& argc_, wxChar **argv_)
         }
 
         argc_ = argcGTK;
+        argv_[argc_] = NULL;
     }
     //else: gtk_init() didn't modify our parameters