]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/mediactrl.cpp
moving common code up
[wxWidgets.git] / src / osx / carbon / mediactrl.cpp
index 40deec3d811b76639537ff1347cc171fa3924a62..56503d2df06c00d6af56a72a3d2ed73a4dbefbbf 100644 (file)
@@ -181,7 +181,7 @@ public:
 private:
     wxQTMediaBackend *m_qtb;
 
-    DECLARE_NO_COPY_CLASS(wxQTMediaEvtHandler)
+    wxDECLARE_NO_COPY_CLASS(wxQTMediaEvtHandler);
 };
 
 //===========================================================================
@@ -764,7 +764,8 @@ bool wxQTMediaBackend::SetPosition(wxLongLong where)
 {
     TimeRecord theTimeRecord;
     memset(&theTimeRecord, 0, sizeof(TimeRecord));
-    theTimeRecord.value.lo = where.GetValue();
+    theTimeRecord.value.lo = where.GetLo();
+    theTimeRecord.value.hi = where.GetHi();
     theTimeRecord.scale = ::GetMovieTimeScale(m_movie);
     theTimeRecord.base = ::GetMovieTimeBase(m_movie);
     ::SetMovieTime(m_movie, &theTimeRecord);