Cleanup up the demo a bit

Added wxWave

Added another patch for SWIG that optimizes the generated code some
and eliminates some unused type mappings in the type registry.
(Reduces it by about half!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-05-18 21:59:59 +00:00
parent c20a12bd55
commit 493f1553fd
73 changed files with 3330 additions and 14483 deletions

View File

@@ -117,7 +117,7 @@ void __wxPreStart()
#ifdef WXP_WITH_THREAD
PyEval_InitThreads();
wxPyEventThreadState = PyThreadState_New(PyThreadState_Get()->interp);
wxPyEventThreadState = PyThreadState_Get(); // PyThreadState_New(PyThreadState_Get()->interp);
#endif
// Bail out if there is already windows created. This means that the
@@ -305,7 +305,7 @@ PyObject* wxPyMake_wxObject(wxObject* source) {
wxString msg("wxPython class not found for ");
msg += source->GetClassInfo()->GetClassName();
PyErr_SetString(PyExc_NameError, msg.c_str());
return NULL;
target = NULL;
}
} else { // source was NULL so return None.
Py_INCREF(Py_None); target = Py_None;