reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-07-17 23:32:47 +00:00
parent dc5960727c
commit b0f7404b92
36 changed files with 592 additions and 562 deletions

View File

@@ -747,11 +747,17 @@ IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEnc
PyObject *wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self){
wxArrayString* arr = self->GetEncodings();
return wxArrayString2PyList_helper(*arr);
if (arr)
return wxArrayString2PyList_helper(*arr);
else
return PyList_New(0);
}
PyObject *wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self){
wxArrayString* arr = self->GetFacenames();
return wxArrayString2PyList_helper(*arr);
if (arr)
return wxArrayString2PyList_helper(*arr);
else
return PyList_New(0);
}
@@ -9226,7 +9232,7 @@ static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *self, PyObject *args, Py
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)(arg1)->GetNoAntiAliasing();
result = (bool)((wxFont const *)arg1)->GetNoAntiAliasing();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;