build fix for wxUSE_STL==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-06-18 16:11:36 +00:00
parent fb35086d8c
commit 268fba466f

View File

@@ -979,11 +979,7 @@ bool wxGStreamerMediaBackend::CreateControl(wxControl* ctrl, wxWindow* parent,
char **argvGST = new char*[wxTheApp->argc + 1];
for ( i = 0; i < wxTheApp->argc; i++ )
{
#if wxUSE_UNICODE_WCHAR
argvGST[i] = wxStrdupA(wxConvUTF8.cWX2MB(wxTheApp->argv[i]));
#else
argvGST[i] = wxStrdupA(wxTheApp->argv[i].utf8_str());
#endif
}
argvGST[wxTheApp->argc] = NULL;