From: Paul Cornett Date: Mon, 18 Jun 2012 16:11:36 +0000 (+0000) Subject: build fix for wxUSE_STL==1 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/268fba466fe490eea7eba5b426a221fee5e57b8e build fix for wxUSE_STL==1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/mediactrl.cpp b/src/unix/mediactrl.cpp index 61fdb89d21..11562ce57d 100644 --- a/src/unix/mediactrl.cpp +++ b/src/unix/mediactrl.cpp @@ -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;