From b95d7ac96cdf8c9c3c81d48d2d034ea7b8ceb280 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Mon, 19 Nov 2007 19:13:24 +0000 Subject: [PATCH] Don't initialize argv member of wxApp in unicode mode where it's no longer a primitive array. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/app.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cocoa/app.mm b/src/cocoa/app.mm index 6bafffa555..d71f815fc3 100644 --- a/src/cocoa/app.mm +++ b/src/cocoa/app.mm @@ -188,7 +188,9 @@ wxApp::wxApp() #endif // __WXDEBUG__ argc = 0; +#if !wxUSE_UNICODE argv = NULL; +#endif m_cocoaApp = NULL; m_cocoaAppDelegate = NULL; } -- 2.45.2