git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51337
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int wargc = 0;
for ( int i = 0; i < argc; i++ )
{
int wargc = 0;
for ( int i = 0; i < argc; i++ )
{
+#ifdef __DARWIN__
+ wxWCharBuffer buf(wxConvFileName->cMB2WX(argv[i]));
+#else
wxWCharBuffer buf(wxConvLocal.cMB2WX(argv[i]));
wxWCharBuffer buf(wxConvLocal.cMB2WX(argv[i]));
if ( !buf )
{
wxLogWarning(_("Command line argument %d couldn't be converted to Unicode and will be ignored."),
if ( !buf )
{
wxLogWarning(_("Command line argument %d couldn't be converted to Unicode and will be ignored."),