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:
@@ -705,13 +705,13 @@ public:
|
||||
class wxMetaFile : public wxObject {
|
||||
public:
|
||||
wxMetaFile(const wxString&)
|
||||
{ PyErr_SetNone(PyExc_NotImplementedError); }
|
||||
{ wxPyRaiseNotImplemented(); }
|
||||
};
|
||||
|
||||
class wxMetaFileDC : public wxClientDC {
|
||||
public:
|
||||
wxMetaFileDC(const wxString&, int, int, const wxString&)
|
||||
{ PyErr_SetNone(PyExc_NotImplementedError); }
|
||||
{ wxPyRaiseNotImplemented(); }
|
||||
};
|
||||
|
||||
%}
|
||||
@@ -751,10 +751,10 @@ public:
|
||||
class wxPrinterDC : public wxClientDC {
|
||||
public:
|
||||
wxPrinterDC(const wxPrintData&)
|
||||
{ PyErr_SetNone(PyExc_NotImplementedError); }
|
||||
{ wxPyRaiseNotImplemented(); }
|
||||
|
||||
// wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
|
||||
// { PyErr_SetNone(PyExc_NotImplementedError); }
|
||||
// { wxPyRaiseNotImplemented(); }
|
||||
};
|
||||
%}
|
||||
|
||||
|
Reference in New Issue
Block a user