]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/html.cpp
Some little tweaks...
[wxWidgets.git] / wxPython / src / gtk / html.cpp
1 /*
2 * FILE : src/gtk/html.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init inithtmlc
53
54 #define SWIG_name "htmlc"
55
56 #include "export.h"
57 #include <wx/html/htmlwin.h>
58 #include <wx/html/htmprint.h>
59 #include <wx/image.h>
60 #include <wx/fs_zip.h>
61 #include <wx/fs_inet.h>
62 #include <wx/wfstream.h>
63
64 #include "printfw.h"
65
66 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
67 PyObject* o2;
68 if (!target) {
69 target = o;
70 } else if (target == Py_None) {
71 Py_DECREF(Py_None);
72 target = o;
73 } else {
74 if (!PyList_Check(target)) {
75 o2 = target;
76 target = PyList_New(0);
77 PyList_Append(target, o2);
78 Py_XDECREF(o2);
79 }
80 PyList_Append(target,o);
81 Py_XDECREF(o);
82 }
83 return target;
84 }
85
86 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
87 PyObject* o2;
88 PyObject* o3;
89
90 if (!target) {
91 target = o;
92 } else if (target == Py_None) {
93 Py_DECREF(Py_None);
94 target = o;
95 } else {
96 if (!PyTuple_Check(target)) {
97 o2 = target;
98 target = PyTuple_New(1);
99 PyTuple_SetItem(target, 0, o2);
100 }
101 o3 = PyTuple_New(1);
102 PyTuple_SetItem(o3, 0, o);
103
104 o2 = target;
105 target = PySequence_Concat(o2, o3);
106 Py_DECREF(o2);
107 Py_DECREF(o3);
108 }
109 return target;
110 }
111
112 #if PYTHON_API_VERSION >= 1009
113 static char* wxStringErrorMsg = "String or Unicode type required";
114 #else
115 static char* wxStringErrorMsg = "String type required";
116 #endif
117
118 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
119 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler);
120 public:
121 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
122
123 wxHtmlParser* GetParser() { return m_Parser; }
124 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
125
126 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
127 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
128
129 PYPRIVATE;
130 };
131
132 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler, wxHtmlTagHandler);
133
134 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
135 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
136
137 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
138 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler);
139 public:
140 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
141
142 wxHtmlWinParser* GetParser() { return m_WParser; }
143 void ParseInner(const wxHtmlTag& tag)
144 { wxHtmlWinTagHandler::ParseInner(tag); }
145
146 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
147 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
148
149 PYPRIVATE;
150 };
151
152 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler, wxHtmlWinTagHandler);
153
154 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
155 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
156
157
158 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
159 public:
160 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
161 m_tagHandlerClass = thc;
162 Py_INCREF(m_tagHandlerClass);
163 RegisterModule(this);
164 wxHtmlWinParser::AddModule(this);
165 }
166
167 void OnExit() {
168 wxPyTState* state = wxPyBeginBlockThreads();
169 Py_DECREF(m_tagHandlerClass);
170 m_tagHandlerClass = NULL;
171 for (size_t x=0; x < m_objArray.GetCount(); x++) {
172 PyObject* obj = (PyObject*)m_objArray.Item(x);
173 Py_DECREF(obj);
174 }
175 wxPyEndBlockThreads(state);
176 };
177
178 void FillHandlersTable(wxHtmlWinParser *parser) {
179 // Wave our magic wand... (if it works it's a miracle! ;-)
180
181 // First, make a new instance of the tag handler
182 wxPyTState* state = wxPyBeginBlockThreads();
183 PyObject* arg = Py_BuildValue("()");
184 PyObject* obj = PyInstance_New(m_tagHandlerClass, arg, NULL);
185 Py_DECREF(arg);
186 wxPyEndBlockThreads(state);
187
188 // now figure out where it's C++ object is...
189 wxPyHtmlWinTagHandler* thPtr;
190 if (SWIG_GetPtrObj(obj, (void **)&thPtr, "_wxPyHtmlWinTagHandler_p"))
191 return;
192
193 // add it,
194 parser->AddTagHandler(thPtr);
195
196 // and track it.
197 m_objArray.Add(obj);
198 }
199
200 private:
201 PyObject* m_tagHandlerClass;
202 wxArrayPtrVoid m_objArray;
203
204 };
205
206 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
207 // Dynamically create a new wxModule. Refcounts tagHandlerClass
208 // and adds itself to the wxModules list and to the wxHtmlWinParser.
209 new wxPyHtmlTagsModule(tagHandlerClass);
210 }
211
212 class wxPyHtmlWindow : public wxHtmlWindow {
213 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow);
214 public:
215 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
216 const wxPoint& pos = wxDefaultPosition,
217 const wxSize& size = wxDefaultSize,
218 long style = wxHW_SCROLLBAR_AUTO,
219 const wxString& name = "htmlWindow")
220 : wxHtmlWindow(parent, id, pos, size, style, name) {};
221
222 void OnLinkClicked(const wxHtmlLinkInfo& link);
223 void base_OnLinkClicked(const wxHtmlLinkInfo& link);
224
225 DEC_PYCALLBACK__STRING(OnSetTitle);
226 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover);
227 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked);
228 PYPRIVATE;
229 };
230
231 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow, wxHtmlWindow );
232 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnSetTitle);
233 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow, wxHtmlWindow, OnCellMouseHover);
234 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow, wxHtmlWindow, OnCellClicked);
235
236
237 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) {
238 bool found;
239 wxPyTState* state = wxPyBeginBlockThreads();
240 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
241 PyObject* obj = wxPyConstructObject((void*)&link, "wxHtmlLinkInfo", 0);
242 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", obj));
243 Py_DECREF(obj);
244 }
245 wxPyEndBlockThreads(state);
246 if (! found)
247 wxHtmlWindow::OnLinkClicked(link);
248 }
249 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo& link) {
250 wxHtmlWindow::OnLinkClicked(link);
251 }
252
253
254 void wxHtmlWindow_AddFilter(wxHtmlFilter *filter) {
255 wxHtmlWindow::AddFilter(filter);
256 }
257
258 extern "C" SWIGEXPORT(void) inithtmlhelpc();
259 #ifdef __cplusplus
260 extern "C" {
261 #endif
262 static PyObject *_wrap_wxHtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
263 PyObject * _resultobj;
264 PyObject * _arg0;
265 PyObject * _obj0 = 0;
266 char *_kwnames[] = { "tagHandlerClass", NULL };
267
268 self = self;
269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_AddTagHandler",_kwnames,&_obj0))
270 return NULL;
271 {
272 _arg0 = _obj0;
273 }
274 {
275 wxPy_BEGIN_ALLOW_THREADS;
276 wxHtmlWinParser_AddTagHandler(_arg0);
277
278 wxPy_END_ALLOW_THREADS;
279 } Py_INCREF(Py_None);
280 _resultobj = Py_None;
281 return _resultobj;
282 }
283
284 static PyObject *_wrap_wxHtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
285 PyObject * _resultobj;
286 wxHtmlFilter * _arg0;
287 PyObject * _argo0 = 0;
288 char *_kwnames[] = { "filter", NULL };
289
290 self = self;
291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_AddFilter",_kwnames,&_argo0))
292 return NULL;
293 if (_argo0) {
294 if (_argo0 == Py_None) { _arg0 = NULL; }
295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlFilter_p")) {
296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
297 return NULL;
298 }
299 }
300 {
301 wxPy_BEGIN_ALLOW_THREADS;
302 wxHtmlWindow_AddFilter(_arg0);
303
304 wxPy_END_ALLOW_THREADS;
305 } Py_INCREF(Py_None);
306 _resultobj = Py_None;
307 return _resultobj;
308 }
309
310 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr) {
311 wxHtmlLinkInfo *src;
312 wxObject *dest;
313 src = (wxHtmlLinkInfo *) ptr;
314 dest = (wxObject *) src;
315 return (void *) dest;
316 }
317
318 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
319 static PyObject *_wrap_new_wxHtmlLinkInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
320 PyObject * _resultobj;
321 wxHtmlLinkInfo * _result;
322 wxString * _arg0;
323 wxString * _arg1 = (wxString *) &wxEmptyString;
324 PyObject * _obj0 = 0;
325 PyObject * _obj1 = 0;
326 char *_kwnames[] = { "href","target", NULL };
327 char _ptemp[128];
328
329 self = self;
330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:new_wxHtmlLinkInfo",_kwnames,&_obj0,&_obj1))
331 return NULL;
332 {
333 #if PYTHON_API_VERSION >= 1009
334 char* tmpPtr; int tmpSize;
335 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
336 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
337 return NULL;
338 }
339 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
340 return NULL;
341 _arg0 = new wxString(tmpPtr, tmpSize);
342 #else
343 if (!PyString_Check(_obj0)) {
344 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
345 return NULL;
346 }
347 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
348 #endif
349 }
350 if (_obj1)
351 {
352 #if PYTHON_API_VERSION >= 1009
353 char* tmpPtr; int tmpSize;
354 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
355 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
356 return NULL;
357 }
358 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
359 return NULL;
360 _arg1 = new wxString(tmpPtr, tmpSize);
361 #else
362 if (!PyString_Check(_obj1)) {
363 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
364 return NULL;
365 }
366 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
367 #endif
368 }
369 {
370 wxPy_BEGIN_ALLOW_THREADS;
371 _result = (wxHtmlLinkInfo *)new_wxHtmlLinkInfo(*_arg0,*_arg1);
372
373 wxPy_END_ALLOW_THREADS;
374 } if (_result) {
375 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlLinkInfo_p");
376 _resultobj = Py_BuildValue("s",_ptemp);
377 } else {
378 Py_INCREF(Py_None);
379 _resultobj = Py_None;
380 }
381 {
382 if (_obj0)
383 delete _arg0;
384 }
385 {
386 if (_obj1)
387 delete _arg1;
388 }
389 return _resultobj;
390 }
391
392 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
393 static PyObject *_wrap_wxHtmlLinkInfo_GetHref(PyObject *self, PyObject *args, PyObject *kwargs) {
394 PyObject * _resultobj;
395 wxString * _result;
396 wxHtmlLinkInfo * _arg0;
397 PyObject * _argo0 = 0;
398 char *_kwnames[] = { "self", NULL };
399
400 self = self;
401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlLinkInfo_GetHref",_kwnames,&_argo0))
402 return NULL;
403 if (_argo0) {
404 if (_argo0 == Py_None) { _arg0 = NULL; }
405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) {
406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
407 return NULL;
408 }
409 }
410 {
411 wxPy_BEGIN_ALLOW_THREADS;
412 _result = new wxString (wxHtmlLinkInfo_GetHref(_arg0));
413
414 wxPy_END_ALLOW_THREADS;
415 }{
416 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
417 }
418 {
419 delete _result;
420 }
421 return _resultobj;
422 }
423
424 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
425 static PyObject *_wrap_wxHtmlLinkInfo_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
426 PyObject * _resultobj;
427 wxString * _result;
428 wxHtmlLinkInfo * _arg0;
429 PyObject * _argo0 = 0;
430 char *_kwnames[] = { "self", NULL };
431
432 self = self;
433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlLinkInfo_GetTarget",_kwnames,&_argo0))
434 return NULL;
435 if (_argo0) {
436 if (_argo0 == Py_None) { _arg0 = NULL; }
437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) {
438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
439 return NULL;
440 }
441 }
442 {
443 wxPy_BEGIN_ALLOW_THREADS;
444 _result = new wxString (wxHtmlLinkInfo_GetTarget(_arg0));
445
446 wxPy_END_ALLOW_THREADS;
447 }{
448 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
449 }
450 {
451 delete _result;
452 }
453 return _resultobj;
454 }
455
456 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
457 static PyObject *_wrap_wxHtmlLinkInfo_GetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
458 PyObject * _resultobj;
459 wxMouseEvent * _result;
460 wxHtmlLinkInfo * _arg0;
461 PyObject * _argo0 = 0;
462 char *_kwnames[] = { "self", NULL };
463
464 self = self;
465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlLinkInfo_GetEvent",_kwnames,&_argo0))
466 return NULL;
467 if (_argo0) {
468 if (_argo0 == Py_None) { _arg0 = NULL; }
469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) {
470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
471 return NULL;
472 }
473 }
474 {
475 wxPy_BEGIN_ALLOW_THREADS;
476 _result = (wxMouseEvent *)wxHtmlLinkInfo_GetEvent(_arg0);
477
478 wxPy_END_ALLOW_THREADS;
479 }{ _resultobj = wxPyMake_wxObject(_result); }
480 return _resultobj;
481 }
482
483 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
484 static PyObject *_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
485 PyObject * _resultobj;
486 wxHtmlCell * _result;
487 wxHtmlLinkInfo * _arg0;
488 PyObject * _argo0 = 0;
489 char *_kwnames[] = { "self", NULL };
490 char _ptemp[128];
491
492 self = self;
493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames,&_argo0))
494 return NULL;
495 if (_argo0) {
496 if (_argo0 == Py_None) { _arg0 = NULL; }
497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) {
498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
499 return NULL;
500 }
501 }
502 {
503 wxPy_BEGIN_ALLOW_THREADS;
504 _result = (wxHtmlCell *)wxHtmlLinkInfo_GetHtmlCell(_arg0);
505
506 wxPy_END_ALLOW_THREADS;
507 } if (_result) {
508 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
509 _resultobj = Py_BuildValue("s",_ptemp);
510 } else {
511 Py_INCREF(Py_None);
512 _resultobj = Py_None;
513 }
514 return _resultobj;
515 }
516
517 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
518 static PyObject *_wrap_wxHtmlLinkInfo_SetEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
519 PyObject * _resultobj;
520 wxHtmlLinkInfo * _arg0;
521 wxMouseEvent * _arg1;
522 PyObject * _argo0 = 0;
523 PyObject * _argo1 = 0;
524 char *_kwnames[] = { "self","e", NULL };
525
526 self = self;
527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlLinkInfo_SetEvent",_kwnames,&_argo0,&_argo1))
528 return NULL;
529 if (_argo0) {
530 if (_argo0 == Py_None) { _arg0 = NULL; }
531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) {
532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
533 return NULL;
534 }
535 }
536 if (_argo1) {
537 if (_argo1 == Py_None) { _arg1 = NULL; }
538 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMouseEvent_p")) {
539 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
540 return NULL;
541 }
542 }
543 {
544 wxPy_BEGIN_ALLOW_THREADS;
545 wxHtmlLinkInfo_SetEvent(_arg0,_arg1);
546
547 wxPy_END_ALLOW_THREADS;
548 } Py_INCREF(Py_None);
549 _resultobj = Py_None;
550 return _resultobj;
551 }
552
553 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
554 static PyObject *_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
555 PyObject * _resultobj;
556 wxHtmlLinkInfo * _arg0;
557 wxHtmlCell * _arg1;
558 PyObject * _argo0 = 0;
559 PyObject * _argo1 = 0;
560 char *_kwnames[] = { "self","e", NULL };
561
562 self = self;
563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames,&_argo0,&_argo1))
564 return NULL;
565 if (_argo0) {
566 if (_argo0 == Py_None) { _arg0 = NULL; }
567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlLinkInfo_p")) {
568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
569 return NULL;
570 }
571 }
572 if (_argo1) {
573 if (_argo1 == Py_None) { _arg1 = NULL; }
574 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
575 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
576 return NULL;
577 }
578 }
579 {
580 wxPy_BEGIN_ALLOW_THREADS;
581 wxHtmlLinkInfo_SetHtmlCell(_arg0,_arg1);
582
583 wxPy_END_ALLOW_THREADS;
584 } Py_INCREF(Py_None);
585 _resultobj = Py_None;
586 return _resultobj;
587 }
588
589 static void *SwigwxHtmlTagTowxObject(void *ptr) {
590 wxHtmlTag *src;
591 wxObject *dest;
592 src = (wxHtmlTag *) ptr;
593 dest = (wxObject *) src;
594 return (void *) dest;
595 }
596
597 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
598 static PyObject *_wrap_wxHtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
599 PyObject * _resultobj;
600 wxString * _result;
601 wxHtmlTag * _arg0;
602 PyObject * _argo0 = 0;
603 char *_kwnames[] = { "self", NULL };
604
605 self = self;
606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetName",_kwnames,&_argo0))
607 return NULL;
608 if (_argo0) {
609 if (_argo0 == Py_None) { _arg0 = NULL; }
610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
612 return NULL;
613 }
614 }
615 {
616 wxPy_BEGIN_ALLOW_THREADS;
617 _result = new wxString (wxHtmlTag_GetName(_arg0));
618
619 wxPy_END_ALLOW_THREADS;
620 }{
621 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
622 }
623 {
624 delete _result;
625 }
626 return _resultobj;
627 }
628
629 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
630 static PyObject *_wrap_wxHtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
631 PyObject * _resultobj;
632 bool _result;
633 wxHtmlTag * _arg0;
634 wxString * _arg1;
635 PyObject * _argo0 = 0;
636 PyObject * _obj1 = 0;
637 char *_kwnames[] = { "self","par", NULL };
638
639 self = self;
640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTag_HasParam",_kwnames,&_argo0,&_obj1))
641 return NULL;
642 if (_argo0) {
643 if (_argo0 == Py_None) { _arg0 = NULL; }
644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
646 return NULL;
647 }
648 }
649 {
650 #if PYTHON_API_VERSION >= 1009
651 char* tmpPtr; int tmpSize;
652 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
653 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
654 return NULL;
655 }
656 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
657 return NULL;
658 _arg1 = new wxString(tmpPtr, tmpSize);
659 #else
660 if (!PyString_Check(_obj1)) {
661 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
662 return NULL;
663 }
664 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
665 #endif
666 }
667 {
668 wxPy_BEGIN_ALLOW_THREADS;
669 _result = (bool )wxHtmlTag_HasParam(_arg0,*_arg1);
670
671 wxPy_END_ALLOW_THREADS;
672 } _resultobj = Py_BuildValue("i",_result);
673 {
674 if (_obj1)
675 delete _arg1;
676 }
677 return _resultobj;
678 }
679
680 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
681 static PyObject *_wrap_wxHtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
682 PyObject * _resultobj;
683 wxString * _result;
684 wxHtmlTag * _arg0;
685 wxString * _arg1;
686 int _arg2 = (int ) FALSE;
687 PyObject * _argo0 = 0;
688 PyObject * _obj1 = 0;
689 char *_kwnames[] = { "self","par","with_commas", NULL };
690
691 self = self;
692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlTag_GetParam",_kwnames,&_argo0,&_obj1,&_arg2))
693 return NULL;
694 if (_argo0) {
695 if (_argo0 == Py_None) { _arg0 = NULL; }
696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
698 return NULL;
699 }
700 }
701 {
702 #if PYTHON_API_VERSION >= 1009
703 char* tmpPtr; int tmpSize;
704 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
705 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
706 return NULL;
707 }
708 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
709 return NULL;
710 _arg1 = new wxString(tmpPtr, tmpSize);
711 #else
712 if (!PyString_Check(_obj1)) {
713 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
714 return NULL;
715 }
716 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
717 #endif
718 }
719 {
720 wxPy_BEGIN_ALLOW_THREADS;
721 _result = new wxString (wxHtmlTag_GetParam(_arg0,*_arg1,_arg2));
722
723 wxPy_END_ALLOW_THREADS;
724 }{
725 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
726 }
727 {
728 if (_obj1)
729 delete _arg1;
730 }
731 {
732 delete _result;
733 }
734 return _resultobj;
735 }
736
737 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
738 static PyObject *_wrap_wxHtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
739 PyObject * _resultobj;
740 wxString * _result;
741 wxHtmlTag * _arg0;
742 PyObject * _argo0 = 0;
743 char *_kwnames[] = { "self", NULL };
744
745 self = self;
746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetAllParams",_kwnames,&_argo0))
747 return NULL;
748 if (_argo0) {
749 if (_argo0 == Py_None) { _arg0 = NULL; }
750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
752 return NULL;
753 }
754 }
755 {
756 wxPy_BEGIN_ALLOW_THREADS;
757 _result = new wxString (wxHtmlTag_GetAllParams(_arg0));
758
759 wxPy_END_ALLOW_THREADS;
760 }{
761 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
762 }
763 {
764 delete _result;
765 }
766 return _resultobj;
767 }
768
769 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
770 static PyObject *_wrap_wxHtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
771 PyObject * _resultobj;
772 bool _result;
773 wxHtmlTag * _arg0;
774 PyObject * _argo0 = 0;
775 char *_kwnames[] = { "self", NULL };
776
777 self = self;
778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_HasEnding",_kwnames,&_argo0))
779 return NULL;
780 if (_argo0) {
781 if (_argo0 == Py_None) { _arg0 = NULL; }
782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
784 return NULL;
785 }
786 }
787 {
788 wxPy_BEGIN_ALLOW_THREADS;
789 _result = (bool )wxHtmlTag_HasEnding(_arg0);
790
791 wxPy_END_ALLOW_THREADS;
792 } _resultobj = Py_BuildValue("i",_result);
793 return _resultobj;
794 }
795
796 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
797 static PyObject *_wrap_wxHtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
798 PyObject * _resultobj;
799 int _result;
800 wxHtmlTag * _arg0;
801 PyObject * _argo0 = 0;
802 char *_kwnames[] = { "self", NULL };
803
804 self = self;
805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetBeginPos",_kwnames,&_argo0))
806 return NULL;
807 if (_argo0) {
808 if (_argo0 == Py_None) { _arg0 = NULL; }
809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
811 return NULL;
812 }
813 }
814 {
815 wxPy_BEGIN_ALLOW_THREADS;
816 _result = (int )wxHtmlTag_GetBeginPos(_arg0);
817
818 wxPy_END_ALLOW_THREADS;
819 } _resultobj = Py_BuildValue("i",_result);
820 return _resultobj;
821 }
822
823 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
824 static PyObject *_wrap_wxHtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
825 PyObject * _resultobj;
826 int _result;
827 wxHtmlTag * _arg0;
828 PyObject * _argo0 = 0;
829 char *_kwnames[] = { "self", NULL };
830
831 self = self;
832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos1",_kwnames,&_argo0))
833 return NULL;
834 if (_argo0) {
835 if (_argo0 == Py_None) { _arg0 = NULL; }
836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
838 return NULL;
839 }
840 }
841 {
842 wxPy_BEGIN_ALLOW_THREADS;
843 _result = (int )wxHtmlTag_GetEndPos1(_arg0);
844
845 wxPy_END_ALLOW_THREADS;
846 } _resultobj = Py_BuildValue("i",_result);
847 return _resultobj;
848 }
849
850 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
851 static PyObject *_wrap_wxHtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
852 PyObject * _resultobj;
853 int _result;
854 wxHtmlTag * _arg0;
855 PyObject * _argo0 = 0;
856 char *_kwnames[] = { "self", NULL };
857
858 self = self;
859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos2",_kwnames,&_argo0))
860 return NULL;
861 if (_argo0) {
862 if (_argo0 == Py_None) { _arg0 = NULL; }
863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
865 return NULL;
866 }
867 }
868 {
869 wxPy_BEGIN_ALLOW_THREADS;
870 _result = (int )wxHtmlTag_GetEndPos2(_arg0);
871
872 wxPy_END_ALLOW_THREADS;
873 } _resultobj = Py_BuildValue("i",_result);
874 return _resultobj;
875 }
876
877 static void *SwigwxHtmlParserTowxObject(void *ptr) {
878 wxHtmlParser *src;
879 wxObject *dest;
880 src = (wxHtmlParser *) ptr;
881 dest = (wxObject *) src;
882 return (void *) dest;
883 }
884
885 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
886 static PyObject *_wrap_wxHtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
887 PyObject * _resultobj;
888 wxHtmlParser * _arg0;
889 wxFileSystem * _arg1;
890 PyObject * _argo0 = 0;
891 PyObject * _argo1 = 0;
892 char *_kwnames[] = { "self","fs", NULL };
893
894 self = self;
895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_SetFS",_kwnames,&_argo0,&_argo1))
896 return NULL;
897 if (_argo0) {
898 if (_argo0 == Py_None) { _arg0 = NULL; }
899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
901 return NULL;
902 }
903 }
904 if (_argo1) {
905 if (_argo1 == Py_None) { _arg1 = NULL; }
906 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) {
907 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
908 return NULL;
909 }
910 }
911 {
912 wxPy_BEGIN_ALLOW_THREADS;
913 wxHtmlParser_SetFS(_arg0,_arg1);
914
915 wxPy_END_ALLOW_THREADS;
916 } Py_INCREF(Py_None);
917 _resultobj = Py_None;
918 return _resultobj;
919 }
920
921 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
922 static PyObject *_wrap_wxHtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
923 PyObject * _resultobj;
924 wxFileSystem * _result;
925 wxHtmlParser * _arg0;
926 PyObject * _argo0 = 0;
927 char *_kwnames[] = { "self", NULL };
928
929 self = self;
930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetFS",_kwnames,&_argo0))
931 return NULL;
932 if (_argo0) {
933 if (_argo0 == Py_None) { _arg0 = NULL; }
934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
936 return NULL;
937 }
938 }
939 {
940 wxPy_BEGIN_ALLOW_THREADS;
941 _result = (wxFileSystem *)wxHtmlParser_GetFS(_arg0);
942
943 wxPy_END_ALLOW_THREADS;
944 }{ _resultobj = wxPyMake_wxObject(_result); }
945 return _resultobj;
946 }
947
948 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
949 static PyObject *_wrap_wxHtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
950 PyObject * _resultobj;
951 wxObject * _result;
952 wxHtmlParser * _arg0;
953 wxString * _arg1;
954 PyObject * _argo0 = 0;
955 PyObject * _obj1 = 0;
956 char *_kwnames[] = { "self","source", NULL };
957
958 self = self;
959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_Parse",_kwnames,&_argo0,&_obj1))
960 return NULL;
961 if (_argo0) {
962 if (_argo0 == Py_None) { _arg0 = NULL; }
963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
965 return NULL;
966 }
967 }
968 {
969 #if PYTHON_API_VERSION >= 1009
970 char* tmpPtr; int tmpSize;
971 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
972 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
973 return NULL;
974 }
975 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
976 return NULL;
977 _arg1 = new wxString(tmpPtr, tmpSize);
978 #else
979 if (!PyString_Check(_obj1)) {
980 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
981 return NULL;
982 }
983 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
984 #endif
985 }
986 {
987 wxPy_BEGIN_ALLOW_THREADS;
988 _result = (wxObject *)wxHtmlParser_Parse(_arg0,*_arg1);
989
990 wxPy_END_ALLOW_THREADS;
991 }{ _resultobj = wxPyMake_wxObject(_result); }
992 {
993 if (_obj1)
994 delete _arg1;
995 }
996 return _resultobj;
997 }
998
999 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1000 static PyObject *_wrap_wxHtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject * _resultobj;
1002 wxHtmlParser * _arg0;
1003 wxString * _arg1;
1004 PyObject * _argo0 = 0;
1005 PyObject * _obj1 = 0;
1006 char *_kwnames[] = { "self","source", NULL };
1007
1008 self = self;
1009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_InitParser",_kwnames,&_argo0,&_obj1))
1010 return NULL;
1011 if (_argo0) {
1012 if (_argo0 == Py_None) { _arg0 = NULL; }
1013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
1014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1015 return NULL;
1016 }
1017 }
1018 {
1019 #if PYTHON_API_VERSION >= 1009
1020 char* tmpPtr; int tmpSize;
1021 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1022 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1023 return NULL;
1024 }
1025 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1026 return NULL;
1027 _arg1 = new wxString(tmpPtr, tmpSize);
1028 #else
1029 if (!PyString_Check(_obj1)) {
1030 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1031 return NULL;
1032 }
1033 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1034 #endif
1035 }
1036 {
1037 wxPy_BEGIN_ALLOW_THREADS;
1038 wxHtmlParser_InitParser(_arg0,*_arg1);
1039
1040 wxPy_END_ALLOW_THREADS;
1041 } Py_INCREF(Py_None);
1042 _resultobj = Py_None;
1043 {
1044 if (_obj1)
1045 delete _arg1;
1046 }
1047 return _resultobj;
1048 }
1049
1050 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1051 static PyObject *_wrap_wxHtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1052 PyObject * _resultobj;
1053 wxHtmlParser * _arg0;
1054 PyObject * _argo0 = 0;
1055 char *_kwnames[] = { "self", NULL };
1056
1057 self = self;
1058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_DoneParser",_kwnames,&_argo0))
1059 return NULL;
1060 if (_argo0) {
1061 if (_argo0 == Py_None) { _arg0 = NULL; }
1062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
1063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1064 return NULL;
1065 }
1066 }
1067 {
1068 wxPy_BEGIN_ALLOW_THREADS;
1069 wxHtmlParser_DoneParser(_arg0);
1070
1071 wxPy_END_ALLOW_THREADS;
1072 } Py_INCREF(Py_None);
1073 _resultobj = Py_None;
1074 return _resultobj;
1075 }
1076
1077 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1078 static PyObject *_wrap_wxHtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
1079 PyObject * _resultobj;
1080 wxHtmlParser * _arg0;
1081 int _arg1;
1082 int _arg2;
1083 PyObject * _argo0 = 0;
1084 char *_kwnames[] = { "self","begin_pos","end_pos", NULL };
1085
1086 self = self;
1087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlParser_DoParsing",_kwnames,&_argo0,&_arg1,&_arg2))
1088 return NULL;
1089 if (_argo0) {
1090 if (_argo0 == Py_None) { _arg0 = NULL; }
1091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
1092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1093 return NULL;
1094 }
1095 }
1096 {
1097 wxPy_BEGIN_ALLOW_THREADS;
1098 wxHtmlParser_DoParsing(_arg0,_arg1,_arg2);
1099
1100 wxPy_END_ALLOW_THREADS;
1101 } Py_INCREF(Py_None);
1102 _resultobj = Py_None;
1103 return _resultobj;
1104 }
1105
1106 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1107 static PyObject *_wrap_wxHtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1108 PyObject * _resultobj;
1109 wxHtmlParser * _arg0;
1110 wxHtmlTagHandler * _arg1;
1111 PyObject * _argo0 = 0;
1112 PyObject * _argo1 = 0;
1113 char *_kwnames[] = { "self","handler", NULL };
1114
1115 self = self;
1116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_AddTagHandler",_kwnames,&_argo0,&_argo1))
1117 return NULL;
1118 if (_argo0) {
1119 if (_argo0 == Py_None) { _arg0 = NULL; }
1120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
1121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1122 return NULL;
1123 }
1124 }
1125 if (_argo1) {
1126 if (_argo1 == Py_None) { _arg1 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTagHandler_p")) {
1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1129 return NULL;
1130 }
1131 }
1132 {
1133 wxPy_BEGIN_ALLOW_THREADS;
1134 wxHtmlParser_AddTagHandler(_arg0,_arg1);
1135
1136 wxPy_END_ALLOW_THREADS;
1137 } Py_INCREF(Py_None);
1138 _resultobj = Py_None;
1139 return _resultobj;
1140 }
1141
1142 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1143 static PyObject *_wrap_wxHtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
1144 PyObject * _resultobj;
1145 wxString * _result;
1146 wxHtmlParser * _arg0;
1147 PyObject * _argo0 = 0;
1148 char *_kwnames[] = { "self", NULL };
1149
1150 self = self;
1151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetSource",_kwnames,&_argo0))
1152 return NULL;
1153 if (_argo0) {
1154 if (_argo0 == Py_None) { _arg0 = NULL; }
1155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1157 return NULL;
1158 }
1159 }
1160 {
1161 wxPy_BEGIN_ALLOW_THREADS;
1162 _result = (wxString *)wxHtmlParser_GetSource(_arg0);
1163
1164 wxPy_END_ALLOW_THREADS;
1165 }{
1166 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1167 }
1168 return _resultobj;
1169 }
1170
1171 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1172 static PyObject *_wrap_wxHtmlParser_PushTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject * _resultobj;
1174 wxHtmlParser * _arg0;
1175 wxHtmlTagHandler * _arg1;
1176 wxString * _arg2;
1177 PyObject * _argo0 = 0;
1178 PyObject * _argo1 = 0;
1179 PyObject * _obj2 = 0;
1180 char *_kwnames[] = { "self","handler","tags", NULL };
1181
1182 self = self;
1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlParser_PushTagHandler",_kwnames,&_argo0,&_argo1,&_obj2))
1184 return NULL;
1185 if (_argo0) {
1186 if (_argo0 == Py_None) { _arg0 = NULL; }
1187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
1188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1189 return NULL;
1190 }
1191 }
1192 if (_argo1) {
1193 if (_argo1 == Py_None) { _arg1 = NULL; }
1194 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTagHandler_p")) {
1195 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1196 return NULL;
1197 }
1198 }
1199 {
1200 #if PYTHON_API_VERSION >= 1009
1201 char* tmpPtr; int tmpSize;
1202 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1203 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1204 return NULL;
1205 }
1206 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1207 return NULL;
1208 _arg2 = new wxString(tmpPtr, tmpSize);
1209 #else
1210 if (!PyString_Check(_obj2)) {
1211 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1212 return NULL;
1213 }
1214 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1215 #endif
1216 }
1217 {
1218 wxPy_BEGIN_ALLOW_THREADS;
1219 wxHtmlParser_PushTagHandler(_arg0,_arg1,*_arg2);
1220
1221 wxPy_END_ALLOW_THREADS;
1222 } Py_INCREF(Py_None);
1223 _resultobj = Py_None;
1224 {
1225 if (_obj2)
1226 delete _arg2;
1227 }
1228 return _resultobj;
1229 }
1230
1231 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1232 static PyObject *_wrap_wxHtmlParser_PopTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1233 PyObject * _resultobj;
1234 wxHtmlParser * _arg0;
1235 PyObject * _argo0 = 0;
1236 char *_kwnames[] = { "self", NULL };
1237
1238 self = self;
1239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_PopTagHandler",_kwnames,&_argo0))
1240 return NULL;
1241 if (_argo0) {
1242 if (_argo0 == Py_None) { _arg0 = NULL; }
1243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
1244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1245 return NULL;
1246 }
1247 }
1248 {
1249 wxPy_BEGIN_ALLOW_THREADS;
1250 wxHtmlParser_PopTagHandler(_arg0);
1251
1252 wxPy_END_ALLOW_THREADS;
1253 } Py_INCREF(Py_None);
1254 _resultobj = Py_None;
1255 return _resultobj;
1256 }
1257
1258 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr) {
1259 wxHtmlWinParser *src;
1260 wxHtmlParser *dest;
1261 src = (wxHtmlWinParser *) ptr;
1262 dest = (wxHtmlParser *) src;
1263 return (void *) dest;
1264 }
1265
1266 static void *SwigwxHtmlWinParserTowxObject(void *ptr) {
1267 wxHtmlWinParser *src;
1268 wxObject *dest;
1269 src = (wxHtmlWinParser *) ptr;
1270 dest = (wxObject *) src;
1271 return (void *) dest;
1272 }
1273
1274 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1275 static PyObject *_wrap_new_wxHtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject * _resultobj;
1277 wxHtmlWinParser * _result;
1278 wxWindow * _arg0;
1279 PyObject * _argo0 = 0;
1280 char *_kwnames[] = { "wnd", NULL };
1281 char _ptemp[128];
1282
1283 self = self;
1284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlWinParser",_kwnames,&_argo0))
1285 return NULL;
1286 if (_argo0) {
1287 if (_argo0 == Py_None) { _arg0 = NULL; }
1288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1290 return NULL;
1291 }
1292 }
1293 {
1294 wxPy_BEGIN_ALLOW_THREADS;
1295 _result = (wxHtmlWinParser *)new_wxHtmlWinParser(_arg0);
1296
1297 wxPy_END_ALLOW_THREADS;
1298 } if (_result) {
1299 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
1300 _resultobj = Py_BuildValue("s",_ptemp);
1301 } else {
1302 Py_INCREF(Py_None);
1303 _resultobj = Py_None;
1304 }
1305 return _resultobj;
1306 }
1307
1308 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1309 static PyObject *_wrap_wxHtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1310 PyObject * _resultobj;
1311 wxHtmlWinParser * _arg0;
1312 wxDC * _arg1;
1313 PyObject * _argo0 = 0;
1314 PyObject * _argo1 = 0;
1315 char *_kwnames[] = { "self","dc", NULL };
1316
1317 self = self;
1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetDC",_kwnames,&_argo0,&_argo1))
1319 return NULL;
1320 if (_argo0) {
1321 if (_argo0 == Py_None) { _arg0 = NULL; }
1322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1324 return NULL;
1325 }
1326 }
1327 if (_argo1) {
1328 if (_argo1 == Py_None) { _arg1 = NULL; }
1329 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1330 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1331 return NULL;
1332 }
1333 }
1334 {
1335 wxPy_BEGIN_ALLOW_THREADS;
1336 wxHtmlWinParser_SetDC(_arg0,_arg1);
1337
1338 wxPy_END_ALLOW_THREADS;
1339 } Py_INCREF(Py_None);
1340 _resultobj = Py_None;
1341 return _resultobj;
1342 }
1343
1344 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1345 static PyObject *_wrap_wxHtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject * _resultobj;
1347 wxDC * _result;
1348 wxHtmlWinParser * _arg0;
1349 PyObject * _argo0 = 0;
1350 char *_kwnames[] = { "self", NULL };
1351
1352 self = self;
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetDC",_kwnames,&_argo0))
1354 return NULL;
1355 if (_argo0) {
1356 if (_argo0 == Py_None) { _arg0 = NULL; }
1357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1359 return NULL;
1360 }
1361 }
1362 {
1363 wxPy_BEGIN_ALLOW_THREADS;
1364 _result = (wxDC *)wxHtmlWinParser_GetDC(_arg0);
1365
1366 wxPy_END_ALLOW_THREADS;
1367 }{ _resultobj = wxPyMake_wxObject(_result); }
1368 return _resultobj;
1369 }
1370
1371 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1372 static PyObject *_wrap_wxHtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1373 PyObject * _resultobj;
1374 int _result;
1375 wxHtmlWinParser * _arg0;
1376 PyObject * _argo0 = 0;
1377 char *_kwnames[] = { "self", NULL };
1378
1379 self = self;
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharHeight",_kwnames,&_argo0))
1381 return NULL;
1382 if (_argo0) {
1383 if (_argo0 == Py_None) { _arg0 = NULL; }
1384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1386 return NULL;
1387 }
1388 }
1389 {
1390 wxPy_BEGIN_ALLOW_THREADS;
1391 _result = (int )wxHtmlWinParser_GetCharHeight(_arg0);
1392
1393 wxPy_END_ALLOW_THREADS;
1394 } _resultobj = Py_BuildValue("i",_result);
1395 return _resultobj;
1396 }
1397
1398 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1399 static PyObject *_wrap_wxHtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject * _resultobj;
1401 int _result;
1402 wxHtmlWinParser * _arg0;
1403 PyObject * _argo0 = 0;
1404 char *_kwnames[] = { "self", NULL };
1405
1406 self = self;
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharWidth",_kwnames,&_argo0))
1408 return NULL;
1409 if (_argo0) {
1410 if (_argo0 == Py_None) { _arg0 = NULL; }
1411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1413 return NULL;
1414 }
1415 }
1416 {
1417 wxPy_BEGIN_ALLOW_THREADS;
1418 _result = (int )wxHtmlWinParser_GetCharWidth(_arg0);
1419
1420 wxPy_END_ALLOW_THREADS;
1421 } _resultobj = Py_BuildValue("i",_result);
1422 return _resultobj;
1423 }
1424
1425 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1426 static PyObject *_wrap_wxHtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1427 PyObject * _resultobj;
1428 wxWindow * _result;
1429 wxHtmlWinParser * _arg0;
1430 PyObject * _argo0 = 0;
1431 char *_kwnames[] = { "self", NULL };
1432
1433 self = self;
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetWindow",_kwnames,&_argo0))
1435 return NULL;
1436 if (_argo0) {
1437 if (_argo0 == Py_None) { _arg0 = NULL; }
1438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1440 return NULL;
1441 }
1442 }
1443 {
1444 wxPy_BEGIN_ALLOW_THREADS;
1445 _result = (wxWindow *)wxHtmlWinParser_GetWindow(_arg0);
1446
1447 wxPy_END_ALLOW_THREADS;
1448 }{ _resultobj = wxPyMake_wxObject(_result); }
1449 return _resultobj;
1450 }
1451
1452 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face,wxString fixed_face,PyObject * sizes) {
1453 int* temp = int_LIST_helper(sizes);
1454 if (temp) {
1455 self->SetFonts(normal_face, fixed_face, temp);
1456 delete [] temp;
1457 }
1458 }
1459 static PyObject *_wrap_wxHtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject * _resultobj;
1461 wxHtmlWinParser * _arg0;
1462 wxString * _arg1;
1463 wxString * _arg2;
1464 PyObject * _arg3;
1465 PyObject * _argo0 = 0;
1466 PyObject * _obj1 = 0;
1467 PyObject * _obj2 = 0;
1468 PyObject * _obj3 = 0;
1469 char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL };
1470
1471 self = self;
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxHtmlWinParser_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
1473 return NULL;
1474 if (_argo0) {
1475 if (_argo0 == Py_None) { _arg0 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1478 return NULL;
1479 }
1480 }
1481 {
1482 #if PYTHON_API_VERSION >= 1009
1483 char* tmpPtr; int tmpSize;
1484 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1485 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1486 return NULL;
1487 }
1488 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1489 return NULL;
1490 _arg1 = new wxString(tmpPtr, tmpSize);
1491 #else
1492 if (!PyString_Check(_obj1)) {
1493 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1494 return NULL;
1495 }
1496 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1497 #endif
1498 }
1499 {
1500 #if PYTHON_API_VERSION >= 1009
1501 char* tmpPtr; int tmpSize;
1502 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1503 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1504 return NULL;
1505 }
1506 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1507 return NULL;
1508 _arg2 = new wxString(tmpPtr, tmpSize);
1509 #else
1510 if (!PyString_Check(_obj2)) {
1511 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1512 return NULL;
1513 }
1514 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1515 #endif
1516 }
1517 {
1518 _arg3 = _obj3;
1519 }
1520 {
1521 wxPy_BEGIN_ALLOW_THREADS;
1522 wxHtmlWinParser_SetFonts(_arg0,*_arg1,*_arg2,_arg3);
1523
1524 wxPy_END_ALLOW_THREADS;
1525 } Py_INCREF(Py_None);
1526 _resultobj = Py_None;
1527 {
1528 if (_obj1)
1529 delete _arg1;
1530 }
1531 {
1532 if (_obj2)
1533 delete _arg2;
1534 }
1535 return _resultobj;
1536 }
1537
1538 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1539 static PyObject *_wrap_wxHtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1540 PyObject * _resultobj;
1541 wxHtmlContainerCell * _result;
1542 wxHtmlWinParser * _arg0;
1543 PyObject * _argo0 = 0;
1544 char *_kwnames[] = { "self", NULL };
1545 char _ptemp[128];
1546
1547 self = self;
1548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetContainer",_kwnames,&_argo0))
1549 return NULL;
1550 if (_argo0) {
1551 if (_argo0 == Py_None) { _arg0 = NULL; }
1552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1554 return NULL;
1555 }
1556 }
1557 {
1558 wxPy_BEGIN_ALLOW_THREADS;
1559 _result = (wxHtmlContainerCell *)wxHtmlWinParser_GetContainer(_arg0);
1560
1561 wxPy_END_ALLOW_THREADS;
1562 } if (_result) {
1563 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1564 _resultobj = Py_BuildValue("s",_ptemp);
1565 } else {
1566 Py_INCREF(Py_None);
1567 _resultobj = Py_None;
1568 }
1569 return _resultobj;
1570 }
1571
1572 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1573 static PyObject *_wrap_wxHtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1574 PyObject * _resultobj;
1575 wxHtmlContainerCell * _result;
1576 wxHtmlWinParser * _arg0;
1577 PyObject * _argo0 = 0;
1578 char *_kwnames[] = { "self", NULL };
1579 char _ptemp[128];
1580
1581 self = self;
1582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_OpenContainer",_kwnames,&_argo0))
1583 return NULL;
1584 if (_argo0) {
1585 if (_argo0 == Py_None) { _arg0 = NULL; }
1586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1588 return NULL;
1589 }
1590 }
1591 {
1592 wxPy_BEGIN_ALLOW_THREADS;
1593 _result = (wxHtmlContainerCell *)wxHtmlWinParser_OpenContainer(_arg0);
1594
1595 wxPy_END_ALLOW_THREADS;
1596 } if (_result) {
1597 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1598 _resultobj = Py_BuildValue("s",_ptemp);
1599 } else {
1600 Py_INCREF(Py_None);
1601 _resultobj = Py_None;
1602 }
1603 return _resultobj;
1604 }
1605
1606 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1607 static PyObject *_wrap_wxHtmlWinParser_SetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1608 PyObject * _resultobj;
1609 wxHtmlContainerCell * _result;
1610 wxHtmlWinParser * _arg0;
1611 wxHtmlContainerCell * _arg1;
1612 PyObject * _argo0 = 0;
1613 PyObject * _argo1 = 0;
1614 char *_kwnames[] = { "self","c", NULL };
1615 char _ptemp[128];
1616
1617 self = self;
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetContainer",_kwnames,&_argo0,&_argo1))
1619 return NULL;
1620 if (_argo0) {
1621 if (_argo0 == Py_None) { _arg0 = NULL; }
1622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1624 return NULL;
1625 }
1626 }
1627 if (_argo1) {
1628 if (_argo1 == Py_None) { _arg1 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) {
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1631 return NULL;
1632 }
1633 }
1634 {
1635 wxPy_BEGIN_ALLOW_THREADS;
1636 _result = (wxHtmlContainerCell *)wxHtmlWinParser_SetContainer(_arg0,_arg1);
1637
1638 wxPy_END_ALLOW_THREADS;
1639 } if (_result) {
1640 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1641 _resultobj = Py_BuildValue("s",_ptemp);
1642 } else {
1643 Py_INCREF(Py_None);
1644 _resultobj = Py_None;
1645 }
1646 return _resultobj;
1647 }
1648
1649 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1650 static PyObject *_wrap_wxHtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject * _resultobj;
1652 wxHtmlContainerCell * _result;
1653 wxHtmlWinParser * _arg0;
1654 PyObject * _argo0 = 0;
1655 char *_kwnames[] = { "self", NULL };
1656 char _ptemp[128];
1657
1658 self = self;
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CloseContainer",_kwnames,&_argo0))
1660 return NULL;
1661 if (_argo0) {
1662 if (_argo0 == Py_None) { _arg0 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1665 return NULL;
1666 }
1667 }
1668 {
1669 wxPy_BEGIN_ALLOW_THREADS;
1670 _result = (wxHtmlContainerCell *)wxHtmlWinParser_CloseContainer(_arg0);
1671
1672 wxPy_END_ALLOW_THREADS;
1673 } if (_result) {
1674 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1675 _resultobj = Py_BuildValue("s",_ptemp);
1676 } else {
1677 Py_INCREF(Py_None);
1678 _resultobj = Py_None;
1679 }
1680 return _resultobj;
1681 }
1682
1683 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1684 static PyObject *_wrap_wxHtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject * _resultobj;
1686 int _result;
1687 wxHtmlWinParser * _arg0;
1688 PyObject * _argo0 = 0;
1689 char *_kwnames[] = { "self", NULL };
1690
1691 self = self;
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontSize",_kwnames,&_argo0))
1693 return NULL;
1694 if (_argo0) {
1695 if (_argo0 == Py_None) { _arg0 = NULL; }
1696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1698 return NULL;
1699 }
1700 }
1701 {
1702 wxPy_BEGIN_ALLOW_THREADS;
1703 _result = (int )wxHtmlWinParser_GetFontSize(_arg0);
1704
1705 wxPy_END_ALLOW_THREADS;
1706 } _resultobj = Py_BuildValue("i",_result);
1707 return _resultobj;
1708 }
1709
1710 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1711 static PyObject *_wrap_wxHtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject * _resultobj;
1713 wxHtmlWinParser * _arg0;
1714 int _arg1;
1715 PyObject * _argo0 = 0;
1716 char *_kwnames[] = { "self","s", NULL };
1717
1718 self = self;
1719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontSize",_kwnames,&_argo0,&_arg1))
1720 return NULL;
1721 if (_argo0) {
1722 if (_argo0 == Py_None) { _arg0 = NULL; }
1723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1725 return NULL;
1726 }
1727 }
1728 {
1729 wxPy_BEGIN_ALLOW_THREADS;
1730 wxHtmlWinParser_SetFontSize(_arg0,_arg1);
1731
1732 wxPy_END_ALLOW_THREADS;
1733 } Py_INCREF(Py_None);
1734 _resultobj = Py_None;
1735 return _resultobj;
1736 }
1737
1738 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1739 static PyObject *_wrap_wxHtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject * _resultobj;
1741 int _result;
1742 wxHtmlWinParser * _arg0;
1743 PyObject * _argo0 = 0;
1744 char *_kwnames[] = { "self", NULL };
1745
1746 self = self;
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontBold",_kwnames,&_argo0))
1748 return NULL;
1749 if (_argo0) {
1750 if (_argo0 == Py_None) { _arg0 = NULL; }
1751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1753 return NULL;
1754 }
1755 }
1756 {
1757 wxPy_BEGIN_ALLOW_THREADS;
1758 _result = (int )wxHtmlWinParser_GetFontBold(_arg0);
1759
1760 wxPy_END_ALLOW_THREADS;
1761 } _resultobj = Py_BuildValue("i",_result);
1762 return _resultobj;
1763 }
1764
1765 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1766 static PyObject *_wrap_wxHtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject * _resultobj;
1768 wxHtmlWinParser * _arg0;
1769 int _arg1;
1770 PyObject * _argo0 = 0;
1771 char *_kwnames[] = { "self","x", NULL };
1772
1773 self = self;
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontBold",_kwnames,&_argo0,&_arg1))
1775 return NULL;
1776 if (_argo0) {
1777 if (_argo0 == Py_None) { _arg0 = NULL; }
1778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1780 return NULL;
1781 }
1782 }
1783 {
1784 wxPy_BEGIN_ALLOW_THREADS;
1785 wxHtmlWinParser_SetFontBold(_arg0,_arg1);
1786
1787 wxPy_END_ALLOW_THREADS;
1788 } Py_INCREF(Py_None);
1789 _resultobj = Py_None;
1790 return _resultobj;
1791 }
1792
1793 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1794 static PyObject *_wrap_wxHtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject * _resultobj;
1796 int _result;
1797 wxHtmlWinParser * _arg0;
1798 PyObject * _argo0 = 0;
1799 char *_kwnames[] = { "self", NULL };
1800
1801 self = self;
1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontItalic",_kwnames,&_argo0))
1803 return NULL;
1804 if (_argo0) {
1805 if (_argo0 == Py_None) { _arg0 = NULL; }
1806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1808 return NULL;
1809 }
1810 }
1811 {
1812 wxPy_BEGIN_ALLOW_THREADS;
1813 _result = (int )wxHtmlWinParser_GetFontItalic(_arg0);
1814
1815 wxPy_END_ALLOW_THREADS;
1816 } _resultobj = Py_BuildValue("i",_result);
1817 return _resultobj;
1818 }
1819
1820 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1821 static PyObject *_wrap_wxHtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
1822 PyObject * _resultobj;
1823 wxHtmlWinParser * _arg0;
1824 int _arg1;
1825 PyObject * _argo0 = 0;
1826 char *_kwnames[] = { "self","x", NULL };
1827
1828 self = self;
1829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames,&_argo0,&_arg1))
1830 return NULL;
1831 if (_argo0) {
1832 if (_argo0 == Py_None) { _arg0 = NULL; }
1833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1835 return NULL;
1836 }
1837 }
1838 {
1839 wxPy_BEGIN_ALLOW_THREADS;
1840 wxHtmlWinParser_SetFontItalic(_arg0,_arg1);
1841
1842 wxPy_END_ALLOW_THREADS;
1843 } Py_INCREF(Py_None);
1844 _resultobj = Py_None;
1845 return _resultobj;
1846 }
1847
1848 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1849 static PyObject *_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject * _resultobj;
1851 int _result;
1852 wxHtmlWinParser * _arg0;
1853 PyObject * _argo0 = 0;
1854 char *_kwnames[] = { "self", NULL };
1855
1856 self = self;
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames,&_argo0))
1858 return NULL;
1859 if (_argo0) {
1860 if (_argo0 == Py_None) { _arg0 = NULL; }
1861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1863 return NULL;
1864 }
1865 }
1866 {
1867 wxPy_BEGIN_ALLOW_THREADS;
1868 _result = (int )wxHtmlWinParser_GetFontUnderlined(_arg0);
1869
1870 wxPy_END_ALLOW_THREADS;
1871 } _resultobj = Py_BuildValue("i",_result);
1872 return _resultobj;
1873 }
1874
1875 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1876 static PyObject *_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
1877 PyObject * _resultobj;
1878 wxHtmlWinParser * _arg0;
1879 int _arg1;
1880 PyObject * _argo0 = 0;
1881 char *_kwnames[] = { "self","x", NULL };
1882
1883 self = self;
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames,&_argo0,&_arg1))
1885 return NULL;
1886 if (_argo0) {
1887 if (_argo0 == Py_None) { _arg0 = NULL; }
1888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1890 return NULL;
1891 }
1892 }
1893 {
1894 wxPy_BEGIN_ALLOW_THREADS;
1895 wxHtmlWinParser_SetFontUnderlined(_arg0,_arg1);
1896
1897 wxPy_END_ALLOW_THREADS;
1898 } Py_INCREF(Py_None);
1899 _resultobj = Py_None;
1900 return _resultobj;
1901 }
1902
1903 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1904 static PyObject *_wrap_wxHtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
1905 PyObject * _resultobj;
1906 int _result;
1907 wxHtmlWinParser * _arg0;
1908 PyObject * _argo0 = 0;
1909 char *_kwnames[] = { "self", NULL };
1910
1911 self = self;
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontFixed",_kwnames,&_argo0))
1913 return NULL;
1914 if (_argo0) {
1915 if (_argo0 == Py_None) { _arg0 = NULL; }
1916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1918 return NULL;
1919 }
1920 }
1921 {
1922 wxPy_BEGIN_ALLOW_THREADS;
1923 _result = (int )wxHtmlWinParser_GetFontFixed(_arg0);
1924
1925 wxPy_END_ALLOW_THREADS;
1926 } _resultobj = Py_BuildValue("i",_result);
1927 return _resultobj;
1928 }
1929
1930 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1931 static PyObject *_wrap_wxHtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject * _resultobj;
1933 wxHtmlWinParser * _arg0;
1934 int _arg1;
1935 PyObject * _argo0 = 0;
1936 char *_kwnames[] = { "self","x", NULL };
1937
1938 self = self;
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames,&_argo0,&_arg1))
1940 return NULL;
1941 if (_argo0) {
1942 if (_argo0 == Py_None) { _arg0 = NULL; }
1943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1945 return NULL;
1946 }
1947 }
1948 {
1949 wxPy_BEGIN_ALLOW_THREADS;
1950 wxHtmlWinParser_SetFontFixed(_arg0,_arg1);
1951
1952 wxPy_END_ALLOW_THREADS;
1953 } Py_INCREF(Py_None);
1954 _resultobj = Py_None;
1955 return _resultobj;
1956 }
1957
1958 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1959 static PyObject *_wrap_wxHtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject * _resultobj;
1961 int _result;
1962 wxHtmlWinParser * _arg0;
1963 PyObject * _argo0 = 0;
1964 char *_kwnames[] = { "self", NULL };
1965
1966 self = self;
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetAlign",_kwnames,&_argo0))
1968 return NULL;
1969 if (_argo0) {
1970 if (_argo0 == Py_None) { _arg0 = NULL; }
1971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1973 return NULL;
1974 }
1975 }
1976 {
1977 wxPy_BEGIN_ALLOW_THREADS;
1978 _result = (int )wxHtmlWinParser_GetAlign(_arg0);
1979
1980 wxPy_END_ALLOW_THREADS;
1981 } _resultobj = Py_BuildValue("i",_result);
1982 return _resultobj;
1983 }
1984
1985 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1986 static PyObject *_wrap_wxHtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject * _resultobj;
1988 wxHtmlWinParser * _arg0;
1989 int _arg1;
1990 PyObject * _argo0 = 0;
1991 char *_kwnames[] = { "self","a", NULL };
1992
1993 self = self;
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetAlign",_kwnames,&_argo0,&_arg1))
1995 return NULL;
1996 if (_argo0) {
1997 if (_argo0 == Py_None) { _arg0 = NULL; }
1998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2000 return NULL;
2001 }
2002 }
2003 {
2004 wxPy_BEGIN_ALLOW_THREADS;
2005 wxHtmlWinParser_SetAlign(_arg0,_arg1);
2006
2007 wxPy_END_ALLOW_THREADS;
2008 } Py_INCREF(Py_None);
2009 _resultobj = Py_None;
2010 return _resultobj;
2011 }
2012
2013 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2014 static PyObject *_wrap_wxHtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2015 PyObject * _resultobj;
2016 wxColour * _result;
2017 wxHtmlWinParser * _arg0;
2018 PyObject * _argo0 = 0;
2019 char *_kwnames[] = { "self", NULL };
2020 char _ptemp[128];
2021
2022 self = self;
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLinkColor",_kwnames,&_argo0))
2024 return NULL;
2025 if (_argo0) {
2026 if (_argo0 == Py_None) { _arg0 = NULL; }
2027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2029 return NULL;
2030 }
2031 }
2032 {
2033 wxPy_BEGIN_ALLOW_THREADS;
2034 const wxColour & _result_ref = wxHtmlWinParser_GetLinkColor(_arg0);
2035 _result = (wxColour *) &_result_ref;
2036
2037 wxPy_END_ALLOW_THREADS;
2038 } if (_result) {
2039 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2040 _resultobj = Py_BuildValue("s",_ptemp);
2041 } else {
2042 Py_INCREF(Py_None);
2043 _resultobj = Py_None;
2044 }
2045 return _resultobj;
2046 }
2047
2048 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2049 static PyObject *_wrap_wxHtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2050 PyObject * _resultobj;
2051 wxHtmlWinParser * _arg0;
2052 wxColour * _arg1;
2053 PyObject * _argo0 = 0;
2054 wxColour temp;
2055 PyObject * _obj1 = 0;
2056 char *_kwnames[] = { "self","clr", NULL };
2057
2058 self = self;
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLinkColor",_kwnames,&_argo0,&_obj1))
2060 return NULL;
2061 if (_argo0) {
2062 if (_argo0 == Py_None) { _arg0 = NULL; }
2063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2065 return NULL;
2066 }
2067 }
2068 {
2069 _arg1 = &temp;
2070 if (! wxColour_helper(_obj1, &_arg1))
2071 return NULL;
2072 }
2073 {
2074 wxPy_BEGIN_ALLOW_THREADS;
2075 wxHtmlWinParser_SetLinkColor(_arg0,*_arg1);
2076
2077 wxPy_END_ALLOW_THREADS;
2078 } Py_INCREF(Py_None);
2079 _resultobj = Py_None;
2080 return _resultobj;
2081 }
2082
2083 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2084 static PyObject *_wrap_wxHtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject * _resultobj;
2086 wxColour * _result;
2087 wxHtmlWinParser * _arg0;
2088 PyObject * _argo0 = 0;
2089 char *_kwnames[] = { "self", NULL };
2090 char _ptemp[128];
2091
2092 self = self;
2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetActualColor",_kwnames,&_argo0))
2094 return NULL;
2095 if (_argo0) {
2096 if (_argo0 == Py_None) { _arg0 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2099 return NULL;
2100 }
2101 }
2102 {
2103 wxPy_BEGIN_ALLOW_THREADS;
2104 const wxColour & _result_ref = wxHtmlWinParser_GetActualColor(_arg0);
2105 _result = (wxColour *) &_result_ref;
2106
2107 wxPy_END_ALLOW_THREADS;
2108 } if (_result) {
2109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2110 _resultobj = Py_BuildValue("s",_ptemp);
2111 } else {
2112 Py_INCREF(Py_None);
2113 _resultobj = Py_None;
2114 }
2115 return _resultobj;
2116 }
2117
2118 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2119 static PyObject *_wrap_wxHtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject * _resultobj;
2121 wxHtmlWinParser * _arg0;
2122 wxColour * _arg1;
2123 PyObject * _argo0 = 0;
2124 wxColour temp;
2125 PyObject * _obj1 = 0;
2126 char *_kwnames[] = { "self","clr", NULL };
2127
2128 self = self;
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetActualColor",_kwnames,&_argo0,&_obj1))
2130 return NULL;
2131 if (_argo0) {
2132 if (_argo0 == Py_None) { _arg0 = NULL; }
2133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2135 return NULL;
2136 }
2137 }
2138 {
2139 _arg1 = &temp;
2140 if (! wxColour_helper(_obj1, &_arg1))
2141 return NULL;
2142 }
2143 {
2144 wxPy_BEGIN_ALLOW_THREADS;
2145 wxHtmlWinParser_SetActualColor(_arg0,*_arg1);
2146
2147 wxPy_END_ALLOW_THREADS;
2148 } Py_INCREF(Py_None);
2149 _resultobj = Py_None;
2150 return _resultobj;
2151 }
2152
2153 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2154 static PyObject *_wrap_wxHtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2155 PyObject * _resultobj;
2156 wxHtmlWinParser * _arg0;
2157 wxString * _arg1;
2158 PyObject * _argo0 = 0;
2159 PyObject * _obj1 = 0;
2160 char *_kwnames[] = { "self","link", NULL };
2161
2162 self = self;
2163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLink",_kwnames,&_argo0,&_obj1))
2164 return NULL;
2165 if (_argo0) {
2166 if (_argo0 == Py_None) { _arg0 = NULL; }
2167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2169 return NULL;
2170 }
2171 }
2172 {
2173 #if PYTHON_API_VERSION >= 1009
2174 char* tmpPtr; int tmpSize;
2175 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2176 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2177 return NULL;
2178 }
2179 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2180 return NULL;
2181 _arg1 = new wxString(tmpPtr, tmpSize);
2182 #else
2183 if (!PyString_Check(_obj1)) {
2184 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2185 return NULL;
2186 }
2187 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2188 #endif
2189 }
2190 {
2191 wxPy_BEGIN_ALLOW_THREADS;
2192 wxHtmlWinParser_SetLink(_arg0,*_arg1);
2193
2194 wxPy_END_ALLOW_THREADS;
2195 } Py_INCREF(Py_None);
2196 _resultobj = Py_None;
2197 {
2198 if (_obj1)
2199 delete _arg1;
2200 }
2201 return _resultobj;
2202 }
2203
2204 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2205 static PyObject *_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2206 PyObject * _resultobj;
2207 wxFont * _result;
2208 wxHtmlWinParser * _arg0;
2209 PyObject * _argo0 = 0;
2210 char *_kwnames[] = { "self", NULL };
2211 char _ptemp[128];
2212
2213 self = self;
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames,&_argo0))
2215 return NULL;
2216 if (_argo0) {
2217 if (_argo0 == Py_None) { _arg0 = NULL; }
2218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2220 return NULL;
2221 }
2222 }
2223 {
2224 wxPy_BEGIN_ALLOW_THREADS;
2225 _result = (wxFont *)wxHtmlWinParser_CreateCurrentFont(_arg0);
2226
2227 wxPy_END_ALLOW_THREADS;
2228 } if (_result) {
2229 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
2230 _resultobj = Py_BuildValue("s",_ptemp);
2231 } else {
2232 Py_INCREF(Py_None);
2233 _resultobj = Py_None;
2234 }
2235 return _resultobj;
2236 }
2237
2238 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2239 static PyObject *_wrap_wxHtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject * _resultobj;
2241 wxHtmlLinkInfo * _result;
2242 wxHtmlWinParser * _arg0;
2243 PyObject * _argo0 = 0;
2244 char *_kwnames[] = { "self", NULL };
2245 char _ptemp[128];
2246
2247 self = self;
2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLink",_kwnames,&_argo0))
2249 return NULL;
2250 if (_argo0) {
2251 if (_argo0 == Py_None) { _arg0 = NULL; }
2252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2254 return NULL;
2255 }
2256 }
2257 {
2258 wxPy_BEGIN_ALLOW_THREADS;
2259 _result = new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0));
2260
2261 wxPy_END_ALLOW_THREADS;
2262 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxHtmlLinkInfo_p");
2263 _resultobj = Py_BuildValue("s",_ptemp);
2264 return _resultobj;
2265 }
2266
2267 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr) {
2268 wxPyHtmlTagHandler *src;
2269 wxObject *dest;
2270 src = (wxPyHtmlTagHandler *) ptr;
2271 dest = (wxObject *) src;
2272 return (void *) dest;
2273 }
2274
2275 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2276 static PyObject *_wrap_new_wxHtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject * _resultobj;
2278 wxPyHtmlTagHandler * _result;
2279 char *_kwnames[] = { NULL };
2280 char _ptemp[128];
2281
2282 self = self;
2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlTagHandler",_kwnames))
2284 return NULL;
2285 {
2286 wxPy_BEGIN_ALLOW_THREADS;
2287 _result = (wxPyHtmlTagHandler *)new_wxHtmlTagHandler();
2288
2289 wxPy_END_ALLOW_THREADS;
2290 } if (_result) {
2291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlTagHandler_p");
2292 _resultobj = Py_BuildValue("s",_ptemp);
2293 } else {
2294 Py_INCREF(Py_None);
2295 _resultobj = Py_None;
2296 }
2297 return _resultobj;
2298 }
2299
2300 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2301 static PyObject *_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 wxPyHtmlTagHandler * _arg0;
2304 PyObject * _arg1;
2305 PyObject * _arg2;
2306 PyObject * _argo0 = 0;
2307 PyObject * _obj1 = 0;
2308 PyObject * _obj2 = 0;
2309 char *_kwnames[] = { "self","self","_class", NULL };
2310
2311 self = self;
2312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2313 return NULL;
2314 if (_argo0) {
2315 if (_argo0 == Py_None) { _arg0 = NULL; }
2316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2318 return NULL;
2319 }
2320 }
2321 {
2322 _arg1 = _obj1;
2323 }
2324 {
2325 _arg2 = _obj2;
2326 }
2327 {
2328 wxPy_BEGIN_ALLOW_THREADS;
2329 wxHtmlTagHandler__setCallbackInfo(_arg0,_arg1,_arg2);
2330
2331 wxPy_END_ALLOW_THREADS;
2332 } Py_INCREF(Py_None);
2333 _resultobj = Py_None;
2334 return _resultobj;
2335 }
2336
2337 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2338 static PyObject *_wrap_wxHtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2339 PyObject * _resultobj;
2340 wxPyHtmlTagHandler * _arg0;
2341 wxHtmlParser * _arg1;
2342 PyObject * _argo0 = 0;
2343 PyObject * _argo1 = 0;
2344 char *_kwnames[] = { "self","parser", NULL };
2345
2346 self = self;
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_SetParser",_kwnames,&_argo0,&_argo1))
2348 return NULL;
2349 if (_argo0) {
2350 if (_argo0 == Py_None) { _arg0 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2353 return NULL;
2354 }
2355 }
2356 if (_argo1) {
2357 if (_argo1 == Py_None) { _arg1 = NULL; }
2358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) {
2359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2360 return NULL;
2361 }
2362 }
2363 {
2364 wxPy_BEGIN_ALLOW_THREADS;
2365 wxHtmlTagHandler_SetParser(_arg0,_arg1);
2366
2367 wxPy_END_ALLOW_THREADS;
2368 } Py_INCREF(Py_None);
2369 _resultobj = Py_None;
2370 return _resultobj;
2371 }
2372
2373 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2374 static PyObject *_wrap_wxHtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject * _resultobj;
2376 wxHtmlParser * _result;
2377 wxPyHtmlTagHandler * _arg0;
2378 PyObject * _argo0 = 0;
2379 char *_kwnames[] = { "self", NULL };
2380 char _ptemp[128];
2381
2382 self = self;
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTagHandler_GetParser",_kwnames,&_argo0))
2384 return NULL;
2385 if (_argo0) {
2386 if (_argo0 == Py_None) { _arg0 = NULL; }
2387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2389 return NULL;
2390 }
2391 }
2392 {
2393 wxPy_BEGIN_ALLOW_THREADS;
2394 _result = (wxHtmlParser *)wxHtmlTagHandler_GetParser(_arg0);
2395
2396 wxPy_END_ALLOW_THREADS;
2397 } if (_result) {
2398 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlParser_p");
2399 _resultobj = Py_BuildValue("s",_ptemp);
2400 } else {
2401 Py_INCREF(Py_None);
2402 _resultobj = Py_None;
2403 }
2404 return _resultobj;
2405 }
2406
2407 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2408 static PyObject *_wrap_wxHtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject * _resultobj;
2410 wxPyHtmlTagHandler * _arg0;
2411 wxHtmlTag * _arg1;
2412 PyObject * _argo0 = 0;
2413 PyObject * _argo1 = 0;
2414 char *_kwnames[] = { "self","tag", NULL };
2415
2416 self = self;
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_ParseInner",_kwnames,&_argo0,&_argo1))
2418 return NULL;
2419 if (_argo0) {
2420 if (_argo0 == Py_None) { _arg0 = NULL; }
2421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2423 return NULL;
2424 }
2425 }
2426 if (_argo1) {
2427 if (_argo1 == Py_None) { _arg1 = NULL; }
2428 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
2429 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2430 return NULL;
2431 }
2432 }
2433 {
2434 wxPy_BEGIN_ALLOW_THREADS;
2435 wxHtmlTagHandler_ParseInner(_arg0,*_arg1);
2436
2437 wxPy_END_ALLOW_THREADS;
2438 } Py_INCREF(Py_None);
2439 _resultobj = Py_None;
2440 return _resultobj;
2441 }
2442
2443 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr) {
2444 wxPyHtmlWinTagHandler *src;
2445 wxPyHtmlTagHandler *dest;
2446 src = (wxPyHtmlWinTagHandler *) ptr;
2447 dest = (wxPyHtmlTagHandler *) src;
2448 return (void *) dest;
2449 }
2450
2451 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr) {
2452 wxPyHtmlWinTagHandler *src;
2453 wxObject *dest;
2454 src = (wxPyHtmlWinTagHandler *) ptr;
2455 dest = (wxObject *) src;
2456 return (void *) dest;
2457 }
2458
2459 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2460 static PyObject *_wrap_new_wxHtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2461 PyObject * _resultobj;
2462 wxPyHtmlWinTagHandler * _result;
2463 char *_kwnames[] = { NULL };
2464 char _ptemp[128];
2465
2466 self = self;
2467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlWinTagHandler",_kwnames))
2468 return NULL;
2469 {
2470 wxPy_BEGIN_ALLOW_THREADS;
2471 _result = (wxPyHtmlWinTagHandler *)new_wxHtmlWinTagHandler();
2472
2473 wxPy_END_ALLOW_THREADS;
2474 } if (_result) {
2475 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWinTagHandler_p");
2476 _resultobj = Py_BuildValue("s",_ptemp);
2477 } else {
2478 Py_INCREF(Py_None);
2479 _resultobj = Py_None;
2480 }
2481 return _resultobj;
2482 }
2483
2484 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2485 static PyObject *_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject * _resultobj;
2487 wxPyHtmlWinTagHandler * _arg0;
2488 PyObject * _arg1;
2489 PyObject * _arg2;
2490 PyObject * _argo0 = 0;
2491 PyObject * _obj1 = 0;
2492 PyObject * _obj2 = 0;
2493 char *_kwnames[] = { "self","self","_class", NULL };
2494
2495 self = self;
2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2497 return NULL;
2498 if (_argo0) {
2499 if (_argo0 == Py_None) { _arg0 = NULL; }
2500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2502 return NULL;
2503 }
2504 }
2505 {
2506 _arg1 = _obj1;
2507 }
2508 {
2509 _arg2 = _obj2;
2510 }
2511 {
2512 wxPy_BEGIN_ALLOW_THREADS;
2513 wxHtmlWinTagHandler__setCallbackInfo(_arg0,_arg1,_arg2);
2514
2515 wxPy_END_ALLOW_THREADS;
2516 } Py_INCREF(Py_None);
2517 _resultobj = Py_None;
2518 return _resultobj;
2519 }
2520
2521 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2522 static PyObject *_wrap_wxHtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2523 PyObject * _resultobj;
2524 wxPyHtmlWinTagHandler * _arg0;
2525 wxHtmlParser * _arg1;
2526 PyObject * _argo0 = 0;
2527 PyObject * _argo1 = 0;
2528 char *_kwnames[] = { "self","parser", NULL };
2529
2530 self = self;
2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_SetParser",_kwnames,&_argo0,&_argo1))
2532 return NULL;
2533 if (_argo0) {
2534 if (_argo0 == Py_None) { _arg0 = NULL; }
2535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2537 return NULL;
2538 }
2539 }
2540 if (_argo1) {
2541 if (_argo1 == Py_None) { _arg1 = NULL; }
2542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) {
2543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2544 return NULL;
2545 }
2546 }
2547 {
2548 wxPy_BEGIN_ALLOW_THREADS;
2549 wxHtmlWinTagHandler_SetParser(_arg0,_arg1);
2550
2551 wxPy_END_ALLOW_THREADS;
2552 } Py_INCREF(Py_None);
2553 _resultobj = Py_None;
2554 return _resultobj;
2555 }
2556
2557 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2558 static PyObject *_wrap_wxHtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2559 PyObject * _resultobj;
2560 wxHtmlWinParser * _result;
2561 wxPyHtmlWinTagHandler * _arg0;
2562 PyObject * _argo0 = 0;
2563 char *_kwnames[] = { "self", NULL };
2564 char _ptemp[128];
2565
2566 self = self;
2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinTagHandler_GetParser",_kwnames,&_argo0))
2568 return NULL;
2569 if (_argo0) {
2570 if (_argo0 == Py_None) { _arg0 = NULL; }
2571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2573 return NULL;
2574 }
2575 }
2576 {
2577 wxPy_BEGIN_ALLOW_THREADS;
2578 _result = (wxHtmlWinParser *)wxHtmlWinTagHandler_GetParser(_arg0);
2579
2580 wxPy_END_ALLOW_THREADS;
2581 } if (_result) {
2582 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
2583 _resultobj = Py_BuildValue("s",_ptemp);
2584 } else {
2585 Py_INCREF(Py_None);
2586 _resultobj = Py_None;
2587 }
2588 return _resultobj;
2589 }
2590
2591 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2592 static PyObject *_wrap_wxHtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject * _resultobj;
2594 wxPyHtmlWinTagHandler * _arg0;
2595 wxHtmlTag * _arg1;
2596 PyObject * _argo0 = 0;
2597 PyObject * _argo1 = 0;
2598 char *_kwnames[] = { "self","tag", NULL };
2599
2600 self = self;
2601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames,&_argo0,&_argo1))
2602 return NULL;
2603 if (_argo0) {
2604 if (_argo0 == Py_None) { _arg0 = NULL; }
2605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2607 return NULL;
2608 }
2609 }
2610 if (_argo1) {
2611 if (_argo1 == Py_None) { _arg1 = NULL; }
2612 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
2613 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2614 return NULL;
2615 }
2616 }
2617 {
2618 wxPy_BEGIN_ALLOW_THREADS;
2619 wxHtmlWinTagHandler_ParseInner(_arg0,*_arg1);
2620
2621 wxPy_END_ALLOW_THREADS;
2622 } Py_INCREF(Py_None);
2623 _resultobj = Py_None;
2624 return _resultobj;
2625 }
2626
2627 static void *SwigwxHtmlCellTowxObject(void *ptr) {
2628 wxHtmlCell *src;
2629 wxObject *dest;
2630 src = (wxHtmlCell *) ptr;
2631 dest = (wxObject *) src;
2632 return (void *) dest;
2633 }
2634
2635 #define new_wxHtmlCell() (new wxHtmlCell())
2636 static PyObject *_wrap_new_wxHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject * _resultobj;
2638 wxHtmlCell * _result;
2639 char *_kwnames[] = { NULL };
2640 char _ptemp[128];
2641
2642 self = self;
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlCell",_kwnames))
2644 return NULL;
2645 {
2646 wxPy_BEGIN_ALLOW_THREADS;
2647 _result = (wxHtmlCell *)new_wxHtmlCell();
2648
2649 wxPy_END_ALLOW_THREADS;
2650 } if (_result) {
2651 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
2652 _resultobj = Py_BuildValue("s",_ptemp);
2653 } else {
2654 Py_INCREF(Py_None);
2655 _resultobj = Py_None;
2656 }
2657 return _resultobj;
2658 }
2659
2660 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2661 static PyObject *_wrap_wxHtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject * _resultobj;
2663 int _result;
2664 wxHtmlCell * _arg0;
2665 PyObject * _argo0 = 0;
2666 char *_kwnames[] = { "self", NULL };
2667
2668 self = self;
2669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosX",_kwnames,&_argo0))
2670 return NULL;
2671 if (_argo0) {
2672 if (_argo0 == Py_None) { _arg0 = NULL; }
2673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2675 return NULL;
2676 }
2677 }
2678 {
2679 wxPy_BEGIN_ALLOW_THREADS;
2680 _result = (int )wxHtmlCell_GetPosX(_arg0);
2681
2682 wxPy_END_ALLOW_THREADS;
2683 } _resultobj = Py_BuildValue("i",_result);
2684 return _resultobj;
2685 }
2686
2687 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2688 static PyObject *_wrap_wxHtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
2689 PyObject * _resultobj;
2690 int _result;
2691 wxHtmlCell * _arg0;
2692 PyObject * _argo0 = 0;
2693 char *_kwnames[] = { "self", NULL };
2694
2695 self = self;
2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosY",_kwnames,&_argo0))
2697 return NULL;
2698 if (_argo0) {
2699 if (_argo0 == Py_None) { _arg0 = NULL; }
2700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2702 return NULL;
2703 }
2704 }
2705 {
2706 wxPy_BEGIN_ALLOW_THREADS;
2707 _result = (int )wxHtmlCell_GetPosY(_arg0);
2708
2709 wxPy_END_ALLOW_THREADS;
2710 } _resultobj = Py_BuildValue("i",_result);
2711 return _resultobj;
2712 }
2713
2714 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2715 static PyObject *_wrap_wxHtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject * _resultobj;
2717 int _result;
2718 wxHtmlCell * _arg0;
2719 PyObject * _argo0 = 0;
2720 char *_kwnames[] = { "self", NULL };
2721
2722 self = self;
2723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetWidth",_kwnames,&_argo0))
2724 return NULL;
2725 if (_argo0) {
2726 if (_argo0 == Py_None) { _arg0 = NULL; }
2727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2729 return NULL;
2730 }
2731 }
2732 {
2733 wxPy_BEGIN_ALLOW_THREADS;
2734 _result = (int )wxHtmlCell_GetWidth(_arg0);
2735
2736 wxPy_END_ALLOW_THREADS;
2737 } _resultobj = Py_BuildValue("i",_result);
2738 return _resultobj;
2739 }
2740
2741 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2742 static PyObject *_wrap_wxHtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2743 PyObject * _resultobj;
2744 int _result;
2745 wxHtmlCell * _arg0;
2746 PyObject * _argo0 = 0;
2747 char *_kwnames[] = { "self", NULL };
2748
2749 self = self;
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetHeight",_kwnames,&_argo0))
2751 return NULL;
2752 if (_argo0) {
2753 if (_argo0 == Py_None) { _arg0 = NULL; }
2754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2756 return NULL;
2757 }
2758 }
2759 {
2760 wxPy_BEGIN_ALLOW_THREADS;
2761 _result = (int )wxHtmlCell_GetHeight(_arg0);
2762
2763 wxPy_END_ALLOW_THREADS;
2764 } _resultobj = Py_BuildValue("i",_result);
2765 return _resultobj;
2766 }
2767
2768 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2769 static PyObject *_wrap_wxHtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
2770 PyObject * _resultobj;
2771 int _result;
2772 wxHtmlCell * _arg0;
2773 PyObject * _argo0 = 0;
2774 char *_kwnames[] = { "self", NULL };
2775
2776 self = self;
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetDescent",_kwnames,&_argo0))
2778 return NULL;
2779 if (_argo0) {
2780 if (_argo0 == Py_None) { _arg0 = NULL; }
2781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2783 return NULL;
2784 }
2785 }
2786 {
2787 wxPy_BEGIN_ALLOW_THREADS;
2788 _result = (int )wxHtmlCell_GetDescent(_arg0);
2789
2790 wxPy_END_ALLOW_THREADS;
2791 } _resultobj = Py_BuildValue("i",_result);
2792 return _resultobj;
2793 }
2794
2795 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2796 static PyObject *_wrap_wxHtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2797 PyObject * _resultobj;
2798 wxHtmlLinkInfo * _result;
2799 wxHtmlCell * _arg0;
2800 int _arg1 = (int ) 0;
2801 int _arg2 = (int ) 0;
2802 PyObject * _argo0 = 0;
2803 char *_kwnames[] = { "self","x","y", NULL };
2804 char _ptemp[128];
2805
2806 self = self;
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxHtmlCell_GetLink",_kwnames,&_argo0,&_arg1,&_arg2))
2808 return NULL;
2809 if (_argo0) {
2810 if (_argo0 == Py_None) { _arg0 = NULL; }
2811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2813 return NULL;
2814 }
2815 }
2816 {
2817 wxPy_BEGIN_ALLOW_THREADS;
2818 _result = (wxHtmlLinkInfo *)wxHtmlCell_GetLink(_arg0,_arg1,_arg2);
2819
2820 wxPy_END_ALLOW_THREADS;
2821 } if (_result) {
2822 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlLinkInfo_p");
2823 _resultobj = Py_BuildValue("s",_ptemp);
2824 } else {
2825 Py_INCREF(Py_None);
2826 _resultobj = Py_None;
2827 }
2828 return _resultobj;
2829 }
2830
2831 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2832 static PyObject *_wrap_wxHtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2833 PyObject * _resultobj;
2834 wxHtmlCell * _result;
2835 wxHtmlCell * _arg0;
2836 PyObject * _argo0 = 0;
2837 char *_kwnames[] = { "self", NULL };
2838 char _ptemp[128];
2839
2840 self = self;
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetNext",_kwnames,&_argo0))
2842 return NULL;
2843 if (_argo0) {
2844 if (_argo0 == Py_None) { _arg0 = NULL; }
2845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2847 return NULL;
2848 }
2849 }
2850 {
2851 wxPy_BEGIN_ALLOW_THREADS;
2852 _result = (wxHtmlCell *)wxHtmlCell_GetNext(_arg0);
2853
2854 wxPy_END_ALLOW_THREADS;
2855 } if (_result) {
2856 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
2857 _resultobj = Py_BuildValue("s",_ptemp);
2858 } else {
2859 Py_INCREF(Py_None);
2860 _resultobj = Py_None;
2861 }
2862 return _resultobj;
2863 }
2864
2865 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2866 static PyObject *_wrap_wxHtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2867 PyObject * _resultobj;
2868 wxHtmlContainerCell * _result;
2869 wxHtmlCell * _arg0;
2870 PyObject * _argo0 = 0;
2871 char *_kwnames[] = { "self", NULL };
2872 char _ptemp[128];
2873
2874 self = self;
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetParent",_kwnames,&_argo0))
2876 return NULL;
2877 if (_argo0) {
2878 if (_argo0 == Py_None) { _arg0 = NULL; }
2879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2881 return NULL;
2882 }
2883 }
2884 {
2885 wxPy_BEGIN_ALLOW_THREADS;
2886 _result = (wxHtmlContainerCell *)wxHtmlCell_GetParent(_arg0);
2887
2888 wxPy_END_ALLOW_THREADS;
2889 } if (_result) {
2890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
2891 _resultobj = Py_BuildValue("s",_ptemp);
2892 } else {
2893 Py_INCREF(Py_None);
2894 _resultobj = Py_None;
2895 }
2896 return _resultobj;
2897 }
2898
2899 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2900 static PyObject *_wrap_wxHtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2901 PyObject * _resultobj;
2902 wxHtmlCell * _arg0;
2903 wxHtmlLinkInfo * _arg1;
2904 PyObject * _argo0 = 0;
2905 PyObject * _argo1 = 0;
2906 char *_kwnames[] = { "self","link", NULL };
2907
2908 self = self;
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetLink",_kwnames,&_argo0,&_argo1))
2910 return NULL;
2911 if (_argo0) {
2912 if (_argo0 == Py_None) { _arg0 = NULL; }
2913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2915 return NULL;
2916 }
2917 }
2918 if (_argo1) {
2919 if (_argo1 == Py_None) { _arg1 = NULL; }
2920 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlLinkInfo_p")) {
2921 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2922 return NULL;
2923 }
2924 }
2925 {
2926 wxPy_BEGIN_ALLOW_THREADS;
2927 wxHtmlCell_SetLink(_arg0,*_arg1);
2928
2929 wxPy_END_ALLOW_THREADS;
2930 } Py_INCREF(Py_None);
2931 _resultobj = Py_None;
2932 return _resultobj;
2933 }
2934
2935 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2936 static PyObject *_wrap_wxHtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2937 PyObject * _resultobj;
2938 wxHtmlCell * _arg0;
2939 wxHtmlCell * _arg1;
2940 PyObject * _argo0 = 0;
2941 PyObject * _argo1 = 0;
2942 char *_kwnames[] = { "self","cell", NULL };
2943
2944 self = self;
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetNext",_kwnames,&_argo0,&_argo1))
2946 return NULL;
2947 if (_argo0) {
2948 if (_argo0 == Py_None) { _arg0 = NULL; }
2949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2951 return NULL;
2952 }
2953 }
2954 if (_argo1) {
2955 if (_argo1 == Py_None) { _arg1 = NULL; }
2956 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
2957 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2958 return NULL;
2959 }
2960 }
2961 {
2962 wxPy_BEGIN_ALLOW_THREADS;
2963 wxHtmlCell_SetNext(_arg0,_arg1);
2964
2965 wxPy_END_ALLOW_THREADS;
2966 } Py_INCREF(Py_None);
2967 _resultobj = Py_None;
2968 return _resultobj;
2969 }
2970
2971 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2972 static PyObject *_wrap_wxHtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2973 PyObject * _resultobj;
2974 wxHtmlCell * _arg0;
2975 wxHtmlContainerCell * _arg1;
2976 PyObject * _argo0 = 0;
2977 PyObject * _argo1 = 0;
2978 char *_kwnames[] = { "self","p", NULL };
2979
2980 self = self;
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetParent",_kwnames,&_argo0,&_argo1))
2982 return NULL;
2983 if (_argo0) {
2984 if (_argo0 == Py_None) { _arg0 = NULL; }
2985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2987 return NULL;
2988 }
2989 }
2990 if (_argo1) {
2991 if (_argo1 == Py_None) { _arg1 = NULL; }
2992 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) {
2993 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2994 return NULL;
2995 }
2996 }
2997 {
2998 wxPy_BEGIN_ALLOW_THREADS;
2999 wxHtmlCell_SetParent(_arg0,_arg1);
3000
3001 wxPy_END_ALLOW_THREADS;
3002 } Py_INCREF(Py_None);
3003 _resultobj = Py_None;
3004 return _resultobj;
3005 }
3006
3007 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3008 static PyObject *_wrap_wxHtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3009 PyObject * _resultobj;
3010 wxHtmlCell * _arg0;
3011 int _arg1;
3012 int _arg2;
3013 PyObject * _argo0 = 0;
3014 char *_kwnames[] = { "self","x","y", NULL };
3015
3016 self = self;
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlCell_SetPos",_kwnames,&_argo0,&_arg1,&_arg2))
3018 return NULL;
3019 if (_argo0) {
3020 if (_argo0 == Py_None) { _arg0 = NULL; }
3021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3023 return NULL;
3024 }
3025 }
3026 {
3027 wxPy_BEGIN_ALLOW_THREADS;
3028 wxHtmlCell_SetPos(_arg0,_arg1,_arg2);
3029
3030 wxPy_END_ALLOW_THREADS;
3031 } Py_INCREF(Py_None);
3032 _resultobj = Py_None;
3033 return _resultobj;
3034 }
3035
3036 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3037 static PyObject *_wrap_wxHtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
3038 PyObject * _resultobj;
3039 wxHtmlCell * _arg0;
3040 int _arg1;
3041 PyObject * _argo0 = 0;
3042 char *_kwnames[] = { "self","w", NULL };
3043
3044 self = self;
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_Layout",_kwnames,&_argo0,&_arg1))
3046 return NULL;
3047 if (_argo0) {
3048 if (_argo0 == Py_None) { _arg0 = NULL; }
3049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3051 return NULL;
3052 }
3053 }
3054 {
3055 wxPy_BEGIN_ALLOW_THREADS;
3056 wxHtmlCell_Layout(_arg0,_arg1);
3057
3058 wxPy_END_ALLOW_THREADS;
3059 } Py_INCREF(Py_None);
3060 _resultobj = Py_None;
3061 return _resultobj;
3062 }
3063
3064 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3065 static PyObject *_wrap_wxHtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
3066 PyObject * _resultobj;
3067 wxHtmlCell * _arg0;
3068 wxDC * _arg1;
3069 int _arg2;
3070 int _arg3;
3071 int _arg4;
3072 int _arg5;
3073 PyObject * _argo0 = 0;
3074 PyObject * _argo1 = 0;
3075 char *_kwnames[] = { "self","dc","x","y","view_y1","view_y2", NULL };
3076
3077 self = self;
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii:wxHtmlCell_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3079 return NULL;
3080 if (_argo0) {
3081 if (_argo0 == Py_None) { _arg0 = NULL; }
3082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3084 return NULL;
3085 }
3086 }
3087 if (_argo1) {
3088 if (_argo1 == Py_None) { _arg1 = NULL; }
3089 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3090 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3091 return NULL;
3092 }
3093 }
3094 {
3095 wxPy_BEGIN_ALLOW_THREADS;
3096 wxHtmlCell_Draw(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3097
3098 wxPy_END_ALLOW_THREADS;
3099 } Py_INCREF(Py_None);
3100 _resultobj = Py_None;
3101 return _resultobj;
3102 }
3103
3104 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3105 static PyObject *_wrap_wxHtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3106 PyObject * _resultobj;
3107 wxHtmlCell * _arg0;
3108 wxDC * _arg1;
3109 int _arg2;
3110 int _arg3;
3111 PyObject * _argo0 = 0;
3112 PyObject * _argo1 = 0;
3113 char *_kwnames[] = { "self","dc","x","y", NULL };
3114
3115 self = self;
3116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlCell_DrawInvisible",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3117 return NULL;
3118 if (_argo0) {
3119 if (_argo0 == Py_None) { _arg0 = NULL; }
3120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3122 return NULL;
3123 }
3124 }
3125 if (_argo1) {
3126 if (_argo1 == Py_None) { _arg1 = NULL; }
3127 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3128 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3129 return NULL;
3130 }
3131 }
3132 {
3133 wxPy_BEGIN_ALLOW_THREADS;
3134 wxHtmlCell_DrawInvisible(_arg0,*_arg1,_arg2,_arg3);
3135
3136 wxPy_END_ALLOW_THREADS;
3137 } Py_INCREF(Py_None);
3138 _resultobj = Py_None;
3139 return _resultobj;
3140 }
3141
3142 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3143 static PyObject *_wrap_wxHtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
3144 PyObject * _resultobj;
3145 wxHtmlCell * _result;
3146 wxHtmlCell * _arg0;
3147 int _arg1;
3148 void * _arg2;
3149 PyObject * _argo0 = 0;
3150 PyObject * _argo2 = 0;
3151 char *_kwnames[] = { "self","condition","param", NULL };
3152 char _ptemp[128];
3153
3154 self = self;
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxHtmlCell_Find",_kwnames,&_argo0,&_arg1,&_argo2))
3156 return NULL;
3157 if (_argo0) {
3158 if (_argo0 == Py_None) { _arg0 = NULL; }
3159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3161 return NULL;
3162 }
3163 }
3164 if (_argo2) {
3165 if (_argo2 == Py_None) { _arg2 = NULL; }
3166 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) {
3167 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3168 return NULL;
3169 }
3170 }
3171 {
3172 wxPy_BEGIN_ALLOW_THREADS;
3173 _result = (wxHtmlCell *)wxHtmlCell_Find(_arg0,_arg1,_arg2);
3174
3175 wxPy_END_ALLOW_THREADS;
3176 } if (_result) {
3177 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
3178 _resultobj = Py_BuildValue("s",_ptemp);
3179 } else {
3180 Py_INCREF(Py_None);
3181 _resultobj = Py_None;
3182 }
3183 return _resultobj;
3184 }
3185
3186 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3187 static PyObject *_wrap_wxHtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
3188 PyObject * _resultobj;
3189 bool _result;
3190 wxHtmlCell * _arg0;
3191 int * _arg1;
3192 PyObject * _argo0 = 0;
3193 PyObject * _argo1 = 0;
3194 char *_kwnames[] = { "self","pagebreak", NULL };
3195
3196 self = self;
3197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_AdjustPagebreak",_kwnames,&_argo0,&_argo1))
3198 return NULL;
3199 if (_argo0) {
3200 if (_argo0 == Py_None) { _arg0 = NULL; }
3201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3203 return NULL;
3204 }
3205 }
3206 if (_argo1) {
3207 if (_argo1 == Py_None) { _arg1 = NULL; }
3208 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
3209 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3210 return NULL;
3211 }
3212 }
3213 {
3214 wxPy_BEGIN_ALLOW_THREADS;
3215 _result = (bool )wxHtmlCell_AdjustPagebreak(_arg0,_arg1);
3216
3217 wxPy_END_ALLOW_THREADS;
3218 } _resultobj = Py_BuildValue("i",_result);
3219 return _resultobj;
3220 }
3221
3222 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3223 static PyObject *_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
3224 PyObject * _resultobj;
3225 wxHtmlCell * _arg0;
3226 bool _arg1;
3227 PyObject * _argo0 = 0;
3228 int tempbool1;
3229 char *_kwnames[] = { "self","can", NULL };
3230
3231 self = self;
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames,&_argo0,&tempbool1))
3233 return NULL;
3234 if (_argo0) {
3235 if (_argo0 == Py_None) { _arg0 = NULL; }
3236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3238 return NULL;
3239 }
3240 }
3241 _arg1 = (bool ) tempbool1;
3242 {
3243 wxPy_BEGIN_ALLOW_THREADS;
3244 wxHtmlCell_SetCanLiveOnPagebreak(_arg0,_arg1);
3245
3246 wxPy_END_ALLOW_THREADS;
3247 } Py_INCREF(Py_None);
3248 _resultobj = Py_None;
3249 return _resultobj;
3250 }
3251
3252 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr) {
3253 wxHtmlWordCell *src;
3254 wxHtmlCell *dest;
3255 src = (wxHtmlWordCell *) ptr;
3256 dest = (wxHtmlCell *) src;
3257 return (void *) dest;
3258 }
3259
3260 static void *SwigwxHtmlWordCellTowxObject(void *ptr) {
3261 wxHtmlWordCell *src;
3262 wxObject *dest;
3263 src = (wxHtmlWordCell *) ptr;
3264 dest = (wxObject *) src;
3265 return (void *) dest;
3266 }
3267
3268 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3269 static PyObject *_wrap_new_wxHtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3270 PyObject * _resultobj;
3271 wxHtmlWordCell * _result;
3272 wxString * _arg0;
3273 wxDC * _arg1;
3274 PyObject * _obj0 = 0;
3275 PyObject * _argo1 = 0;
3276 char *_kwnames[] = { "word","dc", NULL };
3277 char _ptemp[128];
3278
3279 self = self;
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxHtmlWordCell",_kwnames,&_obj0,&_argo1))
3281 return NULL;
3282 {
3283 #if PYTHON_API_VERSION >= 1009
3284 char* tmpPtr; int tmpSize;
3285 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
3286 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3287 return NULL;
3288 }
3289 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
3290 return NULL;
3291 _arg0 = new wxString(tmpPtr, tmpSize);
3292 #else
3293 if (!PyString_Check(_obj0)) {
3294 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3295 return NULL;
3296 }
3297 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
3298 #endif
3299 }
3300 if (_argo1) {
3301 if (_argo1 == Py_None) { _arg1 = NULL; }
3302 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3304 return NULL;
3305 }
3306 }
3307 {
3308 wxPy_BEGIN_ALLOW_THREADS;
3309 _result = (wxHtmlWordCell *)new_wxHtmlWordCell(*_arg0,*_arg1);
3310
3311 wxPy_END_ALLOW_THREADS;
3312 } if (_result) {
3313 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWordCell_p");
3314 _resultobj = Py_BuildValue("s",_ptemp);
3315 } else {
3316 Py_INCREF(Py_None);
3317 _resultobj = Py_None;
3318 }
3319 {
3320 if (_obj0)
3321 delete _arg0;
3322 }
3323 return _resultobj;
3324 }
3325
3326 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr) {
3327 wxHtmlContainerCell *src;
3328 wxHtmlCell *dest;
3329 src = (wxHtmlContainerCell *) ptr;
3330 dest = (wxHtmlCell *) src;
3331 return (void *) dest;
3332 }
3333
3334 static void *SwigwxHtmlContainerCellTowxObject(void *ptr) {
3335 wxHtmlContainerCell *src;
3336 wxObject *dest;
3337 src = (wxHtmlContainerCell *) ptr;
3338 dest = (wxObject *) src;
3339 return (void *) dest;
3340 }
3341
3342 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3343 static PyObject *_wrap_new_wxHtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject * _resultobj;
3345 wxHtmlContainerCell * _result;
3346 wxHtmlContainerCell * _arg0;
3347 PyObject * _argo0 = 0;
3348 char *_kwnames[] = { "parent", NULL };
3349 char _ptemp[128];
3350
3351 self = self;
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlContainerCell",_kwnames,&_argo0))
3353 return NULL;
3354 if (_argo0) {
3355 if (_argo0 == Py_None) { _arg0 = NULL; }
3356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3358 return NULL;
3359 }
3360 }
3361 {
3362 wxPy_BEGIN_ALLOW_THREADS;
3363 _result = (wxHtmlContainerCell *)new_wxHtmlContainerCell(_arg0);
3364
3365 wxPy_END_ALLOW_THREADS;
3366 } if (_result) {
3367 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
3368 _resultobj = Py_BuildValue("s",_ptemp);
3369 } else {
3370 Py_INCREF(Py_None);
3371 _resultobj = Py_None;
3372 }
3373 return _resultobj;
3374 }
3375
3376 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3377 static PyObject *_wrap_wxHtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject * _resultobj;
3379 wxHtmlContainerCell * _arg0;
3380 wxHtmlCell * _arg1;
3381 PyObject * _argo0 = 0;
3382 PyObject * _argo1 = 0;
3383 char *_kwnames[] = { "self","cell", NULL };
3384
3385 self = self;
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_InsertCell",_kwnames,&_argo0,&_argo1))
3387 return NULL;
3388 if (_argo0) {
3389 if (_argo0 == Py_None) { _arg0 = NULL; }
3390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3392 return NULL;
3393 }
3394 }
3395 if (_argo1) {
3396 if (_argo1 == Py_None) { _arg1 = NULL; }
3397 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
3398 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3399 return NULL;
3400 }
3401 }
3402 {
3403 wxPy_BEGIN_ALLOW_THREADS;
3404 wxHtmlContainerCell_InsertCell(_arg0,_arg1);
3405
3406 wxPy_END_ALLOW_THREADS;
3407 } Py_INCREF(Py_None);
3408 _resultobj = Py_None;
3409 return _resultobj;
3410 }
3411
3412 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3413 static PyObject *_wrap_wxHtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
3414 PyObject * _resultobj;
3415 wxHtmlContainerCell * _arg0;
3416 int _arg1;
3417 PyObject * _argo0 = 0;
3418 char *_kwnames[] = { "self","al", NULL };
3419
3420 self = self;
3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames,&_argo0,&_arg1))
3422 return NULL;
3423 if (_argo0) {
3424 if (_argo0 == Py_None) { _arg0 = NULL; }
3425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3427 return NULL;
3428 }
3429 }
3430 {
3431 wxPy_BEGIN_ALLOW_THREADS;
3432 wxHtmlContainerCell_SetAlignHor(_arg0,_arg1);
3433
3434 wxPy_END_ALLOW_THREADS;
3435 } Py_INCREF(Py_None);
3436 _resultobj = Py_None;
3437 return _resultobj;
3438 }
3439
3440 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3441 static PyObject *_wrap_wxHtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
3442 PyObject * _resultobj;
3443 int _result;
3444 wxHtmlContainerCell * _arg0;
3445 PyObject * _argo0 = 0;
3446 char *_kwnames[] = { "self", NULL };
3447
3448 self = self;
3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignHor",_kwnames,&_argo0))
3450 return NULL;
3451 if (_argo0) {
3452 if (_argo0 == Py_None) { _arg0 = NULL; }
3453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3455 return NULL;
3456 }
3457 }
3458 {
3459 wxPy_BEGIN_ALLOW_THREADS;
3460 _result = (int )wxHtmlContainerCell_GetAlignHor(_arg0);
3461
3462 wxPy_END_ALLOW_THREADS;
3463 } _resultobj = Py_BuildValue("i",_result);
3464 return _resultobj;
3465 }
3466
3467 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3468 static PyObject *_wrap_wxHtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
3469 PyObject * _resultobj;
3470 wxHtmlContainerCell * _arg0;
3471 int _arg1;
3472 PyObject * _argo0 = 0;
3473 char *_kwnames[] = { "self","al", NULL };
3474
3475 self = self;
3476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames,&_argo0,&_arg1))
3477 return NULL;
3478 if (_argo0) {
3479 if (_argo0 == Py_None) { _arg0 = NULL; }
3480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3482 return NULL;
3483 }
3484 }
3485 {
3486 wxPy_BEGIN_ALLOW_THREADS;
3487 wxHtmlContainerCell_SetAlignVer(_arg0,_arg1);
3488
3489 wxPy_END_ALLOW_THREADS;
3490 } Py_INCREF(Py_None);
3491 _resultobj = Py_None;
3492 return _resultobj;
3493 }
3494
3495 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3496 static PyObject *_wrap_wxHtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject * _resultobj;
3498 int _result;
3499 wxHtmlContainerCell * _arg0;
3500 PyObject * _argo0 = 0;
3501 char *_kwnames[] = { "self", NULL };
3502
3503 self = self;
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignVer",_kwnames,&_argo0))
3505 return NULL;
3506 if (_argo0) {
3507 if (_argo0 == Py_None) { _arg0 = NULL; }
3508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3510 return NULL;
3511 }
3512 }
3513 {
3514 wxPy_BEGIN_ALLOW_THREADS;
3515 _result = (int )wxHtmlContainerCell_GetAlignVer(_arg0);
3516
3517 wxPy_END_ALLOW_THREADS;
3518 } _resultobj = Py_BuildValue("i",_result);
3519 return _resultobj;
3520 }
3521
3522 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3523 static PyObject *_wrap_wxHtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3524 PyObject * _resultobj;
3525 wxHtmlContainerCell * _arg0;
3526 int _arg1;
3527 int _arg2;
3528 int _arg3 = (int ) (wxHTML_UNITS_PIXELS);
3529 PyObject * _argo0 = 0;
3530 char *_kwnames[] = { "self","i","what","units", NULL };
3531
3532 self = self;
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3534 return NULL;
3535 if (_argo0) {
3536 if (_argo0 == Py_None) { _arg0 = NULL; }
3537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3539 return NULL;
3540 }
3541 }
3542 {
3543 wxPy_BEGIN_ALLOW_THREADS;
3544 wxHtmlContainerCell_SetIndent(_arg0,_arg1,_arg2,_arg3);
3545
3546 wxPy_END_ALLOW_THREADS;
3547 } Py_INCREF(Py_None);
3548 _resultobj = Py_None;
3549 return _resultobj;
3550 }
3551
3552 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3553 static PyObject *_wrap_wxHtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3554 PyObject * _resultobj;
3555 int _result;
3556 wxHtmlContainerCell * _arg0;
3557 int _arg1;
3558 PyObject * _argo0 = 0;
3559 char *_kwnames[] = { "self","ind", NULL };
3560
3561 self = self;
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndent",_kwnames,&_argo0,&_arg1))
3563 return NULL;
3564 if (_argo0) {
3565 if (_argo0 == Py_None) { _arg0 = NULL; }
3566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3568 return NULL;
3569 }
3570 }
3571 {
3572 wxPy_BEGIN_ALLOW_THREADS;
3573 _result = (int )wxHtmlContainerCell_GetIndent(_arg0,_arg1);
3574
3575 wxPy_END_ALLOW_THREADS;
3576 } _resultobj = Py_BuildValue("i",_result);
3577 return _resultobj;
3578 }
3579
3580 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3581 static PyObject *_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
3582 PyObject * _resultobj;
3583 int _result;
3584 wxHtmlContainerCell * _arg0;
3585 int _arg1;
3586 PyObject * _argo0 = 0;
3587 char *_kwnames[] = { "self","ind", NULL };
3588
3589 self = self;
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames,&_argo0,&_arg1))
3591 return NULL;
3592 if (_argo0) {
3593 if (_argo0 == Py_None) { _arg0 = NULL; }
3594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3596 return NULL;
3597 }
3598 }
3599 {
3600 wxPy_BEGIN_ALLOW_THREADS;
3601 _result = (int )wxHtmlContainerCell_GetIndentUnits(_arg0,_arg1);
3602
3603 wxPy_END_ALLOW_THREADS;
3604 } _resultobj = Py_BuildValue("i",_result);
3605 return _resultobj;
3606 }
3607
3608 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3609 static PyObject *_wrap_wxHtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
3610 PyObject * _resultobj;
3611 wxHtmlContainerCell * _arg0;
3612 wxHtmlTag * _arg1;
3613 PyObject * _argo0 = 0;
3614 PyObject * _argo1 = 0;
3615 char *_kwnames[] = { "self","tag", NULL };
3616
3617 self = self;
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetAlign",_kwnames,&_argo0,&_argo1))
3619 return NULL;
3620 if (_argo0) {
3621 if (_argo0 == Py_None) { _arg0 = NULL; }
3622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3624 return NULL;
3625 }
3626 }
3627 if (_argo1) {
3628 if (_argo1 == Py_None) { _arg1 = NULL; }
3629 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
3630 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3631 return NULL;
3632 }
3633 }
3634 {
3635 wxPy_BEGIN_ALLOW_THREADS;
3636 wxHtmlContainerCell_SetAlign(_arg0,*_arg1);
3637
3638 wxPy_END_ALLOW_THREADS;
3639 } Py_INCREF(Py_None);
3640 _resultobj = Py_None;
3641 return _resultobj;
3642 }
3643
3644 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3645 static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
3646 PyObject * _resultobj;
3647 wxHtmlContainerCell * _arg0;
3648 int _arg1;
3649 int _arg2;
3650 PyObject * _argo0 = 0;
3651 char *_kwnames[] = { "self","w","units", NULL };
3652
3653 self = self;
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames,&_argo0,&_arg1,&_arg2))
3655 return NULL;
3656 if (_argo0) {
3657 if (_argo0 == Py_None) { _arg0 = NULL; }
3658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3660 return NULL;
3661 }
3662 }
3663 {
3664 wxPy_BEGIN_ALLOW_THREADS;
3665 wxHtmlContainerCell_SetWidthFloat(_arg0,_arg1,_arg2);
3666
3667 wxPy_END_ALLOW_THREADS;
3668 } Py_INCREF(Py_None);
3669 _resultobj = Py_None;
3670 return _resultobj;
3671 }
3672
3673 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3674 static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject * _resultobj;
3676 wxHtmlContainerCell * _arg0;
3677 wxHtmlTag * _arg1;
3678 PyObject * _argo0 = 0;
3679 PyObject * _argo1 = 0;
3680 char *_kwnames[] = { "self","tag", NULL };
3681
3682 self = self;
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames,&_argo0,&_argo1))
3684 return NULL;
3685 if (_argo0) {
3686 if (_argo0 == Py_None) { _arg0 = NULL; }
3687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3689 return NULL;
3690 }
3691 }
3692 if (_argo1) {
3693 if (_argo1 == Py_None) { _arg1 = NULL; }
3694 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
3695 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3696 return NULL;
3697 }
3698 }
3699 {
3700 wxPy_BEGIN_ALLOW_THREADS;
3701 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0,*_arg1);
3702
3703 wxPy_END_ALLOW_THREADS;
3704 } Py_INCREF(Py_None);
3705 _resultobj = Py_None;
3706 return _resultobj;
3707 }
3708
3709 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3710 static PyObject *_wrap_wxHtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3711 PyObject * _resultobj;
3712 wxHtmlContainerCell * _arg0;
3713 int _arg1;
3714 int _arg2 = (int ) (wxHTML_ALIGN_TOP);
3715 PyObject * _argo0 = 0;
3716 char *_kwnames[] = { "self","h","align", NULL };
3717
3718 self = self;
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames,&_argo0,&_arg1,&_arg2))
3720 return NULL;
3721 if (_argo0) {
3722 if (_argo0 == Py_None) { _arg0 = NULL; }
3723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3725 return NULL;
3726 }
3727 }
3728 {
3729 wxPy_BEGIN_ALLOW_THREADS;
3730 wxHtmlContainerCell_SetMinHeight(_arg0,_arg1,_arg2);
3731
3732 wxPy_END_ALLOW_THREADS;
3733 } Py_INCREF(Py_None);
3734 _resultobj = Py_None;
3735 return _resultobj;
3736 }
3737
3738 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3739 static PyObject *_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3740 PyObject * _resultobj;
3741 wxHtmlContainerCell * _arg0;
3742 wxColour * _arg1;
3743 PyObject * _argo0 = 0;
3744 wxColour temp;
3745 PyObject * _obj1 = 0;
3746 char *_kwnames[] = { "self","clr", NULL };
3747
3748 self = self;
3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3750 return NULL;
3751 if (_argo0) {
3752 if (_argo0 == Py_None) { _arg0 = NULL; }
3753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3755 return NULL;
3756 }
3757 }
3758 {
3759 _arg1 = &temp;
3760 if (! wxColour_helper(_obj1, &_arg1))
3761 return NULL;
3762 }
3763 {
3764 wxPy_BEGIN_ALLOW_THREADS;
3765 wxHtmlContainerCell_SetBackgroundColour(_arg0,*_arg1);
3766
3767 wxPy_END_ALLOW_THREADS;
3768 } Py_INCREF(Py_None);
3769 _resultobj = Py_None;
3770 return _resultobj;
3771 }
3772
3773 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3774 static PyObject *_wrap_wxHtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject * _resultobj;
3776 wxHtmlContainerCell * _arg0;
3777 wxColour * _arg1;
3778 wxColour * _arg2;
3779 PyObject * _argo0 = 0;
3780 wxColour temp;
3781 PyObject * _obj1 = 0;
3782 wxColour temp0;
3783 PyObject * _obj2 = 0;
3784 char *_kwnames[] = { "self","clr1","clr2", NULL };
3785
3786 self = self;
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlContainerCell_SetBorder",_kwnames,&_argo0,&_obj1,&_obj2))
3788 return NULL;
3789 if (_argo0) {
3790 if (_argo0 == Py_None) { _arg0 = NULL; }
3791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3793 return NULL;
3794 }
3795 }
3796 {
3797 _arg1 = &temp;
3798 if (! wxColour_helper(_obj1, &_arg1))
3799 return NULL;
3800 }
3801 {
3802 _arg2 = &temp0;
3803 if (! wxColour_helper(_obj2, &_arg2))
3804 return NULL;
3805 }
3806 {
3807 wxPy_BEGIN_ALLOW_THREADS;
3808 wxHtmlContainerCell_SetBorder(_arg0,*_arg1,*_arg2);
3809
3810 wxPy_END_ALLOW_THREADS;
3811 } Py_INCREF(Py_None);
3812 _resultobj = Py_None;
3813 return _resultobj;
3814 }
3815
3816 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3817 static PyObject *_wrap_wxHtmlContainerCell_GetFirstCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3818 PyObject * _resultobj;
3819 wxHtmlCell * _result;
3820 wxHtmlContainerCell * _arg0;
3821 PyObject * _argo0 = 0;
3822 char *_kwnames[] = { "self", NULL };
3823 char _ptemp[128];
3824
3825 self = self;
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetFirstCell",_kwnames,&_argo0))
3827 return NULL;
3828 if (_argo0) {
3829 if (_argo0 == Py_None) { _arg0 = NULL; }
3830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3832 return NULL;
3833 }
3834 }
3835 {
3836 wxPy_BEGIN_ALLOW_THREADS;
3837 _result = (wxHtmlCell *)wxHtmlContainerCell_GetFirstCell(_arg0);
3838
3839 wxPy_END_ALLOW_THREADS;
3840 } if (_result) {
3841 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
3842 _resultobj = Py_BuildValue("s",_ptemp);
3843 } else {
3844 Py_INCREF(Py_None);
3845 _resultobj = Py_None;
3846 }
3847 return _resultobj;
3848 }
3849
3850 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr) {
3851 wxHtmlColourCell *src;
3852 wxHtmlCell *dest;
3853 src = (wxHtmlColourCell *) ptr;
3854 dest = (wxHtmlCell *) src;
3855 return (void *) dest;
3856 }
3857
3858 static void *SwigwxHtmlColourCellTowxObject(void *ptr) {
3859 wxHtmlColourCell *src;
3860 wxObject *dest;
3861 src = (wxHtmlColourCell *) ptr;
3862 dest = (wxObject *) src;
3863 return (void *) dest;
3864 }
3865
3866 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3867 static PyObject *_wrap_new_wxHtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3868 PyObject * _resultobj;
3869 wxHtmlColourCell * _result;
3870 wxColour * _arg0;
3871 int _arg1 = (int ) (wxHTML_CLR_FOREGROUND);
3872 wxColour temp;
3873 PyObject * _obj0 = 0;
3874 char *_kwnames[] = { "clr","flags", NULL };
3875 char _ptemp[128];
3876
3877 self = self;
3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlColourCell",_kwnames,&_obj0,&_arg1))
3879 return NULL;
3880 {
3881 _arg0 = &temp;
3882 if (! wxColour_helper(_obj0, &_arg0))
3883 return NULL;
3884 }
3885 {
3886 wxPy_BEGIN_ALLOW_THREADS;
3887 _result = (wxHtmlColourCell *)new_wxHtmlColourCell(*_arg0,_arg1);
3888
3889 wxPy_END_ALLOW_THREADS;
3890 } if (_result) {
3891 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlColourCell_p");
3892 _resultobj = Py_BuildValue("s",_ptemp);
3893 } else {
3894 Py_INCREF(Py_None);
3895 _resultobj = Py_None;
3896 }
3897 return _resultobj;
3898 }
3899
3900 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr) {
3901 wxHtmlFontCell *src;
3902 wxHtmlCell *dest;
3903 src = (wxHtmlFontCell *) ptr;
3904 dest = (wxHtmlCell *) src;
3905 return (void *) dest;
3906 }
3907
3908 static void *SwigwxHtmlFontCellTowxObject(void *ptr) {
3909 wxHtmlFontCell *src;
3910 wxObject *dest;
3911 src = (wxHtmlFontCell *) ptr;
3912 dest = (wxObject *) src;
3913 return (void *) dest;
3914 }
3915
3916 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3917 static PyObject *_wrap_new_wxHtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3918 PyObject * _resultobj;
3919 wxHtmlFontCell * _result;
3920 wxFont * _arg0;
3921 PyObject * _argo0 = 0;
3922 char *_kwnames[] = { "font", NULL };
3923 char _ptemp[128];
3924
3925 self = self;
3926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlFontCell",_kwnames,&_argo0))
3927 return NULL;
3928 if (_argo0) {
3929 if (_argo0 == Py_None) { _arg0 = NULL; }
3930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3932 return NULL;
3933 }
3934 }
3935 {
3936 wxPy_BEGIN_ALLOW_THREADS;
3937 _result = (wxHtmlFontCell *)new_wxHtmlFontCell(_arg0);
3938
3939 wxPy_END_ALLOW_THREADS;
3940 } if (_result) {
3941 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlFontCell_p");
3942 _resultobj = Py_BuildValue("s",_ptemp);
3943 } else {
3944 Py_INCREF(Py_None);
3945 _resultobj = Py_None;
3946 }
3947 return _resultobj;
3948 }
3949
3950 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr) {
3951 wxHtmlWidgetCell *src;
3952 wxHtmlCell *dest;
3953 src = (wxHtmlWidgetCell *) ptr;
3954 dest = (wxHtmlCell *) src;
3955 return (void *) dest;
3956 }
3957
3958 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr) {
3959 wxHtmlWidgetCell *src;
3960 wxObject *dest;
3961 src = (wxHtmlWidgetCell *) ptr;
3962 dest = (wxObject *) src;
3963 return (void *) dest;
3964 }
3965
3966 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3967 static PyObject *_wrap_new_wxHtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3968 PyObject * _resultobj;
3969 wxHtmlWidgetCell * _result;
3970 wxWindow * _arg0;
3971 int _arg1 = (int ) 0;
3972 PyObject * _argo0 = 0;
3973 char *_kwnames[] = { "wnd","w", NULL };
3974 char _ptemp[128];
3975
3976 self = self;
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlWidgetCell",_kwnames,&_argo0,&_arg1))
3978 return NULL;
3979 if (_argo0) {
3980 if (_argo0 == Py_None) { _arg0 = NULL; }
3981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3983 return NULL;
3984 }
3985 }
3986 {
3987 wxPy_BEGIN_ALLOW_THREADS;
3988 _result = (wxHtmlWidgetCell *)new_wxHtmlWidgetCell(_arg0,_arg1);
3989
3990 wxPy_END_ALLOW_THREADS;
3991 } if (_result) {
3992 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWidgetCell_p");
3993 _resultobj = Py_BuildValue("s",_ptemp);
3994 } else {
3995 Py_INCREF(Py_None);
3996 _resultobj = Py_None;
3997 }
3998 return _resultobj;
3999 }
4000
4001 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr) {
4002 wxPyHtmlWindow *src;
4003 wxScrolledWindow *dest;
4004 src = (wxPyHtmlWindow *) ptr;
4005 dest = (wxScrolledWindow *) src;
4006 return (void *) dest;
4007 }
4008
4009 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr) {
4010 wxPyHtmlWindow *src;
4011 wxPanel *dest;
4012 src = (wxPyHtmlWindow *) ptr;
4013 dest = (wxPanel *) src;
4014 return (void *) dest;
4015 }
4016
4017 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr) {
4018 wxPyHtmlWindow *src;
4019 wxWindow *dest;
4020 src = (wxPyHtmlWindow *) ptr;
4021 dest = (wxWindow *) src;
4022 return (void *) dest;
4023 }
4024
4025 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr) {
4026 wxPyHtmlWindow *src;
4027 wxEvtHandler *dest;
4028 src = (wxPyHtmlWindow *) ptr;
4029 dest = (wxEvtHandler *) src;
4030 return (void *) dest;
4031 }
4032
4033 static void *SwigwxPyHtmlWindowTowxObject(void *ptr) {
4034 wxPyHtmlWindow *src;
4035 wxObject *dest;
4036 src = (wxPyHtmlWindow *) ptr;
4037 dest = (wxObject *) src;
4038 return (void *) dest;
4039 }
4040
4041 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4042 static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4043 PyObject * _resultobj;
4044 wxPyHtmlWindow * _result;
4045 wxWindow * _arg0;
4046 int _arg1 = (int ) -1;
4047 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4048 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4049 int _arg4 = (int ) wxHW_SCROLLBAR_AUTO;
4050 char * _arg5 = (char *) "htmlWindow";
4051 PyObject * _argo0 = 0;
4052 wxPoint temp;
4053 PyObject * _obj2 = 0;
4054 wxSize temp0;
4055 PyObject * _obj3 = 0;
4056 char *_kwnames[] = { "parent","id","pos","size","flags","name", NULL };
4057 char _ptemp[128];
4058
4059 self = self;
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOis:new_wxHtmlWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
4061 return NULL;
4062 if (_argo0) {
4063 if (_argo0 == Py_None) { _arg0 = NULL; }
4064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4066 return NULL;
4067 }
4068 }
4069 if (_obj2)
4070 {
4071 _arg2 = &temp;
4072 if (! wxPoint_helper(_obj2, &_arg2))
4073 return NULL;
4074 }
4075 if (_obj3)
4076 {
4077 _arg3 = &temp0;
4078 if (! wxSize_helper(_obj3, &_arg3))
4079 return NULL;
4080 }
4081 {
4082 wxPy_BEGIN_ALLOW_THREADS;
4083 _result = (wxPyHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4084
4085 wxPy_END_ALLOW_THREADS;
4086 } if (_result) {
4087 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p");
4088 _resultobj = Py_BuildValue("s",_ptemp);
4089 } else {
4090 Py_INCREF(Py_None);
4091 _resultobj = Py_None;
4092 }
4093 return _resultobj;
4094 }
4095
4096 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4097 static PyObject *_wrap_wxHtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4098 PyObject * _resultobj;
4099 wxPyHtmlWindow * _arg0;
4100 PyObject * _arg1;
4101 PyObject * _arg2;
4102 PyObject * _argo0 = 0;
4103 PyObject * _obj1 = 0;
4104 PyObject * _obj2 = 0;
4105 char *_kwnames[] = { "self","self","_class", NULL };
4106
4107 self = self;
4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4109 return NULL;
4110 if (_argo0) {
4111 if (_argo0 == Py_None) { _arg0 = NULL; }
4112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4114 return NULL;
4115 }
4116 }
4117 {
4118 _arg1 = _obj1;
4119 }
4120 {
4121 _arg2 = _obj2;
4122 }
4123 {
4124 wxPy_BEGIN_ALLOW_THREADS;
4125 wxHtmlWindow__setCallbackInfo(_arg0,_arg1,_arg2);
4126
4127 wxPy_END_ALLOW_THREADS;
4128 } Py_INCREF(Py_None);
4129 _resultobj = Py_None;
4130 return _resultobj;
4131 }
4132
4133 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4134 static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject * _resultobj;
4136 bool _result;
4137 wxPyHtmlWindow * _arg0;
4138 wxString * _arg1;
4139 PyObject * _argo0 = 0;
4140 PyObject * _obj1 = 0;
4141 char *_kwnames[] = { "self","source", NULL };
4142
4143 self = self;
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_SetPage",_kwnames,&_argo0,&_obj1))
4145 return NULL;
4146 if (_argo0) {
4147 if (_argo0 == Py_None) { _arg0 = NULL; }
4148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4150 return NULL;
4151 }
4152 }
4153 {
4154 #if PYTHON_API_VERSION >= 1009
4155 char* tmpPtr; int tmpSize;
4156 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4157 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4158 return NULL;
4159 }
4160 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4161 return NULL;
4162 _arg1 = new wxString(tmpPtr, tmpSize);
4163 #else
4164 if (!PyString_Check(_obj1)) {
4165 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4166 return NULL;
4167 }
4168 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4169 #endif
4170 }
4171 {
4172 wxPy_BEGIN_ALLOW_THREADS;
4173 _result = (bool )wxHtmlWindow_SetPage(_arg0,*_arg1);
4174
4175 wxPy_END_ALLOW_THREADS;
4176 } _resultobj = Py_BuildValue("i",_result);
4177 {
4178 if (_obj1)
4179 delete _arg1;
4180 }
4181 return _resultobj;
4182 }
4183
4184 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4185 static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject * _resultobj;
4187 bool _result;
4188 wxPyHtmlWindow * _arg0;
4189 wxString * _arg1;
4190 PyObject * _argo0 = 0;
4191 PyObject * _obj1 = 0;
4192 char *_kwnames[] = { "self","location", NULL };
4193
4194 self = self;
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_LoadPage",_kwnames,&_argo0,&_obj1))
4196 return NULL;
4197 if (_argo0) {
4198 if (_argo0 == Py_None) { _arg0 = NULL; }
4199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4201 return NULL;
4202 }
4203 }
4204 {
4205 #if PYTHON_API_VERSION >= 1009
4206 char* tmpPtr; int tmpSize;
4207 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4208 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4209 return NULL;
4210 }
4211 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4212 return NULL;
4213 _arg1 = new wxString(tmpPtr, tmpSize);
4214 #else
4215 if (!PyString_Check(_obj1)) {
4216 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4217 return NULL;
4218 }
4219 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4220 #endif
4221 }
4222 {
4223 wxPy_BEGIN_ALLOW_THREADS;
4224 _result = (bool )wxHtmlWindow_LoadPage(_arg0,*_arg1);
4225
4226 wxPy_END_ALLOW_THREADS;
4227 } _resultobj = Py_BuildValue("i",_result);
4228 {
4229 if (_obj1)
4230 delete _arg1;
4231 }
4232 return _resultobj;
4233 }
4234
4235 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4236 static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4237 PyObject * _resultobj;
4238 wxString * _result;
4239 wxPyHtmlWindow * _arg0;
4240 PyObject * _argo0 = 0;
4241 char *_kwnames[] = { "self", NULL };
4242
4243 self = self;
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPage",_kwnames,&_argo0))
4245 return NULL;
4246 if (_argo0) {
4247 if (_argo0 == Py_None) { _arg0 = NULL; }
4248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4250 return NULL;
4251 }
4252 }
4253 {
4254 wxPy_BEGIN_ALLOW_THREADS;
4255 _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0));
4256
4257 wxPy_END_ALLOW_THREADS;
4258 }{
4259 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4260 }
4261 {
4262 delete _result;
4263 }
4264 return _resultobj;
4265 }
4266
4267 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4268 static PyObject *_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject * _resultobj;
4270 wxString * _result;
4271 wxPyHtmlWindow * _arg0;
4272 PyObject * _argo0 = 0;
4273 char *_kwnames[] = { "self", NULL };
4274
4275 self = self;
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames,&_argo0))
4277 return NULL;
4278 if (_argo0) {
4279 if (_argo0 == Py_None) { _arg0 = NULL; }
4280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4282 return NULL;
4283 }
4284 }
4285 {
4286 wxPy_BEGIN_ALLOW_THREADS;
4287 _result = new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0));
4288
4289 wxPy_END_ALLOW_THREADS;
4290 }{
4291 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4292 }
4293 {
4294 delete _result;
4295 }
4296 return _resultobj;
4297 }
4298
4299 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4300 static PyObject *_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4301 PyObject * _resultobj;
4302 wxString * _result;
4303 wxPyHtmlWindow * _arg0;
4304 PyObject * _argo0 = 0;
4305 char *_kwnames[] = { "self", NULL };
4306
4307 self = self;
4308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames,&_argo0))
4309 return NULL;
4310 if (_argo0) {
4311 if (_argo0 == Py_None) { _arg0 = NULL; }
4312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4314 return NULL;
4315 }
4316 }
4317 {
4318 wxPy_BEGIN_ALLOW_THREADS;
4319 _result = new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0));
4320
4321 wxPy_END_ALLOW_THREADS;
4322 }{
4323 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4324 }
4325 {
4326 delete _result;
4327 }
4328 return _resultobj;
4329 }
4330
4331 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4332 static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4333 PyObject * _resultobj;
4334 wxPyHtmlWindow * _arg0;
4335 wxFrame * _arg1;
4336 char * _arg2;
4337 PyObject * _argo0 = 0;
4338 PyObject * _argo1 = 0;
4339 char *_kwnames[] = { "self","frame","format", NULL };
4340
4341 self = self;
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames,&_argo0,&_argo1,&_arg2))
4343 return NULL;
4344 if (_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_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4348 return NULL;
4349 }
4350 }
4351 if (_argo1) {
4352 if (_argo1 == Py_None) { _arg1 = NULL; }
4353 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
4354 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4355 return NULL;
4356 }
4357 }
4358 {
4359 wxPy_BEGIN_ALLOW_THREADS;
4360 wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,_arg2);
4361
4362 wxPy_END_ALLOW_THREADS;
4363 } Py_INCREF(Py_None);
4364 _resultobj = Py_None;
4365 return _resultobj;
4366 }
4367
4368 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4369 static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4370 PyObject * _resultobj;
4371 wxFrame * _result;
4372 wxPyHtmlWindow * _arg0;
4373 PyObject * _argo0 = 0;
4374 char *_kwnames[] = { "self", NULL };
4375
4376 self = self;
4377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetRelatedFrame",_kwnames,&_argo0))
4378 return NULL;
4379 if (_argo0) {
4380 if (_argo0 == Py_None) { _arg0 = NULL; }
4381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4383 return NULL;
4384 }
4385 }
4386 {
4387 wxPy_BEGIN_ALLOW_THREADS;
4388 _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0);
4389
4390 wxPy_END_ALLOW_THREADS;
4391 }{ _resultobj = wxPyMake_wxObject(_result); }
4392 return _resultobj;
4393 }
4394
4395 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4396 static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4397 PyObject * _resultobj;
4398 wxPyHtmlWindow * _arg0;
4399 int _arg1;
4400 PyObject * _argo0 = 0;
4401 char *_kwnames[] = { "self","bar", NULL };
4402
4403 self = self;
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames,&_argo0,&_arg1))
4405 return NULL;
4406 if (_argo0) {
4407 if (_argo0 == Py_None) { _arg0 = NULL; }
4408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4410 return NULL;
4411 }
4412 }
4413 {
4414 wxPy_BEGIN_ALLOW_THREADS;
4415 wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1);
4416
4417 wxPy_END_ALLOW_THREADS;
4418 } Py_INCREF(Py_None);
4419 _resultobj = Py_None;
4420 return _resultobj;
4421 }
4422
4423 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject * sizes) {
4424 int* temp = int_LIST_helper(sizes);
4425 if (temp) {
4426 self->SetFonts(normal_face, fixed_face, temp);
4427 delete [] temp;
4428 }
4429 }
4430 static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject * _resultobj;
4432 wxPyHtmlWindow * _arg0;
4433 wxString * _arg1;
4434 wxString * _arg2;
4435 PyObject * _arg3;
4436 PyObject * _argo0 = 0;
4437 PyObject * _obj1 = 0;
4438 PyObject * _obj2 = 0;
4439 PyObject * _obj3 = 0;
4440 char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL };
4441
4442 self = self;
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
4444 return NULL;
4445 if (_argo0) {
4446 if (_argo0 == Py_None) { _arg0 = NULL; }
4447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4449 return NULL;
4450 }
4451 }
4452 {
4453 #if PYTHON_API_VERSION >= 1009
4454 char* tmpPtr; int tmpSize;
4455 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4456 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4457 return NULL;
4458 }
4459 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4460 return NULL;
4461 _arg1 = new wxString(tmpPtr, tmpSize);
4462 #else
4463 if (!PyString_Check(_obj1)) {
4464 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4465 return NULL;
4466 }
4467 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4468 #endif
4469 }
4470 {
4471 #if PYTHON_API_VERSION >= 1009
4472 char* tmpPtr; int tmpSize;
4473 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4474 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4475 return NULL;
4476 }
4477 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4478 return NULL;
4479 _arg2 = new wxString(tmpPtr, tmpSize);
4480 #else
4481 if (!PyString_Check(_obj2)) {
4482 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4483 return NULL;
4484 }
4485 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4486 #endif
4487 }
4488 {
4489 _arg3 = _obj3;
4490 }
4491 {
4492 wxPy_BEGIN_ALLOW_THREADS;
4493 wxPyHtmlWindow_SetFonts(_arg0,*_arg1,*_arg2,_arg3);
4494
4495 wxPy_END_ALLOW_THREADS;
4496 } Py_INCREF(Py_None);
4497 _resultobj = Py_None;
4498 {
4499 if (_obj1)
4500 delete _arg1;
4501 }
4502 {
4503 if (_obj2)
4504 delete _arg2;
4505 }
4506 return _resultobj;
4507 }
4508
4509 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4510 static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4511 PyObject * _resultobj;
4512 wxPyHtmlWindow * _arg0;
4513 wxString * _arg1;
4514 PyObject * _argo0 = 0;
4515 PyObject * _obj1 = 0;
4516 char *_kwnames[] = { "self","title", NULL };
4517
4518 self = self;
4519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_SetTitle",_kwnames,&_argo0,&_obj1))
4520 return NULL;
4521 if (_argo0) {
4522 if (_argo0 == Py_None) { _arg0 = NULL; }
4523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4525 return NULL;
4526 }
4527 }
4528 {
4529 #if PYTHON_API_VERSION >= 1009
4530 char* tmpPtr; int tmpSize;
4531 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4532 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4533 return NULL;
4534 }
4535 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4536 return NULL;
4537 _arg1 = new wxString(tmpPtr, tmpSize);
4538 #else
4539 if (!PyString_Check(_obj1)) {
4540 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4541 return NULL;
4542 }
4543 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4544 #endif
4545 }
4546 {
4547 wxPy_BEGIN_ALLOW_THREADS;
4548 wxHtmlWindow_SetTitle(_arg0,*_arg1);
4549
4550 wxPy_END_ALLOW_THREADS;
4551 } Py_INCREF(Py_None);
4552 _resultobj = Py_None;
4553 {
4554 if (_obj1)
4555 delete _arg1;
4556 }
4557 return _resultobj;
4558 }
4559
4560 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4561 static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject * _resultobj;
4563 wxPyHtmlWindow * _arg0;
4564 int _arg1;
4565 PyObject * _argo0 = 0;
4566 char *_kwnames[] = { "self","b", NULL };
4567
4568 self = self;
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetBorders",_kwnames,&_argo0,&_arg1))
4570 return NULL;
4571 if (_argo0) {
4572 if (_argo0 == Py_None) { _arg0 = NULL; }
4573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4575 return NULL;
4576 }
4577 }
4578 {
4579 wxPy_BEGIN_ALLOW_THREADS;
4580 wxHtmlWindow_SetBorders(_arg0,_arg1);
4581
4582 wxPy_END_ALLOW_THREADS;
4583 } Py_INCREF(Py_None);
4584 _resultobj = Py_None;
4585 return _resultobj;
4586 }
4587
4588 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4589 static PyObject *_wrap_wxHtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
4590 PyObject * _resultobj;
4591 wxPyHtmlWindow * _arg0;
4592 wxConfigBase * _arg1;
4593 wxString * _arg2 = (wxString *) &wxEmptyString;
4594 PyObject * _argo0 = 0;
4595 PyObject * _argo1 = 0;
4596 PyObject * _obj2 = 0;
4597 char *_kwnames[] = { "self","cfg","path", NULL };
4598
4599 self = self;
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
4601 return NULL;
4602 if (_argo0) {
4603 if (_argo0 == Py_None) { _arg0 = NULL; }
4604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4606 return NULL;
4607 }
4608 }
4609 if (_argo1) {
4610 if (_argo1 == Py_None) { _arg1 = NULL; }
4611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
4612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4613 return NULL;
4614 }
4615 }
4616 if (_obj2)
4617 {
4618 #if PYTHON_API_VERSION >= 1009
4619 char* tmpPtr; int tmpSize;
4620 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4621 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4622 return NULL;
4623 }
4624 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4625 return NULL;
4626 _arg2 = new wxString(tmpPtr, tmpSize);
4627 #else
4628 if (!PyString_Check(_obj2)) {
4629 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4630 return NULL;
4631 }
4632 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4633 #endif
4634 }
4635 {
4636 wxPy_BEGIN_ALLOW_THREADS;
4637 wxHtmlWindow_ReadCustomization(_arg0,_arg1,*_arg2);
4638
4639 wxPy_END_ALLOW_THREADS;
4640 } Py_INCREF(Py_None);
4641 _resultobj = Py_None;
4642 {
4643 if (_obj2)
4644 delete _arg2;
4645 }
4646 return _resultobj;
4647 }
4648
4649 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4650 static PyObject *_wrap_wxHtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
4651 PyObject * _resultobj;
4652 wxPyHtmlWindow * _arg0;
4653 wxConfigBase * _arg1;
4654 wxString * _arg2 = (wxString *) &wxEmptyString;
4655 PyObject * _argo0 = 0;
4656 PyObject * _argo1 = 0;
4657 PyObject * _obj2 = 0;
4658 char *_kwnames[] = { "self","cfg","path", NULL };
4659
4660 self = self;
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
4662 return NULL;
4663 if (_argo0) {
4664 if (_argo0 == Py_None) { _arg0 = NULL; }
4665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4667 return NULL;
4668 }
4669 }
4670 if (_argo1) {
4671 if (_argo1 == Py_None) { _arg1 = NULL; }
4672 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
4673 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4674 return NULL;
4675 }
4676 }
4677 if (_obj2)
4678 {
4679 #if PYTHON_API_VERSION >= 1009
4680 char* tmpPtr; int tmpSize;
4681 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4682 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4683 return NULL;
4684 }
4685 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4686 return NULL;
4687 _arg2 = new wxString(tmpPtr, tmpSize);
4688 #else
4689 if (!PyString_Check(_obj2)) {
4690 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4691 return NULL;
4692 }
4693 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4694 #endif
4695 }
4696 {
4697 wxPy_BEGIN_ALLOW_THREADS;
4698 wxHtmlWindow_WriteCustomization(_arg0,_arg1,*_arg2);
4699
4700 wxPy_END_ALLOW_THREADS;
4701 } Py_INCREF(Py_None);
4702 _resultobj = Py_None;
4703 {
4704 if (_obj2)
4705 delete _arg2;
4706 }
4707 return _resultobj;
4708 }
4709
4710 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4711 static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject * _resultobj;
4713 bool _result;
4714 wxPyHtmlWindow * _arg0;
4715 PyObject * _argo0 = 0;
4716 char *_kwnames[] = { "self", NULL };
4717
4718 self = self;
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryBack",_kwnames,&_argo0))
4720 return NULL;
4721 if (_argo0) {
4722 if (_argo0 == Py_None) { _arg0 = NULL; }
4723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4725 return NULL;
4726 }
4727 }
4728 {
4729 wxPy_BEGIN_ALLOW_THREADS;
4730 _result = (bool )wxHtmlWindow_HistoryBack(_arg0);
4731
4732 wxPy_END_ALLOW_THREADS;
4733 } _resultobj = Py_BuildValue("i",_result);
4734 return _resultobj;
4735 }
4736
4737 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4738 static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject * _resultobj;
4740 bool _result;
4741 wxPyHtmlWindow * _arg0;
4742 PyObject * _argo0 = 0;
4743 char *_kwnames[] = { "self", NULL };
4744
4745 self = self;
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryForward",_kwnames,&_argo0))
4747 return NULL;
4748 if (_argo0) {
4749 if (_argo0 == Py_None) { _arg0 = NULL; }
4750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4752 return NULL;
4753 }
4754 }
4755 {
4756 wxPy_BEGIN_ALLOW_THREADS;
4757 _result = (bool )wxHtmlWindow_HistoryForward(_arg0);
4758
4759 wxPy_END_ALLOW_THREADS;
4760 } _resultobj = Py_BuildValue("i",_result);
4761 return _resultobj;
4762 }
4763
4764 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4765 static PyObject *_wrap_wxHtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject * _resultobj;
4767 bool _result;
4768 wxPyHtmlWindow * _arg0;
4769 PyObject * _argo0 = 0;
4770 char *_kwnames[] = { "self", NULL };
4771
4772 self = self;
4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryCanBack",_kwnames,&_argo0))
4774 return NULL;
4775 if (_argo0) {
4776 if (_argo0 == Py_None) { _arg0 = NULL; }
4777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4779 return NULL;
4780 }
4781 }
4782 {
4783 wxPy_BEGIN_ALLOW_THREADS;
4784 _result = (bool )wxHtmlWindow_HistoryCanBack(_arg0);
4785
4786 wxPy_END_ALLOW_THREADS;
4787 } _resultobj = Py_BuildValue("i",_result);
4788 return _resultobj;
4789 }
4790
4791 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4792 static PyObject *_wrap_wxHtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
4793 PyObject * _resultobj;
4794 bool _result;
4795 wxPyHtmlWindow * _arg0;
4796 PyObject * _argo0 = 0;
4797 char *_kwnames[] = { "self", NULL };
4798
4799 self = self;
4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryCanForward",_kwnames,&_argo0))
4801 return NULL;
4802 if (_argo0) {
4803 if (_argo0 == Py_None) { _arg0 = NULL; }
4804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4806 return NULL;
4807 }
4808 }
4809 {
4810 wxPy_BEGIN_ALLOW_THREADS;
4811 _result = (bool )wxHtmlWindow_HistoryCanForward(_arg0);
4812
4813 wxPy_END_ALLOW_THREADS;
4814 } _resultobj = Py_BuildValue("i",_result);
4815 return _resultobj;
4816 }
4817
4818 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4819 static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject * _resultobj;
4821 wxPyHtmlWindow * _arg0;
4822 PyObject * _argo0 = 0;
4823 char *_kwnames[] = { "self", NULL };
4824
4825 self = self;
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryClear",_kwnames,&_argo0))
4827 return NULL;
4828 if (_argo0) {
4829 if (_argo0 == Py_None) { _arg0 = NULL; }
4830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4832 return NULL;
4833 }
4834 }
4835 {
4836 wxPy_BEGIN_ALLOW_THREADS;
4837 wxHtmlWindow_HistoryClear(_arg0);
4838
4839 wxPy_END_ALLOW_THREADS;
4840 } Py_INCREF(Py_None);
4841 _resultobj = Py_None;
4842 return _resultobj;
4843 }
4844
4845 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4846 static PyObject *_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4847 PyObject * _resultobj;
4848 wxHtmlContainerCell * _result;
4849 wxPyHtmlWindow * _arg0;
4850 PyObject * _argo0 = 0;
4851 char *_kwnames[] = { "self", NULL };
4852 char _ptemp[128];
4853
4854 self = self;
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames,&_argo0))
4856 return NULL;
4857 if (_argo0) {
4858 if (_argo0 == Py_None) { _arg0 = NULL; }
4859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4861 return NULL;
4862 }
4863 }
4864 {
4865 wxPy_BEGIN_ALLOW_THREADS;
4866 _result = (wxHtmlContainerCell *)wxHtmlWindow_GetInternalRepresentation(_arg0);
4867
4868 wxPy_END_ALLOW_THREADS;
4869 } if (_result) {
4870 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
4871 _resultobj = Py_BuildValue("s",_ptemp);
4872 } else {
4873 Py_INCREF(Py_None);
4874 _resultobj = Py_None;
4875 }
4876 return _resultobj;
4877 }
4878
4879 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4880 static PyObject *_wrap_wxHtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject * _resultobj;
4882 wxHtmlWinParser * _result;
4883 wxPyHtmlWindow * _arg0;
4884 PyObject * _argo0 = 0;
4885 char *_kwnames[] = { "self", NULL };
4886 char _ptemp[128];
4887
4888 self = self;
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetParser",_kwnames,&_argo0))
4890 return NULL;
4891 if (_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_GetParser. Expected _wxPyHtmlWindow_p.");
4895 return NULL;
4896 }
4897 }
4898 {
4899 wxPy_BEGIN_ALLOW_THREADS;
4900 _result = (wxHtmlWinParser *)wxHtmlWindow_GetParser(_arg0);
4901
4902 wxPy_END_ALLOW_THREADS;
4903 } if (_result) {
4904 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
4905 _resultobj = Py_BuildValue("s",_ptemp);
4906 } else {
4907 Py_INCREF(Py_None);
4908 _resultobj = Py_None;
4909 }
4910 return _resultobj;
4911 }
4912
4913 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4914 static PyObject *_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
4915 PyObject * _resultobj;
4916 wxPyHtmlWindow * _arg0;
4917 wxHtmlLinkInfo * _arg1;
4918 PyObject * _argo0 = 0;
4919 PyObject * _argo1 = 0;
4920 char *_kwnames[] = { "self","link", NULL };
4921
4922 self = self;
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames,&_argo0,&_argo1))
4924 return NULL;
4925 if (_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_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4929 return NULL;
4930 }
4931 }
4932 if (_argo1) {
4933 if (_argo1 == Py_None) { _arg1 = NULL; }
4934 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlLinkInfo_p")) {
4935 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
4936 return NULL;
4937 }
4938 }
4939 {
4940 wxPy_BEGIN_ALLOW_THREADS;
4941 wxHtmlWindow_base_OnLinkClicked(_arg0,*_arg1);
4942
4943 wxPy_END_ALLOW_THREADS;
4944 } Py_INCREF(Py_None);
4945 _resultobj = Py_None;
4946 return _resultobj;
4947 }
4948
4949 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
4950 static PyObject *_wrap_wxHtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject * _resultobj;
4952 wxPyHtmlWindow * _arg0;
4953 char * _arg1;
4954 PyObject * _argo0 = 0;
4955 char *_kwnames[] = { "self","title", NULL };
4956
4957 self = self;
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames,&_argo0,&_arg1))
4959 return NULL;
4960 if (_argo0) {
4961 if (_argo0 == Py_None) { _arg0 = NULL; }
4962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
4964 return NULL;
4965 }
4966 }
4967 {
4968 wxPy_BEGIN_ALLOW_THREADS;
4969 wxHtmlWindow_base_OnSetTitle(_arg0,_arg1);
4970
4971 wxPy_END_ALLOW_THREADS;
4972 } Py_INCREF(Py_None);
4973 _resultobj = Py_None;
4974 return _resultobj;
4975 }
4976
4977 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
4978 static PyObject *_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
4979 PyObject * _resultobj;
4980 wxPyHtmlWindow * _arg0;
4981 wxHtmlCell * _arg1;
4982 wxCoord _arg2;
4983 wxCoord _arg3;
4984 PyObject * _argo0 = 0;
4985 PyObject * _argo1 = 0;
4986 char *_kwnames[] = { "self","cell","x","y", NULL };
4987
4988 self = self;
4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4990 return NULL;
4991 if (_argo0) {
4992 if (_argo0 == Py_None) { _arg0 = NULL; }
4993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
4995 return NULL;
4996 }
4997 }
4998 if (_argo1) {
4999 if (_argo1 == Py_None) { _arg1 = NULL; }
5000 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
5001 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5002 return NULL;
5003 }
5004 }
5005 {
5006 wxPy_BEGIN_ALLOW_THREADS;
5007 wxHtmlWindow_base_OnCellMouseHover(_arg0,_arg1,_arg2,_arg3);
5008
5009 wxPy_END_ALLOW_THREADS;
5010 } Py_INCREF(Py_None);
5011 _resultobj = Py_None;
5012 return _resultobj;
5013 }
5014
5015 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5016 static PyObject *_wrap_wxHtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject * _resultobj;
5018 wxPyHtmlWindow * _arg0;
5019 wxHtmlCell * _arg1;
5020 wxCoord _arg2;
5021 wxCoord _arg3;
5022 wxMouseEvent * _arg4;
5023 PyObject * _argo0 = 0;
5024 PyObject * _argo1 = 0;
5025 PyObject * _argo4 = 0;
5026 char *_kwnames[] = { "self","cell","x","y","event", NULL };
5027
5028 self = self;
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_argo4))
5030 return NULL;
5031 if (_argo0) {
5032 if (_argo0 == Py_None) { _arg0 = NULL; }
5033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
5034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5035 return NULL;
5036 }
5037 }
5038 if (_argo1) {
5039 if (_argo1 == Py_None) { _arg1 = NULL; }
5040 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
5041 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5042 return NULL;
5043 }
5044 }
5045 if (_argo4) {
5046 if (_argo4 == Py_None) { _arg4 = NULL; }
5047 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMouseEvent_p")) {
5048 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5049 return NULL;
5050 }
5051 }
5052 {
5053 wxPy_BEGIN_ALLOW_THREADS;
5054 wxHtmlWindow_base_OnCellClicked(_arg0,_arg1,_arg2,_arg3,*_arg4);
5055
5056 wxPy_END_ALLOW_THREADS;
5057 } Py_INCREF(Py_None);
5058 _resultobj = Py_None;
5059 return _resultobj;
5060 }
5061
5062 static void *SwigwxHtmlDCRendererTowxObject(void *ptr) {
5063 wxHtmlDCRenderer *src;
5064 wxObject *dest;
5065 src = (wxHtmlDCRenderer *) ptr;
5066 dest = (wxObject *) src;
5067 return (void *) dest;
5068 }
5069
5070 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5071 static PyObject *_wrap_new_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject * _resultobj;
5073 wxHtmlDCRenderer * _result;
5074 char *_kwnames[] = { NULL };
5075 char _ptemp[128];
5076
5077 self = self;
5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlDCRenderer",_kwnames))
5079 return NULL;
5080 {
5081 wxPy_BEGIN_ALLOW_THREADS;
5082 _result = (wxHtmlDCRenderer *)new_wxHtmlDCRenderer();
5083
5084 wxPy_END_ALLOW_THREADS;
5085 } if (_result) {
5086 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlDCRenderer_p");
5087 _resultobj = Py_BuildValue("s",_ptemp);
5088 } else {
5089 Py_INCREF(Py_None);
5090 _resultobj = Py_None;
5091 }
5092 return _resultobj;
5093 }
5094
5095 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5096 static PyObject *_wrap_delete_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
5097 PyObject * _resultobj;
5098 wxHtmlDCRenderer * _arg0;
5099 PyObject * _argo0 = 0;
5100 char *_kwnames[] = { "self", NULL };
5101
5102 self = self;
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlDCRenderer",_kwnames,&_argo0))
5104 return NULL;
5105 if (_argo0) {
5106 if (_argo0 == Py_None) { _arg0 = NULL; }
5107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5109 return NULL;
5110 }
5111 }
5112 {
5113 wxPy_BEGIN_ALLOW_THREADS;
5114 delete_wxHtmlDCRenderer(_arg0);
5115
5116 wxPy_END_ALLOW_THREADS;
5117 } Py_INCREF(Py_None);
5118 _resultobj = Py_None;
5119 return _resultobj;
5120 }
5121
5122 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5123 static PyObject *_wrap_wxHtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5124 PyObject * _resultobj;
5125 wxHtmlDCRenderer * _arg0;
5126 wxDC * _arg1;
5127 int _arg2;
5128 PyObject * _argo0 = 0;
5129 PyObject * _argo1 = 0;
5130 char *_kwnames[] = { "self","dc","maxwidth", NULL };
5131
5132 self = self;
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxHtmlDCRenderer_SetDC",_kwnames,&_argo0,&_argo1,&_arg2))
5134 return NULL;
5135 if (_argo0) {
5136 if (_argo0 == Py_None) { _arg0 = NULL; }
5137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5139 return NULL;
5140 }
5141 }
5142 if (_argo1) {
5143 if (_argo1 == Py_None) { _arg1 = NULL; }
5144 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5146 return NULL;
5147 }
5148 }
5149 {
5150 wxPy_BEGIN_ALLOW_THREADS;
5151 wxHtmlDCRenderer_SetDC(_arg0,_arg1,_arg2);
5152
5153 wxPy_END_ALLOW_THREADS;
5154 } Py_INCREF(Py_None);
5155 _resultobj = Py_None;
5156 return _resultobj;
5157 }
5158
5159 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5160 static PyObject *_wrap_wxHtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject * _resultobj;
5162 wxHtmlDCRenderer * _arg0;
5163 int _arg1;
5164 int _arg2;
5165 PyObject * _argo0 = 0;
5166 char *_kwnames[] = { "self","width","height", NULL };
5167
5168 self = self;
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlDCRenderer_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
5170 return NULL;
5171 if (_argo0) {
5172 if (_argo0 == Py_None) { _arg0 = NULL; }
5173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5175 return NULL;
5176 }
5177 }
5178 {
5179 wxPy_BEGIN_ALLOW_THREADS;
5180 wxHtmlDCRenderer_SetSize(_arg0,_arg1,_arg2);
5181
5182 wxPy_END_ALLOW_THREADS;
5183 } Py_INCREF(Py_None);
5184 _resultobj = Py_None;
5185 return _resultobj;
5186 }
5187
5188 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5189 static PyObject *_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject * _resultobj;
5191 wxHtmlDCRenderer * _arg0;
5192 wxString * _arg1;
5193 wxString * _arg2 = (wxString *) &wxEmptyString;
5194 bool _arg3 = (bool ) TRUE;
5195 PyObject * _argo0 = 0;
5196 PyObject * _obj1 = 0;
5197 PyObject * _obj2 = 0;
5198 int tempbool3 = (int) TRUE;
5199 char *_kwnames[] = { "self","html","basepath","isdir", NULL };
5200
5201 self = self;
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
5203 return NULL;
5204 if (_argo0) {
5205 if (_argo0 == Py_None) { _arg0 = NULL; }
5206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5208 return NULL;
5209 }
5210 }
5211 {
5212 #if PYTHON_API_VERSION >= 1009
5213 char* tmpPtr; int tmpSize;
5214 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5215 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5216 return NULL;
5217 }
5218 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5219 return NULL;
5220 _arg1 = new wxString(tmpPtr, tmpSize);
5221 #else
5222 if (!PyString_Check(_obj1)) {
5223 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5224 return NULL;
5225 }
5226 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5227 #endif
5228 }
5229 if (_obj2)
5230 {
5231 #if PYTHON_API_VERSION >= 1009
5232 char* tmpPtr; int tmpSize;
5233 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5234 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5235 return NULL;
5236 }
5237 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5238 return NULL;
5239 _arg2 = new wxString(tmpPtr, tmpSize);
5240 #else
5241 if (!PyString_Check(_obj2)) {
5242 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5243 return NULL;
5244 }
5245 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5246 #endif
5247 }
5248 _arg3 = (bool ) tempbool3;
5249 {
5250 wxPy_BEGIN_ALLOW_THREADS;
5251 wxHtmlDCRenderer_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3);
5252
5253 wxPy_END_ALLOW_THREADS;
5254 } Py_INCREF(Py_None);
5255 _resultobj = Py_None;
5256 {
5257 if (_obj1)
5258 delete _arg1;
5259 }
5260 {
5261 if (_obj2)
5262 delete _arg2;
5263 }
5264 return _resultobj;
5265 }
5266
5267 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5268 static PyObject *_wrap_wxHtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
5269 PyObject * _resultobj;
5270 int _result;
5271 wxHtmlDCRenderer * _arg0;
5272 int _arg1;
5273 int _arg2;
5274 int _arg3 = (int ) 0;
5275 int _arg4 = (int ) FALSE;
5276 PyObject * _argo0 = 0;
5277 char *_kwnames[] = { "self","x","y","from","dont_render", NULL };
5278
5279 self = self;
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5281 return NULL;
5282 if (_argo0) {
5283 if (_argo0 == Py_None) { _arg0 = NULL; }
5284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5286 return NULL;
5287 }
5288 }
5289 {
5290 wxPy_BEGIN_ALLOW_THREADS;
5291 _result = (int )wxHtmlDCRenderer_Render(_arg0,_arg1,_arg2,_arg3,_arg4);
5292
5293 wxPy_END_ALLOW_THREADS;
5294 } _resultobj = Py_BuildValue("i",_result);
5295 return _resultobj;
5296 }
5297
5298 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5299 static PyObject *_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject * _resultobj;
5301 int _result;
5302 wxHtmlDCRenderer * _arg0;
5303 PyObject * _argo0 = 0;
5304 char *_kwnames[] = { "self", NULL };
5305
5306 self = self;
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames,&_argo0))
5308 return NULL;
5309 if (_argo0) {
5310 if (_argo0 == Py_None) { _arg0 = NULL; }
5311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5313 return NULL;
5314 }
5315 }
5316 {
5317 wxPy_BEGIN_ALLOW_THREADS;
5318 _result = (int )wxHtmlDCRenderer_GetTotalHeight(_arg0);
5319
5320 wxPy_END_ALLOW_THREADS;
5321 } _resultobj = Py_BuildValue("i",_result);
5322 return _resultobj;
5323 }
5324
5325 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr) {
5326 wxHtmlPrintout *src;
5327 wxPyPrintout *dest;
5328 src = (wxHtmlPrintout *) ptr;
5329 dest = (wxPyPrintout *) src;
5330 return (void *) dest;
5331 }
5332
5333 static void *SwigwxHtmlPrintoutTowxObject(void *ptr) {
5334 wxHtmlPrintout *src;
5335 wxObject *dest;
5336 src = (wxHtmlPrintout *) ptr;
5337 dest = (wxObject *) src;
5338 return (void *) dest;
5339 }
5340
5341 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5342 static PyObject *_wrap_new_wxHtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject * _resultobj;
5344 wxHtmlPrintout * _result;
5345 char * _arg0 = (char *) "Printout";
5346 char *_kwnames[] = { "title", NULL };
5347 char _ptemp[128];
5348
5349 self = self;
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|s:new_wxHtmlPrintout",_kwnames,&_arg0))
5351 return NULL;
5352 {
5353 wxPy_BEGIN_ALLOW_THREADS;
5354 _result = (wxHtmlPrintout *)new_wxHtmlPrintout(_arg0);
5355
5356 wxPy_END_ALLOW_THREADS;
5357 } if (_result) {
5358 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlPrintout_p");
5359 _resultobj = Py_BuildValue("s",_ptemp);
5360 } else {
5361 Py_INCREF(Py_None);
5362 _resultobj = Py_None;
5363 }
5364 return _resultobj;
5365 }
5366
5367 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5368 static PyObject *_wrap_wxHtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
5369 PyObject * _resultobj;
5370 wxHtmlPrintout * _arg0;
5371 wxString * _arg1;
5372 wxString * _arg2 = (wxString *) &wxEmptyString;
5373 bool _arg3 = (bool ) TRUE;
5374 PyObject * _argo0 = 0;
5375 PyObject * _obj1 = 0;
5376 PyObject * _obj2 = 0;
5377 int tempbool3 = (int) TRUE;
5378 char *_kwnames[] = { "self","html","basepath","isdir", NULL };
5379
5380 self = self;
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
5382 return NULL;
5383 if (_argo0) {
5384 if (_argo0 == Py_None) { _arg0 = NULL; }
5385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5387 return NULL;
5388 }
5389 }
5390 {
5391 #if PYTHON_API_VERSION >= 1009
5392 char* tmpPtr; int tmpSize;
5393 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5394 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5395 return NULL;
5396 }
5397 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5398 return NULL;
5399 _arg1 = new wxString(tmpPtr, tmpSize);
5400 #else
5401 if (!PyString_Check(_obj1)) {
5402 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5403 return NULL;
5404 }
5405 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5406 #endif
5407 }
5408 if (_obj2)
5409 {
5410 #if PYTHON_API_VERSION >= 1009
5411 char* tmpPtr; int tmpSize;
5412 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5413 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5414 return NULL;
5415 }
5416 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5417 return NULL;
5418 _arg2 = new wxString(tmpPtr, tmpSize);
5419 #else
5420 if (!PyString_Check(_obj2)) {
5421 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5422 return NULL;
5423 }
5424 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5425 #endif
5426 }
5427 _arg3 = (bool ) tempbool3;
5428 {
5429 wxPy_BEGIN_ALLOW_THREADS;
5430 wxHtmlPrintout_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3);
5431
5432 wxPy_END_ALLOW_THREADS;
5433 } Py_INCREF(Py_None);
5434 _resultobj = Py_None;
5435 {
5436 if (_obj1)
5437 delete _arg1;
5438 }
5439 {
5440 if (_obj2)
5441 delete _arg2;
5442 }
5443 return _resultobj;
5444 }
5445
5446 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5447 static PyObject *_wrap_wxHtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5448 PyObject * _resultobj;
5449 wxHtmlPrintout * _arg0;
5450 wxString * _arg1;
5451 PyObject * _argo0 = 0;
5452 PyObject * _obj1 = 0;
5453 char *_kwnames[] = { "self","htmlfile", NULL };
5454
5455 self = self;
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames,&_argo0,&_obj1))
5457 return NULL;
5458 if (_argo0) {
5459 if (_argo0 == Py_None) { _arg0 = NULL; }
5460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5462 return NULL;
5463 }
5464 }
5465 {
5466 #if PYTHON_API_VERSION >= 1009
5467 char* tmpPtr; int tmpSize;
5468 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5469 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5470 return NULL;
5471 }
5472 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5473 return NULL;
5474 _arg1 = new wxString(tmpPtr, tmpSize);
5475 #else
5476 if (!PyString_Check(_obj1)) {
5477 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5478 return NULL;
5479 }
5480 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5481 #endif
5482 }
5483 {
5484 wxPy_BEGIN_ALLOW_THREADS;
5485 wxHtmlPrintout_SetHtmlFile(_arg0,*_arg1);
5486
5487 wxPy_END_ALLOW_THREADS;
5488 } Py_INCREF(Py_None);
5489 _resultobj = Py_None;
5490 {
5491 if (_obj1)
5492 delete _arg1;
5493 }
5494 return _resultobj;
5495 }
5496
5497 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5498 static PyObject *_wrap_wxHtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
5499 PyObject * _resultobj;
5500 wxHtmlPrintout * _arg0;
5501 wxString * _arg1;
5502 int _arg2 = (int ) (wxPAGE_ALL);
5503 PyObject * _argo0 = 0;
5504 PyObject * _obj1 = 0;
5505 char *_kwnames[] = { "self","header","pg", NULL };
5506
5507 self = self;
5508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2))
5509 return NULL;
5510 if (_argo0) {
5511 if (_argo0 == Py_None) { _arg0 = NULL; }
5512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5514 return NULL;
5515 }
5516 }
5517 {
5518 #if PYTHON_API_VERSION >= 1009
5519 char* tmpPtr; int tmpSize;
5520 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5521 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5522 return NULL;
5523 }
5524 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5525 return NULL;
5526 _arg1 = new wxString(tmpPtr, tmpSize);
5527 #else
5528 if (!PyString_Check(_obj1)) {
5529 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5530 return NULL;
5531 }
5532 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5533 #endif
5534 }
5535 {
5536 wxPy_BEGIN_ALLOW_THREADS;
5537 wxHtmlPrintout_SetHeader(_arg0,*_arg1,_arg2);
5538
5539 wxPy_END_ALLOW_THREADS;
5540 } Py_INCREF(Py_None);
5541 _resultobj = Py_None;
5542 {
5543 if (_obj1)
5544 delete _arg1;
5545 }
5546 return _resultobj;
5547 }
5548
5549 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5550 static PyObject *_wrap_wxHtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject * _resultobj;
5552 wxHtmlPrintout * _arg0;
5553 wxString * _arg1;
5554 int _arg2 = (int ) (wxPAGE_ALL);
5555 PyObject * _argo0 = 0;
5556 PyObject * _obj1 = 0;
5557 char *_kwnames[] = { "self","footer","pg", NULL };
5558
5559 self = self;
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2))
5561 return NULL;
5562 if (_argo0) {
5563 if (_argo0 == Py_None) { _arg0 = NULL; }
5564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5566 return NULL;
5567 }
5568 }
5569 {
5570 #if PYTHON_API_VERSION >= 1009
5571 char* tmpPtr; int tmpSize;
5572 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5573 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5574 return NULL;
5575 }
5576 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5577 return NULL;
5578 _arg1 = new wxString(tmpPtr, tmpSize);
5579 #else
5580 if (!PyString_Check(_obj1)) {
5581 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5582 return NULL;
5583 }
5584 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5585 #endif
5586 }
5587 {
5588 wxPy_BEGIN_ALLOW_THREADS;
5589 wxHtmlPrintout_SetFooter(_arg0,*_arg1,_arg2);
5590
5591 wxPy_END_ALLOW_THREADS;
5592 } Py_INCREF(Py_None);
5593 _resultobj = Py_None;
5594 {
5595 if (_obj1)
5596 delete _arg1;
5597 }
5598 return _resultobj;
5599 }
5600
5601 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5602 static PyObject *_wrap_wxHtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject * _resultobj;
5604 wxHtmlPrintout * _arg0;
5605 float _arg1 = (float ) 25.2;
5606 float _arg2 = (float ) 25.2;
5607 float _arg3 = (float ) 25.2;
5608 float _arg4 = (float ) 25.2;
5609 float _arg5 = (float ) 5;
5610 PyObject * _argo0 = 0;
5611 char *_kwnames[] = { "self","top","bottom","left","right","spaces", NULL };
5612
5613 self = self;
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
5615 return NULL;
5616 if (_argo0) {
5617 if (_argo0 == Py_None) { _arg0 = NULL; }
5618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5620 return NULL;
5621 }
5622 }
5623 {
5624 wxPy_BEGIN_ALLOW_THREADS;
5625 wxHtmlPrintout_SetMargins(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5626
5627 wxPy_END_ALLOW_THREADS;
5628 } Py_INCREF(Py_None);
5629 _resultobj = Py_None;
5630 return _resultobj;
5631 }
5632
5633 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr) {
5634 wxHtmlEasyPrinting *src;
5635 wxObject *dest;
5636 src = (wxHtmlEasyPrinting *) ptr;
5637 dest = (wxObject *) src;
5638 return (void *) dest;
5639 }
5640
5641 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5642 static PyObject *_wrap_new_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
5643 PyObject * _resultobj;
5644 wxHtmlEasyPrinting * _result;
5645 char * _arg0 = (char *) "Printing";
5646 wxFrame * _arg1 = (wxFrame *) NULL;
5647 PyObject * _argo1 = 0;
5648 char *_kwnames[] = { "name","parent_frame", NULL };
5649 char _ptemp[128];
5650
5651 self = self;
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|sO:new_wxHtmlEasyPrinting",_kwnames,&_arg0,&_argo1))
5653 return NULL;
5654 if (_argo1) {
5655 if (_argo1 == Py_None) { _arg1 = NULL; }
5656 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
5657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5658 return NULL;
5659 }
5660 }
5661 {
5662 wxPy_BEGIN_ALLOW_THREADS;
5663 _result = (wxHtmlEasyPrinting *)new_wxHtmlEasyPrinting(_arg0,_arg1);
5664
5665 wxPy_END_ALLOW_THREADS;
5666 } if (_result) {
5667 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlEasyPrinting_p");
5668 _resultobj = Py_BuildValue("s",_ptemp);
5669 } else {
5670 Py_INCREF(Py_None);
5671 _resultobj = Py_None;
5672 }
5673 return _resultobj;
5674 }
5675
5676 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5677 static PyObject *_wrap_delete_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
5678 PyObject * _resultobj;
5679 wxHtmlEasyPrinting * _arg0;
5680 PyObject * _argo0 = 0;
5681 char *_kwnames[] = { "self", NULL };
5682
5683 self = self;
5684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlEasyPrinting",_kwnames,&_argo0))
5685 return NULL;
5686 if (_argo0) {
5687 if (_argo0 == Py_None) { _arg0 = NULL; }
5688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5690 return NULL;
5691 }
5692 }
5693 {
5694 wxPy_BEGIN_ALLOW_THREADS;
5695 delete_wxHtmlEasyPrinting(_arg0);
5696
5697 wxPy_END_ALLOW_THREADS;
5698 } Py_INCREF(Py_None);
5699 _resultobj = Py_None;
5700 return _resultobj;
5701 }
5702
5703 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5704 static PyObject *_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5705 PyObject * _resultobj;
5706 wxHtmlEasyPrinting * _arg0;
5707 wxString * _arg1;
5708 PyObject * _argo0 = 0;
5709 PyObject * _obj1 = 0;
5710 char *_kwnames[] = { "self","htmlfile", NULL };
5711
5712 self = self;
5713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames,&_argo0,&_obj1))
5714 return NULL;
5715 if (_argo0) {
5716 if (_argo0 == Py_None) { _arg0 = NULL; }
5717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5719 return NULL;
5720 }
5721 }
5722 {
5723 #if PYTHON_API_VERSION >= 1009
5724 char* tmpPtr; int tmpSize;
5725 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5726 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5727 return NULL;
5728 }
5729 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5730 return NULL;
5731 _arg1 = new wxString(tmpPtr, tmpSize);
5732 #else
5733 if (!PyString_Check(_obj1)) {
5734 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5735 return NULL;
5736 }
5737 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5738 #endif
5739 }
5740 {
5741 wxPy_BEGIN_ALLOW_THREADS;
5742 wxHtmlEasyPrinting_PreviewFile(_arg0,*_arg1);
5743
5744 wxPy_END_ALLOW_THREADS;
5745 } Py_INCREF(Py_None);
5746 _resultobj = Py_None;
5747 {
5748 if (_obj1)
5749 delete _arg1;
5750 }
5751 return _resultobj;
5752 }
5753
5754 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5755 static PyObject *_wrap_wxHtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
5756 PyObject * _resultobj;
5757 wxHtmlEasyPrinting * _arg0;
5758 wxString * _arg1;
5759 wxString * _arg2 = (wxString *) &wxEmptyString;
5760 PyObject * _argo0 = 0;
5761 PyObject * _obj1 = 0;
5762 PyObject * _obj2 = 0;
5763 char *_kwnames[] = { "self","htmltext","basepath", NULL };
5764
5765 self = self;
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames,&_argo0,&_obj1,&_obj2))
5767 return NULL;
5768 if (_argo0) {
5769 if (_argo0 == Py_None) { _arg0 = NULL; }
5770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5772 return NULL;
5773 }
5774 }
5775 {
5776 #if PYTHON_API_VERSION >= 1009
5777 char* tmpPtr; int tmpSize;
5778 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5779 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5780 return NULL;
5781 }
5782 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5783 return NULL;
5784 _arg1 = new wxString(tmpPtr, tmpSize);
5785 #else
5786 if (!PyString_Check(_obj1)) {
5787 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5788 return NULL;
5789 }
5790 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5791 #endif
5792 }
5793 if (_obj2)
5794 {
5795 #if PYTHON_API_VERSION >= 1009
5796 char* tmpPtr; int tmpSize;
5797 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5798 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5799 return NULL;
5800 }
5801 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5802 return NULL;
5803 _arg2 = new wxString(tmpPtr, tmpSize);
5804 #else
5805 if (!PyString_Check(_obj2)) {
5806 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5807 return NULL;
5808 }
5809 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5810 #endif
5811 }
5812 {
5813 wxPy_BEGIN_ALLOW_THREADS;
5814 wxHtmlEasyPrinting_PreviewText(_arg0,*_arg1,*_arg2);
5815
5816 wxPy_END_ALLOW_THREADS;
5817 } Py_INCREF(Py_None);
5818 _resultobj = Py_None;
5819 {
5820 if (_obj1)
5821 delete _arg1;
5822 }
5823 {
5824 if (_obj2)
5825 delete _arg2;
5826 }
5827 return _resultobj;
5828 }
5829
5830 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5831 static PyObject *_wrap_wxHtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject * _resultobj;
5833 wxHtmlEasyPrinting * _arg0;
5834 wxString * _arg1;
5835 PyObject * _argo0 = 0;
5836 PyObject * _obj1 = 0;
5837 char *_kwnames[] = { "self","htmlfile", NULL };
5838
5839 self = self;
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames,&_argo0,&_obj1))
5841 return NULL;
5842 if (_argo0) {
5843 if (_argo0 == Py_None) { _arg0 = NULL; }
5844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5846 return NULL;
5847 }
5848 }
5849 {
5850 #if PYTHON_API_VERSION >= 1009
5851 char* tmpPtr; int tmpSize;
5852 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5853 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5854 return NULL;
5855 }
5856 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5857 return NULL;
5858 _arg1 = new wxString(tmpPtr, tmpSize);
5859 #else
5860 if (!PyString_Check(_obj1)) {
5861 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5862 return NULL;
5863 }
5864 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5865 #endif
5866 }
5867 {
5868 wxPy_BEGIN_ALLOW_THREADS;
5869 wxHtmlEasyPrinting_PrintFile(_arg0,*_arg1);
5870
5871 wxPy_END_ALLOW_THREADS;
5872 } Py_INCREF(Py_None);
5873 _resultobj = Py_None;
5874 {
5875 if (_obj1)
5876 delete _arg1;
5877 }
5878 return _resultobj;
5879 }
5880
5881 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5882 static PyObject *_wrap_wxHtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject * _resultobj;
5884 wxHtmlEasyPrinting * _arg0;
5885 wxString * _arg1;
5886 wxString * _arg2 = (wxString *) &wxEmptyString;
5887 PyObject * _argo0 = 0;
5888 PyObject * _obj1 = 0;
5889 PyObject * _obj2 = 0;
5890 char *_kwnames[] = { "self","htmltext","basepath", NULL };
5891
5892 self = self;
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames,&_argo0,&_obj1,&_obj2))
5894 return NULL;
5895 if (_argo0) {
5896 if (_argo0 == Py_None) { _arg0 = NULL; }
5897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5899 return NULL;
5900 }
5901 }
5902 {
5903 #if PYTHON_API_VERSION >= 1009
5904 char* tmpPtr; int tmpSize;
5905 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5906 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5907 return NULL;
5908 }
5909 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5910 return NULL;
5911 _arg1 = new wxString(tmpPtr, tmpSize);
5912 #else
5913 if (!PyString_Check(_obj1)) {
5914 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5915 return NULL;
5916 }
5917 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5918 #endif
5919 }
5920 if (_obj2)
5921 {
5922 #if PYTHON_API_VERSION >= 1009
5923 char* tmpPtr; int tmpSize;
5924 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5925 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5926 return NULL;
5927 }
5928 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5929 return NULL;
5930 _arg2 = new wxString(tmpPtr, tmpSize);
5931 #else
5932 if (!PyString_Check(_obj2)) {
5933 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5934 return NULL;
5935 }
5936 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5937 #endif
5938 }
5939 {
5940 wxPy_BEGIN_ALLOW_THREADS;
5941 wxHtmlEasyPrinting_PrintText(_arg0,*_arg1,*_arg2);
5942
5943 wxPy_END_ALLOW_THREADS;
5944 } Py_INCREF(Py_None);
5945 _resultobj = Py_None;
5946 {
5947 if (_obj1)
5948 delete _arg1;
5949 }
5950 {
5951 if (_obj2)
5952 delete _arg2;
5953 }
5954 return _resultobj;
5955 }
5956
5957 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5958 static PyObject *_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject * _resultobj;
5960 wxHtmlEasyPrinting * _arg0;
5961 PyObject * _argo0 = 0;
5962 char *_kwnames[] = { "self", NULL };
5963
5964 self = self;
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames,&_argo0))
5966 return NULL;
5967 if (_argo0) {
5968 if (_argo0 == Py_None) { _arg0 = NULL; }
5969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
5971 return NULL;
5972 }
5973 }
5974 {
5975 wxPy_BEGIN_ALLOW_THREADS;
5976 wxHtmlEasyPrinting_PrinterSetup(_arg0);
5977
5978 wxPy_END_ALLOW_THREADS;
5979 } Py_INCREF(Py_None);
5980 _resultobj = Py_None;
5981 return _resultobj;
5982 }
5983
5984 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
5985 static PyObject *_wrap_wxHtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject * _resultobj;
5987 wxHtmlEasyPrinting * _arg0;
5988 PyObject * _argo0 = 0;
5989 char *_kwnames[] = { "self", NULL };
5990
5991 self = self;
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PageSetup",_kwnames,&_argo0))
5993 return NULL;
5994 if (_argo0) {
5995 if (_argo0 == Py_None) { _arg0 = NULL; }
5996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
5998 return NULL;
5999 }
6000 }
6001 {
6002 wxPy_BEGIN_ALLOW_THREADS;
6003 wxHtmlEasyPrinting_PageSetup(_arg0);
6004
6005 wxPy_END_ALLOW_THREADS;
6006 } Py_INCREF(Py_None);
6007 _resultobj = Py_None;
6008 return _resultobj;
6009 }
6010
6011 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6012 static PyObject *_wrap_wxHtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject * _resultobj;
6014 wxHtmlEasyPrinting * _arg0;
6015 wxString * _arg1;
6016 int _arg2 = (int ) (wxPAGE_ALL);
6017 PyObject * _argo0 = 0;
6018 PyObject * _obj1 = 0;
6019 char *_kwnames[] = { "self","header","pg", NULL };
6020
6021 self = self;
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2))
6023 return NULL;
6024 if (_argo0) {
6025 if (_argo0 == Py_None) { _arg0 = NULL; }
6026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6028 return NULL;
6029 }
6030 }
6031 {
6032 #if PYTHON_API_VERSION >= 1009
6033 char* tmpPtr; int tmpSize;
6034 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6035 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6036 return NULL;
6037 }
6038 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6039 return NULL;
6040 _arg1 = new wxString(tmpPtr, tmpSize);
6041 #else
6042 if (!PyString_Check(_obj1)) {
6043 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6044 return NULL;
6045 }
6046 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6047 #endif
6048 }
6049 {
6050 wxPy_BEGIN_ALLOW_THREADS;
6051 wxHtmlEasyPrinting_SetHeader(_arg0,*_arg1,_arg2);
6052
6053 wxPy_END_ALLOW_THREADS;
6054 } Py_INCREF(Py_None);
6055 _resultobj = Py_None;
6056 {
6057 if (_obj1)
6058 delete _arg1;
6059 }
6060 return _resultobj;
6061 }
6062
6063 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6064 static PyObject *_wrap_wxHtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
6065 PyObject * _resultobj;
6066 wxHtmlEasyPrinting * _arg0;
6067 wxString * _arg1;
6068 int _arg2 = (int ) (wxPAGE_ALL);
6069 PyObject * _argo0 = 0;
6070 PyObject * _obj1 = 0;
6071 char *_kwnames[] = { "self","footer","pg", NULL };
6072
6073 self = self;
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2))
6075 return NULL;
6076 if (_argo0) {
6077 if (_argo0 == Py_None) { _arg0 = NULL; }
6078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6080 return NULL;
6081 }
6082 }
6083 {
6084 #if PYTHON_API_VERSION >= 1009
6085 char* tmpPtr; int tmpSize;
6086 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6087 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6088 return NULL;
6089 }
6090 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6091 return NULL;
6092 _arg1 = new wxString(tmpPtr, tmpSize);
6093 #else
6094 if (!PyString_Check(_obj1)) {
6095 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6096 return NULL;
6097 }
6098 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6099 #endif
6100 }
6101 {
6102 wxPy_BEGIN_ALLOW_THREADS;
6103 wxHtmlEasyPrinting_SetFooter(_arg0,*_arg1,_arg2);
6104
6105 wxPy_END_ALLOW_THREADS;
6106 } Py_INCREF(Py_None);
6107 _resultobj = Py_None;
6108 {
6109 if (_obj1)
6110 delete _arg1;
6111 }
6112 return _resultobj;
6113 }
6114
6115 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6116 static PyObject *_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
6117 PyObject * _resultobj;
6118 wxPrintData * _result;
6119 wxHtmlEasyPrinting * _arg0;
6120 PyObject * _argo0 = 0;
6121 char *_kwnames[] = { "self", NULL };
6122 char _ptemp[128];
6123
6124 self = self;
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames,&_argo0))
6126 return NULL;
6127 if (_argo0) {
6128 if (_argo0 == Py_None) { _arg0 = NULL; }
6129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6131 return NULL;
6132 }
6133 }
6134 {
6135 wxPy_BEGIN_ALLOW_THREADS;
6136 _result = (wxPrintData *)wxHtmlEasyPrinting_GetPrintData(_arg0);
6137
6138 wxPy_END_ALLOW_THREADS;
6139 } if (_result) {
6140 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
6141 _resultobj = Py_BuildValue("s",_ptemp);
6142 } else {
6143 Py_INCREF(Py_None);
6144 _resultobj = Py_None;
6145 }
6146 return _resultobj;
6147 }
6148
6149 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6150 static PyObject *_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
6151 PyObject * _resultobj;
6152 wxPageSetupDialogData * _result;
6153 wxHtmlEasyPrinting * _arg0;
6154 PyObject * _argo0 = 0;
6155 char *_kwnames[] = { "self", NULL };
6156 char _ptemp[128];
6157
6158 self = self;
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames,&_argo0))
6160 return NULL;
6161 if (_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_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6165 return NULL;
6166 }
6167 }
6168 {
6169 wxPy_BEGIN_ALLOW_THREADS;
6170 _result = (wxPageSetupDialogData *)wxHtmlEasyPrinting_GetPageSetupData(_arg0);
6171
6172 wxPy_END_ALLOW_THREADS;
6173 } if (_result) {
6174 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
6175 _resultobj = Py_BuildValue("s",_ptemp);
6176 } else {
6177 Py_INCREF(Py_None);
6178 _resultobj = Py_None;
6179 }
6180 return _resultobj;
6181 }
6182
6183 static PyMethodDef htmlcMethods[] = {
6184 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
6185 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
6186 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
6187 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
6188 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
6189 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
6190 { "wxHtmlEasyPrinting_PrintText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
6191 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
6192 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
6193 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
6194 { "delete_wxHtmlEasyPrinting", (PyCFunction) _wrap_delete_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
6195 { "new_wxHtmlEasyPrinting", (PyCFunction) _wrap_new_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
6196 { "wxHtmlPrintout_SetMargins", (PyCFunction) _wrap_wxHtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
6197 { "wxHtmlPrintout_SetFooter", (PyCFunction) _wrap_wxHtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
6198 { "wxHtmlPrintout_SetHeader", (PyCFunction) _wrap_wxHtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
6199 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
6200 { "wxHtmlPrintout_SetHtmlText", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
6201 { "new_wxHtmlPrintout", (PyCFunction) _wrap_new_wxHtmlPrintout, METH_VARARGS | METH_KEYWORDS },
6202 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_wxHtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
6203 { "wxHtmlDCRenderer_Render", (PyCFunction) _wrap_wxHtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
6204 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_wxHtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
6205 { "wxHtmlDCRenderer_SetSize", (PyCFunction) _wrap_wxHtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
6206 { "wxHtmlDCRenderer_SetDC", (PyCFunction) _wrap_wxHtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
6207 { "delete_wxHtmlDCRenderer", (PyCFunction) _wrap_delete_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
6208 { "new_wxHtmlDCRenderer", (PyCFunction) _wrap_new_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
6209 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
6210 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_wxHtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
6211 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_wxHtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
6212 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
6213 { "wxHtmlWindow_GetParser", (PyCFunction) _wrap_wxHtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
6214 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_wxHtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
6215 { "wxHtmlWindow_HistoryClear", (PyCFunction) _wrap_wxHtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
6216 { "wxHtmlWindow_HistoryCanForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
6217 { "wxHtmlWindow_HistoryCanBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
6218 { "wxHtmlWindow_HistoryForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
6219 { "wxHtmlWindow_HistoryBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
6220 { "wxHtmlWindow_WriteCustomization", (PyCFunction) _wrap_wxHtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
6221 { "wxHtmlWindow_ReadCustomization", (PyCFunction) _wrap_wxHtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
6222 { "wxHtmlWindow_SetBorders", (PyCFunction) _wrap_wxHtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
6223 { "wxHtmlWindow_SetTitle", (PyCFunction) _wrap_wxHtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
6224 { "wxHtmlWindow_SetFonts", (PyCFunction) _wrap_wxHtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
6225 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
6226 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
6227 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
6228 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
6229 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
6230 { "wxHtmlWindow_GetOpenedPage", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
6231 { "wxHtmlWindow_LoadPage", (PyCFunction) _wrap_wxHtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
6232 { "wxHtmlWindow_SetPage", (PyCFunction) _wrap_wxHtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
6233 { "wxHtmlWindow__setCallbackInfo", (PyCFunction) _wrap_wxHtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
6234 { "new_wxHtmlWindow", (PyCFunction) _wrap_new_wxHtmlWindow, METH_VARARGS | METH_KEYWORDS },
6235 { "new_wxHtmlWidgetCell", (PyCFunction) _wrap_new_wxHtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
6236 { "new_wxHtmlFontCell", (PyCFunction) _wrap_new_wxHtmlFontCell, METH_VARARGS | METH_KEYWORDS },
6237 { "new_wxHtmlColourCell", (PyCFunction) _wrap_new_wxHtmlColourCell, METH_VARARGS | METH_KEYWORDS },
6238 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction) _wrap_wxHtmlContainerCell_GetFirstCell, METH_VARARGS | METH_KEYWORDS },
6239 { "wxHtmlContainerCell_SetBorder", (PyCFunction) _wrap_wxHtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
6240 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
6241 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_wxHtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
6242 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
6243 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
6244 { "wxHtmlContainerCell_SetAlign", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
6245 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
6246 { "wxHtmlContainerCell_GetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
6247 { "wxHtmlContainerCell_SetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
6248 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
6249 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
6250 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
6251 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
6252 { "wxHtmlContainerCell_InsertCell", (PyCFunction) _wrap_wxHtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
6253 { "new_wxHtmlContainerCell", (PyCFunction) _wrap_new_wxHtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
6254 { "new_wxHtmlWordCell", (PyCFunction) _wrap_new_wxHtmlWordCell, METH_VARARGS | METH_KEYWORDS },
6255 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_wxHtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
6256 { "wxHtmlCell_AdjustPagebreak", (PyCFunction) _wrap_wxHtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
6257 { "wxHtmlCell_Find", (PyCFunction) _wrap_wxHtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
6258 { "wxHtmlCell_DrawInvisible", (PyCFunction) _wrap_wxHtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
6259 { "wxHtmlCell_Draw", (PyCFunction) _wrap_wxHtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
6260 { "wxHtmlCell_Layout", (PyCFunction) _wrap_wxHtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
6261 { "wxHtmlCell_SetPos", (PyCFunction) _wrap_wxHtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
6262 { "wxHtmlCell_SetParent", (PyCFunction) _wrap_wxHtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
6263 { "wxHtmlCell_SetNext", (PyCFunction) _wrap_wxHtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
6264 { "wxHtmlCell_SetLink", (PyCFunction) _wrap_wxHtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
6265 { "wxHtmlCell_GetParent", (PyCFunction) _wrap_wxHtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
6266 { "wxHtmlCell_GetNext", (PyCFunction) _wrap_wxHtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
6267 { "wxHtmlCell_GetLink", (PyCFunction) _wrap_wxHtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
6268 { "wxHtmlCell_GetDescent", (PyCFunction) _wrap_wxHtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
6269 { "wxHtmlCell_GetHeight", (PyCFunction) _wrap_wxHtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
6270 { "wxHtmlCell_GetWidth", (PyCFunction) _wrap_wxHtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
6271 { "wxHtmlCell_GetPosY", (PyCFunction) _wrap_wxHtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
6272 { "wxHtmlCell_GetPosX", (PyCFunction) _wrap_wxHtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
6273 { "new_wxHtmlCell", (PyCFunction) _wrap_new_wxHtmlCell, METH_VARARGS | METH_KEYWORDS },
6274 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
6275 { "wxHtmlWinTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
6276 { "wxHtmlWinTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
6277 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_wxHtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
6278 { "new_wxHtmlWinTagHandler", (PyCFunction) _wrap_new_wxHtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
6279 { "wxHtmlTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
6280 { "wxHtmlTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
6281 { "wxHtmlTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
6282 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_wxHtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
6283 { "new_wxHtmlTagHandler", (PyCFunction) _wrap_new_wxHtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
6284 { "wxHtmlWinParser_GetLink", (PyCFunction) _wrap_wxHtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
6285 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_wxHtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
6286 { "wxHtmlWinParser_SetLink", (PyCFunction) _wrap_wxHtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
6287 { "wxHtmlWinParser_SetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
6288 { "wxHtmlWinParser_GetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
6289 { "wxHtmlWinParser_SetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
6290 { "wxHtmlWinParser_GetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
6291 { "wxHtmlWinParser_SetAlign", (PyCFunction) _wrap_wxHtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
6292 { "wxHtmlWinParser_GetAlign", (PyCFunction) _wrap_wxHtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
6293 { "wxHtmlWinParser_SetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
6294 { "wxHtmlWinParser_GetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
6295 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
6296 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
6297 { "wxHtmlWinParser_SetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
6298 { "wxHtmlWinParser_GetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
6299 { "wxHtmlWinParser_SetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
6300 { "wxHtmlWinParser_GetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
6301 { "wxHtmlWinParser_SetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
6302 { "wxHtmlWinParser_GetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
6303 { "wxHtmlWinParser_CloseContainer", (PyCFunction) _wrap_wxHtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
6304 { "wxHtmlWinParser_SetContainer", (PyCFunction) _wrap_wxHtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
6305 { "wxHtmlWinParser_OpenContainer", (PyCFunction) _wrap_wxHtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
6306 { "wxHtmlWinParser_GetContainer", (PyCFunction) _wrap_wxHtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
6307 { "wxHtmlWinParser_SetFonts", (PyCFunction) _wrap_wxHtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
6308 { "wxHtmlWinParser_GetWindow", (PyCFunction) _wrap_wxHtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
6309 { "wxHtmlWinParser_GetCharWidth", (PyCFunction) _wrap_wxHtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
6310 { "wxHtmlWinParser_GetCharHeight", (PyCFunction) _wrap_wxHtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
6311 { "wxHtmlWinParser_GetDC", (PyCFunction) _wrap_wxHtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
6312 { "wxHtmlWinParser_SetDC", (PyCFunction) _wrap_wxHtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
6313 { "new_wxHtmlWinParser", (PyCFunction) _wrap_new_wxHtmlWinParser, METH_VARARGS | METH_KEYWORDS },
6314 { "wxHtmlParser_PopTagHandler", (PyCFunction) _wrap_wxHtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
6315 { "wxHtmlParser_PushTagHandler", (PyCFunction) _wrap_wxHtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
6316 { "wxHtmlParser_GetSource", (PyCFunction) _wrap_wxHtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
6317 { "wxHtmlParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
6318 { "wxHtmlParser_DoParsing", (PyCFunction) _wrap_wxHtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
6319 { "wxHtmlParser_DoneParser", (PyCFunction) _wrap_wxHtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
6320 { "wxHtmlParser_InitParser", (PyCFunction) _wrap_wxHtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
6321 { "wxHtmlParser_Parse", (PyCFunction) _wrap_wxHtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
6322 { "wxHtmlParser_GetFS", (PyCFunction) _wrap_wxHtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
6323 { "wxHtmlParser_SetFS", (PyCFunction) _wrap_wxHtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
6324 { "wxHtmlTag_GetEndPos2", (PyCFunction) _wrap_wxHtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
6325 { "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
6326 { "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
6327 { "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
6328 { "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
6329 { "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
6330 { "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
6331 { "wxHtmlTag_GetName", (PyCFunction) _wrap_wxHtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
6332 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_wxHtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
6333 { "wxHtmlLinkInfo_SetEvent", (PyCFunction) _wrap_wxHtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
6334 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_wxHtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
6335 { "wxHtmlLinkInfo_GetEvent", (PyCFunction) _wrap_wxHtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
6336 { "wxHtmlLinkInfo_GetTarget", (PyCFunction) _wrap_wxHtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
6337 { "wxHtmlLinkInfo_GetHref", (PyCFunction) _wrap_wxHtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
6338 { "new_wxHtmlLinkInfo", (PyCFunction) _wrap_new_wxHtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
6339 { "wxHtmlWindow_AddFilter", (PyCFunction) _wrap_wxHtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
6340 { "wxHtmlWinParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
6341 { NULL, NULL }
6342 };
6343 #ifdef __cplusplus
6344 }
6345 #endif
6346 /*
6347 * This table is used by the pointer type-checker
6348 */
6349 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
6350 { "_class_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
6351 { "_class_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
6352 { "_signed_long","_long",0},
6353 { "_wxPrintQuality","_wxCoord",0},
6354 { "_wxPrintQuality","_int",0},
6355 { "_wxPrintQuality","_signed_int",0},
6356 { "_wxPrintQuality","_unsigned_int",0},
6357 { "_wxPrintQuality","_wxWindowID",0},
6358 { "_wxPrintQuality","_uint",0},
6359 { "_wxPrintQuality","_EBool",0},
6360 { "_wxPrintQuality","_size_t",0},
6361 { "_wxPrintQuality","_time_t",0},
6362 { "_class_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
6363 { "_class_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
6364 { "_byte","_unsigned_char",0},
6365 { "_wxPyPrintout","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout},
6366 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout},
6367 { "_long","_unsigned_long",0},
6368 { "_long","_signed_long",0},
6369 { "_class_wxObject","_class_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject},
6370 { "_class_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject},
6371 { "_class_wxObject","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject},
6372 { "_class_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject},
6373 { "_class_wxObject","_class_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject},
6374 { "_class_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject},
6375 { "_class_wxObject","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject},
6376 { "_class_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject},
6377 { "_class_wxObject","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject},
6378 { "_class_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject},
6379 { "_class_wxObject","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject},
6380 { "_class_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject},
6381 { "_class_wxObject","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject},
6382 { "_class_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject},
6383 { "_class_wxObject","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject},
6384 { "_class_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject},
6385 { "_class_wxObject","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject},
6386 { "_class_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject},
6387 { "_class_wxObject","_class_wxHtmlCell",SwigwxHtmlCellTowxObject},
6388 { "_class_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject},
6389 { "_class_wxObject","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject},
6390 { "_class_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject},
6391 { "_class_wxObject","_class_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject},
6392 { "_class_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject},
6393 { "_class_wxObject","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject},
6394 { "_class_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject},
6395 { "_class_wxObject","_class_wxHtmlParser",SwigwxHtmlParserTowxObject},
6396 { "_class_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject},
6397 { "_class_wxObject","_class_wxHtmlTag",SwigwxHtmlTagTowxObject},
6398 { "_class_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject},
6399 { "_class_wxObject","_class_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject},
6400 { "_class_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject},
6401 { "_size_t","_wxCoord",0},
6402 { "_size_t","_wxPrintQuality",0},
6403 { "_size_t","_time_t",0},
6404 { "_size_t","_unsigned_int",0},
6405 { "_size_t","_int",0},
6406 { "_size_t","_wxWindowID",0},
6407 { "_size_t","_uint",0},
6408 { "_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
6409 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
6410 { "_class_wxPyPrintout","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout},
6411 { "_class_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout},
6412 { "_uint","_wxCoord",0},
6413 { "_uint","_wxPrintQuality",0},
6414 { "_uint","_time_t",0},
6415 { "_uint","_size_t",0},
6416 { "_uint","_unsigned_int",0},
6417 { "_uint","_int",0},
6418 { "_uint","_wxWindowID",0},
6419 { "_wxChar","_char",0},
6420 { "_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
6421 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
6422 { "_wxHtmlCell","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell},
6423 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell},
6424 { "_wxHtmlCell","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell},
6425 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell},
6426 { "_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
6427 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
6428 { "_wxHtmlCell","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell},
6429 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell},
6430 { "_char","_wxChar",0},
6431 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6432 { "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
6433 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
6434 { "_EBool","_wxCoord",0},
6435 { "_EBool","_wxPrintQuality",0},
6436 { "_EBool","_signed_int",0},
6437 { "_EBool","_int",0},
6438 { "_EBool","_wxWindowID",0},
6439 { "_unsigned_long","_long",0},
6440 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6441 { "_class_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
6442 { "_class_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
6443 { "_signed_int","_wxCoord",0},
6444 { "_signed_int","_wxPrintQuality",0},
6445 { "_signed_int","_EBool",0},
6446 { "_signed_int","_wxWindowID",0},
6447 { "_signed_int","_int",0},
6448 { "_WXTYPE","_wxDateTime_t",0},
6449 { "_WXTYPE","_short",0},
6450 { "_WXTYPE","_signed_short",0},
6451 { "_WXTYPE","_unsigned_short",0},
6452 { "_class_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
6453 { "_class_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
6454 { "_unsigned_short","_wxDateTime_t",0},
6455 { "_unsigned_short","_WXTYPE",0},
6456 { "_unsigned_short","_short",0},
6457 { "_class_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
6458 { "_class_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
6459 { "_wxObject","_class_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject},
6460 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject},
6461 { "_wxObject","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject},
6462 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject},
6463 { "_wxObject","_class_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject},
6464 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject},
6465 { "_wxObject","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject},
6466 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject},
6467 { "_wxObject","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject},
6468 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject},
6469 { "_wxObject","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject},
6470 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject},
6471 { "_wxObject","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject},
6472 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject},
6473 { "_wxObject","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject},
6474 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject},
6475 { "_wxObject","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject},
6476 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject},
6477 { "_wxObject","_class_wxHtmlCell",SwigwxHtmlCellTowxObject},
6478 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject},
6479 { "_wxObject","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject},
6480 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject},
6481 { "_wxObject","_class_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject},
6482 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject},
6483 { "_wxObject","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject},
6484 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject},
6485 { "_wxObject","_class_wxHtmlParser",SwigwxHtmlParserTowxObject},
6486 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject},
6487 { "_wxObject","_class_wxHtmlTag",SwigwxHtmlTagTowxObject},
6488 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject},
6489 { "_wxObject","_class_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject},
6490 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject},
6491 { "_class_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
6492 { "_class_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
6493 { "_class_wxHtmlCell","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell},
6494 { "_class_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell},
6495 { "_class_wxHtmlCell","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell},
6496 { "_class_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell},
6497 { "_class_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
6498 { "_class_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
6499 { "_class_wxHtmlCell","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell},
6500 { "_class_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell},
6501 { "_signed_short","_WXTYPE",0},
6502 { "_signed_short","_short",0},
6503 { "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
6504 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
6505 { "_unsigned_char","_byte",0},
6506 { "_unsigned_int","_wxCoord",0},
6507 { "_unsigned_int","_wxPrintQuality",0},
6508 { "_unsigned_int","_time_t",0},
6509 { "_unsigned_int","_size_t",0},
6510 { "_unsigned_int","_uint",0},
6511 { "_unsigned_int","_wxWindowID",0},
6512 { "_unsigned_int","_int",0},
6513 { "_short","_wxDateTime_t",0},
6514 { "_short","_WXTYPE",0},
6515 { "_short","_unsigned_short",0},
6516 { "_short","_signed_short",0},
6517 { "_wxWindowID","_wxCoord",0},
6518 { "_wxWindowID","_wxPrintQuality",0},
6519 { "_wxWindowID","_time_t",0},
6520 { "_wxWindowID","_size_t",0},
6521 { "_wxWindowID","_EBool",0},
6522 { "_wxWindowID","_uint",0},
6523 { "_wxWindowID","_int",0},
6524 { "_wxWindowID","_signed_int",0},
6525 { "_wxWindowID","_unsigned_int",0},
6526 { "_int","_wxCoord",0},
6527 { "_int","_wxPrintQuality",0},
6528 { "_int","_time_t",0},
6529 { "_int","_size_t",0},
6530 { "_int","_EBool",0},
6531 { "_int","_uint",0},
6532 { "_int","_wxWindowID",0},
6533 { "_int","_unsigned_int",0},
6534 { "_int","_signed_int",0},
6535 { "_wxDateTime_t","_unsigned_short",0},
6536 { "_wxDateTime_t","_short",0},
6537 { "_wxDateTime_t","_WXTYPE",0},
6538 { "_time_t","_wxCoord",0},
6539 { "_time_t","_wxPrintQuality",0},
6540 { "_time_t","_unsigned_int",0},
6541 { "_time_t","_int",0},
6542 { "_time_t","_wxWindowID",0},
6543 { "_time_t","_uint",0},
6544 { "_time_t","_size_t",0},
6545 { "_wxCoord","_int",0},
6546 { "_wxCoord","_signed_int",0},
6547 { "_wxCoord","_unsigned_int",0},
6548 { "_wxCoord","_wxWindowID",0},
6549 { "_wxCoord","_uint",0},
6550 { "_wxCoord","_EBool",0},
6551 { "_wxCoord","_size_t",0},
6552 { "_wxCoord","_time_t",0},
6553 { "_wxCoord","_wxPrintQuality",0},
6554 { "_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
6555 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
6556 { "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
6557 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
6558 { "_class_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
6559 { "_class_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
6560 { "_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
6561 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
6562 {0,0,0}};
6563
6564 static PyObject *SWIG_globals;
6565 #ifdef __cplusplus
6566 extern "C"
6567 #endif
6568 SWIGEXPORT(void) inithtmlc() {
6569 PyObject *m, *d;
6570 SWIG_globals = SWIG_newvarlink();
6571 m = Py_InitModule("htmlc", htmlcMethods);
6572 d = PyModule_GetDict(m);
6573 PyDict_SetItemString(d,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT));
6574 PyDict_SetItemString(d,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER));
6575 PyDict_SetItemString(d,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT));
6576 PyDict_SetItemString(d,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM));
6577 PyDict_SetItemString(d,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP));
6578 PyDict_SetItemString(d,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND));
6579 PyDict_SetItemString(d,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND));
6580 PyDict_SetItemString(d,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS));
6581 PyDict_SetItemString(d,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT));
6582 PyDict_SetItemString(d,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT));
6583 PyDict_SetItemString(d,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT));
6584 PyDict_SetItemString(d,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP));
6585 PyDict_SetItemString(d,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM));
6586 PyDict_SetItemString(d,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL));
6587 PyDict_SetItemString(d,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL));
6588 PyDict_SetItemString(d,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL));
6589 PyDict_SetItemString(d,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR));
6590 PyDict_SetItemString(d,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP));
6591 PyDict_SetItemString(d,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER));
6592 PyDict_SetItemString(d,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD));
6593 PyDict_SetItemString(d,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN));
6594 PyDict_SetItemString(d,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL));
6595
6596
6597 inithtmlhelpc();
6598
6599 wxClassInfo::CleanUpClasses();
6600 wxClassInfo::InitializeClasses();
6601
6602 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6603 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6604 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6605 {
6606 int i;
6607 for (i = 0; _swig_mapping[i].n1; i++)
6608 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6609 }
6610 }