]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use deprecated function wxUslepp
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 16 Jul 2004 17:27:25 +0000 (17:27 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 16 Jul 2004 17:27:25 +0000 (17:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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();