Null-terminate arrays returned from wxCmdLineArgsArray

This is required for compatibility with the real argv array that this class is
supposed to emulate.

See #17531.

(cherry picked from commit 189e4c5024)
This commit is contained in:
Vadim Zeitlin
2016-05-13 15:40:22 +02:00
parent 143e55b8df
commit 990ebe2dc2
2 changed files with 7 additions and 2 deletions

View File

@@ -581,6 +581,7 @@ All:
- Fix wxFileName::MakeRelativeTo() for directory relatively to itself.
- Fix wxLocale::IsOk() return true even if setting the locale failed.
- Null-terminate wxApp::argv for compatibility with the real argv.
Unix: