]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/sound_sdl.cpp
Now calculates clipping region from actual child HWNDs and not
[wxWidgets.git] / src / unix / sound_sdl.cpp
index 16377aed4dbdd336537748ab5e16d3e67008136e..12edf71953ac54c616977e63087865122ae84fce 100644 (file)
@@ -304,7 +304,7 @@ bool wxSoundBackendSDL::Play(wxSoundData *data, unsigned flags,
             if (wxThread::IsMain())
                 wxMutexGuiLeave();
 #endif
-            wxUsleep(10);
+            wxMilliSleep(10);
 #if wxUSE_THREADS
             if (wxThread::IsMain())
                 wxMutexGuiEnter();