X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b4d1131395d0413bd904579a310f6d9f7382f7..a91b47e800c78dbf8e91191ce3977d148a13f1fe:/utils/wxPython/src/gtk/gdi.cpp diff --git a/utils/wxPython/src/gtk/gdi.cpp b/utils/wxPython/src/gtk/gdi.cpp index 619cfa10dd..d2a718666f 100644 --- a/utils/wxPython/src/gtk/gdi.cpp +++ b/utils/wxPython/src/gtk/gdi.cpp @@ -56,7 +56,7 @@ extern PyObject *SWIG_newvarlink(void); #include "helpers.h" #include #ifndef __WXMSW__ -#include +#include #endif static PyObject* l_output_helper(PyObject* target, PyObject* o) { @@ -1678,27 +1678,6 @@ static PyObject *_wrap_wxFont_GetFamily(PyObject *self, PyObject *args) { return _resultobj; } -#define wxFont_GetFontId(_swigobj) (_swigobj->GetFontId()) -static PyObject *_wrap_wxFont_GetFontId(PyObject *self, PyObject *args) { - PyObject * _resultobj; - int _result; - wxFont * _arg0; - char * _argc0 = 0; - - self = self; - if(!PyArg_ParseTuple(args,"s:wxFont_GetFontId",&_argc0)) - return NULL; - if (_argc0) { - if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxFont_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFont_GetFontId. Expected _wxFont_p."); - return NULL; - } - } - _result = (int )wxFont_GetFontId(_arg0); - _resultobj = Py_BuildValue("i",_result); - return _resultobj; -} - #define wxFont_GetPointSize(_swigobj) (_swigobj->GetPointSize()) static PyObject *_wrap_wxFont_GetPointSize(PyObject *self, PyObject *args) { PyObject * _resultobj; @@ -4951,7 +4930,6 @@ static PyMethodDef gdicMethods[] = { { "wxFont_GetUnderlined", _wrap_wxFont_GetUnderlined, 1 }, { "wxFont_GetStyle", _wrap_wxFont_GetStyle, 1 }, { "wxFont_GetPointSize", _wrap_wxFont_GetPointSize, 1 }, - { "wxFont_GetFontId", _wrap_wxFont_GetFontId, 1 }, { "wxFont_GetFamily", _wrap_wxFont_GetFamily, 1 }, { "wxFont_GetFaceName", _wrap_wxFont_GetFaceName, 1 }, { "new_wxFont", _wrap_new_wxFont, 1 },