From 075946015d49dd22382651e693c36a44aeb2e81b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 10 Sep 2007 10:51:12 +0000 Subject: [PATCH] Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/mediactrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/mediactrl.cpp b/src/msw/mediactrl.cpp index 8a89ce2063..5c09a281ae 100644 --- a/src/msw/mediactrl.cpp +++ b/src/msw/mediactrl.cpp @@ -2928,7 +2928,7 @@ bool wxMCIMediaBackend::Load(const wxString& fileName) // omit this it tells MCI to select the device instead. This is good // because we have no reliable way of "enumerating" the devices in MCI MCI_OPEN_PARMS openParms; - openParms.lpstrElementName = (wxChar*) fileName.c_str(); + openParms.lpstrElementName = fileName.wx_str(); if (mciSendCommand(0, MCI_OPEN, MCI_OPEN_ELEMENT, (DWORD)(LPVOID)&openParms) != 0) -- 2.45.2