Not native long long fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1080,7 +1080,13 @@ bool wxMCIMediaBackend::SetPosition(wxLongLong where)
|
|||||||
{
|
{
|
||||||
MCI_SEEK_PARMS seekParms;
|
MCI_SEEK_PARMS seekParms;
|
||||||
seekParms.dwCallback = 0;
|
seekParms.dwCallback = 0;
|
||||||
|
#if wxUSE_LONGLONG_NATIVE && !wxUSE_LONGLONG_WX
|
||||||
seekParms.dwTo = (DWORD)where.GetValue();
|
seekParms.dwTo = (DWORD)where.GetValue();
|
||||||
|
#else /* wxUSE_LONGLONG_WX */
|
||||||
|
/* no way to return it in one piece */
|
||||||
|
wxASSERT( where.GetHi()==0 );
|
||||||
|
seekParms.dwTo = (DWORD)where.GetLo();
|
||||||
|
#endif /* wxUSE_LONGLONG_* */
|
||||||
|
|
||||||
//device was playing?
|
//device was playing?
|
||||||
bool bReplay = GetState() == wxMEDIASTATE_PLAYING;
|
bool bReplay = GetState() == wxMEDIASTATE_PLAYING;
|
||||||
|
Reference in New Issue
Block a user