minor fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-09-17 22:42:20 +00:00
parent ce32af5d96
commit 401d3cc731
2 changed files with 5 additions and 5 deletions

View File

@@ -239,14 +239,14 @@ class wxWave : public wxObject
{
public:
wxWave(const wxString& fileName, bool isResource = FALSE) {
bool doSave = wxPyRestoreThread();
wxPyTState* state = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
wxPySaveThread(doSave);
wxPyEndBlockThreads(state);
}
wxWave(int size, const wxByte* data) {
bool doSave = wxPyRestoreThread();
wxPyTState* state = wxPyBeginBlockThreads();
PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
wxPySaveThread(doSave);
wxPyEndBlockThreads(state);
}
~wxWave() {}