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