From b502a5c44d7928ce4eaa3a3da97c223dd493f3b0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 23 Apr 2017 16:20:13 +0200 Subject: [PATCH] Fix wxMotif build after recent argv changes Update wxMotif too after 70a499f635a8f42bfdd9c719faa6ddbd05bf7d6a. --- src/motif/app.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/motif/app.cpp b/src/motif/app.cpp index cb9716b4e0..d2f46805f0 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -206,11 +206,8 @@ bool wxApp::Initialize(int& argc_, wxChar **argv_) } } - argc = argcX11; - // update internal arg[cv] as X11 may have removed processed options: - argc = argc_; - argv = argv_; + argv.Init(argcX11, argvX11); } //else: XtOpenDisplay() didn't modify our parameters