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