/*
- * FILE : ./html.cpp
+ * FILE : html.cpp
*
* This file was automatically generated by :
* Simplified Wrapper and Interface Generator (SWIG)
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
delete _result;
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
delete _result;
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
delete _result;
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
if (_obj1)
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
delete _result;
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
}
return _resultobj;
}
return _resultobj;
}
-#define wxHtmlContainerCell_GetMaxLineWidth(_swigobj) (_swigobj->GetMaxLineWidth())
-static PyObject *_wrap_wxHtmlContainerCell_GetMaxLineWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- int _result;
- wxHtmlContainerCell * _arg0;
- PyObject * _argo0 = 0;
- char *_kwnames[] = { "self", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetMaxLineWidth",_kwnames,&_argo0))
- return NULL;
- if (_argo0) {
- if (_argo0 == Py_None) { _arg0 = NULL; }
- else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetMaxLineWidth. Expected _wxHtmlContainerCell_p.");
- return NULL;
- }
- }
-{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxHtmlContainerCell_GetMaxLineWidth(_arg0);
-
- wxPy_END_ALLOW_THREADS;
-} _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
#define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
static PyObject *_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
}
return _resultobj;
}
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
}
return _resultobj;
}
wxPy_END_ALLOW_THREADS;
}{
- _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+ _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
delete _result;
{ "wxHtmlContainerCell_GetFirstCell", (PyCFunction) _wrap_wxHtmlContainerCell_GetFirstCell, METH_VARARGS | METH_KEYWORDS },
{ "wxHtmlContainerCell_SetBorder", (PyCFunction) _wrap_wxHtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
{ "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
- { "wxHtmlContainerCell_GetMaxLineWidth", (PyCFunction) _wrap_wxHtmlContainerCell_GetMaxLineWidth, METH_VARARGS | METH_KEYWORDS },
{ "wxHtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_wxHtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
{ "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
{ "wxHtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },