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:
@@ -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() }
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user