Aquire the GIL before raising the NotImplementedError exception

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-12-20 19:54:10 +00:00
parent 2678dd26fb
commit 81cfe5e13e
13 changed files with 32 additions and 23 deletions

View File

@@ -103,15 +103,15 @@ public:
%{
class wxPopupWindow : public wxWindow {
public:
wxPopupWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
wxPopupWindow() { wxPyRaiseNotImplemented(); }
};
class wxPyPopupTransientWindow : public wxPopupWindow
{
public:
wxPyPopupTransientWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
};
%}