Lindsay Mathieson's newest wxActiveX class has been wrapped into a new

extension module called wx.activex.  Lots of demo and lib updates to
go along with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-23 05:29:50 +00:00
parent 13baae2c95
commit b7c75283f2
98 changed files with 16994 additions and 21 deletions

View File

@@ -144,8 +144,20 @@ void wxPyEndBlockThreads();
#endif // wxPyUSE_EXPORTED_API
#define wxPyBLOCK_THREADS(stmt) { wxPyBeginBlockThreads(); stmt; wxPyEndBlockThreads(); }
#define wxPyRaiseNotImplemented() wxPyBLOCK_THREADS(PyErr_SetNone(PyExc_NotImplementedError))
// A macro that will help to execute simple statments wrapped in
// StartBlock/EndBlockThreads calls
#define wxPyBLOCK_THREADS(stmt) \
{ wxPyBeginBlockThreads(); stmt; wxPyEndBlockThreads(); }
// Raise the NotImplementedError exception (blocking threads)
#define wxPyRaiseNotImplemented() \
wxPyBLOCK_THREADS(PyErr_SetNone(PyExc_NotImplementedError))
// Raise any exception witha string value (blocking threads)
#define wxPyErr_SetString(err, str) \
wxPyBLOCK_THREADS(PyErr_SetString(err, str))
//---------------------------------------------------------------------------
// These are helpers used by the typemaps