#include "wx/wx.h"
#endif
-#if defined(__WINDOWS__) && !defined(__GNUWIN32__) && !defined(__WATCOMC__)
+#if defined(__WINDOWS__) && !defined(__MINGW32__) && !defined(__WATCOMC__)
+// versions of Open Watcom and MinGW tested against this source does not
+// deliver "digitalv.h" required in this feature
#ifdef __BORLANDC__
#pragma hdrstop
MCI_STATUS_PARMS statusStruct;
openStruct.lpstrDeviceType = _T("avivideo");
- openStruct.lpstrElementName = (wxChar *)m_filename.mb_str().data();
+ openStruct.lpstrElementName = (wxChar *)m_filename.c_str();
openStruct.hWndParent = 0;
mciSendCommand(0, MCI_OPEN,
return TRUE;
}
-bool wxVideoWindows::IsCapable(wxVideoType v_type)
+bool wxVideoWindows::IsCapable(wxVideoType v_type) const
{
return (v_type == wxVIDEO_MSAVI);
}