}
}
+#if wxUSE_UNICODE
ArgsArray(wchar_t **wargv)
{
int argc = 0;
m_argv[i] = wxSafeConvertWX2MB(wargv[i]).release();
}
}
+#endif // wxUSE_UNICODE
~ArgsArray()
{
int m_argc;
char **m_argv;
- DECLARE_NO_COPY_CLASS(ArgsArray);
+ DECLARE_NO_COPY_CLASS(ArgsArray)
};
} // anonymous namespace
return wxExecute(argv, flags, process);
}
+#if wxUSE_UNICODE
+
long wxExecute(wchar_t **wargv, int flags, wxProcess *process)
{
ArgsArray argv(wargv);
return wxExecute(argv, flags, process);
}
+#endif // wxUSE_UNICODE
+
// wxExecute: the real worker function
long wxExecute(char **argv, int flags, wxProcess *process)
{