if (m_movie)
Cleanup();
- bool result = true;
- OSErr err = noErr;
short movieResFile = 0; //= 0 because of annoying VC6 warning
FSSpec sfFile;
- err = m_lib.NativePathNameToFSSpec(
+ OSErr err = m_lib.NativePathNameToFSSpec(
(char*) (const char*) fileName.mb_str(),
&sfFile, 0);
- result = (err == noErr);
+ bool result = (err == noErr);
if (result)
{
// | (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);