minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ce32af5d96
commit
401d3cc731
@ -239,14 +239,14 @@ class wxWave : public wxObject
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxWave(const wxString& fileName, bool isResource = FALSE) {
|
wxWave(const wxString& fileName, bool isResource = FALSE) {
|
||||||
bool doSave = wxPyRestoreThread();
|
wxPyTState* state = wxPyBeginBlockThreads();
|
||||||
PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
|
PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
|
||||||
wxPySaveThread(doSave);
|
wxPyEndBlockThreads(state);
|
||||||
}
|
}
|
||||||
wxWave(int size, const wxByte* data) {
|
wxWave(int size, const wxByte* data) {
|
||||||
bool doSave = wxPyRestoreThread();
|
wxPyTState* state = wxPyBeginBlockThreads();
|
||||||
PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
|
PyErr_SetString(PyExc_NotImplementedError, "wxWave is not available on this platform.");
|
||||||
wxPySaveThread(doSave);
|
wxPyEndBlockThreads(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
~wxWave() {}
|
~wxWave() {}
|
||||||
|
@ -130,7 +130,7 @@ def axw_OEB(self, event):
|
|||||||
|
|
||||||
|
|
||||||
def axw_Cleanup(self):
|
def axw_Cleanup(self):
|
||||||
#del self._wnd
|
del self._wnd
|
||||||
self.close()
|
self.close()
|
||||||
## anything else???
|
## anything else???
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user