wxMac has wxSound::Stop now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-01-29 01:32:48 +00:00
parent 7557b9b542
commit 087f594ba1

View File

@@ -138,14 +138,7 @@ public:
// Plays sound from filename: // Plays sound from filename:
%Rename(PlaySound, static bool, Play(const wxString& filename, unsigned flags = wxSOUND_ASYNC)); %Rename(PlaySound, static bool, Play(const wxString& filename, unsigned flags = wxSOUND_ASYNC));
#ifndef __WXMAC__
static void Stop(); static void Stop();
#else
%extend {
static void Stop()
{ wxPyRaiseNotImplemented(); }
}
#endif
%pythoncode { def __nonzero__(self): return self.IsOk() } %pythoncode { def __nonzero__(self): return self.IsOk() }
}; };