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