2 * FILE : src/mac/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlc
56 #define SWIG_name "htmlc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/htmprint.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 #if PYTHON_API_VERSION >= 1009
96 static char* wxStringErrorMsg
= "String or Unicode type required";
98 static char* wxStringErrorMsg
= "String type required";
101 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
102 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
104 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
106 wxHtmlParser
* GetParser() { return m_Parser
; }
107 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
109 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
110 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
115 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
117 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
118 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
120 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
121 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
123 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
125 wxHtmlWinParser
* GetParser() { return m_WParser
; }
126 void ParseInner(const wxHtmlTag
& tag
)
127 { wxHtmlWinTagHandler::ParseInner(tag
); }
129 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
130 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
135 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
137 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
138 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
141 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
143 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
144 m_tagHandlerClass
= thc
;
145 Py_INCREF(m_tagHandlerClass
);
146 RegisterModule(this);
147 wxHtmlWinParser::AddModule(this);
151 wxPyTState
* state
= wxPyBeginBlockThreads();
152 Py_DECREF(m_tagHandlerClass
);
153 m_tagHandlerClass
= NULL
;
154 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
155 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
158 wxPyEndBlockThreads(state
);
161 void FillHandlersTable(wxHtmlWinParser
*parser
) {
162 // Wave our magic wand... (if it works it's a miracle! ;-)
164 // First, make a new instance of the tag handler
165 wxPyTState
* state
= wxPyBeginBlockThreads();
166 PyObject
* arg
= Py_BuildValue("()");
167 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
169 wxPyEndBlockThreads(state
);
171 // now figure out where it's C++ object is...
172 wxPyHtmlWinTagHandler
* thPtr
;
173 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
177 parser
->AddTagHandler(thPtr
);
184 PyObject
* m_tagHandlerClass
;
185 wxArrayPtrVoid m_objArray
;
189 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
190 // Dynamically create a new wxModule. Refcounts tagHandlerClass
191 // and adds itself to the wxModules list and to the wxHtmlWinParser.
192 new wxPyHtmlTagsModule(tagHandlerClass
);
195 class wxPyHtmlWindow
: public wxHtmlWindow
{
196 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
198 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
199 const wxPoint
& pos
= wxDefaultPosition
,
200 const wxSize
& size
= wxDefaultSize
,
201 long style
= wxHW_SCROLLBAR_AUTO
,
202 const wxString
& name
= "htmlWindow")
203 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
205 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
206 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
208 DEC_PYCALLBACK__STRING(OnSetTitle
);
209 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
210 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
214 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
215 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
216 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
217 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
220 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
222 wxPyTState
* state
= wxPyBeginBlockThreads();
223 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
224 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
225 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
228 wxPyEndBlockThreads(state
);
230 wxHtmlWindow::OnLinkClicked(link
);
232 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
233 wxHtmlWindow::OnLinkClicked(link
);
237 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
238 wxHtmlWindow::AddFilter(filter
);
241 extern "C" SWIGEXPORT(void) inithtmlhelpc();
245 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
248 PyObject
* _obj0
= 0;
249 char *_kwnames
[] = { "tagHandlerClass", NULL
};
252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
258 wxPy_BEGIN_ALLOW_THREADS
;
259 wxHtmlWinParser_AddTagHandler(_arg0
);
261 wxPy_END_ALLOW_THREADS
;
262 } Py_INCREF(Py_None
);
263 _resultobj
= Py_None
;
267 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
268 PyObject
* _resultobj
;
269 wxHtmlFilter
* _arg0
;
270 PyObject
* _argo0
= 0;
271 char *_kwnames
[] = { "filter", NULL
};
274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
284 wxPy_BEGIN_ALLOW_THREADS
;
285 wxHtmlWindow_AddFilter(_arg0
);
287 wxPy_END_ALLOW_THREADS
;
288 } Py_INCREF(Py_None
);
289 _resultobj
= Py_None
;
293 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
296 src
= (wxHtmlLinkInfo
*) ptr
;
297 dest
= (wxObject
*) src
;
298 return (void *) dest
;
301 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
302 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
303 PyObject
* _resultobj
;
304 wxHtmlLinkInfo
* _result
;
306 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
307 PyObject
* _obj0
= 0;
308 PyObject
* _obj1
= 0;
309 char *_kwnames
[] = { "href","target", NULL
};
313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
316 #if PYTHON_API_VERSION >= 1009
317 char* tmpPtr
; int tmpSize
;
318 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
322 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
324 _arg0
= new wxString(tmpPtr
, tmpSize
);
326 if (!PyString_Check(_obj0
)) {
327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
330 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
335 #if PYTHON_API_VERSION >= 1009
336 char* tmpPtr
; int tmpSize
;
337 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
341 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
343 _arg1
= new wxString(tmpPtr
, tmpSize
);
345 if (!PyString_Check(_obj1
)) {
346 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
349 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
353 wxPy_BEGIN_ALLOW_THREADS
;
354 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
356 wxPy_END_ALLOW_THREADS
;
358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
359 _resultobj
= Py_BuildValue("s",_ptemp
);
362 _resultobj
= Py_None
;
375 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
376 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
379 wxHtmlLinkInfo
* _arg0
;
380 PyObject
* _argo0
= 0;
381 char *_kwnames
[] = { "self", NULL
};
384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
394 wxPy_BEGIN_ALLOW_THREADS
;
395 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
397 wxPy_END_ALLOW_THREADS
;
399 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
407 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
408 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
411 wxHtmlLinkInfo
* _arg0
;
412 PyObject
* _argo0
= 0;
413 char *_kwnames
[] = { "self", NULL
};
416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
426 wxPy_BEGIN_ALLOW_THREADS
;
427 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
429 wxPy_END_ALLOW_THREADS
;
431 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
439 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
440 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
442 wxMouseEvent
* _result
;
443 wxHtmlLinkInfo
* _arg0
;
444 PyObject
* _argo0
= 0;
445 char *_kwnames
[] = { "self", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
458 wxPy_BEGIN_ALLOW_THREADS
;
459 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
461 wxPy_END_ALLOW_THREADS
;
462 }{ _resultobj
= wxPyMake_wxObject(_result
); }
466 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
467 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
469 wxHtmlCell
* _result
;
470 wxHtmlLinkInfo
* _arg0
;
471 PyObject
* _argo0
= 0;
472 char *_kwnames
[] = { "self", NULL
};
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
486 wxPy_BEGIN_ALLOW_THREADS
;
487 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
489 wxPy_END_ALLOW_THREADS
;
491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
492 _resultobj
= Py_BuildValue("s",_ptemp
);
495 _resultobj
= Py_None
;
500 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
501 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
502 PyObject
* _resultobj
;
503 wxHtmlLinkInfo
* _arg0
;
504 wxMouseEvent
* _arg1
;
505 PyObject
* _argo0
= 0;
506 PyObject
* _argo1
= 0;
507 char *_kwnames
[] = { "self","e", NULL
};
510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
527 wxPy_BEGIN_ALLOW_THREADS
;
528 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
530 wxPy_END_ALLOW_THREADS
;
531 } Py_INCREF(Py_None
);
532 _resultobj
= Py_None
;
536 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
537 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
539 wxHtmlLinkInfo
* _arg0
;
541 PyObject
* _argo0
= 0;
542 PyObject
* _argo1
= 0;
543 char *_kwnames
[] = { "self","e", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
563 wxPy_BEGIN_ALLOW_THREADS
;
564 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
566 wxPy_END_ALLOW_THREADS
;
567 } Py_INCREF(Py_None
);
568 _resultobj
= Py_None
;
572 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
575 src
= (wxHtmlTag
*) ptr
;
576 dest
= (wxObject
*) src
;
577 return (void *) dest
;
580 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
581 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
585 PyObject
* _argo0
= 0;
586 char *_kwnames
[] = { "self", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
599 wxPy_BEGIN_ALLOW_THREADS
;
600 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
602 wxPy_END_ALLOW_THREADS
;
604 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
612 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
613 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
618 PyObject
* _argo0
= 0;
619 PyObject
* _obj1
= 0;
620 char *_kwnames
[] = { "self","par", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
633 #if PYTHON_API_VERSION >= 1009
634 char* tmpPtr
; int tmpSize
;
635 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
639 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
641 _arg1
= new wxString(tmpPtr
, tmpSize
);
643 if (!PyString_Check(_obj1
)) {
644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
647 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
651 wxPy_BEGIN_ALLOW_THREADS
;
652 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
654 wxPy_END_ALLOW_THREADS
;
655 } _resultobj
= Py_BuildValue("i",_result
);
663 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
664 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
669 int _arg2
= (int ) FALSE
;
670 PyObject
* _argo0
= 0;
671 PyObject
* _obj1
= 0;
672 char *_kwnames
[] = { "self","par","with_commas", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
685 #if PYTHON_API_VERSION >= 1009
686 char* tmpPtr
; int tmpSize
;
687 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
691 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
693 _arg1
= new wxString(tmpPtr
, tmpSize
);
695 if (!PyString_Check(_obj1
)) {
696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
699 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
703 wxPy_BEGIN_ALLOW_THREADS
;
704 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
706 wxPy_END_ALLOW_THREADS
;
708 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
720 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
721 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
725 PyObject
* _argo0
= 0;
726 char *_kwnames
[] = { "self", NULL
};
729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
742 wxPy_END_ALLOW_THREADS
;
744 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
752 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
753 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
757 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "self", NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
771 wxPy_BEGIN_ALLOW_THREADS
;
772 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
774 wxPy_END_ALLOW_THREADS
;
775 } _resultobj
= Py_BuildValue("i",_result
);
779 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
780 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
784 PyObject
* _argo0
= 0;
785 char *_kwnames
[] = { "self", NULL
};
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
798 wxPy_BEGIN_ALLOW_THREADS
;
799 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
801 wxPy_END_ALLOW_THREADS
;
802 } _resultobj
= Py_BuildValue("i",_result
);
806 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
807 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
828 wxPy_END_ALLOW_THREADS
;
829 } _resultobj
= Py_BuildValue("i",_result
);
833 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
834 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
852 wxPy_BEGIN_ALLOW_THREADS
;
853 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
855 wxPy_END_ALLOW_THREADS
;
856 } _resultobj
= Py_BuildValue("i",_result
);
860 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
863 src
= (wxHtmlParser
*) ptr
;
864 dest
= (wxObject
*) src
;
865 return (void *) dest
;
868 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
869 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
871 wxHtmlParser
* _arg0
;
872 wxFileSystem
* _arg1
;
873 PyObject
* _argo0
= 0;
874 PyObject
* _argo1
= 0;
875 char *_kwnames
[] = { "self","fs", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
895 wxPy_BEGIN_ALLOW_THREADS
;
896 wxHtmlParser_SetFS(_arg0
,_arg1
);
898 wxPy_END_ALLOW_THREADS
;
899 } Py_INCREF(Py_None
);
900 _resultobj
= Py_None
;
904 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
905 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
907 wxFileSystem
* _result
;
908 wxHtmlParser
* _arg0
;
909 PyObject
* _argo0
= 0;
910 char *_kwnames
[] = { "self", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
923 wxPy_BEGIN_ALLOW_THREADS
;
924 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
926 wxPy_END_ALLOW_THREADS
;
927 }{ _resultobj
= wxPyMake_wxObject(_result
); }
931 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
932 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
935 wxHtmlParser
* _arg0
;
937 PyObject
* _argo0
= 0;
938 PyObject
* _obj1
= 0;
939 char *_kwnames
[] = { "self","source", NULL
};
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
952 #if PYTHON_API_VERSION >= 1009
953 char* tmpPtr
; int tmpSize
;
954 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
958 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
960 _arg1
= new wxString(tmpPtr
, tmpSize
);
962 if (!PyString_Check(_obj1
)) {
963 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
966 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
970 wxPy_BEGIN_ALLOW_THREADS
;
971 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
973 wxPy_END_ALLOW_THREADS
;
974 }{ _resultobj
= wxPyMake_wxObject(_result
); }
982 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
983 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
985 wxHtmlParser
* _arg0
;
987 PyObject
* _argo0
= 0;
988 PyObject
* _obj1
= 0;
989 char *_kwnames
[] = { "self","source", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1002 #if PYTHON_API_VERSION >= 1009
1003 char* tmpPtr
; int tmpSize
;
1004 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1005 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1008 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1010 _arg1
= new wxString(tmpPtr
, tmpSize
);
1012 if (!PyString_Check(_obj1
)) {
1013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1016 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1023 wxPy_END_ALLOW_THREADS
;
1024 } Py_INCREF(Py_None
);
1025 _resultobj
= Py_None
;
1033 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1034 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1035 PyObject
* _resultobj
;
1036 wxHtmlParser
* _arg0
;
1037 PyObject
* _argo0
= 0;
1038 char *_kwnames
[] = { "self", NULL
};
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1051 wxPy_BEGIN_ALLOW_THREADS
;
1052 wxHtmlParser_DoneParser(_arg0
);
1054 wxPy_END_ALLOW_THREADS
;
1055 } Py_INCREF(Py_None
);
1056 _resultobj
= Py_None
;
1060 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1061 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1063 wxHtmlParser
* _arg0
;
1066 PyObject
* _argo0
= 0;
1067 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1083 wxPy_END_ALLOW_THREADS
;
1084 } Py_INCREF(Py_None
);
1085 _resultobj
= Py_None
;
1089 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1090 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1092 wxHtmlParser
* _arg0
;
1093 wxHtmlTagHandler
* _arg1
;
1094 PyObject
* _argo0
= 0;
1095 PyObject
* _argo1
= 0;
1096 char *_kwnames
[] = { "self","handler", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1116 wxPy_BEGIN_ALLOW_THREADS
;
1117 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1119 wxPy_END_ALLOW_THREADS
;
1120 } Py_INCREF(Py_None
);
1121 _resultobj
= Py_None
;
1125 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1126 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1129 wxHtmlParser
* _arg0
;
1130 PyObject
* _argo0
= 0;
1131 char *_kwnames
[] = { "self", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1147 wxPy_END_ALLOW_THREADS
;
1149 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1154 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1155 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
* _resultobj
;
1157 wxHtmlParser
* _arg0
;
1158 wxHtmlTagHandler
* _arg1
;
1160 PyObject
* _argo0
= 0;
1161 PyObject
* _argo1
= 0;
1162 PyObject
* _obj2
= 0;
1163 char *_kwnames
[] = { "self","handler","tags", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1183 #if PYTHON_API_VERSION >= 1009
1184 char* tmpPtr
; int tmpSize
;
1185 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1189 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1191 _arg2
= new wxString(tmpPtr
, tmpSize
);
1193 if (!PyString_Check(_obj2
)) {
1194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1197 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1201 wxPy_BEGIN_ALLOW_THREADS
;
1202 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1204 wxPy_END_ALLOW_THREADS
;
1205 } Py_INCREF(Py_None
);
1206 _resultobj
= Py_None
;
1214 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1215 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1217 wxHtmlParser
* _arg0
;
1218 PyObject
* _argo0
= 0;
1219 char *_kwnames
[] = { "self", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1232 wxPy_BEGIN_ALLOW_THREADS
;
1233 wxHtmlParser_PopTagHandler(_arg0
);
1235 wxPy_END_ALLOW_THREADS
;
1236 } Py_INCREF(Py_None
);
1237 _resultobj
= Py_None
;
1241 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1242 wxHtmlWinParser
*src
;
1244 src
= (wxHtmlWinParser
*) ptr
;
1245 dest
= (wxHtmlParser
*) src
;
1246 return (void *) dest
;
1249 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1250 wxHtmlWinParser
*src
;
1252 src
= (wxHtmlWinParser
*) ptr
;
1253 dest
= (wxObject
*) src
;
1254 return (void *) dest
;
1257 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1258 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1260 wxHtmlWinParser
* _result
;
1262 PyObject
* _argo0
= 0;
1263 char *_kwnames
[] = { "wnd", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1280 wxPy_END_ALLOW_THREADS
;
1282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1283 _resultobj
= Py_BuildValue("s",_ptemp
);
1286 _resultobj
= Py_None
;
1291 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1292 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
* _resultobj
;
1294 wxHtmlWinParser
* _arg0
;
1296 PyObject
* _argo0
= 0;
1297 PyObject
* _argo1
= 0;
1298 char *_kwnames
[] = { "self","dc", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1311 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1321 wxPy_END_ALLOW_THREADS
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1327 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1328 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1331 wxHtmlWinParser
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "self", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1349 wxPy_END_ALLOW_THREADS
;
1350 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1354 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1355 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1358 wxHtmlWinParser
* _arg0
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1373 wxPy_BEGIN_ALLOW_THREADS
;
1374 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1376 wxPy_END_ALLOW_THREADS
;
1377 } _resultobj
= Py_BuildValue("i",_result
);
1381 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1382 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
* _resultobj
;
1385 wxHtmlWinParser
* _arg0
;
1386 PyObject
* _argo0
= 0;
1387 char *_kwnames
[] = { "self", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } _resultobj
= Py_BuildValue("i",_result
);
1408 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1409 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1412 wxHtmlWinParser
* _arg0
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1430 wxPy_END_ALLOW_THREADS
;
1431 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1435 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1436 int* temp
= int_LIST_helper(sizes
);
1438 self
->SetFonts(normal_face
, fixed_face
, temp
);
1442 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1444 wxHtmlWinParser
* _arg0
;
1448 PyObject
* _argo0
= 0;
1449 PyObject
* _obj1
= 0;
1450 PyObject
* _obj2
= 0;
1451 PyObject
* _obj3
= 0;
1452 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1465 #if PYTHON_API_VERSION >= 1009
1466 char* tmpPtr
; int tmpSize
;
1467 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1471 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1473 _arg1
= new wxString(tmpPtr
, tmpSize
);
1475 if (!PyString_Check(_obj1
)) {
1476 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1479 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1483 #if PYTHON_API_VERSION >= 1009
1484 char* tmpPtr
; int tmpSize
;
1485 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1489 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1491 _arg2
= new wxString(tmpPtr
, tmpSize
);
1493 if (!PyString_Check(_obj2
)) {
1494 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1497 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1507 wxPy_END_ALLOW_THREADS
;
1508 } Py_INCREF(Py_None
);
1509 _resultobj
= Py_None
;
1521 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1522 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1524 wxHtmlContainerCell
* _result
;
1525 wxHtmlWinParser
* _arg0
;
1526 PyObject
* _argo0
= 0;
1527 char *_kwnames
[] = { "self", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1547 _resultobj
= Py_BuildValue("s",_ptemp
);
1550 _resultobj
= Py_None
;
1555 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1556 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
* _resultobj
;
1558 wxHtmlContainerCell
* _result
;
1559 wxHtmlWinParser
* _arg0
;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1578 wxPy_END_ALLOW_THREADS
;
1580 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1581 _resultobj
= Py_BuildValue("s",_ptemp
);
1584 _resultobj
= Py_None
;
1589 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1590 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1592 wxHtmlContainerCell
* _result
;
1593 wxHtmlWinParser
* _arg0
;
1594 wxHtmlContainerCell
* _arg1
;
1595 PyObject
* _argo0
= 0;
1596 PyObject
* _argo1
= 0;
1597 char *_kwnames
[] = { "self","c", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1618 wxPy_BEGIN_ALLOW_THREADS
;
1619 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1621 wxPy_END_ALLOW_THREADS
;
1623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1624 _resultobj
= Py_BuildValue("s",_ptemp
);
1627 _resultobj
= Py_None
;
1632 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1633 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxHtmlContainerCell
* _result
;
1636 wxHtmlWinParser
* _arg0
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1655 wxPy_END_ALLOW_THREADS
;
1657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1658 _resultobj
= Py_BuildValue("s",_ptemp
);
1661 _resultobj
= Py_None
;
1666 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1667 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1670 wxHtmlWinParser
* _arg0
;
1671 PyObject
* _argo0
= 0;
1672 char *_kwnames
[] = { "self", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1688 wxPy_END_ALLOW_THREADS
;
1689 } _resultobj
= Py_BuildValue("i",_result
);
1693 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1694 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxHtmlWinParser
* _arg0
;
1698 PyObject
* _argo0
= 0;
1699 char *_kwnames
[] = { "self","s", NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1712 wxPy_BEGIN_ALLOW_THREADS
;
1713 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1715 wxPy_END_ALLOW_THREADS
;
1716 } Py_INCREF(Py_None
);
1717 _resultobj
= Py_None
;
1721 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1722 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
* _resultobj
;
1725 wxHtmlWinParser
* _arg0
;
1726 PyObject
* _argo0
= 0;
1727 char *_kwnames
[] = { "self", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1740 wxPy_BEGIN_ALLOW_THREADS
;
1741 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1743 wxPy_END_ALLOW_THREADS
;
1744 } _resultobj
= Py_BuildValue("i",_result
);
1748 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1749 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
* _resultobj
;
1751 wxHtmlWinParser
* _arg0
;
1753 PyObject
* _argo0
= 0;
1754 char *_kwnames
[] = { "self","x", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1767 wxPy_BEGIN_ALLOW_THREADS
;
1768 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1770 wxPy_END_ALLOW_THREADS
;
1771 } Py_INCREF(Py_None
);
1772 _resultobj
= Py_None
;
1776 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1777 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1780 wxHtmlWinParser
* _arg0
;
1781 PyObject
* _argo0
= 0;
1782 char *_kwnames
[] = { "self", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1795 wxPy_BEGIN_ALLOW_THREADS
;
1796 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1798 wxPy_END_ALLOW_THREADS
;
1799 } _resultobj
= Py_BuildValue("i",_result
);
1803 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1804 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1806 wxHtmlWinParser
* _arg0
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self","x", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1825 wxPy_END_ALLOW_THREADS
;
1826 } Py_INCREF(Py_None
);
1827 _resultobj
= Py_None
;
1831 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1832 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1835 wxHtmlWinParser
* _arg0
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1853 wxPy_END_ALLOW_THREADS
;
1854 } _resultobj
= Py_BuildValue("i",_result
);
1858 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1859 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1861 wxHtmlWinParser
* _arg0
;
1863 PyObject
* _argo0
= 0;
1864 char *_kwnames
[] = { "self","x", NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1877 wxPy_BEGIN_ALLOW_THREADS
;
1878 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1880 wxPy_END_ALLOW_THREADS
;
1881 } Py_INCREF(Py_None
);
1882 _resultobj
= Py_None
;
1886 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1887 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1890 wxHtmlWinParser
* _arg0
;
1891 PyObject
* _argo0
= 0;
1892 char *_kwnames
[] = { "self", NULL
};
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1905 wxPy_BEGIN_ALLOW_THREADS
;
1906 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1908 wxPy_END_ALLOW_THREADS
;
1909 } _resultobj
= Py_BuildValue("i",_result
);
1913 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1914 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1916 wxHtmlWinParser
* _arg0
;
1918 PyObject
* _argo0
= 0;
1919 char *_kwnames
[] = { "self","x", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1935 wxPy_END_ALLOW_THREADS
;
1936 } Py_INCREF(Py_None
);
1937 _resultobj
= Py_None
;
1941 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1942 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1945 wxHtmlWinParser
* _arg0
;
1946 PyObject
* _argo0
= 0;
1947 char *_kwnames
[] = { "self", NULL
};
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1960 wxPy_BEGIN_ALLOW_THREADS
;
1961 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1963 wxPy_END_ALLOW_THREADS
;
1964 } _resultobj
= Py_BuildValue("i",_result
);
1968 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1969 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1971 wxHtmlWinParser
* _arg0
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self","a", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } Py_INCREF(Py_None
);
1992 _resultobj
= Py_None
;
1996 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1997 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 wxHtmlWinParser
* _arg0
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
2018 _result
= (wxColour
*) &_result_ref
;
2020 wxPy_END_ALLOW_THREADS
;
2022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2023 _resultobj
= Py_BuildValue("s",_ptemp
);
2026 _resultobj
= Py_None
;
2031 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2032 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
* _resultobj
;
2034 wxHtmlWinParser
* _arg0
;
2036 PyObject
* _argo0
= 0;
2038 PyObject
* _obj1
= 0;
2039 char *_kwnames
[] = { "self","clr", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2053 if (! wxColour_helper(_obj1
, &_arg1
))
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } Py_INCREF(Py_None
);
2062 _resultobj
= Py_None
;
2066 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2067 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2070 wxHtmlWinParser
* _arg0
;
2071 PyObject
* _argo0
= 0;
2072 char *_kwnames
[] = { "self", NULL
};
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2086 wxPy_BEGIN_ALLOW_THREADS
;
2087 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
2088 _result
= (wxColour
*) &_result_ref
;
2090 wxPy_END_ALLOW_THREADS
;
2092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2093 _resultobj
= Py_BuildValue("s",_ptemp
);
2096 _resultobj
= Py_None
;
2101 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2102 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2104 wxHtmlWinParser
* _arg0
;
2106 PyObject
* _argo0
= 0;
2108 PyObject
* _obj1
= 0;
2109 char *_kwnames
[] = { "self","clr", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2123 if (! wxColour_helper(_obj1
, &_arg1
))
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2130 wxPy_END_ALLOW_THREADS
;
2131 } Py_INCREF(Py_None
);
2132 _resultobj
= Py_None
;
2136 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2137 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
* _resultobj
;
2139 wxHtmlWinParser
* _arg0
;
2141 PyObject
* _argo0
= 0;
2142 PyObject
* _obj1
= 0;
2143 char *_kwnames
[] = { "self","link", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2156 #if PYTHON_API_VERSION >= 1009
2157 char* tmpPtr
; int tmpSize
;
2158 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2162 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2164 _arg1
= new wxString(tmpPtr
, tmpSize
);
2166 if (!PyString_Check(_obj1
)) {
2167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2170 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2174 wxPy_BEGIN_ALLOW_THREADS
;
2175 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2177 wxPy_END_ALLOW_THREADS
;
2178 } Py_INCREF(Py_None
);
2179 _resultobj
= Py_None
;
2187 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2188 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 wxHtmlWinParser
* _arg0
;
2192 PyObject
* _argo0
= 0;
2193 char *_kwnames
[] = { "self", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2207 wxPy_BEGIN_ALLOW_THREADS
;
2208 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2210 wxPy_END_ALLOW_THREADS
;
2212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2213 _resultobj
= Py_BuildValue("s",_ptemp
);
2216 _resultobj
= Py_None
;
2221 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2222 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2224 wxHtmlLinkInfo
* _result
;
2225 wxHtmlWinParser
* _arg0
;
2226 PyObject
* _argo0
= 0;
2227 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2244 wxPy_END_ALLOW_THREADS
;
2245 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2246 _resultobj
= Py_BuildValue("s",_ptemp
);
2250 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2251 wxPyHtmlTagHandler
*src
;
2253 src
= (wxPyHtmlTagHandler
*) ptr
;
2254 dest
= (wxObject
*) src
;
2255 return (void *) dest
;
2258 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2259 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2261 wxPyHtmlTagHandler
* _result
;
2262 char *_kwnames
[] = { NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2272 wxPy_END_ALLOW_THREADS
;
2274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2275 _resultobj
= Py_BuildValue("s",_ptemp
);
2278 _resultobj
= Py_None
;
2283 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2284 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2286 wxPyHtmlTagHandler
* _arg0
;
2289 PyObject
* _argo0
= 0;
2290 PyObject
* _obj1
= 0;
2291 PyObject
* _obj2
= 0;
2292 char *_kwnames
[] = { "self","self","_class", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2314 wxPy_END_ALLOW_THREADS
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2321 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2323 wxPyHtmlTagHandler
* _arg0
;
2324 wxHtmlParser
* _arg1
;
2325 PyObject
* _argo0
= 0;
2326 PyObject
* _argo1
= 0;
2327 char *_kwnames
[] = { "self","parser", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2347 wxPy_BEGIN_ALLOW_THREADS
;
2348 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2350 wxPy_END_ALLOW_THREADS
;
2351 } Py_INCREF(Py_None
);
2352 _resultobj
= Py_None
;
2356 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2357 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2359 wxHtmlParser
* _result
;
2360 wxPyHtmlTagHandler
* _arg0
;
2361 PyObject
* _argo0
= 0;
2362 char *_kwnames
[] = { "self", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2379 wxPy_END_ALLOW_THREADS
;
2381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2382 _resultobj
= Py_BuildValue("s",_ptemp
);
2385 _resultobj
= Py_None
;
2390 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2391 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2393 wxPyHtmlTagHandler
* _arg0
;
2395 PyObject
* _argo0
= 0;
2396 PyObject
* _argo1
= 0;
2397 char *_kwnames
[] = { "self","tag", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2417 wxPy_BEGIN_ALLOW_THREADS
;
2418 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2420 wxPy_END_ALLOW_THREADS
;
2421 } Py_INCREF(Py_None
);
2422 _resultobj
= Py_None
;
2426 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2427 wxPyHtmlWinTagHandler
*src
;
2428 wxPyHtmlTagHandler
*dest
;
2429 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2430 dest
= (wxPyHtmlTagHandler
*) src
;
2431 return (void *) dest
;
2434 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2435 wxPyHtmlWinTagHandler
*src
;
2437 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2438 dest
= (wxObject
*) src
;
2439 return (void *) dest
;
2442 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2443 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2445 wxPyHtmlWinTagHandler
* _result
;
2446 char *_kwnames
[] = { NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2456 wxPy_END_ALLOW_THREADS
;
2458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2459 _resultobj
= Py_BuildValue("s",_ptemp
);
2462 _resultobj
= Py_None
;
2467 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2468 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2470 wxPyHtmlWinTagHandler
* _arg0
;
2473 PyObject
* _argo0
= 0;
2474 PyObject
* _obj1
= 0;
2475 PyObject
* _obj2
= 0;
2476 char *_kwnames
[] = { "self","self","_class", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2495 wxPy_BEGIN_ALLOW_THREADS
;
2496 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2498 wxPy_END_ALLOW_THREADS
;
2499 } Py_INCREF(Py_None
);
2500 _resultobj
= Py_None
;
2504 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2505 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
* _resultobj
;
2507 wxPyHtmlWinTagHandler
* _arg0
;
2508 wxHtmlParser
* _arg1
;
2509 PyObject
* _argo0
= 0;
2510 PyObject
* _argo1
= 0;
2511 char *_kwnames
[] = { "self","parser", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2534 wxPy_END_ALLOW_THREADS
;
2535 } Py_INCREF(Py_None
);
2536 _resultobj
= Py_None
;
2540 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2541 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 wxHtmlWinParser
* _result
;
2544 wxPyHtmlWinTagHandler
* _arg0
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2563 wxPy_END_ALLOW_THREADS
;
2565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2566 _resultobj
= Py_BuildValue("s",_ptemp
);
2569 _resultobj
= Py_None
;
2574 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2575 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2577 wxPyHtmlWinTagHandler
* _arg0
;
2579 PyObject
* _argo0
= 0;
2580 PyObject
* _argo1
= 0;
2581 char *_kwnames
[] = { "self","tag", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2601 wxPy_BEGIN_ALLOW_THREADS
;
2602 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2604 wxPy_END_ALLOW_THREADS
;
2605 } Py_INCREF(Py_None
);
2606 _resultobj
= Py_None
;
2610 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2613 src
= (wxHtmlCell
*) ptr
;
2614 dest
= (wxObject
*) src
;
2615 return (void *) dest
;
2618 #define new_wxHtmlCell() (new wxHtmlCell())
2619 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2621 wxHtmlCell
* _result
;
2622 char *_kwnames
[] = { NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2629 wxPy_BEGIN_ALLOW_THREADS
;
2630 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2632 wxPy_END_ALLOW_THREADS
;
2634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2635 _resultobj
= Py_BuildValue("s",_ptemp
);
2638 _resultobj
= Py_None
;
2643 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2644 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } _resultobj
= Py_BuildValue("i",_result
);
2670 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2671 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2692 wxPy_END_ALLOW_THREADS
;
2693 } _resultobj
= Py_BuildValue("i",_result
);
2697 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2698 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2702 PyObject
* _argo0
= 0;
2703 char *_kwnames
[] = { "self", NULL
};
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2719 wxPy_END_ALLOW_THREADS
;
2720 } _resultobj
= Py_BuildValue("i",_result
);
2724 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2725 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
* _resultobj
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2743 wxPy_BEGIN_ALLOW_THREADS
;
2744 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2746 wxPy_END_ALLOW_THREADS
;
2747 } _resultobj
= Py_BuildValue("i",_result
);
2751 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2752 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2773 wxPy_END_ALLOW_THREADS
;
2774 } _resultobj
= Py_BuildValue("i",_result
);
2778 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2779 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
* _resultobj
;
2781 wxHtmlLinkInfo
* _result
;
2783 int _arg1
= (int ) 0;
2784 int _arg2
= (int ) 0;
2785 PyObject
* _argo0
= 0;
2786 char *_kwnames
[] = { "self","x","y", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2803 wxPy_END_ALLOW_THREADS
;
2805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2806 _resultobj
= Py_BuildValue("s",_ptemp
);
2809 _resultobj
= Py_None
;
2814 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2815 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2817 wxHtmlCell
* _result
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2837 wxPy_END_ALLOW_THREADS
;
2839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2840 _resultobj
= Py_BuildValue("s",_ptemp
);
2843 _resultobj
= Py_None
;
2848 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2849 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2851 wxHtmlContainerCell
* _result
;
2853 PyObject
* _argo0
= 0;
2854 char *_kwnames
[] = { "self", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2868 wxPy_BEGIN_ALLOW_THREADS
;
2869 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2871 wxPy_END_ALLOW_THREADS
;
2873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2874 _resultobj
= Py_BuildValue("s",_ptemp
);
2877 _resultobj
= Py_None
;
2882 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2883 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
* _resultobj
;
2886 wxHtmlLinkInfo
* _arg1
;
2887 PyObject
* _argo0
= 0;
2888 PyObject
* _argo1
= 0;
2889 char *_kwnames
[] = { "self","link", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2912 wxPy_END_ALLOW_THREADS
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2919 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2924 PyObject
* _argo1
= 0;
2925 char *_kwnames
[] = { "self","cell", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2945 wxPy_BEGIN_ALLOW_THREADS
;
2946 wxHtmlCell_SetNext(_arg0
,_arg1
);
2948 wxPy_END_ALLOW_THREADS
;
2949 } Py_INCREF(Py_None
);
2950 _resultobj
= Py_None
;
2954 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2955 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2958 wxHtmlContainerCell
* _arg1
;
2959 PyObject
* _argo0
= 0;
2960 PyObject
* _argo1
= 0;
2961 char *_kwnames
[] = { "self","p", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2974 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2975 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2981 wxPy_BEGIN_ALLOW_THREADS
;
2982 wxHtmlCell_SetParent(_arg0
,_arg1
);
2984 wxPy_END_ALLOW_THREADS
;
2985 } Py_INCREF(Py_None
);
2986 _resultobj
= Py_None
;
2990 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2991 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
* _resultobj
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self","x","y", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3013 wxPy_END_ALLOW_THREADS
;
3014 } Py_INCREF(Py_None
);
3015 _resultobj
= Py_None
;
3019 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3020 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self","w", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3038 wxPy_BEGIN_ALLOW_THREADS
;
3039 wxHtmlCell_Layout(_arg0
,_arg1
);
3041 wxPy_END_ALLOW_THREADS
;
3042 } Py_INCREF(Py_None
);
3043 _resultobj
= Py_None
;
3047 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3048 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3057 PyObject
* _argo1
= 0;
3058 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3078 wxPy_BEGIN_ALLOW_THREADS
;
3079 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3081 wxPy_END_ALLOW_THREADS
;
3082 } Py_INCREF(Py_None
);
3083 _resultobj
= Py_None
;
3087 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3088 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3094 PyObject
* _argo0
= 0;
3095 PyObject
* _argo1
= 0;
3096 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3119 wxPy_END_ALLOW_THREADS
;
3120 } Py_INCREF(Py_None
);
3121 _resultobj
= Py_None
;
3125 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3126 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3128 wxHtmlCell
* _result
;
3132 PyObject
* _argo0
= 0;
3133 PyObject
* _argo2
= 0;
3134 char *_kwnames
[] = { "self","condition","param", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3148 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3155 wxPy_BEGIN_ALLOW_THREADS
;
3156 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3158 wxPy_END_ALLOW_THREADS
;
3160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3161 _resultobj
= Py_BuildValue("s",_ptemp
);
3164 _resultobj
= Py_None
;
3169 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3170 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3175 PyObject
* _argo0
= 0;
3176 PyObject
* _argo1
= 0;
3177 char *_kwnames
[] = { "self","pagebreak", NULL
};
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3197 wxPy_BEGIN_ALLOW_THREADS
;
3198 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3200 wxPy_END_ALLOW_THREADS
;
3201 } _resultobj
= Py_BuildValue("i",_result
);
3205 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3206 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self","can", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3224 _arg1
= (bool ) tempbool1
;
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3229 wxPy_END_ALLOW_THREADS
;
3230 } Py_INCREF(Py_None
);
3231 _resultobj
= Py_None
;
3235 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3236 wxHtmlWordCell
*src
;
3238 src
= (wxHtmlWordCell
*) ptr
;
3239 dest
= (wxHtmlCell
*) src
;
3240 return (void *) dest
;
3243 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3244 wxHtmlWordCell
*src
;
3246 src
= (wxHtmlWordCell
*) ptr
;
3247 dest
= (wxObject
*) src
;
3248 return (void *) dest
;
3251 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3252 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxHtmlWordCell
* _result
;
3257 PyObject
* _obj0
= 0;
3258 PyObject
* _argo1
= 0;
3259 char *_kwnames
[] = { "word","dc", NULL
};
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3266 #if PYTHON_API_VERSION >= 1009
3267 char* tmpPtr
; int tmpSize
;
3268 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3272 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3274 _arg0
= new wxString(tmpPtr
, tmpSize
);
3276 if (!PyString_Check(_obj0
)) {
3277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3280 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3294 wxPy_END_ALLOW_THREADS
;
3296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3297 _resultobj
= Py_BuildValue("s",_ptemp
);
3300 _resultobj
= Py_None
;
3309 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3310 wxHtmlContainerCell
*src
;
3312 src
= (wxHtmlContainerCell
*) ptr
;
3313 dest
= (wxHtmlCell
*) src
;
3314 return (void *) dest
;
3317 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3318 wxHtmlContainerCell
*src
;
3320 src
= (wxHtmlContainerCell
*) ptr
;
3321 dest
= (wxObject
*) src
;
3322 return (void *) dest
;
3325 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3326 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3328 wxHtmlContainerCell
* _result
;
3329 wxHtmlContainerCell
* _arg0
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "parent", NULL
};
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3345 wxPy_BEGIN_ALLOW_THREADS
;
3346 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3348 wxPy_END_ALLOW_THREADS
;
3350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3351 _resultobj
= Py_BuildValue("s",_ptemp
);
3354 _resultobj
= Py_None
;
3359 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3360 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3362 wxHtmlContainerCell
* _arg0
;
3364 PyObject
* _argo0
= 0;
3365 PyObject
* _argo1
= 0;
3366 char *_kwnames
[] = { "self","cell", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3386 wxPy_BEGIN_ALLOW_THREADS
;
3387 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3389 wxPy_END_ALLOW_THREADS
;
3390 } Py_INCREF(Py_None
);
3391 _resultobj
= Py_None
;
3395 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3396 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3398 wxHtmlContainerCell
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self","al", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3414 wxPy_BEGIN_ALLOW_THREADS
;
3415 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3417 wxPy_END_ALLOW_THREADS
;
3418 } Py_INCREF(Py_None
);
3419 _resultobj
= Py_None
;
3423 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3424 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3427 wxHtmlContainerCell
* _arg0
;
3428 PyObject
* _argo0
= 0;
3429 char *_kwnames
[] = { "self", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3443 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3445 wxPy_END_ALLOW_THREADS
;
3446 } _resultobj
= Py_BuildValue("i",_result
);
3450 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3451 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3453 wxHtmlContainerCell
* _arg0
;
3455 PyObject
* _argo0
= 0;
3456 char *_kwnames
[] = { "self","al", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3472 wxPy_END_ALLOW_THREADS
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3479 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3482 wxHtmlContainerCell
* _arg0
;
3483 PyObject
* _argo0
= 0;
3484 char *_kwnames
[] = { "self", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3497 wxPy_BEGIN_ALLOW_THREADS
;
3498 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3500 wxPy_END_ALLOW_THREADS
;
3501 } _resultobj
= Py_BuildValue("i",_result
);
3505 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3506 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3508 wxHtmlContainerCell
* _arg0
;
3511 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3512 PyObject
* _argo0
= 0;
3513 char *_kwnames
[] = { "self","i","what","units", NULL
};
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3529 wxPy_END_ALLOW_THREADS
;
3530 } Py_INCREF(Py_None
);
3531 _resultobj
= Py_None
;
3535 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3536 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 wxHtmlContainerCell
* _arg0
;
3541 PyObject
* _argo0
= 0;
3542 char *_kwnames
[] = { "self","ind", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3555 wxPy_BEGIN_ALLOW_THREADS
;
3556 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3558 wxPy_END_ALLOW_THREADS
;
3559 } _resultobj
= Py_BuildValue("i",_result
);
3563 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3564 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3567 wxHtmlContainerCell
* _arg0
;
3569 PyObject
* _argo0
= 0;
3570 char *_kwnames
[] = { "self","ind", NULL
};
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3583 wxPy_BEGIN_ALLOW_THREADS
;
3584 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3586 wxPy_END_ALLOW_THREADS
;
3587 } _resultobj
= Py_BuildValue("i",_result
);
3591 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3592 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3594 wxHtmlContainerCell
* _arg0
;
3596 PyObject
* _argo0
= 0;
3597 PyObject
* _argo1
= 0;
3598 char *_kwnames
[] = { "self","tag", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3618 wxPy_BEGIN_ALLOW_THREADS
;
3619 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3621 wxPy_END_ALLOW_THREADS
;
3622 } Py_INCREF(Py_None
);
3623 _resultobj
= Py_None
;
3627 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3628 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3630 wxHtmlContainerCell
* _arg0
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "self","w","units", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3647 wxPy_BEGIN_ALLOW_THREADS
;
3648 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3650 wxPy_END_ALLOW_THREADS
;
3651 } Py_INCREF(Py_None
);
3652 _resultobj
= Py_None
;
3656 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3657 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3659 wxHtmlContainerCell
* _arg0
;
3661 PyObject
* _argo0
= 0;
3662 PyObject
* _argo1
= 0;
3663 char *_kwnames
[] = { "self","tag", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3683 wxPy_BEGIN_ALLOW_THREADS
;
3684 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3686 wxPy_END_ALLOW_THREADS
;
3687 } Py_INCREF(Py_None
);
3688 _resultobj
= Py_None
;
3692 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3693 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3695 wxHtmlContainerCell
* _arg0
;
3697 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3698 PyObject
* _argo0
= 0;
3699 char *_kwnames
[] = { "self","h","align", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3712 wxPy_BEGIN_ALLOW_THREADS
;
3713 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3715 wxPy_END_ALLOW_THREADS
;
3716 } Py_INCREF(Py_None
);
3717 _resultobj
= Py_None
;
3721 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3722 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
* _resultobj
;
3724 wxHtmlContainerCell
* _arg0
;
3726 PyObject
* _argo0
= 0;
3728 PyObject
* _obj1
= 0;
3729 char *_kwnames
[] = { "self","clr", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3743 if (! wxColour_helper(_obj1
, &_arg1
))
3747 wxPy_BEGIN_ALLOW_THREADS
;
3748 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3750 wxPy_END_ALLOW_THREADS
;
3751 } Py_INCREF(Py_None
);
3752 _resultobj
= Py_None
;
3756 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3757 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3759 wxHtmlContainerCell
* _arg0
;
3762 PyObject
* _argo0
= 0;
3764 PyObject
* _obj1
= 0;
3766 PyObject
* _obj2
= 0;
3767 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3781 if (! wxColour_helper(_obj1
, &_arg1
))
3786 if (! wxColour_helper(_obj2
, &_arg2
))
3790 wxPy_BEGIN_ALLOW_THREADS
;
3791 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3793 wxPy_END_ALLOW_THREADS
;
3794 } Py_INCREF(Py_None
);
3795 _resultobj
= Py_None
;
3799 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3800 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3802 wxHtmlCell
* _result
;
3803 wxHtmlContainerCell
* _arg0
;
3804 PyObject
* _argo0
= 0;
3805 char *_kwnames
[] = { "self", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3819 wxPy_BEGIN_ALLOW_THREADS
;
3820 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3822 wxPy_END_ALLOW_THREADS
;
3824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3825 _resultobj
= Py_BuildValue("s",_ptemp
);
3828 _resultobj
= Py_None
;
3833 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3834 wxHtmlColourCell
*src
;
3836 src
= (wxHtmlColourCell
*) ptr
;
3837 dest
= (wxHtmlCell
*) src
;
3838 return (void *) dest
;
3841 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3842 wxHtmlColourCell
*src
;
3844 src
= (wxHtmlColourCell
*) ptr
;
3845 dest
= (wxObject
*) src
;
3846 return (void *) dest
;
3849 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3850 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3852 wxHtmlColourCell
* _result
;
3854 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3856 PyObject
* _obj0
= 0;
3857 char *_kwnames
[] = { "clr","flags", NULL
};
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3865 if (! wxColour_helper(_obj0
, &_arg0
))
3869 wxPy_BEGIN_ALLOW_THREADS
;
3870 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3872 wxPy_END_ALLOW_THREADS
;
3874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3875 _resultobj
= Py_BuildValue("s",_ptemp
);
3878 _resultobj
= Py_None
;
3883 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3884 wxHtmlFontCell
*src
;
3886 src
= (wxHtmlFontCell
*) ptr
;
3887 dest
= (wxHtmlCell
*) src
;
3888 return (void *) dest
;
3891 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3892 wxHtmlFontCell
*src
;
3894 src
= (wxHtmlFontCell
*) ptr
;
3895 dest
= (wxObject
*) src
;
3896 return (void *) dest
;
3899 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3900 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3902 wxHtmlFontCell
* _result
;
3904 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "font", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3919 wxPy_BEGIN_ALLOW_THREADS
;
3920 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3922 wxPy_END_ALLOW_THREADS
;
3924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3925 _resultobj
= Py_BuildValue("s",_ptemp
);
3928 _resultobj
= Py_None
;
3933 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3934 wxHtmlWidgetCell
*src
;
3936 src
= (wxHtmlWidgetCell
*) ptr
;
3937 dest
= (wxHtmlCell
*) src
;
3938 return (void *) dest
;
3941 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3942 wxHtmlWidgetCell
*src
;
3944 src
= (wxHtmlWidgetCell
*) ptr
;
3945 dest
= (wxObject
*) src
;
3946 return (void *) dest
;
3949 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3950 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
* _resultobj
;
3952 wxHtmlWidgetCell
* _result
;
3954 int _arg1
= (int ) 0;
3955 PyObject
* _argo0
= 0;
3956 char *_kwnames
[] = { "wnd","w", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3970 wxPy_BEGIN_ALLOW_THREADS
;
3971 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3973 wxPy_END_ALLOW_THREADS
;
3975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3976 _resultobj
= Py_BuildValue("s",_ptemp
);
3979 _resultobj
= Py_None
;
3984 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
3985 wxPyHtmlWindow
*src
;
3986 wxScrolledWindow
*dest
;
3987 src
= (wxPyHtmlWindow
*) ptr
;
3988 dest
= (wxScrolledWindow
*) src
;
3989 return (void *) dest
;
3992 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
3993 wxPyHtmlWindow
*src
;
3995 src
= (wxPyHtmlWindow
*) ptr
;
3996 dest
= (wxPanel
*) src
;
3997 return (void *) dest
;
4000 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4001 wxPyHtmlWindow
*src
;
4003 src
= (wxPyHtmlWindow
*) ptr
;
4004 dest
= (wxWindow
*) src
;
4005 return (void *) dest
;
4008 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4009 wxPyHtmlWindow
*src
;
4011 src
= (wxPyHtmlWindow
*) ptr
;
4012 dest
= (wxEvtHandler
*) src
;
4013 return (void *) dest
;
4016 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4017 wxPyHtmlWindow
*src
;
4019 src
= (wxPyHtmlWindow
*) ptr
;
4020 dest
= (wxObject
*) src
;
4021 return (void *) dest
;
4024 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4025 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4027 wxPyHtmlWindow
* _result
;
4029 int _arg1
= (int ) -1;
4030 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4031 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4032 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4033 char * _arg5
= (char *) "htmlWindow";
4034 PyObject
* _argo0
= 0;
4036 PyObject
* _obj2
= 0;
4038 PyObject
* _obj3
= 0;
4039 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4055 if (! wxPoint_helper(_obj2
, &_arg2
))
4061 if (! wxSize_helper(_obj3
, &_arg3
))
4065 wxPy_BEGIN_ALLOW_THREADS
;
4066 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4068 wxPy_END_ALLOW_THREADS
;
4070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4071 _resultobj
= Py_BuildValue("s",_ptemp
);
4074 _resultobj
= Py_None
;
4079 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4080 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
* _resultobj
;
4082 wxPyHtmlWindow
* _arg0
;
4085 PyObject
* _argo0
= 0;
4086 PyObject
* _obj1
= 0;
4087 PyObject
* _obj2
= 0;
4088 char *_kwnames
[] = { "self","self","_class", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4107 wxPy_BEGIN_ALLOW_THREADS
;
4108 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4110 wxPy_END_ALLOW_THREADS
;
4111 } Py_INCREF(Py_None
);
4112 _resultobj
= Py_None
;
4116 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4117 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
* _resultobj
;
4120 wxPyHtmlWindow
* _arg0
;
4122 PyObject
* _argo0
= 0;
4123 PyObject
* _obj1
= 0;
4124 char *_kwnames
[] = { "self","source", NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4137 #if PYTHON_API_VERSION >= 1009
4138 char* tmpPtr
; int tmpSize
;
4139 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4143 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4145 _arg1
= new wxString(tmpPtr
, tmpSize
);
4147 if (!PyString_Check(_obj1
)) {
4148 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4151 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4158 wxPy_END_ALLOW_THREADS
;
4159 } _resultobj
= Py_BuildValue("i",_result
);
4167 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4168 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4171 wxPyHtmlWindow
* _arg0
;
4173 PyObject
* _argo0
= 0;
4174 PyObject
* _obj1
= 0;
4175 char *_kwnames
[] = { "self","location", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4188 #if PYTHON_API_VERSION >= 1009
4189 char* tmpPtr
; int tmpSize
;
4190 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4194 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4196 _arg1
= new wxString(tmpPtr
, tmpSize
);
4198 if (!PyString_Check(_obj1
)) {
4199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4202 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4206 wxPy_BEGIN_ALLOW_THREADS
;
4207 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4209 wxPy_END_ALLOW_THREADS
;
4210 } _resultobj
= Py_BuildValue("i",_result
);
4218 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4219 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
* _resultobj
;
4222 wxPyHtmlWindow
* _arg0
;
4224 PyObject
* _argo0
= 0;
4225 PyObject
* _obj1
= 0;
4226 char *_kwnames
[] = { "self","source", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4239 #if PYTHON_API_VERSION >= 1009
4240 char* tmpPtr
; int tmpSize
;
4241 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4245 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4247 _arg1
= new wxString(tmpPtr
, tmpSize
);
4249 if (!PyString_Check(_obj1
)) {
4250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4253 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4257 wxPy_BEGIN_ALLOW_THREADS
;
4258 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4260 wxPy_END_ALLOW_THREADS
;
4261 } _resultobj
= Py_BuildValue("i",_result
);
4269 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4270 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4273 wxPyHtmlWindow
* _arg0
;
4274 PyObject
* _argo0
= 0;
4275 char *_kwnames
[] = { "self", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4291 wxPy_END_ALLOW_THREADS
;
4293 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4301 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4302 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4305 wxPyHtmlWindow
* _arg0
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4320 wxPy_BEGIN_ALLOW_THREADS
;
4321 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4323 wxPy_END_ALLOW_THREADS
;
4325 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4333 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4334 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4337 wxPyHtmlWindow
* _arg0
;
4338 PyObject
* _argo0
= 0;
4339 char *_kwnames
[] = { "self", NULL
};
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4352 wxPy_BEGIN_ALLOW_THREADS
;
4353 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4355 wxPy_END_ALLOW_THREADS
;
4357 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4365 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4366 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4368 wxPyHtmlWindow
* _arg0
;
4371 PyObject
* _argo0
= 0;
4372 PyObject
* _argo1
= 0;
4373 char *_kwnames
[] = { "self","frame","format", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4393 wxPy_BEGIN_ALLOW_THREADS
;
4394 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4396 wxPy_END_ALLOW_THREADS
;
4397 } Py_INCREF(Py_None
);
4398 _resultobj
= Py_None
;
4402 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4403 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4406 wxPyHtmlWindow
* _arg0
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4421 wxPy_BEGIN_ALLOW_THREADS
;
4422 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4424 wxPy_END_ALLOW_THREADS
;
4425 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4429 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4430 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4432 wxPyHtmlWindow
* _arg0
;
4434 PyObject
* _argo0
= 0;
4435 char *_kwnames
[] = { "self","bar", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4448 wxPy_BEGIN_ALLOW_THREADS
;
4449 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4451 wxPy_END_ALLOW_THREADS
;
4452 } Py_INCREF(Py_None
);
4453 _resultobj
= Py_None
;
4457 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4458 int* temp
= int_LIST_helper(sizes
);
4460 self
->SetFonts(normal_face
, fixed_face
, temp
);
4464 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4466 wxPyHtmlWindow
* _arg0
;
4470 PyObject
* _argo0
= 0;
4471 PyObject
* _obj1
= 0;
4472 PyObject
* _obj2
= 0;
4473 PyObject
* _obj3
= 0;
4474 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4487 #if PYTHON_API_VERSION >= 1009
4488 char* tmpPtr
; int tmpSize
;
4489 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4493 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4495 _arg1
= new wxString(tmpPtr
, tmpSize
);
4497 if (!PyString_Check(_obj1
)) {
4498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4501 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4505 #if PYTHON_API_VERSION >= 1009
4506 char* tmpPtr
; int tmpSize
;
4507 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4511 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4513 _arg2
= new wxString(tmpPtr
, tmpSize
);
4515 if (!PyString_Check(_obj2
)) {
4516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4519 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4529 wxPy_END_ALLOW_THREADS
;
4530 } Py_INCREF(Py_None
);
4531 _resultobj
= Py_None
;
4543 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4544 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4546 wxPyHtmlWindow
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 PyObject
* _obj1
= 0;
4550 char *_kwnames
[] = { "self","title", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4563 #if PYTHON_API_VERSION >= 1009
4564 char* tmpPtr
; int tmpSize
;
4565 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4569 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4571 _arg1
= new wxString(tmpPtr
, tmpSize
);
4573 if (!PyString_Check(_obj1
)) {
4574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4577 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4581 wxPy_BEGIN_ALLOW_THREADS
;
4582 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4584 wxPy_END_ALLOW_THREADS
;
4585 } Py_INCREF(Py_None
);
4586 _resultobj
= Py_None
;
4594 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4595 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4597 wxPyHtmlWindow
* _arg0
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self","b", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } Py_INCREF(Py_None
);
4618 _resultobj
= Py_None
;
4622 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4623 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4625 wxPyHtmlWindow
* _arg0
;
4626 wxConfigBase
* _arg1
;
4627 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4628 PyObject
* _argo0
= 0;
4629 PyObject
* _argo1
= 0;
4630 PyObject
* _obj2
= 0;
4631 char *_kwnames
[] = { "self","cfg","path", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4644 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4652 #if PYTHON_API_VERSION >= 1009
4653 char* tmpPtr
; int tmpSize
;
4654 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4658 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4660 _arg2
= new wxString(tmpPtr
, tmpSize
);
4662 if (!PyString_Check(_obj2
)) {
4663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4666 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4670 wxPy_BEGIN_ALLOW_THREADS
;
4671 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4673 wxPy_END_ALLOW_THREADS
;
4674 } Py_INCREF(Py_None
);
4675 _resultobj
= Py_None
;
4683 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4684 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4686 wxPyHtmlWindow
* _arg0
;
4687 wxConfigBase
* _arg1
;
4688 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4689 PyObject
* _argo0
= 0;
4690 PyObject
* _argo1
= 0;
4691 PyObject
* _obj2
= 0;
4692 char *_kwnames
[] = { "self","cfg","path", NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4705 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4713 #if PYTHON_API_VERSION >= 1009
4714 char* tmpPtr
; int tmpSize
;
4715 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4716 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4719 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4721 _arg2
= new wxString(tmpPtr
, tmpSize
);
4723 if (!PyString_Check(_obj2
)) {
4724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4727 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4734 wxPy_END_ALLOW_THREADS
;
4735 } Py_INCREF(Py_None
);
4736 _resultobj
= Py_None
;
4744 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4745 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
* _resultobj
;
4748 wxPyHtmlWindow
* _arg0
;
4749 PyObject
* _argo0
= 0;
4750 char *_kwnames
[] = { "self", NULL
};
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4763 wxPy_BEGIN_ALLOW_THREADS
;
4764 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4766 wxPy_END_ALLOW_THREADS
;
4767 } _resultobj
= Py_BuildValue("i",_result
);
4771 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4772 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4775 wxPyHtmlWindow
* _arg0
;
4776 PyObject
* _argo0
= 0;
4777 char *_kwnames
[] = { "self", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4790 wxPy_BEGIN_ALLOW_THREADS
;
4791 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4793 wxPy_END_ALLOW_THREADS
;
4794 } _resultobj
= Py_BuildValue("i",_result
);
4798 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4799 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4802 wxPyHtmlWindow
* _arg0
;
4803 PyObject
* _argo0
= 0;
4804 char *_kwnames
[] = { "self", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4817 wxPy_BEGIN_ALLOW_THREADS
;
4818 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4820 wxPy_END_ALLOW_THREADS
;
4821 } _resultobj
= Py_BuildValue("i",_result
);
4825 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4826 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
* _resultobj
;
4829 wxPyHtmlWindow
* _arg0
;
4830 PyObject
* _argo0
= 0;
4831 char *_kwnames
[] = { "self", NULL
};
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4844 wxPy_BEGIN_ALLOW_THREADS
;
4845 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4847 wxPy_END_ALLOW_THREADS
;
4848 } _resultobj
= Py_BuildValue("i",_result
);
4852 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4853 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4855 wxPyHtmlWindow
* _arg0
;
4856 PyObject
* _argo0
= 0;
4857 char *_kwnames
[] = { "self", NULL
};
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4870 wxPy_BEGIN_ALLOW_THREADS
;
4871 wxHtmlWindow_HistoryClear(_arg0
);
4873 wxPy_END_ALLOW_THREADS
;
4874 } Py_INCREF(Py_None
);
4875 _resultobj
= Py_None
;
4879 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4880 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4882 wxHtmlContainerCell
* _result
;
4883 wxPyHtmlWindow
* _arg0
;
4884 PyObject
* _argo0
= 0;
4885 char *_kwnames
[] = { "self", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4899 wxPy_BEGIN_ALLOW_THREADS
;
4900 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4902 wxPy_END_ALLOW_THREADS
;
4904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4905 _resultobj
= Py_BuildValue("s",_ptemp
);
4908 _resultobj
= Py_None
;
4913 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4914 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4916 wxHtmlWinParser
* _result
;
4917 wxPyHtmlWindow
* _arg0
;
4918 PyObject
* _argo0
= 0;
4919 char *_kwnames
[] = { "self", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4933 wxPy_BEGIN_ALLOW_THREADS
;
4934 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4936 wxPy_END_ALLOW_THREADS
;
4938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4939 _resultobj
= Py_BuildValue("s",_ptemp
);
4942 _resultobj
= Py_None
;
4947 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4948 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
* _resultobj
;
4950 wxPyHtmlWindow
* _arg0
;
4951 wxHtmlLinkInfo
* _arg1
;
4952 PyObject
* _argo0
= 0;
4953 PyObject
* _argo1
= 0;
4954 char *_kwnames
[] = { "self","link", NULL
};
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
4960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
4974 wxPy_BEGIN_ALLOW_THREADS
;
4975 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
4977 wxPy_END_ALLOW_THREADS
;
4978 } Py_INCREF(Py_None
);
4979 _resultobj
= Py_None
;
4983 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
4984 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4986 wxPyHtmlWindow
* _arg0
;
4988 PyObject
* _argo0
= 0;
4989 char *_kwnames
[] = { "self","title", NULL
};
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
4995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5002 wxPy_BEGIN_ALLOW_THREADS
;
5003 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5005 wxPy_END_ALLOW_THREADS
;
5006 } Py_INCREF(Py_None
);
5007 _resultobj
= Py_None
;
5011 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5012 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5014 wxPyHtmlWindow
* _arg0
;
5018 PyObject
* _argo0
= 0;
5019 PyObject
* _argo1
= 0;
5020 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5040 wxPy_BEGIN_ALLOW_THREADS
;
5041 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5043 wxPy_END_ALLOW_THREADS
;
5044 } Py_INCREF(Py_None
);
5045 _resultobj
= Py_None
;
5049 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5050 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5052 wxPyHtmlWindow
* _arg0
;
5056 wxMouseEvent
* _arg4
;
5057 PyObject
* _argo0
= 0;
5058 PyObject
* _argo1
= 0;
5059 PyObject
* _argo4
= 0;
5060 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5080 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5087 wxPy_BEGIN_ALLOW_THREADS
;
5088 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5090 wxPy_END_ALLOW_THREADS
;
5091 } Py_INCREF(Py_None
);
5092 _resultobj
= Py_None
;
5096 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5097 wxHtmlDCRenderer
*src
;
5099 src
= (wxHtmlDCRenderer
*) ptr
;
5100 dest
= (wxObject
*) src
;
5101 return (void *) dest
;
5104 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5105 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
* _resultobj
;
5107 wxHtmlDCRenderer
* _result
;
5108 char *_kwnames
[] = { NULL
};
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5118 wxPy_END_ALLOW_THREADS
;
5120 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5121 _resultobj
= Py_BuildValue("s",_ptemp
);
5124 _resultobj
= Py_None
;
5129 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5130 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5132 wxHtmlDCRenderer
* _arg0
;
5133 PyObject
* _argo0
= 0;
5134 char *_kwnames
[] = { "self", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5147 wxPy_BEGIN_ALLOW_THREADS
;
5148 delete_wxHtmlDCRenderer(_arg0
);
5150 wxPy_END_ALLOW_THREADS
;
5151 } Py_INCREF(Py_None
);
5152 _resultobj
= Py_None
;
5156 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5157 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5159 wxHtmlDCRenderer
* _arg0
;
5162 PyObject
* _argo0
= 0;
5163 PyObject
* _argo1
= 0;
5164 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5184 wxPy_BEGIN_ALLOW_THREADS
;
5185 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5187 wxPy_END_ALLOW_THREADS
;
5188 } Py_INCREF(Py_None
);
5189 _resultobj
= Py_None
;
5193 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5194 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5196 wxHtmlDCRenderer
* _arg0
;
5199 PyObject
* _argo0
= 0;
5200 char *_kwnames
[] = { "self","width","height", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5213 wxPy_BEGIN_ALLOW_THREADS
;
5214 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5216 wxPy_END_ALLOW_THREADS
;
5217 } Py_INCREF(Py_None
);
5218 _resultobj
= Py_None
;
5222 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5223 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5225 wxHtmlDCRenderer
* _arg0
;
5227 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5228 bool _arg3
= (bool ) TRUE
;
5229 PyObject
* _argo0
= 0;
5230 PyObject
* _obj1
= 0;
5231 PyObject
* _obj2
= 0;
5232 int tempbool3
= (int) TRUE
;
5233 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5246 #if PYTHON_API_VERSION >= 1009
5247 char* tmpPtr
; int tmpSize
;
5248 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5252 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5254 _arg1
= new wxString(tmpPtr
, tmpSize
);
5256 if (!PyString_Check(_obj1
)) {
5257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5260 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5265 #if PYTHON_API_VERSION >= 1009
5266 char* tmpPtr
; int tmpSize
;
5267 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5271 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5273 _arg2
= new wxString(tmpPtr
, tmpSize
);
5275 if (!PyString_Check(_obj2
)) {
5276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5279 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5282 _arg3
= (bool ) tempbool3
;
5284 wxPy_BEGIN_ALLOW_THREADS
;
5285 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5287 wxPy_END_ALLOW_THREADS
;
5288 } Py_INCREF(Py_None
);
5289 _resultobj
= Py_None
;
5301 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5302 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
* _resultobj
;
5305 wxHtmlDCRenderer
* _arg0
;
5308 int _arg3
= (int ) 0;
5309 int _arg4
= (int ) FALSE
;
5310 PyObject
* _argo0
= 0;
5311 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5324 wxPy_BEGIN_ALLOW_THREADS
;
5325 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5327 wxPy_END_ALLOW_THREADS
;
5328 } _resultobj
= Py_BuildValue("i",_result
);
5332 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5333 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5336 wxHtmlDCRenderer
* _arg0
;
5337 PyObject
* _argo0
= 0;
5338 char *_kwnames
[] = { "self", NULL
};
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5351 wxPy_BEGIN_ALLOW_THREADS
;
5352 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5354 wxPy_END_ALLOW_THREADS
;
5355 } _resultobj
= Py_BuildValue("i",_result
);
5359 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5360 wxHtmlPrintout
*src
;
5362 src
= (wxHtmlPrintout
*) ptr
;
5363 dest
= (wxPyPrintout
*) src
;
5364 return (void *) dest
;
5367 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5368 wxHtmlPrintout
*src
;
5370 src
= (wxHtmlPrintout
*) ptr
;
5371 dest
= (wxObject
*) src
;
5372 return (void *) dest
;
5375 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5376 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5378 wxHtmlPrintout
* _result
;
5379 char * _arg0
= (char *) "Printout";
5380 char *_kwnames
[] = { "title", NULL
};
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5387 wxPy_BEGIN_ALLOW_THREADS
;
5388 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5390 wxPy_END_ALLOW_THREADS
;
5392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5393 _resultobj
= Py_BuildValue("s",_ptemp
);
5396 _resultobj
= Py_None
;
5401 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5402 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5404 wxHtmlPrintout
* _arg0
;
5406 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5407 bool _arg3
= (bool ) TRUE
;
5408 PyObject
* _argo0
= 0;
5409 PyObject
* _obj1
= 0;
5410 PyObject
* _obj2
= 0;
5411 int tempbool3
= (int) TRUE
;
5412 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5425 #if PYTHON_API_VERSION >= 1009
5426 char* tmpPtr
; int tmpSize
;
5427 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5431 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5433 _arg1
= new wxString(tmpPtr
, tmpSize
);
5435 if (!PyString_Check(_obj1
)) {
5436 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5439 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5444 #if PYTHON_API_VERSION >= 1009
5445 char* tmpPtr
; int tmpSize
;
5446 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5447 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5450 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5452 _arg2
= new wxString(tmpPtr
, tmpSize
);
5454 if (!PyString_Check(_obj2
)) {
5455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5458 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5461 _arg3
= (bool ) tempbool3
;
5463 wxPy_BEGIN_ALLOW_THREADS
;
5464 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5466 wxPy_END_ALLOW_THREADS
;
5467 } Py_INCREF(Py_None
);
5468 _resultobj
= Py_None
;
5480 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5481 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
* _resultobj
;
5483 wxHtmlPrintout
* _arg0
;
5485 PyObject
* _argo0
= 0;
5486 PyObject
* _obj1
= 0;
5487 char *_kwnames
[] = { "self","htmlfile", NULL
};
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5500 #if PYTHON_API_VERSION >= 1009
5501 char* tmpPtr
; int tmpSize
;
5502 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5503 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5506 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5508 _arg1
= new wxString(tmpPtr
, tmpSize
);
5510 if (!PyString_Check(_obj1
)) {
5511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5514 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5518 wxPy_BEGIN_ALLOW_THREADS
;
5519 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5521 wxPy_END_ALLOW_THREADS
;
5522 } Py_INCREF(Py_None
);
5523 _resultobj
= Py_None
;
5531 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5532 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5534 wxHtmlPrintout
* _arg0
;
5536 int _arg2
= (int ) (wxPAGE_ALL
);
5537 PyObject
* _argo0
= 0;
5538 PyObject
* _obj1
= 0;
5539 char *_kwnames
[] = { "self","header","pg", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5552 #if PYTHON_API_VERSION >= 1009
5553 char* tmpPtr
; int tmpSize
;
5554 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5555 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5558 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5560 _arg1
= new wxString(tmpPtr
, tmpSize
);
5562 if (!PyString_Check(_obj1
)) {
5563 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5566 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5570 wxPy_BEGIN_ALLOW_THREADS
;
5571 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5573 wxPy_END_ALLOW_THREADS
;
5574 } Py_INCREF(Py_None
);
5575 _resultobj
= Py_None
;
5583 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5584 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5586 wxHtmlPrintout
* _arg0
;
5588 int _arg2
= (int ) (wxPAGE_ALL
);
5589 PyObject
* _argo0
= 0;
5590 PyObject
* _obj1
= 0;
5591 char *_kwnames
[] = { "self","footer","pg", NULL
};
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5604 #if PYTHON_API_VERSION >= 1009
5605 char* tmpPtr
; int tmpSize
;
5606 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5610 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5612 _arg1
= new wxString(tmpPtr
, tmpSize
);
5614 if (!PyString_Check(_obj1
)) {
5615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5618 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5622 wxPy_BEGIN_ALLOW_THREADS
;
5623 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5625 wxPy_END_ALLOW_THREADS
;
5626 } Py_INCREF(Py_None
);
5627 _resultobj
= Py_None
;
5635 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5636 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5638 wxHtmlPrintout
* _arg0
;
5639 float _arg1
= (float ) 25.2;
5640 float _arg2
= (float ) 25.2;
5641 float _arg3
= (float ) 25.2;
5642 float _arg4
= (float ) 25.2;
5643 float _arg5
= (float ) 5;
5644 PyObject
* _argo0
= 0;
5645 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5658 wxPy_BEGIN_ALLOW_THREADS
;
5659 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5661 wxPy_END_ALLOW_THREADS
;
5662 } Py_INCREF(Py_None
);
5663 _resultobj
= Py_None
;
5667 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5668 wxHtmlEasyPrinting
*src
;
5670 src
= (wxHtmlEasyPrinting
*) ptr
;
5671 dest
= (wxObject
*) src
;
5672 return (void *) dest
;
5675 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5676 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
* _resultobj
;
5678 wxHtmlEasyPrinting
* _result
;
5679 char * _arg0
= (char *) "Printing";
5680 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5681 PyObject
* _argo1
= 0;
5682 char *_kwnames
[] = { "name","parent_frame", NULL
};
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5696 wxPy_BEGIN_ALLOW_THREADS
;
5697 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5699 wxPy_END_ALLOW_THREADS
;
5701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5702 _resultobj
= Py_BuildValue("s",_ptemp
);
5705 _resultobj
= Py_None
;
5710 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5711 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5713 wxHtmlEasyPrinting
* _arg0
;
5714 PyObject
* _argo0
= 0;
5715 char *_kwnames
[] = { "self", NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5728 wxPy_BEGIN_ALLOW_THREADS
;
5729 delete_wxHtmlEasyPrinting(_arg0
);
5731 wxPy_END_ALLOW_THREADS
;
5732 } Py_INCREF(Py_None
);
5733 _resultobj
= Py_None
;
5737 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5738 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5740 wxHtmlEasyPrinting
* _arg0
;
5742 PyObject
* _argo0
= 0;
5743 PyObject
* _obj1
= 0;
5744 char *_kwnames
[] = { "self","htmlfile", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5757 #if PYTHON_API_VERSION >= 1009
5758 char* tmpPtr
; int tmpSize
;
5759 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5760 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5763 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5765 _arg1
= new wxString(tmpPtr
, tmpSize
);
5767 if (!PyString_Check(_obj1
)) {
5768 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5771 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5775 wxPy_BEGIN_ALLOW_THREADS
;
5776 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5778 wxPy_END_ALLOW_THREADS
;
5779 } Py_INCREF(Py_None
);
5780 _resultobj
= Py_None
;
5788 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5789 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5791 wxHtmlEasyPrinting
* _arg0
;
5793 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5794 PyObject
* _argo0
= 0;
5795 PyObject
* _obj1
= 0;
5796 PyObject
* _obj2
= 0;
5797 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5810 #if PYTHON_API_VERSION >= 1009
5811 char* tmpPtr
; int tmpSize
;
5812 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5813 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5816 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5818 _arg1
= new wxString(tmpPtr
, tmpSize
);
5820 if (!PyString_Check(_obj1
)) {
5821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5824 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5829 #if PYTHON_API_VERSION >= 1009
5830 char* tmpPtr
; int tmpSize
;
5831 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5835 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5837 _arg2
= new wxString(tmpPtr
, tmpSize
);
5839 if (!PyString_Check(_obj2
)) {
5840 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5843 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5847 wxPy_BEGIN_ALLOW_THREADS
;
5848 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5850 wxPy_END_ALLOW_THREADS
;
5851 } Py_INCREF(Py_None
);
5852 _resultobj
= Py_None
;
5864 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5865 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5867 wxHtmlEasyPrinting
* _arg0
;
5869 PyObject
* _argo0
= 0;
5870 PyObject
* _obj1
= 0;
5871 char *_kwnames
[] = { "self","htmlfile", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5884 #if PYTHON_API_VERSION >= 1009
5885 char* tmpPtr
; int tmpSize
;
5886 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5890 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5892 _arg1
= new wxString(tmpPtr
, tmpSize
);
5894 if (!PyString_Check(_obj1
)) {
5895 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5898 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5902 wxPy_BEGIN_ALLOW_THREADS
;
5903 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5905 wxPy_END_ALLOW_THREADS
;
5906 } Py_INCREF(Py_None
);
5907 _resultobj
= Py_None
;
5915 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5916 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
* _resultobj
;
5918 wxHtmlEasyPrinting
* _arg0
;
5920 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5921 PyObject
* _argo0
= 0;
5922 PyObject
* _obj1
= 0;
5923 PyObject
* _obj2
= 0;
5924 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5937 #if PYTHON_API_VERSION >= 1009
5938 char* tmpPtr
; int tmpSize
;
5939 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5943 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5945 _arg1
= new wxString(tmpPtr
, tmpSize
);
5947 if (!PyString_Check(_obj1
)) {
5948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5951 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5956 #if PYTHON_API_VERSION >= 1009
5957 char* tmpPtr
; int tmpSize
;
5958 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5962 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5964 _arg2
= new wxString(tmpPtr
, tmpSize
);
5966 if (!PyString_Check(_obj2
)) {
5967 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5970 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5974 wxPy_BEGIN_ALLOW_THREADS
;
5975 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
5977 wxPy_END_ALLOW_THREADS
;
5978 } Py_INCREF(Py_None
);
5979 _resultobj
= Py_None
;
5991 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5992 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
* _resultobj
;
5994 wxHtmlEasyPrinting
* _arg0
;
5995 PyObject
* _argo0
= 0;
5996 char *_kwnames
[] = { "self", NULL
};
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6009 wxPy_BEGIN_ALLOW_THREADS
;
6010 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6012 wxPy_END_ALLOW_THREADS
;
6013 } Py_INCREF(Py_None
);
6014 _resultobj
= Py_None
;
6018 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6019 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
* _resultobj
;
6021 wxHtmlEasyPrinting
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6036 wxPy_BEGIN_ALLOW_THREADS
;
6037 wxHtmlEasyPrinting_PageSetup(_arg0
);
6039 wxPy_END_ALLOW_THREADS
;
6040 } Py_INCREF(Py_None
);
6041 _resultobj
= Py_None
;
6045 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6046 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6048 wxHtmlEasyPrinting
* _arg0
;
6050 int _arg2
= (int ) (wxPAGE_ALL
);
6051 PyObject
* _argo0
= 0;
6052 PyObject
* _obj1
= 0;
6053 char *_kwnames
[] = { "self","header","pg", NULL
};
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6066 #if PYTHON_API_VERSION >= 1009
6067 char* tmpPtr
; int tmpSize
;
6068 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6069 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6072 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6074 _arg1
= new wxString(tmpPtr
, tmpSize
);
6076 if (!PyString_Check(_obj1
)) {
6077 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6080 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6084 wxPy_BEGIN_ALLOW_THREADS
;
6085 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6087 wxPy_END_ALLOW_THREADS
;
6088 } Py_INCREF(Py_None
);
6089 _resultobj
= Py_None
;
6097 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6098 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6100 wxHtmlEasyPrinting
* _arg0
;
6102 int _arg2
= (int ) (wxPAGE_ALL
);
6103 PyObject
* _argo0
= 0;
6104 PyObject
* _obj1
= 0;
6105 char *_kwnames
[] = { "self","footer","pg", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6118 #if PYTHON_API_VERSION >= 1009
6119 char* tmpPtr
; int tmpSize
;
6120 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6124 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6126 _arg1
= new wxString(tmpPtr
, tmpSize
);
6128 if (!PyString_Check(_obj1
)) {
6129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6132 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6136 wxPy_BEGIN_ALLOW_THREADS
;
6137 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6139 wxPy_END_ALLOW_THREADS
;
6140 } Py_INCREF(Py_None
);
6141 _resultobj
= Py_None
;
6149 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6150 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
* _resultobj
;
6152 wxPrintData
* _result
;
6153 wxHtmlEasyPrinting
* _arg0
;
6154 PyObject
* _argo0
= 0;
6155 char *_kwnames
[] = { "self", NULL
};
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6169 wxPy_BEGIN_ALLOW_THREADS
;
6170 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6172 wxPy_END_ALLOW_THREADS
;
6174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6175 _resultobj
= Py_BuildValue("s",_ptemp
);
6178 _resultobj
= Py_None
;
6183 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6184 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6186 wxPageSetupDialogData
* _result
;
6187 wxHtmlEasyPrinting
* _arg0
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6203 wxPy_BEGIN_ALLOW_THREADS
;
6204 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6206 wxPy_END_ALLOW_THREADS
;
6208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6209 _resultobj
= Py_BuildValue("s",_ptemp
);
6212 _resultobj
= Py_None
;
6217 static PyMethodDef htmlcMethods
[] = {
6218 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6285 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6286 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6287 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6288 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6289 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6324 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6325 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6326 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6327 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6328 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6329 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6330 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6331 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6332 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6333 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6334 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6335 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6336 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6337 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6338 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6339 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6340 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6341 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6342 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6343 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6344 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6345 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6346 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6347 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6348 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6349 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6350 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6351 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6352 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6353 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6354 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6355 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6356 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6357 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6358 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6359 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6360 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6361 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6362 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6363 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6364 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6365 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6366 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6367 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6368 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6369 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6370 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6371 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6372 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6373 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6374 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6375 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6382 * This table is used by the pointer type-checker
6384 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6385 { "_signed_long","_long",0},
6386 { "_wxPrintQuality","_wxCoord",0},
6387 { "_wxPrintQuality","_int",0},
6388 { "_wxPrintQuality","_signed_int",0},
6389 { "_wxPrintQuality","_unsigned_int",0},
6390 { "_wxPrintQuality","_wxWindowID",0},
6391 { "_wxPrintQuality","_uint",0},
6392 { "_wxPrintQuality","_EBool",0},
6393 { "_wxPrintQuality","_size_t",0},
6394 { "_wxPrintQuality","_time_t",0},
6395 { "_byte","_unsigned_char",0},
6396 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6397 { "_long","_unsigned_long",0},
6398 { "_long","_signed_long",0},
6399 { "_size_t","_wxCoord",0},
6400 { "_size_t","_wxPrintQuality",0},
6401 { "_size_t","_time_t",0},
6402 { "_size_t","_unsigned_int",0},
6403 { "_size_t","_int",0},
6404 { "_size_t","_wxWindowID",0},
6405 { "_size_t","_uint",0},
6406 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6407 { "_uint","_wxCoord",0},
6408 { "_uint","_wxPrintQuality",0},
6409 { "_uint","_time_t",0},
6410 { "_uint","_size_t",0},
6411 { "_uint","_unsigned_int",0},
6412 { "_uint","_int",0},
6413 { "_uint","_wxWindowID",0},
6414 { "_wxChar","_char",0},
6415 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6416 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6417 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6418 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6419 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6420 { "_char","_wxChar",0},
6421 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6422 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6423 { "_EBool","_wxCoord",0},
6424 { "_EBool","_wxPrintQuality",0},
6425 { "_EBool","_signed_int",0},
6426 { "_EBool","_int",0},
6427 { "_EBool","_wxWindowID",0},
6428 { "_unsigned_long","_long",0},
6429 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6430 { "_signed_int","_wxCoord",0},
6431 { "_signed_int","_wxPrintQuality",0},
6432 { "_signed_int","_EBool",0},
6433 { "_signed_int","_wxWindowID",0},
6434 { "_signed_int","_int",0},
6435 { "_WXTYPE","_wxDateTime_t",0},
6436 { "_WXTYPE","_short",0},
6437 { "_WXTYPE","_signed_short",0},
6438 { "_WXTYPE","_unsigned_short",0},
6439 { "_unsigned_short","_wxDateTime_t",0},
6440 { "_unsigned_short","_WXTYPE",0},
6441 { "_unsigned_short","_short",0},
6442 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6443 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6444 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6445 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6446 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6447 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6448 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6449 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6450 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6451 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6452 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6453 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6454 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6455 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6456 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6457 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6458 { "_signed_short","_WXTYPE",0},
6459 { "_signed_short","_short",0},
6460 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6461 { "_unsigned_char","_byte",0},
6462 { "_unsigned_int","_wxCoord",0},
6463 { "_unsigned_int","_wxPrintQuality",0},
6464 { "_unsigned_int","_time_t",0},
6465 { "_unsigned_int","_size_t",0},
6466 { "_unsigned_int","_uint",0},
6467 { "_unsigned_int","_wxWindowID",0},
6468 { "_unsigned_int","_int",0},
6469 { "_short","_wxDateTime_t",0},
6470 { "_short","_WXTYPE",0},
6471 { "_short","_unsigned_short",0},
6472 { "_short","_signed_short",0},
6473 { "_wxWindowID","_wxCoord",0},
6474 { "_wxWindowID","_wxPrintQuality",0},
6475 { "_wxWindowID","_time_t",0},
6476 { "_wxWindowID","_size_t",0},
6477 { "_wxWindowID","_EBool",0},
6478 { "_wxWindowID","_uint",0},
6479 { "_wxWindowID","_int",0},
6480 { "_wxWindowID","_signed_int",0},
6481 { "_wxWindowID","_unsigned_int",0},
6482 { "_int","_wxCoord",0},
6483 { "_int","_wxPrintQuality",0},
6484 { "_int","_time_t",0},
6485 { "_int","_size_t",0},
6486 { "_int","_EBool",0},
6487 { "_int","_uint",0},
6488 { "_int","_wxWindowID",0},
6489 { "_int","_unsigned_int",0},
6490 { "_int","_signed_int",0},
6491 { "_wxDateTime_t","_unsigned_short",0},
6492 { "_wxDateTime_t","_short",0},
6493 { "_wxDateTime_t","_WXTYPE",0},
6494 { "_time_t","_wxCoord",0},
6495 { "_time_t","_wxPrintQuality",0},
6496 { "_time_t","_unsigned_int",0},
6497 { "_time_t","_int",0},
6498 { "_time_t","_wxWindowID",0},
6499 { "_time_t","_uint",0},
6500 { "_time_t","_size_t",0},
6501 { "_wxCoord","_int",0},
6502 { "_wxCoord","_signed_int",0},
6503 { "_wxCoord","_unsigned_int",0},
6504 { "_wxCoord","_wxWindowID",0},
6505 { "_wxCoord","_uint",0},
6506 { "_wxCoord","_EBool",0},
6507 { "_wxCoord","_size_t",0},
6508 { "_wxCoord","_time_t",0},
6509 { "_wxCoord","_wxPrintQuality",0},
6510 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6511 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6512 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6515 static PyObject
*SWIG_globals
;
6519 SWIGEXPORT(void) inithtmlc() {
6521 SWIG_globals
= SWIG_newvarlink();
6522 m
= Py_InitModule("htmlc", htmlcMethods
);
6523 d
= PyModule_GetDict(m
);
6524 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6525 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6526 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6527 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6528 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6529 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6530 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6531 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6532 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6533 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6534 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6535 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6536 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6537 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6538 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6539 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6540 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6541 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6542 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6543 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6544 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6545 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6550 wxClassInfo::CleanUpClasses();
6551 wxClassInfo::InitializeClasses();
6553 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6554 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6555 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6558 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6559 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);