X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9f7fea29e3f8bb61861f52984b7943512346ac..cc6eca35090e1735e2dde009185476dc80726b97:/wxPython/src/_wave.i?ds=sidebyside diff --git a/wxPython/src/_wave.i b/wxPython/src/_wave.i index cb4ba5232f..a55857dc3b 100644 --- a/wxPython/src/_wave.i +++ b/wxPython/src/_wave.i @@ -30,12 +30,14 @@ class wxWave : public wxObject public: wxWave(const wxString& fileName, bool isResource = False) { wxPyBeginBlockThreads(); - PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform."); + PyErr_SetString(PyExc_NotImplementedError, + "wxWave is not available on this platform."); wxPyEndBlockThreads(); } wxWave(int size, const wxByte* data) { wxPyBeginBlockThreads(); - PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform."); + PyErr_SetString(PyExc_NotImplementedError, + "wxWave is not available on this platform."); wxPyEndBlockThreads(); } @@ -63,7 +65,7 @@ public: ~wxWave(); bool IsOk() const; - bool Play(bool async = True, bool looped = False) const; + bool Play(bool async = True, bool looped = False); %pythoncode { def __nonzero__(self): return self.IsOk() } };