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