X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c50c6fb23b0a538f3403f42149e2f5b90957d7ac..5e4e03e9f99ebce30c49da587ad97b4ed7d63595:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index d16741238b..8a762a4c4d 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -437,6 +437,7 @@ bool wxApp::Initialize(int& argc_, wxChar **argv_) } argc_ = argcGTK; + argv_[argc_] = NULL; } //else: gtk_init() didn't modify our parameters