don't use deprecated function wxUslepp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -304,7 +304,7 @@ bool wxSoundBackendSDL::Play(wxSoundData *data, unsigned flags,
|
|||||||
if (wxThread::IsMain())
|
if (wxThread::IsMain())
|
||||||
wxMutexGuiLeave();
|
wxMutexGuiLeave();
|
||||||
#endif
|
#endif
|
||||||
wxUsleep(10);
|
wxMilliSleep(10);
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
if (wxThread::IsMain())
|
if (wxThread::IsMain())
|
||||||
wxMutexGuiEnter();
|
wxMutexGuiEnter();
|
||||||
|
Reference in New Issue
Block a user