From: Włodzimierz Skiba Date: Fri, 12 Nov 2004 12:37:39 +0000 (+0000) Subject: dwCallback if DWORD. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cf2372509cef60accf833de95b1688e0c28b0567 dwCallback if DWORD. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/mediactrl.cpp b/src/msw/mediactrl.cpp index 09f36ba04c..13369b2a61 100644 --- a/src/msw/mediactrl.cpp +++ b/src/msw/mediactrl.cpp @@ -759,7 +759,7 @@ bool wxWMMEMediaCtrlImpl::Play() { //the directshow driver ("mpegvideo") will crash if we don't do a playParms here MCI_PLAY_PARMS playParms; - playParms.dwCallback = (WORD)(HWND)m_ctrl->GetHWND(); + playParms.dwCallback = (DWORD)(HWND)m_ctrl->GetHWND(); bool bOK = mciSendCommand(m_hDev, MCI_PLAY, MCI_NOTIFY, (DWORD)(LPVOID)&playParms) == 0; return (bOK) ;/*|| (mciSendCommand(m_hDev, MCI_RESUME, 0, 0) == 0);*/