X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ced3df773028534651ef358ae692affdbf3f9aaf..c3e57ac4ac9222d84ac208a493b57fb24e474a6a:/src/msw/mediactrl_qt.cpp?ds=sidebyside diff --git a/src/msw/mediactrl_qt.cpp b/src/msw/mediactrl_qt.cpp index 50a29ba053..a840d3c0ad 100644 --- a/src/msw/mediactrl_qt.cpp +++ b/src/msw/mediactrl_qt.cpp @@ -1154,7 +1154,7 @@ bool wxQTMediaBackend::ShowPlayerControls(wxMediaCtrlPlayerControls flags) // | (1<< 4) /*mcFlagDontInvalidate*/ // if we take care of repainting ourselves ; - m_lib.MCDoAction(m_pMC, 38/*mcActionSetFlags*/, (void*)mcFlags); + m_lib.MCDoAction(m_pMC, 38/*mcActionSetFlags*/, wxUIntToPtr(mcFlags)); // intercept the wndproc of our control window wxSetWindowProc((HWND)m_ctrl->GetHWND(), wxQTMediaBackend::QTWndProc);