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:
@@ -268,10 +268,10 @@ bool wxTestFontEncoding(const wxNativeEncodingInfo& info);
|
||||
|
||||
%inline %{
|
||||
wxNativeEncodingInfo* wxGetNativeFontEncoding(wxFontEncoding encoding)
|
||||
{ PyErr_SetNone(PyExc_NotImplementedError); return NULL; }
|
||||
{ wxPyRaiseNotImplemented(); return NULL; }
|
||||
|
||||
bool wxTestFontEncoding(const wxNativeEncodingInfo& info)
|
||||
{ PyErr_SetNone(PyExc_NotImplementedError); return False; }
|
||||
{ wxPyRaiseNotImplemented(); return False; }
|
||||
%}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user