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:
Włodzimierz Skiba 2004-11-29 12:47:20 +00:00
parent 86a9d44545
commit e70fda0eab

View File

@ -1080,7 +1080,13 @@ bool wxMCIMediaBackend::SetPosition(wxLongLong where)
{
MCI_SEEK_PARMS seekParms;
seekParms.dwCallback = 0;
#if wxUSE_LONGLONG_NATIVE && !wxUSE_LONGLONG_WX
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?
bool bReplay = GetState() == wxMEDIASTATE_PLAYING;