class wxWave : public wxObject
{
public:
- wxWave(const wxString& fileName, bool isResource = FALSE) {
+ 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();
}
~wxWave() {}
- bool IsOk() const { return FALSE; }
- bool Play(bool async = TRUE, bool looped = FALSE) const { return FALSE; }
+ bool IsOk() const { return False; }
+ bool Play(bool async = True, bool looped = False) const { return False; }
};
#endif
class wxWave /*: public wxObject*/
{
public:
- wxWave(const wxString& fileName, bool isResource = FALSE);
+ wxWave(const wxString& fileName, bool isResource = False);
%extend {
%name(WaveData) wxWave(const wxString& data) {
return new wxWave(data.Len(), (wxByte*)data.c_str());
~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() }
};