]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/sound.cpp
fixed background drawing for opaque controls
[wxWidgets.git] / src / mac / carbon / sound.cpp
index f165552bf8b3680fa5b563d12fdf57fa226d8e49..af1144a5d702ad9ba6c61df02022f34cad8b7aed 100644 (file)
@@ -474,8 +474,10 @@ bool wxSound::DoPlay(unsigned flags) const
         wxASSERT_MSG(!(flags & wxSOUND_LOOP), wxT("Can't loop and play syncronously at the same time"));
 
         //Play movie until it ends, then exit
+        //Note that due to quicktime caching this may not always 
+        //work 100% correctly
         while (!IsMovieDone(movie))
-            MoviesTask(movie, 0);
+            MoviesTask(movie, 1);
 
         DisposeMovie(movie);
     }