enum wxSoundFlags
{
- wxSOUND_SYNC = 0,
- wxSOUND_ASYNC = 1,
- wxSOUND_LOOP = 2
+ wxSOUND_SYNC,
+ wxSOUND_ASYNC,
+ wxSOUND_LOOP
};
+MustHaveApp(wxSound);
+MustHaveApp(wxSound::Play);
+MustHaveApp(wxSound::Stop);
+
class wxSound /*: public wxObject*/
{
public:
%#ifndef __WXMAC__
unsigned char* buffer;
int size;
- bool rv = False;
+ bool rv = false;
bool blocked = wxPyBeginBlockThreads();
if (!PyArg_Parse(data, "t#", &buffer, &size))
PyErr_SetString(PyExc_NotImplementedError,
"Create from data is not available on this platform.");
wxPyEndBlockThreads(blocked);
- return False;
+ return false;
%#endif
}
}