From: Robin Dunn Date: Sat, 29 Jan 2005 01:32:48 +0000 (+0000) Subject: wxMac has wxSound::Stop now X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/087f594ba12ecbefb8d97729d50c5a61c97439be wxMac has wxSound::Stop now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_sound.i b/wxPython/src/_sound.i index 5569a08bfe..27fab6cc91 100644 --- a/wxPython/src/_sound.i +++ b/wxPython/src/_sound.i @@ -138,14 +138,7 @@ public: // Plays sound from filename: %Rename(PlaySound, static bool, Play(const wxString& filename, unsigned flags = wxSOUND_ASYNC)); -#ifndef __WXMAC__ static void Stop(); -#else - %extend { - static void Stop() - { wxPyRaiseNotImplemented(); } - } -#endif %pythoncode { def __nonzero__(self): return self.IsOk() } };