]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/sound_sdl.cpp
wxUniv compilation fix
[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
             if (wxThread::IsMain())
                 wxMutexGuiLeave();
 #endif
-            wxUsleep(10);
+            wxMilliSleep(10);
 #if wxUSE_THREADS
             if (wxThread::IsMain())
                 wxMutexGuiEnter();
 #if wxUSE_THREADS
             if (wxThread::IsMain())
                 wxMutexGuiEnter();