]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't initialize argv member of wxApp in unicode mode where it's no longer a primitiv...
authorDavid Elliott <dfe@tgwbd.org>
Mon, 19 Nov 2007 19:13:24 +0000 (19:13 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 19 Nov 2007 19:13:24 +0000 (19:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/app.mm

index 6bafffa5551566c20e02015f0271d159f499c326..d71f815fc321a9078f236244451eeb9d3970770c 100644 (file)
@@ -188,7 +188,9 @@ wxApp::wxApp()
 #endif // __WXDEBUG__
 
     argc = 0;
 #endif // __WXDEBUG__
 
     argc = 0;
+#if !wxUSE_UNICODE
     argv = NULL;
     argv = NULL;
+#endif
     m_cocoaApp = NULL;
     m_cocoaAppDelegate = NULL;
 }
     m_cocoaApp = NULL;
     m_cocoaAppDelegate = NULL;
 }