]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/html.cpp
added font encoding support
[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/image.h>
59 #include <wx/fs_zip.h>
60 #include <wx/fs_inet.h>
61 #include <wx/wfstream.h>
62
63 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyList_Check(target)) {
73 o2 = target;
74 target = PyList_New(0);
75 PyList_Append(target, o2);
76 Py_XDECREF(o2);
77 }
78 PyList_Append(target,o);
79 Py_XDECREF(o);
80 }
81 return target;
82 }
83
84 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
85 PyObject* o2;
86 PyObject* o3;
87
88 if (!target) {
89 target = o;
90 } else if (target == Py_None) {
91 Py_DECREF(Py_None);
92 target = o;
93 } else {
94 if (!PyTuple_Check(target)) {
95 o2 = target;
96 target = PyTuple_New(1);
97 PyTuple_SetItem(target, 0, o2);
98 }
99 o3 = PyTuple_New(1);
100 PyTuple_SetItem(o3, 0, o);
101
102 o2 = target;
103 target = PySequence_Concat(o2, o3);
104 Py_DECREF(o2);
105 Py_DECREF(o3);
106 }
107 return target;
108 }
109
110 static char* wxStringErrorMsg = "string type is required for parameter";
111
112 #ifdef __WXMSW__
113 wxString wxPyEmptyStr("");
114 wxPoint wxPyDefaultPosition(wxDefaultPosition);
115 wxSize wxPyDefaultSize(wxDefaultSize);
116 #endif
117
118
119 #if 0
120 static PyObject* mod_dict = NULL; // will be set by init
121
122 #include <wx/html/mod_templ.h>
123
124 TAG_HANDLER_BEGIN(PYTHONTAG, "PYTHON")
125 TAG_HANDLER_PROC(tag)
126 {
127 wxWindow *wnd;
128 wxString errmsg;
129 char pbuf[256];
130
131 int fl = 0;
132
133 bool doSave = wxPyRestoreThread();
134 while (1) {
135 if (tag.HasParam("FLOAT"))
136 tag.ScanParam("FLOAT", "%i", &fl);
137 PyObject* pyfunc = PyDict_GetItemString(mod_dict, "WidgetStarter");
138 if (pyfunc == NULL) {
139 errmsg = "Could not find object WidgetStarter";
140 break;
141 }
142 if (! PyCallable_Check(pyfunc)) {
143 errmsg = "WidgetStarter does not appear to be callable";
144 break;
145 }
146 SWIG_MakePtr(pbuf, m_WParser->GetWindow(), "_wxPyHtmlWindow_p");
147 PyObject* arglist = Py_BuildValue("(s,s)", pbuf,
148 (const char*)tag.GetAllParams());
149 if (! arglist) {
150 errmsg = "Failed making argument list";
151 break;
152 }
153 PyObject* ret = PyEval_CallObject(pyfunc, arglist);
154 Py_DECREF(arglist);
155 if (ret == NULL) {
156 errmsg = "An error occured while calling WidgetStarter";
157 if (PyErr_Occurred())
158 PyErr_Print();
159 break;
160 }
161 wnd = NULL;
162 if (PyString_Check(ret)) {
163 char* thisc = PyString_AsString(ret);
164 SWIG_GetPtr(thisc, (void**)&wnd, "_wxWindow_p");
165 }
166 Py_DECREF(ret);
167 if (! wnd) {
168 errmsg = "Could not make a wxWindow pointer from return ptr";
169 break;
170 }
171 wxPySaveThread(doSave);
172 wnd -> Show(TRUE);
173 m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, fl));
174 return FALSE;
175 }
176
177 wxPySaveThread(doSave);
178
179 /* we got out of the loop. Must be an error. Show a box stating it. */
180 wnd = new wxTextCtrl( m_WParser -> GetWindow(), -1,
181 errmsg, wxPoint(0,0),
182 wxSize(300, 100), wxTE_MULTILINE );
183 wnd -> Show(TRUE);
184 m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, 100));
185 return FALSE;
186 }
187
188 TAG_HANDLER_END(PYTHONTAG)
189
190 TAGS_MODULE_BEGIN(PythonTag)
191
192 TAGS_MODULE_ADD(PYTHONTAG)
193
194 TAGS_MODULE_END(PythonTag)
195
196 // Note: see also the init function where we add the module!
197 #endif
198
199 class wxPyHtmlTagHandler : public wxHtmlTagHandler {
200 public:
201 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
202
203 wxHtmlParser* GetParser() { return m_Parser; }
204 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
205
206 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
207 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
208
209 PYPRIVATE;
210 };
211
212 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
213 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
214
215 class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
216 public:
217 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
218
219 wxHtmlWinParser* GetParser() { return m_WParser; }
220 void ParseInner(const wxHtmlTag& tag)
221 { wxHtmlWinTagHandler::ParseInner(tag); }
222
223 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
224 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
225
226 PYPRIVATE;
227 };
228
229 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
230 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
231
232
233 class wxPyHtmlTagsModule : public wxHtmlTagsModule {
234 public:
235 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
236 m_tagHandlerClass = thc;
237 Py_INCREF(m_tagHandlerClass);
238 RegisterModule(this);
239 wxHtmlWinParser::AddModule(this);
240 }
241
242 void OnExit() {
243 Py_DECREF(m_tagHandlerClass);
244 m_tagHandlerClass = NULL;
245 for (int x=0; x < m_objArray.GetCount(); x++) {
246 PyObject* obj = (PyObject*)m_objArray.Item(x);
247 Py_DECREF(obj);
248 }
249 };
250
251 void FillHandlersTable(wxHtmlWinParser *parser) {
252 // Wave our magic wand... (if it works it's a miracle! ;-)
253
254 // First, make a new instance of the tag handler
255 bool doSave = wxPyRestoreThread();
256 PyObject* arg = Py_BuildValue("()");
257 PyObject* obj = PyInstance_New(m_tagHandlerClass, arg, NULL);
258 Py_DECREF(arg);
259 wxPySaveThread(doSave);
260
261 // now figure out where it's C++ object is...
262 wxPyHtmlWinTagHandler* thPtr;
263 if (SWIG_GetPtrObj(obj, (void **)&thPtr, "_wxPyHtmlWinTagHandler_p"))
264 return;
265
266 // add it,
267 parser->AddTagHandler(thPtr);
268
269 // and track it.
270 m_objArray.Add(obj);
271 }
272
273 private:
274 PyObject* m_tagHandlerClass;
275 wxArrayPtrVoid m_objArray;
276
277 };
278
279 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
280 // Dynamically create a new wxModule. Refcounts tagHandlerClass
281 // and adds itself to the wxModules list and to the wxHtmlWinParser.
282 new wxPyHtmlTagsModule(tagHandlerClass);
283 }
284
285 class wxPyHtmlWindow : public wxHtmlWindow {
286 public:
287 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
288 const wxPoint& pos = wxDefaultPosition,
289 const wxSize& size = wxDefaultSize,
290 long style = wxHW_SCROLLBAR_AUTO,
291 const wxString& name = "htmlWindow")
292 : wxHtmlWindow(parent, id, pos, size, style, name) {};
293
294 DEC_PYCALLBACK__STRING(OnLinkClicked);
295
296 PYPRIVATE;
297 };
298
299 IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnLinkClicked);
300
301
302 void wxHtmlWindow_AddFilter(wxHtmlFilter *filter) {
303 wxHtmlWindow::AddFilter(filter);
304 }
305
306 extern "C" SWIGEXPORT(void) inithtmlhelpc();
307 #ifdef __cplusplus
308 extern "C" {
309 #endif
310 static PyObject *_wrap_wxHtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 PyObject * _arg0;
313 PyObject * _obj0 = 0;
314 char *_kwnames[] = { "tagHandlerClass", NULL };
315
316 self = self;
317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_AddTagHandler",_kwnames,&_obj0))
318 return NULL;
319 {
320 _arg0 = _obj0;
321 }
322 {
323 wxPy_BEGIN_ALLOW_THREADS;
324 wxHtmlWinParser_AddTagHandler(_arg0);
325
326 wxPy_END_ALLOW_THREADS;
327 } Py_INCREF(Py_None);
328 _resultobj = Py_None;
329 return _resultobj;
330 }
331
332 static PyObject *_wrap_wxHtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
333 PyObject * _resultobj;
334 wxHtmlFilter * _arg0;
335 PyObject * _argo0 = 0;
336 char *_kwnames[] = { "filter", NULL };
337
338 self = self;
339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_AddFilter",_kwnames,&_argo0))
340 return NULL;
341 if (_argo0) {
342 if (_argo0 == Py_None) { _arg0 = NULL; }
343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlFilter_p")) {
344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
345 return NULL;
346 }
347 }
348 {
349 wxPy_BEGIN_ALLOW_THREADS;
350 wxHtmlWindow_AddFilter(_arg0);
351
352 wxPy_END_ALLOW_THREADS;
353 } Py_INCREF(Py_None);
354 _resultobj = Py_None;
355 return _resultobj;
356 }
357
358 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
359 static PyObject *_wrap_wxHtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
360 PyObject * _resultobj;
361 wxString * _result;
362 wxHtmlTag * _arg0;
363 PyObject * _argo0 = 0;
364 char *_kwnames[] = { "self", NULL };
365
366 self = self;
367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetName",_kwnames,&_argo0))
368 return NULL;
369 if (_argo0) {
370 if (_argo0 == Py_None) { _arg0 = NULL; }
371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
373 return NULL;
374 }
375 }
376 {
377 wxPy_BEGIN_ALLOW_THREADS;
378 _result = new wxString (wxHtmlTag_GetName(_arg0));
379
380 wxPy_END_ALLOW_THREADS;
381 }{
382 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
383 }
384 {
385 delete _result;
386 }
387 return _resultobj;
388 }
389
390 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
391 static PyObject *_wrap_wxHtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
392 PyObject * _resultobj;
393 bool _result;
394 wxHtmlTag * _arg0;
395 wxString * _arg1;
396 PyObject * _argo0 = 0;
397 PyObject * _obj1 = 0;
398 char *_kwnames[] = { "self","par", NULL };
399
400 self = self;
401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTag_HasParam",_kwnames,&_argo0,&_obj1))
402 return NULL;
403 if (_argo0) {
404 if (_argo0 == Py_None) { _arg0 = NULL; }
405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
407 return NULL;
408 }
409 }
410 {
411 if (!PyString_Check(_obj1)) {
412 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
413 return NULL;
414 }
415 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
416 }
417 {
418 wxPy_BEGIN_ALLOW_THREADS;
419 _result = (bool )wxHtmlTag_HasParam(_arg0,*_arg1);
420
421 wxPy_END_ALLOW_THREADS;
422 } _resultobj = Py_BuildValue("i",_result);
423 {
424 if (_obj1)
425 delete _arg1;
426 }
427 return _resultobj;
428 }
429
430 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
431 static PyObject *_wrap_wxHtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
432 PyObject * _resultobj;
433 wxString * _result;
434 wxHtmlTag * _arg0;
435 wxString * _arg1;
436 int _arg2 = (int ) FALSE;
437 PyObject * _argo0 = 0;
438 PyObject * _obj1 = 0;
439 char *_kwnames[] = { "self","par","with_commas", NULL };
440
441 self = self;
442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlTag_GetParam",_kwnames,&_argo0,&_obj1,&_arg2))
443 return NULL;
444 if (_argo0) {
445 if (_argo0 == Py_None) { _arg0 = NULL; }
446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
448 return NULL;
449 }
450 }
451 {
452 if (!PyString_Check(_obj1)) {
453 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
454 return NULL;
455 }
456 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
457 }
458 {
459 wxPy_BEGIN_ALLOW_THREADS;
460 _result = new wxString (wxHtmlTag_GetParam(_arg0,*_arg1,_arg2));
461
462 wxPy_END_ALLOW_THREADS;
463 }{
464 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
465 }
466 {
467 if (_obj1)
468 delete _arg1;
469 }
470 {
471 delete _result;
472 }
473 return _resultobj;
474 }
475
476 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
477 static PyObject *_wrap_wxHtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
478 PyObject * _resultobj;
479 wxString * _result;
480 wxHtmlTag * _arg0;
481 PyObject * _argo0 = 0;
482 char *_kwnames[] = { "self", NULL };
483
484 self = self;
485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetAllParams",_kwnames,&_argo0))
486 return NULL;
487 if (_argo0) {
488 if (_argo0 == Py_None) { _arg0 = NULL; }
489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
491 return NULL;
492 }
493 }
494 {
495 wxPy_BEGIN_ALLOW_THREADS;
496 _result = new wxString (wxHtmlTag_GetAllParams(_arg0));
497
498 wxPy_END_ALLOW_THREADS;
499 }{
500 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
501 }
502 {
503 delete _result;
504 }
505 return _resultobj;
506 }
507
508 #define wxHtmlTag_IsEnding(_swigobj) (_swigobj->IsEnding())
509 static PyObject *_wrap_wxHtmlTag_IsEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
510 PyObject * _resultobj;
511 bool _result;
512 wxHtmlTag * _arg0;
513 PyObject * _argo0 = 0;
514 char *_kwnames[] = { "self", NULL };
515
516 self = self;
517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_IsEnding",_kwnames,&_argo0))
518 return NULL;
519 if (_argo0) {
520 if (_argo0 == Py_None) { _arg0 = NULL; }
521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_IsEnding. Expected _wxHtmlTag_p.");
523 return NULL;
524 }
525 }
526 {
527 wxPy_BEGIN_ALLOW_THREADS;
528 _result = (bool )wxHtmlTag_IsEnding(_arg0);
529
530 wxPy_END_ALLOW_THREADS;
531 } _resultobj = Py_BuildValue("i",_result);
532 return _resultobj;
533 }
534
535 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
536 static PyObject *_wrap_wxHtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
537 PyObject * _resultobj;
538 bool _result;
539 wxHtmlTag * _arg0;
540 PyObject * _argo0 = 0;
541 char *_kwnames[] = { "self", NULL };
542
543 self = self;
544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_HasEnding",_kwnames,&_argo0))
545 return NULL;
546 if (_argo0) {
547 if (_argo0 == Py_None) { _arg0 = NULL; }
548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
550 return NULL;
551 }
552 }
553 {
554 wxPy_BEGIN_ALLOW_THREADS;
555 _result = (bool )wxHtmlTag_HasEnding(_arg0);
556
557 wxPy_END_ALLOW_THREADS;
558 } _resultobj = Py_BuildValue("i",_result);
559 return _resultobj;
560 }
561
562 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
563 static PyObject *_wrap_wxHtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
564 PyObject * _resultobj;
565 int _result;
566 wxHtmlTag * _arg0;
567 PyObject * _argo0 = 0;
568 char *_kwnames[] = { "self", NULL };
569
570 self = self;
571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetBeginPos",_kwnames,&_argo0))
572 return NULL;
573 if (_argo0) {
574 if (_argo0 == Py_None) { _arg0 = NULL; }
575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
577 return NULL;
578 }
579 }
580 {
581 wxPy_BEGIN_ALLOW_THREADS;
582 _result = (int )wxHtmlTag_GetBeginPos(_arg0);
583
584 wxPy_END_ALLOW_THREADS;
585 } _resultobj = Py_BuildValue("i",_result);
586 return _resultobj;
587 }
588
589 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
590 static PyObject *_wrap_wxHtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
591 PyObject * _resultobj;
592 int _result;
593 wxHtmlTag * _arg0;
594 PyObject * _argo0 = 0;
595 char *_kwnames[] = { "self", NULL };
596
597 self = self;
598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos1",_kwnames,&_argo0))
599 return NULL;
600 if (_argo0) {
601 if (_argo0 == Py_None) { _arg0 = NULL; }
602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
604 return NULL;
605 }
606 }
607 {
608 wxPy_BEGIN_ALLOW_THREADS;
609 _result = (int )wxHtmlTag_GetEndPos1(_arg0);
610
611 wxPy_END_ALLOW_THREADS;
612 } _resultobj = Py_BuildValue("i",_result);
613 return _resultobj;
614 }
615
616 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
617 static PyObject *_wrap_wxHtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
618 PyObject * _resultobj;
619 int _result;
620 wxHtmlTag * _arg0;
621 PyObject * _argo0 = 0;
622 char *_kwnames[] = { "self", NULL };
623
624 self = self;
625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos2",_kwnames,&_argo0))
626 return NULL;
627 if (_argo0) {
628 if (_argo0 == Py_None) { _arg0 = NULL; }
629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
631 return NULL;
632 }
633 }
634 {
635 wxPy_BEGIN_ALLOW_THREADS;
636 _result = (int )wxHtmlTag_GetEndPos2(_arg0);
637
638 wxPy_END_ALLOW_THREADS;
639 } _resultobj = Py_BuildValue("i",_result);
640 return _resultobj;
641 }
642
643 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
644 static PyObject *_wrap_wxHtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
645 PyObject * _resultobj;
646 wxHtmlParser * _arg0;
647 wxFileSystem * _arg1;
648 PyObject * _argo0 = 0;
649 PyObject * _argo1 = 0;
650 char *_kwnames[] = { "self","fs", NULL };
651
652 self = self;
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_SetFS",_kwnames,&_argo0,&_argo1))
654 return NULL;
655 if (_argo0) {
656 if (_argo0 == Py_None) { _arg0 = NULL; }
657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
659 return NULL;
660 }
661 }
662 if (_argo1) {
663 if (_argo1 == Py_None) { _arg1 = NULL; }
664 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) {
665 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
666 return NULL;
667 }
668 }
669 {
670 wxPy_BEGIN_ALLOW_THREADS;
671 wxHtmlParser_SetFS(_arg0,_arg1);
672
673 wxPy_END_ALLOW_THREADS;
674 } Py_INCREF(Py_None);
675 _resultobj = Py_None;
676 return _resultobj;
677 }
678
679 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
680 static PyObject *_wrap_wxHtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
681 PyObject * _resultobj;
682 wxFileSystem * _result;
683 wxHtmlParser * _arg0;
684 PyObject * _argo0 = 0;
685 char *_kwnames[] = { "self", NULL };
686 char _ptemp[128];
687
688 self = self;
689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetFS",_kwnames,&_argo0))
690 return NULL;
691 if (_argo0) {
692 if (_argo0 == Py_None) { _arg0 = NULL; }
693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
695 return NULL;
696 }
697 }
698 {
699 wxPy_BEGIN_ALLOW_THREADS;
700 _result = (wxFileSystem *)wxHtmlParser_GetFS(_arg0);
701
702 wxPy_END_ALLOW_THREADS;
703 } if (_result) {
704 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileSystem_p");
705 _resultobj = Py_BuildValue("s",_ptemp);
706 } else {
707 Py_INCREF(Py_None);
708 _resultobj = Py_None;
709 }
710 return _resultobj;
711 }
712
713 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
714 static PyObject *_wrap_wxHtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
715 PyObject * _resultobj;
716 wxObject * _result;
717 wxHtmlParser * _arg0;
718 wxString * _arg1;
719 PyObject * _argo0 = 0;
720 PyObject * _obj1 = 0;
721 char *_kwnames[] = { "self","source", NULL };
722 char _ptemp[128];
723
724 self = self;
725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_Parse",_kwnames,&_argo0,&_obj1))
726 return NULL;
727 if (_argo0) {
728 if (_argo0 == Py_None) { _arg0 = NULL; }
729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
731 return NULL;
732 }
733 }
734 {
735 if (!PyString_Check(_obj1)) {
736 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
737 return NULL;
738 }
739 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
740 }
741 {
742 wxPy_BEGIN_ALLOW_THREADS;
743 _result = (wxObject *)wxHtmlParser_Parse(_arg0,*_arg1);
744
745 wxPy_END_ALLOW_THREADS;
746 } if (_result) {
747 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
748 _resultobj = Py_BuildValue("s",_ptemp);
749 } else {
750 Py_INCREF(Py_None);
751 _resultobj = Py_None;
752 }
753 {
754 if (_obj1)
755 delete _arg1;
756 }
757 return _resultobj;
758 }
759
760 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
761 static PyObject *_wrap_wxHtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
762 PyObject * _resultobj;
763 wxHtmlParser * _arg0;
764 wxString * _arg1;
765 PyObject * _argo0 = 0;
766 PyObject * _obj1 = 0;
767 char *_kwnames[] = { "self","source", NULL };
768
769 self = self;
770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_InitParser",_kwnames,&_argo0,&_obj1))
771 return NULL;
772 if (_argo0) {
773 if (_argo0 == Py_None) { _arg0 = NULL; }
774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
776 return NULL;
777 }
778 }
779 {
780 if (!PyString_Check(_obj1)) {
781 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
782 return NULL;
783 }
784 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
785 }
786 {
787 wxPy_BEGIN_ALLOW_THREADS;
788 wxHtmlParser_InitParser(_arg0,*_arg1);
789
790 wxPy_END_ALLOW_THREADS;
791 } Py_INCREF(Py_None);
792 _resultobj = Py_None;
793 {
794 if (_obj1)
795 delete _arg1;
796 }
797 return _resultobj;
798 }
799
800 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
801 static PyObject *_wrap_wxHtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
802 PyObject * _resultobj;
803 wxHtmlParser * _arg0;
804 PyObject * _argo0 = 0;
805 char *_kwnames[] = { "self", NULL };
806
807 self = self;
808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_DoneParser",_kwnames,&_argo0))
809 return NULL;
810 if (_argo0) {
811 if (_argo0 == Py_None) { _arg0 = NULL; }
812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
814 return NULL;
815 }
816 }
817 {
818 wxPy_BEGIN_ALLOW_THREADS;
819 wxHtmlParser_DoneParser(_arg0);
820
821 wxPy_END_ALLOW_THREADS;
822 } Py_INCREF(Py_None);
823 _resultobj = Py_None;
824 return _resultobj;
825 }
826
827 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
828 static PyObject *_wrap_wxHtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
829 PyObject * _resultobj;
830 wxHtmlParser * _arg0;
831 int _arg1;
832 int _arg2;
833 PyObject * _argo0 = 0;
834 char *_kwnames[] = { "self","begin_pos","end_pos", NULL };
835
836 self = self;
837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlParser_DoParsing",_kwnames,&_argo0,&_arg1,&_arg2))
838 return NULL;
839 if (_argo0) {
840 if (_argo0 == Py_None) { _arg0 = NULL; }
841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
843 return NULL;
844 }
845 }
846 {
847 wxPy_BEGIN_ALLOW_THREADS;
848 wxHtmlParser_DoParsing(_arg0,_arg1,_arg2);
849
850 wxPy_END_ALLOW_THREADS;
851 } Py_INCREF(Py_None);
852 _resultobj = Py_None;
853 return _resultobj;
854 }
855
856 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
857 static PyObject *_wrap_wxHtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
858 PyObject * _resultobj;
859 wxHtmlParser * _arg0;
860 wxHtmlTagHandler * _arg1;
861 PyObject * _argo0 = 0;
862 PyObject * _argo1 = 0;
863 char *_kwnames[] = { "self","handler", NULL };
864
865 self = self;
866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_AddTagHandler",_kwnames,&_argo0,&_argo1))
867 return NULL;
868 if (_argo0) {
869 if (_argo0 == Py_None) { _arg0 = NULL; }
870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
872 return NULL;
873 }
874 }
875 if (_argo1) {
876 if (_argo1 == Py_None) { _arg1 = NULL; }
877 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTagHandler_p")) {
878 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
879 return NULL;
880 }
881 }
882 {
883 wxPy_BEGIN_ALLOW_THREADS;
884 wxHtmlParser_AddTagHandler(_arg0,_arg1);
885
886 wxPy_END_ALLOW_THREADS;
887 } Py_INCREF(Py_None);
888 _resultobj = Py_None;
889 return _resultobj;
890 }
891
892 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
893 static PyObject *_wrap_wxHtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
894 PyObject * _resultobj;
895 wxString * _result;
896 wxHtmlParser * _arg0;
897 PyObject * _argo0 = 0;
898 char *_kwnames[] = { "self", NULL };
899
900 self = self;
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetSource",_kwnames,&_argo0))
902 return NULL;
903 if (_argo0) {
904 if (_argo0 == Py_None) { _arg0 = NULL; }
905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
907 return NULL;
908 }
909 }
910 {
911 wxPy_BEGIN_ALLOW_THREADS;
912 _result = (wxString *)wxHtmlParser_GetSource(_arg0);
913
914 wxPy_END_ALLOW_THREADS;
915 }{
916 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
917 }
918 return _resultobj;
919 }
920
921 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr) {
922 wxHtmlWinParser *src;
923 wxHtmlParser *dest;
924 src = (wxHtmlWinParser *) ptr;
925 dest = (wxHtmlParser *) src;
926 return (void *) dest;
927 }
928
929 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
930 static PyObject *_wrap_new_wxHtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
931 PyObject * _resultobj;
932 wxHtmlWinParser * _result;
933 wxWindow * _arg0;
934 PyObject * _argo0 = 0;
935 char *_kwnames[] = { "wnd", NULL };
936 char _ptemp[128];
937
938 self = self;
939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlWinParser",_kwnames,&_argo0))
940 return NULL;
941 if (_argo0) {
942 if (_argo0 == Py_None) { _arg0 = NULL; }
943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
945 return NULL;
946 }
947 }
948 {
949 wxPy_BEGIN_ALLOW_THREADS;
950 _result = (wxHtmlWinParser *)new_wxHtmlWinParser(_arg0);
951
952 wxPy_END_ALLOW_THREADS;
953 } if (_result) {
954 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
955 _resultobj = Py_BuildValue("s",_ptemp);
956 } else {
957 Py_INCREF(Py_None);
958 _resultobj = Py_None;
959 }
960 return _resultobj;
961 }
962
963 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
964 static PyObject *_wrap_wxHtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
965 PyObject * _resultobj;
966 wxHtmlWinParser * _arg0;
967 wxDC * _arg1;
968 PyObject * _argo0 = 0;
969 PyObject * _argo1 = 0;
970 char *_kwnames[] = { "self","dc", NULL };
971
972 self = self;
973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetDC",_kwnames,&_argo0,&_argo1))
974 return NULL;
975 if (_argo0) {
976 if (_argo0 == Py_None) { _arg0 = NULL; }
977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
979 return NULL;
980 }
981 }
982 if (_argo1) {
983 if (_argo1 == Py_None) { _arg1 = NULL; }
984 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
985 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
986 return NULL;
987 }
988 }
989 {
990 wxPy_BEGIN_ALLOW_THREADS;
991 wxHtmlWinParser_SetDC(_arg0,_arg1);
992
993 wxPy_END_ALLOW_THREADS;
994 } Py_INCREF(Py_None);
995 _resultobj = Py_None;
996 return _resultobj;
997 }
998
999 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1000 static PyObject *_wrap_wxHtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject * _resultobj;
1002 wxDC * _result;
1003 wxHtmlWinParser * _arg0;
1004 PyObject * _argo0 = 0;
1005 char *_kwnames[] = { "self", NULL };
1006 char _ptemp[128];
1007
1008 self = self;
1009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetDC",_kwnames,&_argo0))
1010 return NULL;
1011 if (_argo0) {
1012 if (_argo0 == Py_None) { _arg0 = NULL; }
1013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1015 return NULL;
1016 }
1017 }
1018 {
1019 wxPy_BEGIN_ALLOW_THREADS;
1020 _result = (wxDC *)wxHtmlWinParser_GetDC(_arg0);
1021
1022 wxPy_END_ALLOW_THREADS;
1023 } if (_result) {
1024 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
1025 _resultobj = Py_BuildValue("s",_ptemp);
1026 } else {
1027 Py_INCREF(Py_None);
1028 _resultobj = Py_None;
1029 }
1030 return _resultobj;
1031 }
1032
1033 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1034 static PyObject *_wrap_wxHtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1035 PyObject * _resultobj;
1036 int _result;
1037 wxHtmlWinParser * _arg0;
1038 PyObject * _argo0 = 0;
1039 char *_kwnames[] = { "self", NULL };
1040
1041 self = self;
1042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharHeight",_kwnames,&_argo0))
1043 return NULL;
1044 if (_argo0) {
1045 if (_argo0 == Py_None) { _arg0 = NULL; }
1046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1048 return NULL;
1049 }
1050 }
1051 {
1052 wxPy_BEGIN_ALLOW_THREADS;
1053 _result = (int )wxHtmlWinParser_GetCharHeight(_arg0);
1054
1055 wxPy_END_ALLOW_THREADS;
1056 } _resultobj = Py_BuildValue("i",_result);
1057 return _resultobj;
1058 }
1059
1060 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1061 static PyObject *_wrap_wxHtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject * _resultobj;
1063 int _result;
1064 wxHtmlWinParser * _arg0;
1065 PyObject * _argo0 = 0;
1066 char *_kwnames[] = { "self", NULL };
1067
1068 self = self;
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharWidth",_kwnames,&_argo0))
1070 return NULL;
1071 if (_argo0) {
1072 if (_argo0 == Py_None) { _arg0 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1075 return NULL;
1076 }
1077 }
1078 {
1079 wxPy_BEGIN_ALLOW_THREADS;
1080 _result = (int )wxHtmlWinParser_GetCharWidth(_arg0);
1081
1082 wxPy_END_ALLOW_THREADS;
1083 } _resultobj = Py_BuildValue("i",_result);
1084 return _resultobj;
1085 }
1086
1087 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1088 static PyObject *_wrap_wxHtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1089 PyObject * _resultobj;
1090 wxWindow * _result;
1091 wxHtmlWinParser * _arg0;
1092 PyObject * _argo0 = 0;
1093 char *_kwnames[] = { "self", NULL };
1094 char _ptemp[128];
1095
1096 self = self;
1097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetWindow",_kwnames,&_argo0))
1098 return NULL;
1099 if (_argo0) {
1100 if (_argo0 == Py_None) { _arg0 = NULL; }
1101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1103 return NULL;
1104 }
1105 }
1106 {
1107 wxPy_BEGIN_ALLOW_THREADS;
1108 _result = (wxWindow *)wxHtmlWinParser_GetWindow(_arg0);
1109
1110 wxPy_END_ALLOW_THREADS;
1111 } if (_result) {
1112 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1113 _resultobj = Py_BuildValue("s",_ptemp);
1114 } else {
1115 Py_INCREF(Py_None);
1116 _resultobj = Py_None;
1117 }
1118 return _resultobj;
1119 }
1120
1121 #define wxHtmlWinParser_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1122 static PyObject *_wrap_wxHtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1123 PyObject * _resultobj;
1124 wxHtmlWinParser * _arg0;
1125 wxString * _arg1;
1126 int _arg2;
1127 wxString * _arg3;
1128 int _arg4;
1129 int * _arg5;
1130 PyObject * _argo0 = 0;
1131 PyObject * _obj1 = 0;
1132 PyObject * _obj3 = 0;
1133 PyObject * _obj5 = 0;
1134 char *_kwnames[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL };
1135
1136 self = self;
1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiOiO:wxHtmlWinParser_SetFonts",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3,&_arg4,&_obj5))
1138 return NULL;
1139 if (_argo0) {
1140 if (_argo0 == Py_None) { _arg0 = NULL; }
1141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1143 return NULL;
1144 }
1145 }
1146 {
1147 if (!PyString_Check(_obj1)) {
1148 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1149 return NULL;
1150 }
1151 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1152 }
1153 {
1154 if (!PyString_Check(_obj3)) {
1155 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1156 return NULL;
1157 }
1158 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
1159 }
1160 {
1161 _arg5 = int_LIST_helper(_obj5);
1162 if (_arg5 == NULL) {
1163 return NULL;
1164 }
1165 }
1166 {
1167 wxPy_BEGIN_ALLOW_THREADS;
1168 wxHtmlWinParser_SetFonts(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5);
1169
1170 wxPy_END_ALLOW_THREADS;
1171 } Py_INCREF(Py_None);
1172 _resultobj = Py_None;
1173 {
1174 if (_obj1)
1175 delete _arg1;
1176 }
1177 {
1178 if (_obj3)
1179 delete _arg3;
1180 }
1181 {
1182 delete [] _arg5;
1183 }
1184 return _resultobj;
1185 }
1186
1187 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1188 static PyObject *_wrap_wxHtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject * _resultobj;
1190 wxHtmlContainerCell * _result;
1191 wxHtmlWinParser * _arg0;
1192 PyObject * _argo0 = 0;
1193 char *_kwnames[] = { "self", NULL };
1194 char _ptemp[128];
1195
1196 self = self;
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetContainer",_kwnames,&_argo0))
1198 return NULL;
1199 if (_argo0) {
1200 if (_argo0 == Py_None) { _arg0 = NULL; }
1201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1203 return NULL;
1204 }
1205 }
1206 {
1207 wxPy_BEGIN_ALLOW_THREADS;
1208 _result = (wxHtmlContainerCell *)wxHtmlWinParser_GetContainer(_arg0);
1209
1210 wxPy_END_ALLOW_THREADS;
1211 } if (_result) {
1212 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1213 _resultobj = Py_BuildValue("s",_ptemp);
1214 } else {
1215 Py_INCREF(Py_None);
1216 _resultobj = Py_None;
1217 }
1218 return _resultobj;
1219 }
1220
1221 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1222 static PyObject *_wrap_wxHtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1223 PyObject * _resultobj;
1224 wxHtmlContainerCell * _result;
1225 wxHtmlWinParser * _arg0;
1226 PyObject * _argo0 = 0;
1227 char *_kwnames[] = { "self", NULL };
1228 char _ptemp[128];
1229
1230 self = self;
1231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_OpenContainer",_kwnames,&_argo0))
1232 return NULL;
1233 if (_argo0) {
1234 if (_argo0 == Py_None) { _arg0 = NULL; }
1235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1237 return NULL;
1238 }
1239 }
1240 {
1241 wxPy_BEGIN_ALLOW_THREADS;
1242 _result = (wxHtmlContainerCell *)wxHtmlWinParser_OpenContainer(_arg0);
1243
1244 wxPy_END_ALLOW_THREADS;
1245 } if (_result) {
1246 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1247 _resultobj = Py_BuildValue("s",_ptemp);
1248 } else {
1249 Py_INCREF(Py_None);
1250 _resultobj = Py_None;
1251 }
1252 return _resultobj;
1253 }
1254
1255 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1256 static PyObject *_wrap_wxHtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1257 PyObject * _resultobj;
1258 wxHtmlContainerCell * _result;
1259 wxHtmlWinParser * _arg0;
1260 PyObject * _argo0 = 0;
1261 char *_kwnames[] = { "self", NULL };
1262 char _ptemp[128];
1263
1264 self = self;
1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CloseContainer",_kwnames,&_argo0))
1266 return NULL;
1267 if (_argo0) {
1268 if (_argo0 == Py_None) { _arg0 = NULL; }
1269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1271 return NULL;
1272 }
1273 }
1274 {
1275 wxPy_BEGIN_ALLOW_THREADS;
1276 _result = (wxHtmlContainerCell *)wxHtmlWinParser_CloseContainer(_arg0);
1277
1278 wxPy_END_ALLOW_THREADS;
1279 } if (_result) {
1280 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1281 _resultobj = Py_BuildValue("s",_ptemp);
1282 } else {
1283 Py_INCREF(Py_None);
1284 _resultobj = Py_None;
1285 }
1286 return _resultobj;
1287 }
1288
1289 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1290 static PyObject *_wrap_wxHtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject * _resultobj;
1292 int _result;
1293 wxHtmlWinParser * _arg0;
1294 PyObject * _argo0 = 0;
1295 char *_kwnames[] = { "self", NULL };
1296
1297 self = self;
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontSize",_kwnames,&_argo0))
1299 return NULL;
1300 if (_argo0) {
1301 if (_argo0 == Py_None) { _arg0 = NULL; }
1302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1304 return NULL;
1305 }
1306 }
1307 {
1308 wxPy_BEGIN_ALLOW_THREADS;
1309 _result = (int )wxHtmlWinParser_GetFontSize(_arg0);
1310
1311 wxPy_END_ALLOW_THREADS;
1312 } _resultobj = Py_BuildValue("i",_result);
1313 return _resultobj;
1314 }
1315
1316 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1317 static PyObject *_wrap_wxHtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject * _resultobj;
1319 wxHtmlWinParser * _arg0;
1320 int _arg1;
1321 PyObject * _argo0 = 0;
1322 char *_kwnames[] = { "self","s", NULL };
1323
1324 self = self;
1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontSize",_kwnames,&_argo0,&_arg1))
1326 return NULL;
1327 if (_argo0) {
1328 if (_argo0 == Py_None) { _arg0 = NULL; }
1329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1331 return NULL;
1332 }
1333 }
1334 {
1335 wxPy_BEGIN_ALLOW_THREADS;
1336 wxHtmlWinParser_SetFontSize(_arg0,_arg1);
1337
1338 wxPy_END_ALLOW_THREADS;
1339 } Py_INCREF(Py_None);
1340 _resultobj = Py_None;
1341 return _resultobj;
1342 }
1343
1344 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1345 static PyObject *_wrap_wxHtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject * _resultobj;
1347 int _result;
1348 wxHtmlWinParser * _arg0;
1349 PyObject * _argo0 = 0;
1350 char *_kwnames[] = { "self", NULL };
1351
1352 self = self;
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontBold",_kwnames,&_argo0))
1354 return NULL;
1355 if (_argo0) {
1356 if (_argo0 == Py_None) { _arg0 = NULL; }
1357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1359 return NULL;
1360 }
1361 }
1362 {
1363 wxPy_BEGIN_ALLOW_THREADS;
1364 _result = (int )wxHtmlWinParser_GetFontBold(_arg0);
1365
1366 wxPy_END_ALLOW_THREADS;
1367 } _resultobj = Py_BuildValue("i",_result);
1368 return _resultobj;
1369 }
1370
1371 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1372 static PyObject *_wrap_wxHtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1373 PyObject * _resultobj;
1374 wxHtmlWinParser * _arg0;
1375 int _arg1;
1376 PyObject * _argo0 = 0;
1377 char *_kwnames[] = { "self","x", NULL };
1378
1379 self = self;
1380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontBold",_kwnames,&_argo0,&_arg1))
1381 return NULL;
1382 if (_argo0) {
1383 if (_argo0 == Py_None) { _arg0 = NULL; }
1384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1386 return NULL;
1387 }
1388 }
1389 {
1390 wxPy_BEGIN_ALLOW_THREADS;
1391 wxHtmlWinParser_SetFontBold(_arg0,_arg1);
1392
1393 wxPy_END_ALLOW_THREADS;
1394 } Py_INCREF(Py_None);
1395 _resultobj = Py_None;
1396 return _resultobj;
1397 }
1398
1399 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1400 static PyObject *_wrap_wxHtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject * _resultobj;
1402 int _result;
1403 wxHtmlWinParser * _arg0;
1404 PyObject * _argo0 = 0;
1405 char *_kwnames[] = { "self", NULL };
1406
1407 self = self;
1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontItalic",_kwnames,&_argo0))
1409 return NULL;
1410 if (_argo0) {
1411 if (_argo0 == Py_None) { _arg0 = NULL; }
1412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1414 return NULL;
1415 }
1416 }
1417 {
1418 wxPy_BEGIN_ALLOW_THREADS;
1419 _result = (int )wxHtmlWinParser_GetFontItalic(_arg0);
1420
1421 wxPy_END_ALLOW_THREADS;
1422 } _resultobj = Py_BuildValue("i",_result);
1423 return _resultobj;
1424 }
1425
1426 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1427 static PyObject *_wrap_wxHtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject * _resultobj;
1429 wxHtmlWinParser * _arg0;
1430 int _arg1;
1431 PyObject * _argo0 = 0;
1432 char *_kwnames[] = { "self","x", NULL };
1433
1434 self = self;
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames,&_argo0,&_arg1))
1436 return NULL;
1437 if (_argo0) {
1438 if (_argo0 == Py_None) { _arg0 = NULL; }
1439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1441 return NULL;
1442 }
1443 }
1444 {
1445 wxPy_BEGIN_ALLOW_THREADS;
1446 wxHtmlWinParser_SetFontItalic(_arg0,_arg1);
1447
1448 wxPy_END_ALLOW_THREADS;
1449 } Py_INCREF(Py_None);
1450 _resultobj = Py_None;
1451 return _resultobj;
1452 }
1453
1454 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1455 static PyObject *_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject * _resultobj;
1457 int _result;
1458 wxHtmlWinParser * _arg0;
1459 PyObject * _argo0 = 0;
1460 char *_kwnames[] = { "self", NULL };
1461
1462 self = self;
1463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames,&_argo0))
1464 return NULL;
1465 if (_argo0) {
1466 if (_argo0 == Py_None) { _arg0 = NULL; }
1467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1469 return NULL;
1470 }
1471 }
1472 {
1473 wxPy_BEGIN_ALLOW_THREADS;
1474 _result = (int )wxHtmlWinParser_GetFontUnderlined(_arg0);
1475
1476 wxPy_END_ALLOW_THREADS;
1477 } _resultobj = Py_BuildValue("i",_result);
1478 return _resultobj;
1479 }
1480
1481 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1482 static PyObject *_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject * _resultobj;
1484 wxHtmlWinParser * _arg0;
1485 int _arg1;
1486 PyObject * _argo0 = 0;
1487 char *_kwnames[] = { "self","x", NULL };
1488
1489 self = self;
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames,&_argo0,&_arg1))
1491 return NULL;
1492 if (_argo0) {
1493 if (_argo0 == Py_None) { _arg0 = NULL; }
1494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1496 return NULL;
1497 }
1498 }
1499 {
1500 wxPy_BEGIN_ALLOW_THREADS;
1501 wxHtmlWinParser_SetFontUnderlined(_arg0,_arg1);
1502
1503 wxPy_END_ALLOW_THREADS;
1504 } Py_INCREF(Py_None);
1505 _resultobj = Py_None;
1506 return _resultobj;
1507 }
1508
1509 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1510 static PyObject *_wrap_wxHtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject * _resultobj;
1512 int _result;
1513 wxHtmlWinParser * _arg0;
1514 PyObject * _argo0 = 0;
1515 char *_kwnames[] = { "self", NULL };
1516
1517 self = self;
1518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontFixed",_kwnames,&_argo0))
1519 return NULL;
1520 if (_argo0) {
1521 if (_argo0 == Py_None) { _arg0 = NULL; }
1522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1524 return NULL;
1525 }
1526 }
1527 {
1528 wxPy_BEGIN_ALLOW_THREADS;
1529 _result = (int )wxHtmlWinParser_GetFontFixed(_arg0);
1530
1531 wxPy_END_ALLOW_THREADS;
1532 } _resultobj = Py_BuildValue("i",_result);
1533 return _resultobj;
1534 }
1535
1536 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1537 static PyObject *_wrap_wxHtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
1538 PyObject * _resultobj;
1539 wxHtmlWinParser * _arg0;
1540 int _arg1;
1541 PyObject * _argo0 = 0;
1542 char *_kwnames[] = { "self","x", NULL };
1543
1544 self = self;
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames,&_argo0,&_arg1))
1546 return NULL;
1547 if (_argo0) {
1548 if (_argo0 == Py_None) { _arg0 = NULL; }
1549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1551 return NULL;
1552 }
1553 }
1554 {
1555 wxPy_BEGIN_ALLOW_THREADS;
1556 wxHtmlWinParser_SetFontFixed(_arg0,_arg1);
1557
1558 wxPy_END_ALLOW_THREADS;
1559 } Py_INCREF(Py_None);
1560 _resultobj = Py_None;
1561 return _resultobj;
1562 }
1563
1564 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1565 static PyObject *_wrap_wxHtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject * _resultobj;
1567 int _result;
1568 wxHtmlWinParser * _arg0;
1569 PyObject * _argo0 = 0;
1570 char *_kwnames[] = { "self", NULL };
1571
1572 self = self;
1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetAlign",_kwnames,&_argo0))
1574 return NULL;
1575 if (_argo0) {
1576 if (_argo0 == Py_None) { _arg0 = NULL; }
1577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1579 return NULL;
1580 }
1581 }
1582 {
1583 wxPy_BEGIN_ALLOW_THREADS;
1584 _result = (int )wxHtmlWinParser_GetAlign(_arg0);
1585
1586 wxPy_END_ALLOW_THREADS;
1587 } _resultobj = Py_BuildValue("i",_result);
1588 return _resultobj;
1589 }
1590
1591 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1592 static PyObject *_wrap_wxHtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject * _resultobj;
1594 wxHtmlWinParser * _arg0;
1595 int _arg1;
1596 PyObject * _argo0 = 0;
1597 char *_kwnames[] = { "self","a", NULL };
1598
1599 self = self;
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetAlign",_kwnames,&_argo0,&_arg1))
1601 return NULL;
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1606 return NULL;
1607 }
1608 }
1609 {
1610 wxPy_BEGIN_ALLOW_THREADS;
1611 wxHtmlWinParser_SetAlign(_arg0,_arg1);
1612
1613 wxPy_END_ALLOW_THREADS;
1614 } Py_INCREF(Py_None);
1615 _resultobj = Py_None;
1616 return _resultobj;
1617 }
1618
1619 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1620 static PyObject *_wrap_wxHtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject * _resultobj;
1622 wxColour * _result;
1623 wxHtmlWinParser * _arg0;
1624 PyObject * _argo0 = 0;
1625 char *_kwnames[] = { "self", NULL };
1626 char _ptemp[128];
1627
1628 self = self;
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLinkColor",_kwnames,&_argo0))
1630 return NULL;
1631 if (_argo0) {
1632 if (_argo0 == Py_None) { _arg0 = NULL; }
1633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
1635 return NULL;
1636 }
1637 }
1638 {
1639 wxPy_BEGIN_ALLOW_THREADS;
1640 const wxColour & _result_ref = wxHtmlWinParser_GetLinkColor(_arg0);
1641 _result = (wxColour *) &_result_ref;
1642
1643 wxPy_END_ALLOW_THREADS;
1644 } if (_result) {
1645 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1646 _resultobj = Py_BuildValue("s",_ptemp);
1647 } else {
1648 Py_INCREF(Py_None);
1649 _resultobj = Py_None;
1650 }
1651 return _resultobj;
1652 }
1653
1654 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
1655 static PyObject *_wrap_wxHtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject * _resultobj;
1657 wxHtmlWinParser * _arg0;
1658 wxColour * _arg1;
1659 PyObject * _argo0 = 0;
1660 PyObject * _argo1 = 0;
1661 char *_kwnames[] = { "self","clr", NULL };
1662
1663 self = self;
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLinkColor",_kwnames,&_argo0,&_argo1))
1665 return NULL;
1666 if (_argo0) {
1667 if (_argo0 == Py_None) { _arg0 = NULL; }
1668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
1670 return NULL;
1671 }
1672 }
1673 if (_argo1) {
1674 if (_argo1 == Py_None) { _arg1 = NULL; }
1675 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetLinkColor. Expected _wxColour_p.");
1677 return NULL;
1678 }
1679 }
1680 {
1681 wxPy_BEGIN_ALLOW_THREADS;
1682 wxHtmlWinParser_SetLinkColor(_arg0,*_arg1);
1683
1684 wxPy_END_ALLOW_THREADS;
1685 } Py_INCREF(Py_None);
1686 _resultobj = Py_None;
1687 return _resultobj;
1688 }
1689
1690 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
1691 static PyObject *_wrap_wxHtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject * _resultobj;
1693 wxColour * _result;
1694 wxHtmlWinParser * _arg0;
1695 PyObject * _argo0 = 0;
1696 char *_kwnames[] = { "self", NULL };
1697 char _ptemp[128];
1698
1699 self = self;
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetActualColor",_kwnames,&_argo0))
1701 return NULL;
1702 if (_argo0) {
1703 if (_argo0 == Py_None) { _arg0 = NULL; }
1704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
1706 return NULL;
1707 }
1708 }
1709 {
1710 wxPy_BEGIN_ALLOW_THREADS;
1711 const wxColour & _result_ref = wxHtmlWinParser_GetActualColor(_arg0);
1712 _result = (wxColour *) &_result_ref;
1713
1714 wxPy_END_ALLOW_THREADS;
1715 } if (_result) {
1716 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1717 _resultobj = Py_BuildValue("s",_ptemp);
1718 } else {
1719 Py_INCREF(Py_None);
1720 _resultobj = Py_None;
1721 }
1722 return _resultobj;
1723 }
1724
1725 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
1726 static PyObject *_wrap_wxHtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
1727 PyObject * _resultobj;
1728 wxHtmlWinParser * _arg0;
1729 wxColour * _arg1;
1730 PyObject * _argo0 = 0;
1731 PyObject * _argo1 = 0;
1732 char *_kwnames[] = { "self","clr", NULL };
1733
1734 self = self;
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetActualColor",_kwnames,&_argo0,&_argo1))
1736 return NULL;
1737 if (_argo0) {
1738 if (_argo0 == Py_None) { _arg0 = NULL; }
1739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
1741 return NULL;
1742 }
1743 }
1744 if (_argo1) {
1745 if (_argo1 == Py_None) { _arg1 = NULL; }
1746 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
1747 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetActualColor. Expected _wxColour_p.");
1748 return NULL;
1749 }
1750 }
1751 {
1752 wxPy_BEGIN_ALLOW_THREADS;
1753 wxHtmlWinParser_SetActualColor(_arg0,*_arg1);
1754
1755 wxPy_END_ALLOW_THREADS;
1756 } Py_INCREF(Py_None);
1757 _resultobj = Py_None;
1758 return _resultobj;
1759 }
1760
1761 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
1762 static PyObject *_wrap_wxHtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
1763 PyObject * _resultobj;
1764 wxString * _result;
1765 wxHtmlWinParser * _arg0;
1766 PyObject * _argo0 = 0;
1767 char *_kwnames[] = { "self", NULL };
1768
1769 self = self;
1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLink",_kwnames,&_argo0))
1771 return NULL;
1772 if (_argo0) {
1773 if (_argo0 == Py_None) { _arg0 = NULL; }
1774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
1776 return NULL;
1777 }
1778 }
1779 {
1780 wxPy_BEGIN_ALLOW_THREADS;
1781 const wxString & _result_ref = wxHtmlWinParser_GetLink(_arg0);
1782 _result = (wxString *) &_result_ref;
1783
1784 wxPy_END_ALLOW_THREADS;
1785 }{
1786 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1787 }
1788 return _resultobj;
1789 }
1790
1791 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
1792 static PyObject *_wrap_wxHtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject * _resultobj;
1794 wxHtmlWinParser * _arg0;
1795 wxString * _arg1;
1796 PyObject * _argo0 = 0;
1797 PyObject * _obj1 = 0;
1798 char *_kwnames[] = { "self","link", NULL };
1799
1800 self = self;
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLink",_kwnames,&_argo0,&_obj1))
1802 return NULL;
1803 if (_argo0) {
1804 if (_argo0 == Py_None) { _arg0 = NULL; }
1805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
1807 return NULL;
1808 }
1809 }
1810 {
1811 if (!PyString_Check(_obj1)) {
1812 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1813 return NULL;
1814 }
1815 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1816 }
1817 {
1818 wxPy_BEGIN_ALLOW_THREADS;
1819 wxHtmlWinParser_SetLink(_arg0,*_arg1);
1820
1821 wxPy_END_ALLOW_THREADS;
1822 } Py_INCREF(Py_None);
1823 _resultobj = Py_None;
1824 {
1825 if (_obj1)
1826 delete _arg1;
1827 }
1828 return _resultobj;
1829 }
1830
1831 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
1832 static PyObject *_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject * _resultobj;
1834 wxFont * _result;
1835 wxHtmlWinParser * _arg0;
1836 PyObject * _argo0 = 0;
1837 char *_kwnames[] = { "self", NULL };
1838 char _ptemp[128];
1839
1840 self = self;
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames,&_argo0))
1842 return NULL;
1843 if (_argo0) {
1844 if (_argo0 == Py_None) { _arg0 = NULL; }
1845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
1847 return NULL;
1848 }
1849 }
1850 {
1851 wxPy_BEGIN_ALLOW_THREADS;
1852 _result = (wxFont *)wxHtmlWinParser_CreateCurrentFont(_arg0);
1853
1854 wxPy_END_ALLOW_THREADS;
1855 } if (_result) {
1856 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1857 _resultobj = Py_BuildValue("s",_ptemp);
1858 } else {
1859 Py_INCREF(Py_None);
1860 _resultobj = Py_None;
1861 }
1862 return _resultobj;
1863 }
1864
1865 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
1866 static PyObject *_wrap_new_wxHtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1867 PyObject * _resultobj;
1868 wxPyHtmlTagHandler * _result;
1869 char *_kwnames[] = { NULL };
1870 char _ptemp[128];
1871
1872 self = self;
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlTagHandler",_kwnames))
1874 return NULL;
1875 {
1876 wxPy_BEGIN_ALLOW_THREADS;
1877 _result = (wxPyHtmlTagHandler *)new_wxHtmlTagHandler();
1878
1879 wxPy_END_ALLOW_THREADS;
1880 } if (_result) {
1881 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlTagHandler_p");
1882 _resultobj = Py_BuildValue("s",_ptemp);
1883 } else {
1884 Py_INCREF(Py_None);
1885 _resultobj = Py_None;
1886 }
1887 return _resultobj;
1888 }
1889
1890 #define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1891 static PyObject *_wrap_wxHtmlTagHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject * _resultobj;
1893 wxPyHtmlTagHandler * _arg0;
1894 PyObject * _arg1;
1895 PyObject * _argo0 = 0;
1896 PyObject * _obj1 = 0;
1897 char *_kwnames[] = { "self","self", NULL };
1898
1899 self = self;
1900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler__setSelf",_kwnames,&_argo0,&_obj1))
1901 return NULL;
1902 if (_argo0) {
1903 if (_argo0 == Py_None) { _arg0 = NULL; }
1904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
1905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler__setSelf. Expected _wxPyHtmlTagHandler_p.");
1906 return NULL;
1907 }
1908 }
1909 {
1910 _arg1 = _obj1;
1911 }
1912 {
1913 wxPy_BEGIN_ALLOW_THREADS;
1914 wxHtmlTagHandler__setSelf(_arg0,_arg1);
1915
1916 wxPy_END_ALLOW_THREADS;
1917 } Py_INCREF(Py_None);
1918 _resultobj = Py_None;
1919 return _resultobj;
1920 }
1921
1922 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
1923 static PyObject *_wrap_wxHtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject * _resultobj;
1925 wxPyHtmlTagHandler * _arg0;
1926 wxHtmlParser * _arg1;
1927 PyObject * _argo0 = 0;
1928 PyObject * _argo1 = 0;
1929 char *_kwnames[] = { "self","parser", NULL };
1930
1931 self = self;
1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_SetParser",_kwnames,&_argo0,&_argo1))
1933 return NULL;
1934 if (_argo0) {
1935 if (_argo0 == Py_None) { _arg0 = NULL; }
1936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
1937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
1938 return NULL;
1939 }
1940 }
1941 if (_argo1) {
1942 if (_argo1 == Py_None) { _arg1 = NULL; }
1943 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) {
1944 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
1945 return NULL;
1946 }
1947 }
1948 {
1949 wxPy_BEGIN_ALLOW_THREADS;
1950 wxHtmlTagHandler_SetParser(_arg0,_arg1);
1951
1952 wxPy_END_ALLOW_THREADS;
1953 } Py_INCREF(Py_None);
1954 _resultobj = Py_None;
1955 return _resultobj;
1956 }
1957
1958 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
1959 static PyObject *_wrap_wxHtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject * _resultobj;
1961 wxHtmlParser * _result;
1962 wxPyHtmlTagHandler * _arg0;
1963 PyObject * _argo0 = 0;
1964 char *_kwnames[] = { "self", NULL };
1965 char _ptemp[128];
1966
1967 self = self;
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTagHandler_GetParser",_kwnames,&_argo0))
1969 return NULL;
1970 if (_argo0) {
1971 if (_argo0 == Py_None) { _arg0 = NULL; }
1972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
1973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
1974 return NULL;
1975 }
1976 }
1977 {
1978 wxPy_BEGIN_ALLOW_THREADS;
1979 _result = (wxHtmlParser *)wxHtmlTagHandler_GetParser(_arg0);
1980
1981 wxPy_END_ALLOW_THREADS;
1982 } if (_result) {
1983 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlParser_p");
1984 _resultobj = Py_BuildValue("s",_ptemp);
1985 } else {
1986 Py_INCREF(Py_None);
1987 _resultobj = Py_None;
1988 }
1989 return _resultobj;
1990 }
1991
1992 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
1993 static PyObject *_wrap_wxHtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
1994 PyObject * _resultobj;
1995 wxPyHtmlTagHandler * _arg0;
1996 wxHtmlTag * _arg1;
1997 PyObject * _argo0 = 0;
1998 PyObject * _argo1 = 0;
1999 char *_kwnames[] = { "self","tag", NULL };
2000
2001 self = self;
2002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_ParseInner",_kwnames,&_argo0,&_argo1))
2003 return NULL;
2004 if (_argo0) {
2005 if (_argo0 == Py_None) { _arg0 = NULL; }
2006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2008 return NULL;
2009 }
2010 }
2011 if (_argo1) {
2012 if (_argo1 == Py_None) { _arg1 = NULL; }
2013 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
2014 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2015 return NULL;
2016 }
2017 }
2018 {
2019 wxPy_BEGIN_ALLOW_THREADS;
2020 wxHtmlTagHandler_ParseInner(_arg0,*_arg1);
2021
2022 wxPy_END_ALLOW_THREADS;
2023 } Py_INCREF(Py_None);
2024 _resultobj = Py_None;
2025 return _resultobj;
2026 }
2027
2028 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr) {
2029 wxPyHtmlWinTagHandler *src;
2030 wxPyHtmlTagHandler *dest;
2031 src = (wxPyHtmlWinTagHandler *) ptr;
2032 dest = (wxPyHtmlTagHandler *) src;
2033 return (void *) dest;
2034 }
2035
2036 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2037 static PyObject *_wrap_new_wxHtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject * _resultobj;
2039 wxPyHtmlWinTagHandler * _result;
2040 char *_kwnames[] = { NULL };
2041 char _ptemp[128];
2042
2043 self = self;
2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlWinTagHandler",_kwnames))
2045 return NULL;
2046 {
2047 wxPy_BEGIN_ALLOW_THREADS;
2048 _result = (wxPyHtmlWinTagHandler *)new_wxHtmlWinTagHandler();
2049
2050 wxPy_END_ALLOW_THREADS;
2051 } if (_result) {
2052 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWinTagHandler_p");
2053 _resultobj = Py_BuildValue("s",_ptemp);
2054 } else {
2055 Py_INCREF(Py_None);
2056 _resultobj = Py_None;
2057 }
2058 return _resultobj;
2059 }
2060
2061 #define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2062 static PyObject *_wrap_wxHtmlWinTagHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2063 PyObject * _resultobj;
2064 wxPyHtmlWinTagHandler * _arg0;
2065 PyObject * _arg1;
2066 PyObject * _argo0 = 0;
2067 PyObject * _obj1 = 0;
2068 char *_kwnames[] = { "self","self", NULL };
2069
2070 self = self;
2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler__setSelf",_kwnames,&_argo0,&_obj1))
2072 return NULL;
2073 if (_argo0) {
2074 if (_argo0 == Py_None) { _arg0 = NULL; }
2075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler__setSelf. Expected _wxPyHtmlWinTagHandler_p.");
2077 return NULL;
2078 }
2079 }
2080 {
2081 _arg1 = _obj1;
2082 }
2083 {
2084 wxPy_BEGIN_ALLOW_THREADS;
2085 wxHtmlWinTagHandler__setSelf(_arg0,_arg1);
2086
2087 wxPy_END_ALLOW_THREADS;
2088 } Py_INCREF(Py_None);
2089 _resultobj = Py_None;
2090 return _resultobj;
2091 }
2092
2093 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2094 static PyObject *_wrap_wxHtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject * _resultobj;
2096 wxPyHtmlWinTagHandler * _arg0;
2097 wxHtmlParser * _arg1;
2098 PyObject * _argo0 = 0;
2099 PyObject * _argo1 = 0;
2100 char *_kwnames[] = { "self","parser", NULL };
2101
2102 self = self;
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_SetParser",_kwnames,&_argo0,&_argo1))
2104 return NULL;
2105 if (_argo0) {
2106 if (_argo0 == Py_None) { _arg0 = NULL; }
2107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2109 return NULL;
2110 }
2111 }
2112 if (_argo1) {
2113 if (_argo1 == Py_None) { _arg1 = NULL; }
2114 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) {
2115 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2116 return NULL;
2117 }
2118 }
2119 {
2120 wxPy_BEGIN_ALLOW_THREADS;
2121 wxHtmlWinTagHandler_SetParser(_arg0,_arg1);
2122
2123 wxPy_END_ALLOW_THREADS;
2124 } Py_INCREF(Py_None);
2125 _resultobj = Py_None;
2126 return _resultobj;
2127 }
2128
2129 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2130 static PyObject *_wrap_wxHtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject * _resultobj;
2132 wxHtmlWinParser * _result;
2133 wxPyHtmlWinTagHandler * _arg0;
2134 PyObject * _argo0 = 0;
2135 char *_kwnames[] = { "self", NULL };
2136 char _ptemp[128];
2137
2138 self = self;
2139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinTagHandler_GetParser",_kwnames,&_argo0))
2140 return NULL;
2141 if (_argo0) {
2142 if (_argo0 == Py_None) { _arg0 = NULL; }
2143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2145 return NULL;
2146 }
2147 }
2148 {
2149 wxPy_BEGIN_ALLOW_THREADS;
2150 _result = (wxHtmlWinParser *)wxHtmlWinTagHandler_GetParser(_arg0);
2151
2152 wxPy_END_ALLOW_THREADS;
2153 } if (_result) {
2154 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
2155 _resultobj = Py_BuildValue("s",_ptemp);
2156 } else {
2157 Py_INCREF(Py_None);
2158 _resultobj = Py_None;
2159 }
2160 return _resultobj;
2161 }
2162
2163 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2164 static PyObject *_wrap_wxHtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject * _resultobj;
2166 wxPyHtmlWinTagHandler * _arg0;
2167 wxHtmlTag * _arg1;
2168 PyObject * _argo0 = 0;
2169 PyObject * _argo1 = 0;
2170 char *_kwnames[] = { "self","tag", NULL };
2171
2172 self = self;
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames,&_argo0,&_argo1))
2174 return NULL;
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2179 return NULL;
2180 }
2181 }
2182 if (_argo1) {
2183 if (_argo1 == Py_None) { _arg1 = NULL; }
2184 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
2185 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2186 return NULL;
2187 }
2188 }
2189 {
2190 wxPy_BEGIN_ALLOW_THREADS;
2191 wxHtmlWinTagHandler_ParseInner(_arg0,*_arg1);
2192
2193 wxPy_END_ALLOW_THREADS;
2194 } Py_INCREF(Py_None);
2195 _resultobj = Py_None;
2196 return _resultobj;
2197 }
2198
2199 #define new_wxHtmlCell() (new wxHtmlCell())
2200 static PyObject *_wrap_new_wxHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2201 PyObject * _resultobj;
2202 wxHtmlCell * _result;
2203 char *_kwnames[] = { NULL };
2204 char _ptemp[128];
2205
2206 self = self;
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlCell",_kwnames))
2208 return NULL;
2209 {
2210 wxPy_BEGIN_ALLOW_THREADS;
2211 _result = (wxHtmlCell *)new_wxHtmlCell();
2212
2213 wxPy_END_ALLOW_THREADS;
2214 } if (_result) {
2215 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
2216 _resultobj = Py_BuildValue("s",_ptemp);
2217 } else {
2218 Py_INCREF(Py_None);
2219 _resultobj = Py_None;
2220 }
2221 return _resultobj;
2222 }
2223
2224 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2225 static PyObject *_wrap_wxHtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2226 PyObject * _resultobj;
2227 wxHtmlCell * _arg0;
2228 wxHtmlContainerCell * _arg1;
2229 PyObject * _argo0 = 0;
2230 PyObject * _argo1 = 0;
2231 char *_kwnames[] = { "self","p", NULL };
2232
2233 self = self;
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetParent",_kwnames,&_argo0,&_argo1))
2235 return NULL;
2236 if (_argo0) {
2237 if (_argo0 == Py_None) { _arg0 = NULL; }
2238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2240 return NULL;
2241 }
2242 }
2243 if (_argo1) {
2244 if (_argo1 == Py_None) { _arg1 = NULL; }
2245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) {
2246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2247 return NULL;
2248 }
2249 }
2250 {
2251 wxPy_BEGIN_ALLOW_THREADS;
2252 wxHtmlCell_SetParent(_arg0,_arg1);
2253
2254 wxPy_END_ALLOW_THREADS;
2255 } Py_INCREF(Py_None);
2256 _resultobj = Py_None;
2257 return _resultobj;
2258 }
2259
2260 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2261 static PyObject *_wrap_wxHtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject * _resultobj;
2263 wxHtmlContainerCell * _result;
2264 wxHtmlCell * _arg0;
2265 PyObject * _argo0 = 0;
2266 char *_kwnames[] = { "self", NULL };
2267 char _ptemp[128];
2268
2269 self = self;
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetParent",_kwnames,&_argo0))
2271 return NULL;
2272 if (_argo0) {
2273 if (_argo0 == Py_None) { _arg0 = NULL; }
2274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2276 return NULL;
2277 }
2278 }
2279 {
2280 wxPy_BEGIN_ALLOW_THREADS;
2281 _result = (wxHtmlContainerCell *)wxHtmlCell_GetParent(_arg0);
2282
2283 wxPy_END_ALLOW_THREADS;
2284 } if (_result) {
2285 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
2286 _resultobj = Py_BuildValue("s",_ptemp);
2287 } else {
2288 Py_INCREF(Py_None);
2289 _resultobj = Py_None;
2290 }
2291 return _resultobj;
2292 }
2293
2294 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2295 static PyObject *_wrap_wxHtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
2296 PyObject * _resultobj;
2297 int _result;
2298 wxHtmlCell * _arg0;
2299 PyObject * _argo0 = 0;
2300 char *_kwnames[] = { "self", NULL };
2301
2302 self = self;
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosX",_kwnames,&_argo0))
2304 return NULL;
2305 if (_argo0) {
2306 if (_argo0 == Py_None) { _arg0 = NULL; }
2307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2309 return NULL;
2310 }
2311 }
2312 {
2313 wxPy_BEGIN_ALLOW_THREADS;
2314 _result = (int )wxHtmlCell_GetPosX(_arg0);
2315
2316 wxPy_END_ALLOW_THREADS;
2317 } _resultobj = Py_BuildValue("i",_result);
2318 return _resultobj;
2319 }
2320
2321 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2322 static PyObject *_wrap_wxHtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject * _resultobj;
2324 int _result;
2325 wxHtmlCell * _arg0;
2326 PyObject * _argo0 = 0;
2327 char *_kwnames[] = { "self", NULL };
2328
2329 self = self;
2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosY",_kwnames,&_argo0))
2331 return NULL;
2332 if (_argo0) {
2333 if (_argo0 == Py_None) { _arg0 = NULL; }
2334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2336 return NULL;
2337 }
2338 }
2339 {
2340 wxPy_BEGIN_ALLOW_THREADS;
2341 _result = (int )wxHtmlCell_GetPosY(_arg0);
2342
2343 wxPy_END_ALLOW_THREADS;
2344 } _resultobj = Py_BuildValue("i",_result);
2345 return _resultobj;
2346 }
2347
2348 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2349 static PyObject *_wrap_wxHtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject * _resultobj;
2351 int _result;
2352 wxHtmlCell * _arg0;
2353 PyObject * _argo0 = 0;
2354 char *_kwnames[] = { "self", NULL };
2355
2356 self = self;
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetWidth",_kwnames,&_argo0))
2358 return NULL;
2359 if (_argo0) {
2360 if (_argo0 == Py_None) { _arg0 = NULL; }
2361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2363 return NULL;
2364 }
2365 }
2366 {
2367 wxPy_BEGIN_ALLOW_THREADS;
2368 _result = (int )wxHtmlCell_GetWidth(_arg0);
2369
2370 wxPy_END_ALLOW_THREADS;
2371 } _resultobj = Py_BuildValue("i",_result);
2372 return _resultobj;
2373 }
2374
2375 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2376 static PyObject *_wrap_wxHtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject * _resultobj;
2378 int _result;
2379 wxHtmlCell * _arg0;
2380 PyObject * _argo0 = 0;
2381 char *_kwnames[] = { "self", NULL };
2382
2383 self = self;
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetHeight",_kwnames,&_argo0))
2385 return NULL;
2386 if (_argo0) {
2387 if (_argo0 == Py_None) { _arg0 = NULL; }
2388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2390 return NULL;
2391 }
2392 }
2393 {
2394 wxPy_BEGIN_ALLOW_THREADS;
2395 _result = (int )wxHtmlCell_GetHeight(_arg0);
2396
2397 wxPy_END_ALLOW_THREADS;
2398 } _resultobj = Py_BuildValue("i",_result);
2399 return _resultobj;
2400 }
2401
2402 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2403 static PyObject *_wrap_wxHtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
2404 PyObject * _resultobj;
2405 int _result;
2406 wxHtmlCell * _arg0;
2407 PyObject * _argo0 = 0;
2408 char *_kwnames[] = { "self", NULL };
2409
2410 self = self;
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetDescent",_kwnames,&_argo0))
2412 return NULL;
2413 if (_argo0) {
2414 if (_argo0 == Py_None) { _arg0 = NULL; }
2415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2417 return NULL;
2418 }
2419 }
2420 {
2421 wxPy_BEGIN_ALLOW_THREADS;
2422 _result = (int )wxHtmlCell_GetDescent(_arg0);
2423
2424 wxPy_END_ALLOW_THREADS;
2425 } _resultobj = Py_BuildValue("i",_result);
2426 return _resultobj;
2427 }
2428
2429 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2430 static PyObject *_wrap_wxHtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject * _resultobj;
2432 wxString * _result;
2433 wxHtmlCell * _arg0;
2434 int _arg1 = (int ) 0;
2435 int _arg2 = (int ) 0;
2436 PyObject * _argo0 = 0;
2437 char *_kwnames[] = { "self","x","y", NULL };
2438
2439 self = self;
2440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxHtmlCell_GetLink",_kwnames,&_argo0,&_arg1,&_arg2))
2441 return NULL;
2442 if (_argo0) {
2443 if (_argo0 == Py_None) { _arg0 = NULL; }
2444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2446 return NULL;
2447 }
2448 }
2449 {
2450 wxPy_BEGIN_ALLOW_THREADS;
2451 _result = new wxString (wxHtmlCell_GetLink(_arg0,_arg1,_arg2));
2452
2453 wxPy_END_ALLOW_THREADS;
2454 }{
2455 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2456 }
2457 {
2458 delete _result;
2459 }
2460 return _resultobj;
2461 }
2462
2463 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2464 static PyObject *_wrap_wxHtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject * _resultobj;
2466 wxHtmlCell * _result;
2467 wxHtmlCell * _arg0;
2468 PyObject * _argo0 = 0;
2469 char *_kwnames[] = { "self", NULL };
2470 char _ptemp[128];
2471
2472 self = self;
2473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetNext",_kwnames,&_argo0))
2474 return NULL;
2475 if (_argo0) {
2476 if (_argo0 == Py_None) { _arg0 = NULL; }
2477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2479 return NULL;
2480 }
2481 }
2482 {
2483 wxPy_BEGIN_ALLOW_THREADS;
2484 _result = (wxHtmlCell *)wxHtmlCell_GetNext(_arg0);
2485
2486 wxPy_END_ALLOW_THREADS;
2487 } if (_result) {
2488 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
2489 _resultobj = Py_BuildValue("s",_ptemp);
2490 } else {
2491 Py_INCREF(Py_None);
2492 _resultobj = Py_None;
2493 }
2494 return _resultobj;
2495 }
2496
2497 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2498 static PyObject *_wrap_wxHtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2499 PyObject * _resultobj;
2500 wxHtmlCell * _arg0;
2501 int _arg1;
2502 int _arg2;
2503 PyObject * _argo0 = 0;
2504 char *_kwnames[] = { "self","x","y", NULL };
2505
2506 self = self;
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlCell_SetPos",_kwnames,&_argo0,&_arg1,&_arg2))
2508 return NULL;
2509 if (_argo0) {
2510 if (_argo0 == Py_None) { _arg0 = NULL; }
2511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
2513 return NULL;
2514 }
2515 }
2516 {
2517 wxPy_BEGIN_ALLOW_THREADS;
2518 wxHtmlCell_SetPos(_arg0,_arg1,_arg2);
2519
2520 wxPy_END_ALLOW_THREADS;
2521 } Py_INCREF(Py_None);
2522 _resultobj = Py_None;
2523 return _resultobj;
2524 }
2525
2526 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2527 static PyObject *_wrap_wxHtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject * _resultobj;
2529 wxHtmlCell * _arg0;
2530 wxString * _arg1;
2531 PyObject * _argo0 = 0;
2532 PyObject * _obj1 = 0;
2533 char *_kwnames[] = { "self","link", NULL };
2534
2535 self = self;
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetLink",_kwnames,&_argo0,&_obj1))
2537 return NULL;
2538 if (_argo0) {
2539 if (_argo0 == Py_None) { _arg0 = NULL; }
2540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2542 return NULL;
2543 }
2544 }
2545 {
2546 if (!PyString_Check(_obj1)) {
2547 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2548 return NULL;
2549 }
2550 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2551 }
2552 {
2553 wxPy_BEGIN_ALLOW_THREADS;
2554 wxHtmlCell_SetLink(_arg0,*_arg1);
2555
2556 wxPy_END_ALLOW_THREADS;
2557 } Py_INCREF(Py_None);
2558 _resultobj = Py_None;
2559 {
2560 if (_obj1)
2561 delete _arg1;
2562 }
2563 return _resultobj;
2564 }
2565
2566 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2567 static PyObject *_wrap_wxHtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2568 PyObject * _resultobj;
2569 wxHtmlCell * _arg0;
2570 wxHtmlCell * _arg1;
2571 PyObject * _argo0 = 0;
2572 PyObject * _argo1 = 0;
2573 char *_kwnames[] = { "self","cell", NULL };
2574
2575 self = self;
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetNext",_kwnames,&_argo0,&_argo1))
2577 return NULL;
2578 if (_argo0) {
2579 if (_argo0 == Py_None) { _arg0 = NULL; }
2580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2582 return NULL;
2583 }
2584 }
2585 if (_argo1) {
2586 if (_argo1 == Py_None) { _arg1 = NULL; }
2587 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
2588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2589 return NULL;
2590 }
2591 }
2592 {
2593 wxPy_BEGIN_ALLOW_THREADS;
2594 wxHtmlCell_SetNext(_arg0,_arg1);
2595
2596 wxPy_END_ALLOW_THREADS;
2597 } Py_INCREF(Py_None);
2598 _resultobj = Py_None;
2599 return _resultobj;
2600 }
2601
2602 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
2603 static PyObject *_wrap_wxHtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject * _resultobj;
2605 wxHtmlCell * _arg0;
2606 int _arg1;
2607 PyObject * _argo0 = 0;
2608 char *_kwnames[] = { "self","w", NULL };
2609
2610 self = self;
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_Layout",_kwnames,&_argo0,&_arg1))
2612 return NULL;
2613 if (_argo0) {
2614 if (_argo0 == Py_None) { _arg0 = NULL; }
2615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
2617 return NULL;
2618 }
2619 }
2620 {
2621 wxPy_BEGIN_ALLOW_THREADS;
2622 wxHtmlCell_Layout(_arg0,_arg1);
2623
2624 wxPy_END_ALLOW_THREADS;
2625 } Py_INCREF(Py_None);
2626 _resultobj = Py_None;
2627 return _resultobj;
2628 }
2629
2630 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2631 static PyObject *_wrap_wxHtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
2632 PyObject * _resultobj;
2633 wxHtmlCell * _arg0;
2634 wxDC * _arg1;
2635 int _arg2;
2636 int _arg3;
2637 int _arg4;
2638 int _arg5;
2639 PyObject * _argo0 = 0;
2640 PyObject * _argo1 = 0;
2641 char *_kwnames[] = { "self","dc","x","y","view_y1","view_y2", NULL };
2642
2643 self = self;
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii:wxHtmlCell_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
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_Draw. Expected _wxHtmlCell_p.");
2650 return NULL;
2651 }
2652 }
2653 if (_argo1) {
2654 if (_argo1 == Py_None) { _arg1 = NULL; }
2655 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2656 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
2657 return NULL;
2658 }
2659 }
2660 {
2661 wxPy_BEGIN_ALLOW_THREADS;
2662 wxHtmlCell_Draw(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2663
2664 wxPy_END_ALLOW_THREADS;
2665 } Py_INCREF(Py_None);
2666 _resultobj = Py_None;
2667 return _resultobj;
2668 }
2669
2670 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
2671 static PyObject *_wrap_wxHtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject * _resultobj;
2673 wxHtmlCell * _arg0;
2674 wxDC * _arg1;
2675 int _arg2;
2676 int _arg3;
2677 PyObject * _argo0 = 0;
2678 PyObject * _argo1 = 0;
2679 char *_kwnames[] = { "self","dc","x","y", NULL };
2680
2681 self = self;
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlCell_DrawInvisible",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
2683 return NULL;
2684 if (_argo0) {
2685 if (_argo0 == Py_None) { _arg0 = NULL; }
2686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
2688 return NULL;
2689 }
2690 }
2691 if (_argo1) {
2692 if (_argo1 == Py_None) { _arg1 = NULL; }
2693 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2694 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
2695 return NULL;
2696 }
2697 }
2698 {
2699 wxPy_BEGIN_ALLOW_THREADS;
2700 wxHtmlCell_DrawInvisible(_arg0,*_arg1,_arg2,_arg3);
2701
2702 wxPy_END_ALLOW_THREADS;
2703 } Py_INCREF(Py_None);
2704 _resultobj = Py_None;
2705 return _resultobj;
2706 }
2707
2708 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
2709 static PyObject *_wrap_wxHtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
2710 PyObject * _resultobj;
2711 wxHtmlCell * _result;
2712 wxHtmlCell * _arg0;
2713 int _arg1;
2714 void * _arg2;
2715 PyObject * _argo0 = 0;
2716 PyObject * _argo2 = 0;
2717 char *_kwnames[] = { "self","condition","param", NULL };
2718 char _ptemp[128];
2719
2720 self = self;
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxHtmlCell_Find",_kwnames,&_argo0,&_arg1,&_argo2))
2722 return NULL;
2723 if (_argo0) {
2724 if (_argo0 == Py_None) { _arg0 = NULL; }
2725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
2727 return NULL;
2728 }
2729 }
2730 if (_argo2) {
2731 if (_argo2 == Py_None) { _arg2 = NULL; }
2732 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) {
2733 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
2734 return NULL;
2735 }
2736 }
2737 {
2738 wxPy_BEGIN_ALLOW_THREADS;
2739 _result = (wxHtmlCell *)wxHtmlCell_Find(_arg0,_arg1,_arg2);
2740
2741 wxPy_END_ALLOW_THREADS;
2742 } if (_result) {
2743 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
2744 _resultobj = Py_BuildValue("s",_ptemp);
2745 } else {
2746 Py_INCREF(Py_None);
2747 _resultobj = Py_None;
2748 }
2749 return _resultobj;
2750 }
2751
2752 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr) {
2753 wxHtmlContainerCell *src;
2754 wxHtmlCell *dest;
2755 src = (wxHtmlContainerCell *) ptr;
2756 dest = (wxHtmlCell *) src;
2757 return (void *) dest;
2758 }
2759
2760 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
2761 static PyObject *_wrap_new_wxHtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject * _resultobj;
2763 wxHtmlContainerCell * _result;
2764 wxHtmlContainerCell * _arg0;
2765 PyObject * _argo0 = 0;
2766 char *_kwnames[] = { "parent", NULL };
2767 char _ptemp[128];
2768
2769 self = self;
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlContainerCell",_kwnames,&_argo0))
2771 return NULL;
2772 if (_argo0) {
2773 if (_argo0 == Py_None) { _arg0 = NULL; }
2774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
2775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
2776 return NULL;
2777 }
2778 }
2779 {
2780 wxPy_BEGIN_ALLOW_THREADS;
2781 _result = (wxHtmlContainerCell *)new_wxHtmlContainerCell(_arg0);
2782
2783 wxPy_END_ALLOW_THREADS;
2784 } if (_result) {
2785 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
2786 _resultobj = Py_BuildValue("s",_ptemp);
2787 } else {
2788 Py_INCREF(Py_None);
2789 _resultobj = Py_None;
2790 }
2791 return _resultobj;
2792 }
2793
2794 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
2795 static PyObject *_wrap_wxHtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject * _resultobj;
2797 wxHtmlContainerCell * _arg0;
2798 wxHtmlCell * _arg1;
2799 PyObject * _argo0 = 0;
2800 PyObject * _argo1 = 0;
2801 char *_kwnames[] = { "self","cell", NULL };
2802
2803 self = self;
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_InsertCell",_kwnames,&_argo0,&_argo1))
2805 return NULL;
2806 if (_argo0) {
2807 if (_argo0 == Py_None) { _arg0 = NULL; }
2808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
2809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
2810 return NULL;
2811 }
2812 }
2813 if (_argo1) {
2814 if (_argo1 == Py_None) { _arg1 = NULL; }
2815 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
2816 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
2817 return NULL;
2818 }
2819 }
2820 {
2821 wxPy_BEGIN_ALLOW_THREADS;
2822 wxHtmlContainerCell_InsertCell(_arg0,_arg1);
2823
2824 wxPy_END_ALLOW_THREADS;
2825 } Py_INCREF(Py_None);
2826 _resultobj = Py_None;
2827 return _resultobj;
2828 }
2829
2830 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
2831 static PyObject *_wrap_wxHtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
2832 PyObject * _resultobj;
2833 wxHtmlContainerCell * _arg0;
2834 int _arg1;
2835 PyObject * _argo0 = 0;
2836 char *_kwnames[] = { "self","al", NULL };
2837
2838 self = self;
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames,&_argo0,&_arg1))
2840 return NULL;
2841 if (_argo0) {
2842 if (_argo0 == Py_None) { _arg0 = NULL; }
2843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
2844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
2845 return NULL;
2846 }
2847 }
2848 {
2849 wxPy_BEGIN_ALLOW_THREADS;
2850 wxHtmlContainerCell_SetAlignHor(_arg0,_arg1);
2851
2852 wxPy_END_ALLOW_THREADS;
2853 } Py_INCREF(Py_None);
2854 _resultobj = Py_None;
2855 return _resultobj;
2856 }
2857
2858 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
2859 static PyObject *_wrap_wxHtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
2860 PyObject * _resultobj;
2861 int _result;
2862 wxHtmlContainerCell * _arg0;
2863 PyObject * _argo0 = 0;
2864 char *_kwnames[] = { "self", NULL };
2865
2866 self = self;
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignHor",_kwnames,&_argo0))
2868 return NULL;
2869 if (_argo0) {
2870 if (_argo0 == Py_None) { _arg0 = NULL; }
2871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
2872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
2873 return NULL;
2874 }
2875 }
2876 {
2877 wxPy_BEGIN_ALLOW_THREADS;
2878 _result = (int )wxHtmlContainerCell_GetAlignHor(_arg0);
2879
2880 wxPy_END_ALLOW_THREADS;
2881 } _resultobj = Py_BuildValue("i",_result);
2882 return _resultobj;
2883 }
2884
2885 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
2886 static PyObject *_wrap_wxHtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
2887 PyObject * _resultobj;
2888 wxHtmlContainerCell * _arg0;
2889 int _arg1;
2890 PyObject * _argo0 = 0;
2891 char *_kwnames[] = { "self","al", NULL };
2892
2893 self = self;
2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames,&_argo0,&_arg1))
2895 return NULL;
2896 if (_argo0) {
2897 if (_argo0 == Py_None) { _arg0 = NULL; }
2898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
2899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
2900 return NULL;
2901 }
2902 }
2903 {
2904 wxPy_BEGIN_ALLOW_THREADS;
2905 wxHtmlContainerCell_SetAlignVer(_arg0,_arg1);
2906
2907 wxPy_END_ALLOW_THREADS;
2908 } Py_INCREF(Py_None);
2909 _resultobj = Py_None;
2910 return _resultobj;
2911 }
2912
2913 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
2914 static PyObject *_wrap_wxHtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
2915 PyObject * _resultobj;
2916 int _result;
2917 wxHtmlContainerCell * _arg0;
2918 PyObject * _argo0 = 0;
2919 char *_kwnames[] = { "self", NULL };
2920
2921 self = self;
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignVer",_kwnames,&_argo0))
2923 return NULL;
2924 if (_argo0) {
2925 if (_argo0 == Py_None) { _arg0 = NULL; }
2926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
2927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
2928 return NULL;
2929 }
2930 }
2931 {
2932 wxPy_BEGIN_ALLOW_THREADS;
2933 _result = (int )wxHtmlContainerCell_GetAlignVer(_arg0);
2934
2935 wxPy_END_ALLOW_THREADS;
2936 } _resultobj = Py_BuildValue("i",_result);
2937 return _resultobj;
2938 }
2939
2940 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
2941 static PyObject *_wrap_wxHtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject * _resultobj;
2943 wxHtmlContainerCell * _arg0;
2944 int _arg1;
2945 int _arg2;
2946 int _arg3 = (int ) (HTML_UNITS_PIXELS);
2947 PyObject * _argo0 = 0;
2948 char *_kwnames[] = { "self","i","what","units", NULL };
2949
2950 self = self;
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2952 return NULL;
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
2957 return NULL;
2958 }
2959 }
2960 {
2961 wxPy_BEGIN_ALLOW_THREADS;
2962 wxHtmlContainerCell_SetIndent(_arg0,_arg1,_arg2,_arg3);
2963
2964 wxPy_END_ALLOW_THREADS;
2965 } Py_INCREF(Py_None);
2966 _resultobj = Py_None;
2967 return _resultobj;
2968 }
2969
2970 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
2971 static PyObject *_wrap_wxHtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject * _resultobj;
2973 int _result;
2974 wxHtmlContainerCell * _arg0;
2975 int _arg1;
2976 PyObject * _argo0 = 0;
2977 char *_kwnames[] = { "self","ind", NULL };
2978
2979 self = self;
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndent",_kwnames,&_argo0,&_arg1))
2981 return NULL;
2982 if (_argo0) {
2983 if (_argo0 == Py_None) { _arg0 = NULL; }
2984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
2985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
2986 return NULL;
2987 }
2988 }
2989 {
2990 wxPy_BEGIN_ALLOW_THREADS;
2991 _result = (int )wxHtmlContainerCell_GetIndent(_arg0,_arg1);
2992
2993 wxPy_END_ALLOW_THREADS;
2994 } _resultobj = Py_BuildValue("i",_result);
2995 return _resultobj;
2996 }
2997
2998 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
2999 static PyObject *_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
3000 PyObject * _resultobj;
3001 int _result;
3002 wxHtmlContainerCell * _arg0;
3003 int _arg1;
3004 PyObject * _argo0 = 0;
3005 char *_kwnames[] = { "self","ind", NULL };
3006
3007 self = self;
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames,&_argo0,&_arg1))
3009 return NULL;
3010 if (_argo0) {
3011 if (_argo0 == Py_None) { _arg0 = NULL; }
3012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3014 return NULL;
3015 }
3016 }
3017 {
3018 wxPy_BEGIN_ALLOW_THREADS;
3019 _result = (int )wxHtmlContainerCell_GetIndentUnits(_arg0,_arg1);
3020
3021 wxPy_END_ALLOW_THREADS;
3022 } _resultobj = Py_BuildValue("i",_result);
3023 return _resultobj;
3024 }
3025
3026 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3027 static PyObject *_wrap_wxHtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
3028 PyObject * _resultobj;
3029 wxHtmlContainerCell * _arg0;
3030 wxHtmlTag * _arg1;
3031 PyObject * _argo0 = 0;
3032 PyObject * _argo1 = 0;
3033 char *_kwnames[] = { "self","tag", NULL };
3034
3035 self = self;
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetAlign",_kwnames,&_argo0,&_argo1))
3037 return NULL;
3038 if (_argo0) {
3039 if (_argo0 == Py_None) { _arg0 = NULL; }
3040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3042 return NULL;
3043 }
3044 }
3045 if (_argo1) {
3046 if (_argo1 == Py_None) { _arg1 = NULL; }
3047 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
3048 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3049 return NULL;
3050 }
3051 }
3052 {
3053 wxPy_BEGIN_ALLOW_THREADS;
3054 wxHtmlContainerCell_SetAlign(_arg0,*_arg1);
3055
3056 wxPy_END_ALLOW_THREADS;
3057 } Py_INCREF(Py_None);
3058 _resultobj = Py_None;
3059 return _resultobj;
3060 }
3061
3062 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3063 static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
3064 PyObject * _resultobj;
3065 wxHtmlContainerCell * _arg0;
3066 int _arg1;
3067 int _arg2;
3068 PyObject * _argo0 = 0;
3069 char *_kwnames[] = { "self","w","units", NULL };
3070
3071 self = self;
3072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames,&_argo0,&_arg1,&_arg2))
3073 return NULL;
3074 if (_argo0) {
3075 if (_argo0 == Py_None) { _arg0 = NULL; }
3076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3078 return NULL;
3079 }
3080 }
3081 {
3082 wxPy_BEGIN_ALLOW_THREADS;
3083 wxHtmlContainerCell_SetWidthFloat(_arg0,_arg1,_arg2);
3084
3085 wxPy_END_ALLOW_THREADS;
3086 } Py_INCREF(Py_None);
3087 _resultobj = Py_None;
3088 return _resultobj;
3089 }
3090
3091 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3092 static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
3093 PyObject * _resultobj;
3094 wxHtmlContainerCell * _arg0;
3095 wxHtmlTag * _arg1;
3096 PyObject * _argo0 = 0;
3097 PyObject * _argo1 = 0;
3098 char *_kwnames[] = { "self","tag", NULL };
3099
3100 self = self;
3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames,&_argo0,&_argo1))
3102 return NULL;
3103 if (_argo0) {
3104 if (_argo0 == Py_None) { _arg0 = NULL; }
3105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3107 return NULL;
3108 }
3109 }
3110 if (_argo1) {
3111 if (_argo1 == Py_None) { _arg1 = NULL; }
3112 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
3113 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3114 return NULL;
3115 }
3116 }
3117 {
3118 wxPy_BEGIN_ALLOW_THREADS;
3119 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0,*_arg1);
3120
3121 wxPy_END_ALLOW_THREADS;
3122 } Py_INCREF(Py_None);
3123 _resultobj = Py_None;
3124 return _resultobj;
3125 }
3126
3127 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3128 static PyObject *_wrap_wxHtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3129 PyObject * _resultobj;
3130 wxHtmlContainerCell * _arg0;
3131 int _arg1;
3132 int _arg2 = (int ) (HTML_ALIGN_TOP);
3133 PyObject * _argo0 = 0;
3134 char *_kwnames[] = { "self","h","align", NULL };
3135
3136 self = self;
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames,&_argo0,&_arg1,&_arg2))
3138 return NULL;
3139 if (_argo0) {
3140 if (_argo0 == Py_None) { _arg0 = NULL; }
3141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3143 return NULL;
3144 }
3145 }
3146 {
3147 wxPy_BEGIN_ALLOW_THREADS;
3148 wxHtmlContainerCell_SetMinHeight(_arg0,_arg1,_arg2);
3149
3150 wxPy_END_ALLOW_THREADS;
3151 } Py_INCREF(Py_None);
3152 _resultobj = Py_None;
3153 return _resultobj;
3154 }
3155
3156 #define wxHtmlContainerCell_GetMaxLineWidth(_swigobj) (_swigobj->GetMaxLineWidth())
3157 static PyObject *_wrap_wxHtmlContainerCell_GetMaxLineWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3158 PyObject * _resultobj;
3159 int _result;
3160 wxHtmlContainerCell * _arg0;
3161 PyObject * _argo0 = 0;
3162 char *_kwnames[] = { "self", NULL };
3163
3164 self = self;
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetMaxLineWidth",_kwnames,&_argo0))
3166 return NULL;
3167 if (_argo0) {
3168 if (_argo0 == Py_None) { _arg0 = NULL; }
3169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetMaxLineWidth. Expected _wxHtmlContainerCell_p.");
3171 return NULL;
3172 }
3173 }
3174 {
3175 wxPy_BEGIN_ALLOW_THREADS;
3176 _result = (int )wxHtmlContainerCell_GetMaxLineWidth(_arg0);
3177
3178 wxPy_END_ALLOW_THREADS;
3179 } _resultobj = Py_BuildValue("i",_result);
3180 return _resultobj;
3181 }
3182
3183 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3184 static PyObject *_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject * _resultobj;
3186 wxHtmlContainerCell * _arg0;
3187 wxColour * _arg1;
3188 PyObject * _argo0 = 0;
3189 PyObject * _argo1 = 0;
3190 char *_kwnames[] = { "self","clr", NULL };
3191
3192 self = self;
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
3194 return NULL;
3195 if (_argo0) {
3196 if (_argo0 == Py_None) { _arg0 = NULL; }
3197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3199 return NULL;
3200 }
3201 }
3202 if (_argo1) {
3203 if (_argo1 == Py_None) { _arg1 = NULL; }
3204 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
3205 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxColour_p.");
3206 return NULL;
3207 }
3208 }
3209 {
3210 wxPy_BEGIN_ALLOW_THREADS;
3211 wxHtmlContainerCell_SetBackgroundColour(_arg0,*_arg1);
3212
3213 wxPy_END_ALLOW_THREADS;
3214 } Py_INCREF(Py_None);
3215 _resultobj = Py_None;
3216 return _resultobj;
3217 }
3218
3219 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3220 static PyObject *_wrap_wxHtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject * _resultobj;
3222 wxHtmlContainerCell * _arg0;
3223 wxColour * _arg1;
3224 wxColour * _arg2;
3225 PyObject * _argo0 = 0;
3226 PyObject * _argo1 = 0;
3227 PyObject * _argo2 = 0;
3228 char *_kwnames[] = { "self","clr1","clr2", NULL };
3229
3230 self = self;
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlContainerCell_SetBorder",_kwnames,&_argo0,&_argo1,&_argo2))
3232 return NULL;
3233 if (_argo0) {
3234 if (_argo0 == Py_None) { _arg0 = NULL; }
3235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3237 return NULL;
3238 }
3239 }
3240 if (_argo1) {
3241 if (_argo1 == Py_None) { _arg1 = NULL; }
3242 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
3243 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetBorder. Expected _wxColour_p.");
3244 return NULL;
3245 }
3246 }
3247 if (_argo2) {
3248 if (_argo2 == Py_None) { _arg2 = NULL; }
3249 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxColour_p")) {
3250 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlContainerCell_SetBorder. Expected _wxColour_p.");
3251 return NULL;
3252 }
3253 }
3254 {
3255 wxPy_BEGIN_ALLOW_THREADS;
3256 wxHtmlContainerCell_SetBorder(_arg0,*_arg1,*_arg2);
3257
3258 wxPy_END_ALLOW_THREADS;
3259 } Py_INCREF(Py_None);
3260 _resultobj = Py_None;
3261 return _resultobj;
3262 }
3263
3264 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3265 static PyObject *_wrap_wxHtmlContainerCell_GetFirstCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject * _resultobj;
3267 wxHtmlCell * _result;
3268 wxHtmlContainerCell * _arg0;
3269 PyObject * _argo0 = 0;
3270 char *_kwnames[] = { "self", NULL };
3271 char _ptemp[128];
3272
3273 self = self;
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetFirstCell",_kwnames,&_argo0))
3275 return NULL;
3276 if (_argo0) {
3277 if (_argo0 == Py_None) { _arg0 = NULL; }
3278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3280 return NULL;
3281 }
3282 }
3283 {
3284 wxPy_BEGIN_ALLOW_THREADS;
3285 _result = (wxHtmlCell *)wxHtmlContainerCell_GetFirstCell(_arg0);
3286
3287 wxPy_END_ALLOW_THREADS;
3288 } if (_result) {
3289 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
3290 _resultobj = Py_BuildValue("s",_ptemp);
3291 } else {
3292 Py_INCREF(Py_None);
3293 _resultobj = Py_None;
3294 }
3295 return _resultobj;
3296 }
3297
3298 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr) {
3299 wxHtmlWidgetCell *src;
3300 wxHtmlCell *dest;
3301 src = (wxHtmlWidgetCell *) ptr;
3302 dest = (wxHtmlCell *) src;
3303 return (void *) dest;
3304 }
3305
3306 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3307 static PyObject *_wrap_new_wxHtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject * _resultobj;
3309 wxHtmlWidgetCell * _result;
3310 wxWindow * _arg0;
3311 int _arg1 = (int ) 0;
3312 PyObject * _argo0 = 0;
3313 char *_kwnames[] = { "wnd","w", NULL };
3314 char _ptemp[128];
3315
3316 self = self;
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlWidgetCell",_kwnames,&_argo0,&_arg1))
3318 return NULL;
3319 if (_argo0) {
3320 if (_argo0 == Py_None) { _arg0 = NULL; }
3321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3323 return NULL;
3324 }
3325 }
3326 {
3327 wxPy_BEGIN_ALLOW_THREADS;
3328 _result = (wxHtmlWidgetCell *)new_wxHtmlWidgetCell(_arg0,_arg1);
3329
3330 wxPy_END_ALLOW_THREADS;
3331 } if (_result) {
3332 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWidgetCell_p");
3333 _resultobj = Py_BuildValue("s",_ptemp);
3334 } else {
3335 Py_INCREF(Py_None);
3336 _resultobj = Py_None;
3337 }
3338 return _resultobj;
3339 }
3340
3341 #define new_HtmlHistoryItem(_swigarg0,_swigarg1) (new HtmlHistoryItem(_swigarg0,_swigarg1))
3342 static PyObject *_wrap_new_HtmlHistoryItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3343 PyObject * _resultobj;
3344 HtmlHistoryItem * _result;
3345 char * _arg0;
3346 char * _arg1;
3347 char *_kwnames[] = { "p","a", NULL };
3348 char _ptemp[128];
3349
3350 self = self;
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ss:new_HtmlHistoryItem",_kwnames,&_arg0,&_arg1))
3352 return NULL;
3353 {
3354 wxPy_BEGIN_ALLOW_THREADS;
3355 _result = (HtmlHistoryItem *)new_HtmlHistoryItem(_arg0,_arg1);
3356
3357 wxPy_END_ALLOW_THREADS;
3358 } if (_result) {
3359 SWIG_MakePtr(_ptemp, (char *) _result,"_HtmlHistoryItem_p");
3360 _resultobj = Py_BuildValue("s",_ptemp);
3361 } else {
3362 Py_INCREF(Py_None);
3363 _resultobj = Py_None;
3364 }
3365 return _resultobj;
3366 }
3367
3368 #define HtmlHistoryItem_GetPos(_swigobj) (_swigobj->GetPos())
3369 static PyObject *_wrap_HtmlHistoryItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject * _resultobj;
3371 int _result;
3372 HtmlHistoryItem * _arg0;
3373 PyObject * _argo0 = 0;
3374 char *_kwnames[] = { "self", NULL };
3375
3376 self = self;
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetPos",_kwnames,&_argo0))
3378 return NULL;
3379 if (_argo0) {
3380 if (_argo0 == Py_None) { _arg0 = NULL; }
3381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
3382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPos. Expected _HtmlHistoryItem_p.");
3383 return NULL;
3384 }
3385 }
3386 {
3387 wxPy_BEGIN_ALLOW_THREADS;
3388 _result = (int )HtmlHistoryItem_GetPos(_arg0);
3389
3390 wxPy_END_ALLOW_THREADS;
3391 } _resultobj = Py_BuildValue("i",_result);
3392 return _resultobj;
3393 }
3394
3395 #define HtmlHistoryItem_SetPos(_swigobj,_swigarg0) (_swigobj->SetPos(_swigarg0))
3396 static PyObject *_wrap_HtmlHistoryItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject * _resultobj;
3398 HtmlHistoryItem * _arg0;
3399 int _arg1;
3400 PyObject * _argo0 = 0;
3401 char *_kwnames[] = { "self","p", NULL };
3402
3403 self = self;
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:HtmlHistoryItem_SetPos",_kwnames,&_argo0,&_arg1))
3405 return NULL;
3406 if (_argo0) {
3407 if (_argo0 == Py_None) { _arg0 = NULL; }
3408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
3409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_SetPos. Expected _HtmlHistoryItem_p.");
3410 return NULL;
3411 }
3412 }
3413 {
3414 wxPy_BEGIN_ALLOW_THREADS;
3415 HtmlHistoryItem_SetPos(_arg0,_arg1);
3416
3417 wxPy_END_ALLOW_THREADS;
3418 } Py_INCREF(Py_None);
3419 _resultobj = Py_None;
3420 return _resultobj;
3421 }
3422
3423 #define HtmlHistoryItem_GetPage(_swigobj) (_swigobj->GetPage())
3424 static PyObject *_wrap_HtmlHistoryItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3425 PyObject * _resultobj;
3426 wxString * _result;
3427 HtmlHistoryItem * _arg0;
3428 PyObject * _argo0 = 0;
3429 char *_kwnames[] = { "self", NULL };
3430
3431 self = self;
3432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetPage",_kwnames,&_argo0))
3433 return NULL;
3434 if (_argo0) {
3435 if (_argo0 == Py_None) { _arg0 = NULL; }
3436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
3437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPage. Expected _HtmlHistoryItem_p.");
3438 return NULL;
3439 }
3440 }
3441 {
3442 wxPy_BEGIN_ALLOW_THREADS;
3443 const wxString & _result_ref = HtmlHistoryItem_GetPage(_arg0);
3444 _result = (wxString *) &_result_ref;
3445
3446 wxPy_END_ALLOW_THREADS;
3447 }{
3448 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
3449 }
3450 return _resultobj;
3451 }
3452
3453 #define HtmlHistoryItem_GetAnchor(_swigobj) (_swigobj->GetAnchor())
3454 static PyObject *_wrap_HtmlHistoryItem_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject * _resultobj;
3456 wxString * _result;
3457 HtmlHistoryItem * _arg0;
3458 PyObject * _argo0 = 0;
3459 char *_kwnames[] = { "self", NULL };
3460
3461 self = self;
3462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetAnchor",_kwnames,&_argo0))
3463 return NULL;
3464 if (_argo0) {
3465 if (_argo0 == Py_None) { _arg0 = NULL; }
3466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
3467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetAnchor. Expected _HtmlHistoryItem_p.");
3468 return NULL;
3469 }
3470 }
3471 {
3472 wxPy_BEGIN_ALLOW_THREADS;
3473 const wxString & _result_ref = HtmlHistoryItem_GetAnchor(_arg0);
3474 _result = (wxString *) &_result_ref;
3475
3476 wxPy_END_ALLOW_THREADS;
3477 }{
3478 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
3479 }
3480 return _resultobj;
3481 }
3482
3483 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr) {
3484 wxPyHtmlWindow *src;
3485 wxScrolledWindow *dest;
3486 src = (wxPyHtmlWindow *) ptr;
3487 dest = (wxScrolledWindow *) src;
3488 return (void *) dest;
3489 }
3490
3491 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr) {
3492 wxPyHtmlWindow *src;
3493 wxPanel *dest;
3494 src = (wxPyHtmlWindow *) ptr;
3495 dest = (wxPanel *) src;
3496 return (void *) dest;
3497 }
3498
3499 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr) {
3500 wxPyHtmlWindow *src;
3501 wxWindow *dest;
3502 src = (wxPyHtmlWindow *) ptr;
3503 dest = (wxWindow *) src;
3504 return (void *) dest;
3505 }
3506
3507 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr) {
3508 wxPyHtmlWindow *src;
3509 wxEvtHandler *dest;
3510 src = (wxPyHtmlWindow *) ptr;
3511 dest = (wxEvtHandler *) src;
3512 return (void *) dest;
3513 }
3514
3515 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3516 static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3517 PyObject * _resultobj;
3518 wxPyHtmlWindow * _result;
3519 wxWindow * _arg0;
3520 int _arg1 = (int ) -1;
3521 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
3522 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
3523 int _arg4 = (int ) wxHW_SCROLLBAR_AUTO;
3524 char * _arg5 = (char *) "htmlWindow";
3525 PyObject * _argo0 = 0;
3526 wxPoint temp;
3527 PyObject * _obj2 = 0;
3528 wxSize temp0;
3529 PyObject * _obj3 = 0;
3530 char *_kwnames[] = { "parent","id","pos","size","flags","name", NULL };
3531 char _ptemp[128];
3532
3533 self = self;
3534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOis:new_wxHtmlWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
3535 return NULL;
3536 if (_argo0) {
3537 if (_argo0 == Py_None) { _arg0 = NULL; }
3538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
3540 return NULL;
3541 }
3542 }
3543 if (_obj2)
3544 {
3545 _arg2 = &temp;
3546 if (! wxPoint_helper(_obj2, &_arg2))
3547 return NULL;
3548 }
3549 if (_obj3)
3550 {
3551 _arg3 = &temp0;
3552 if (! wxSize_helper(_obj3, &_arg3))
3553 return NULL;
3554 }
3555 {
3556 wxPy_BEGIN_ALLOW_THREADS;
3557 _result = (wxPyHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
3558
3559 wxPy_END_ALLOW_THREADS;
3560 } if (_result) {
3561 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p");
3562 _resultobj = Py_BuildValue("s",_ptemp);
3563 } else {
3564 Py_INCREF(Py_None);
3565 _resultobj = Py_None;
3566 }
3567 return _resultobj;
3568 }
3569
3570 #define wxHtmlWindow__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
3571 static PyObject *_wrap_wxHtmlWindow__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
3572 PyObject * _resultobj;
3573 wxPyHtmlWindow * _arg0;
3574 PyObject * _arg1;
3575 PyObject * _argo0 = 0;
3576 PyObject * _obj1 = 0;
3577 char *_kwnames[] = { "self","self", NULL };
3578
3579 self = self;
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow__setSelf",_kwnames,&_argo0,&_obj1))
3581 return NULL;
3582 if (_argo0) {
3583 if (_argo0 == Py_None) { _arg0 = NULL; }
3584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow__setSelf. Expected _wxPyHtmlWindow_p.");
3586 return NULL;
3587 }
3588 }
3589 {
3590 _arg1 = _obj1;
3591 }
3592 {
3593 wxPy_BEGIN_ALLOW_THREADS;
3594 wxHtmlWindow__setSelf(_arg0,_arg1);
3595
3596 wxPy_END_ALLOW_THREADS;
3597 } Py_INCREF(Py_None);
3598 _resultobj = Py_None;
3599 return _resultobj;
3600 }
3601
3602 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
3603 static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3604 PyObject * _resultobj;
3605 bool _result;
3606 wxPyHtmlWindow * _arg0;
3607 char * _arg1;
3608 PyObject * _argo0 = 0;
3609 char *_kwnames[] = { "self","source", NULL };
3610
3611 self = self;
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_SetPage",_kwnames,&_argo0,&_arg1))
3613 return NULL;
3614 if (_argo0) {
3615 if (_argo0 == Py_None) { _arg0 = NULL; }
3616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
3618 return NULL;
3619 }
3620 }
3621 {
3622 wxPy_BEGIN_ALLOW_THREADS;
3623 _result = (bool )wxHtmlWindow_SetPage(_arg0,_arg1);
3624
3625 wxPy_END_ALLOW_THREADS;
3626 } _resultobj = Py_BuildValue("i",_result);
3627 return _resultobj;
3628 }
3629
3630 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
3631 static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject * _resultobj;
3633 bool _result;
3634 wxPyHtmlWindow * _arg0;
3635 char * _arg1;
3636 PyObject * _argo0 = 0;
3637 char *_kwnames[] = { "self","location", NULL };
3638
3639 self = self;
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_LoadPage",_kwnames,&_argo0,&_arg1))
3641 return NULL;
3642 if (_argo0) {
3643 if (_argo0 == Py_None) { _arg0 = NULL; }
3644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
3646 return NULL;
3647 }
3648 }
3649 {
3650 wxPy_BEGIN_ALLOW_THREADS;
3651 _result = (bool )wxHtmlWindow_LoadPage(_arg0,_arg1);
3652
3653 wxPy_END_ALLOW_THREADS;
3654 } _resultobj = Py_BuildValue("i",_result);
3655 return _resultobj;
3656 }
3657
3658 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
3659 static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
3660 PyObject * _resultobj;
3661 wxString * _result;
3662 wxPyHtmlWindow * _arg0;
3663 PyObject * _argo0 = 0;
3664 char *_kwnames[] = { "self", NULL };
3665
3666 self = self;
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPage",_kwnames,&_argo0))
3668 return NULL;
3669 if (_argo0) {
3670 if (_argo0 == Py_None) { _arg0 = NULL; }
3671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
3673 return NULL;
3674 }
3675 }
3676 {
3677 wxPy_BEGIN_ALLOW_THREADS;
3678 _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0));
3679
3680 wxPy_END_ALLOW_THREADS;
3681 }{
3682 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3683 }
3684 {
3685 delete _result;
3686 }
3687 return _resultobj;
3688 }
3689
3690 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
3691 static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3692 PyObject * _resultobj;
3693 wxPyHtmlWindow * _arg0;
3694 wxFrame * _arg1;
3695 char * _arg2;
3696 PyObject * _argo0 = 0;
3697 PyObject * _argo1 = 0;
3698 char *_kwnames[] = { "self","frame","format", NULL };
3699
3700 self = self;
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames,&_argo0,&_argo1,&_arg2))
3702 return NULL;
3703 if (_argo0) {
3704 if (_argo0 == Py_None) { _arg0 = NULL; }
3705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
3707 return NULL;
3708 }
3709 }
3710 if (_argo1) {
3711 if (_argo1 == Py_None) { _arg1 = NULL; }
3712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
3713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
3714 return NULL;
3715 }
3716 }
3717 {
3718 wxPy_BEGIN_ALLOW_THREADS;
3719 wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,_arg2);
3720
3721 wxPy_END_ALLOW_THREADS;
3722 } Py_INCREF(Py_None);
3723 _resultobj = Py_None;
3724 return _resultobj;
3725 }
3726
3727 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
3728 static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3729 PyObject * _resultobj;
3730 wxFrame * _result;
3731 wxPyHtmlWindow * _arg0;
3732 PyObject * _argo0 = 0;
3733 char *_kwnames[] = { "self", NULL };
3734 char _ptemp[128];
3735
3736 self = self;
3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetRelatedFrame",_kwnames,&_argo0))
3738 return NULL;
3739 if (_argo0) {
3740 if (_argo0 == Py_None) { _arg0 = NULL; }
3741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
3743 return NULL;
3744 }
3745 }
3746 {
3747 wxPy_BEGIN_ALLOW_THREADS;
3748 _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0);
3749
3750 wxPy_END_ALLOW_THREADS;
3751 } if (_result) {
3752 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
3753 _resultobj = Py_BuildValue("s",_ptemp);
3754 } else {
3755 Py_INCREF(Py_None);
3756 _resultobj = Py_None;
3757 }
3758 return _resultobj;
3759 }
3760
3761 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
3762 static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3763 PyObject * _resultobj;
3764 wxPyHtmlWindow * _arg0;
3765 int _arg1;
3766 PyObject * _argo0 = 0;
3767 char *_kwnames[] = { "self","bar", NULL };
3768
3769 self = self;
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames,&_argo0,&_arg1))
3771 return NULL;
3772 if (_argo0) {
3773 if (_argo0 == Py_None) { _arg0 = NULL; }
3774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
3776 return NULL;
3777 }
3778 }
3779 {
3780 wxPy_BEGIN_ALLOW_THREADS;
3781 wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1);
3782
3783 wxPy_END_ALLOW_THREADS;
3784 } Py_INCREF(Py_None);
3785 _resultobj = Py_None;
3786 return _resultobj;
3787 }
3788
3789 #define wxHtmlWindow_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3790 static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
3791 PyObject * _resultobj;
3792 wxPyHtmlWindow * _arg0;
3793 wxString * _arg1;
3794 int _arg2;
3795 wxString * _arg3;
3796 int _arg4;
3797 int * _arg5;
3798 PyObject * _argo0 = 0;
3799 PyObject * _obj1 = 0;
3800 PyObject * _obj3 = 0;
3801 PyObject * _obj5 = 0;
3802 char *_kwnames[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL };
3803
3804 self = self;
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiOiO:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3,&_arg4,&_obj5))
3806 return NULL;
3807 if (_argo0) {
3808 if (_argo0 == Py_None) { _arg0 = NULL; }
3809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
3811 return NULL;
3812 }
3813 }
3814 {
3815 if (!PyString_Check(_obj1)) {
3816 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3817 return NULL;
3818 }
3819 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3820 }
3821 {
3822 if (!PyString_Check(_obj3)) {
3823 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3824 return NULL;
3825 }
3826 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
3827 }
3828 {
3829 _arg5 = int_LIST_helper(_obj5);
3830 if (_arg5 == NULL) {
3831 return NULL;
3832 }
3833 }
3834 {
3835 wxPy_BEGIN_ALLOW_THREADS;
3836 wxHtmlWindow_SetFonts(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5);
3837
3838 wxPy_END_ALLOW_THREADS;
3839 } Py_INCREF(Py_None);
3840 _resultobj = Py_None;
3841 {
3842 if (_obj1)
3843 delete _arg1;
3844 }
3845 {
3846 if (_obj3)
3847 delete _arg3;
3848 }
3849 {
3850 delete [] _arg5;
3851 }
3852 return _resultobj;
3853 }
3854
3855 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3856 static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3857 PyObject * _resultobj;
3858 wxPyHtmlWindow * _arg0;
3859 char * _arg1;
3860 PyObject * _argo0 = 0;
3861 char *_kwnames[] = { "self","title", NULL };
3862
3863 self = self;
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_SetTitle",_kwnames,&_argo0,&_arg1))
3865 return NULL;
3866 if (_argo0) {
3867 if (_argo0 == Py_None) { _arg0 = NULL; }
3868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
3870 return NULL;
3871 }
3872 }
3873 {
3874 wxPy_BEGIN_ALLOW_THREADS;
3875 wxHtmlWindow_SetTitle(_arg0,_arg1);
3876
3877 wxPy_END_ALLOW_THREADS;
3878 } Py_INCREF(Py_None);
3879 _resultobj = Py_None;
3880 return _resultobj;
3881 }
3882
3883 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
3884 static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
3885 PyObject * _resultobj;
3886 wxPyHtmlWindow * _arg0;
3887 int _arg1;
3888 PyObject * _argo0 = 0;
3889 char *_kwnames[] = { "self","b", NULL };
3890
3891 self = self;
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetBorders",_kwnames,&_argo0,&_arg1))
3893 return NULL;
3894 if (_argo0) {
3895 if (_argo0 == Py_None) { _arg0 = NULL; }
3896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
3898 return NULL;
3899 }
3900 }
3901 {
3902 wxPy_BEGIN_ALLOW_THREADS;
3903 wxHtmlWindow_SetBorders(_arg0,_arg1);
3904
3905 wxPy_END_ALLOW_THREADS;
3906 } Py_INCREF(Py_None);
3907 _resultobj = Py_None;
3908 return _resultobj;
3909 }
3910
3911 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
3912 static PyObject *_wrap_wxHtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject * _resultobj;
3914 wxPyHtmlWindow * _arg0;
3915 wxConfigBase * _arg1;
3916 char * _arg2 = (char *) "";
3917 PyObject * _argo0 = 0;
3918 PyObject * _argo1 = 0;
3919 char *_kwnames[] = { "self","cfg","path", NULL };
3920
3921 self = self;
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|s:wxHtmlWindow_ReadCustomization",_kwnames,&_argo0,&_argo1,&_arg2))
3923 return NULL;
3924 if (_argo0) {
3925 if (_argo0 == Py_None) { _arg0 = NULL; }
3926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
3928 return NULL;
3929 }
3930 }
3931 if (_argo1) {
3932 if (_argo1 == Py_None) { _arg1 = NULL; }
3933 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
3934 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
3935 return NULL;
3936 }
3937 }
3938 {
3939 wxPy_BEGIN_ALLOW_THREADS;
3940 wxHtmlWindow_ReadCustomization(_arg0,_arg1,_arg2);
3941
3942 wxPy_END_ALLOW_THREADS;
3943 } Py_INCREF(Py_None);
3944 _resultobj = Py_None;
3945 return _resultobj;
3946 }
3947
3948 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
3949 static PyObject *_wrap_wxHtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject * _resultobj;
3951 wxPyHtmlWindow * _arg0;
3952 wxConfigBase * _arg1;
3953 char * _arg2 = (char *) "";
3954 PyObject * _argo0 = 0;
3955 PyObject * _argo1 = 0;
3956 char *_kwnames[] = { "self","cfg","path", NULL };
3957
3958 self = self;
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|s:wxHtmlWindow_WriteCustomization",_kwnames,&_argo0,&_argo1,&_arg2))
3960 return NULL;
3961 if (_argo0) {
3962 if (_argo0 == Py_None) { _arg0 = NULL; }
3963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
3965 return NULL;
3966 }
3967 }
3968 if (_argo1) {
3969 if (_argo1 == Py_None) { _arg1 = NULL; }
3970 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
3971 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
3972 return NULL;
3973 }
3974 }
3975 {
3976 wxPy_BEGIN_ALLOW_THREADS;
3977 wxHtmlWindow_WriteCustomization(_arg0,_arg1,_arg2);
3978
3979 wxPy_END_ALLOW_THREADS;
3980 } Py_INCREF(Py_None);
3981 _resultobj = Py_None;
3982 return _resultobj;
3983 }
3984
3985 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
3986 static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3987 PyObject * _resultobj;
3988 bool _result;
3989 wxPyHtmlWindow * _arg0;
3990 PyObject * _argo0 = 0;
3991 char *_kwnames[] = { "self", NULL };
3992
3993 self = self;
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryBack",_kwnames,&_argo0))
3995 return NULL;
3996 if (_argo0) {
3997 if (_argo0 == Py_None) { _arg0 = NULL; }
3998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
3999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4000 return NULL;
4001 }
4002 }
4003 {
4004 wxPy_BEGIN_ALLOW_THREADS;
4005 _result = (bool )wxHtmlWindow_HistoryBack(_arg0);
4006
4007 wxPy_END_ALLOW_THREADS;
4008 } _resultobj = Py_BuildValue("i",_result);
4009 return _resultobj;
4010 }
4011
4012 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4013 static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
4014 PyObject * _resultobj;
4015 bool _result;
4016 wxPyHtmlWindow * _arg0;
4017 PyObject * _argo0 = 0;
4018 char *_kwnames[] = { "self", NULL };
4019
4020 self = self;
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryForward",_kwnames,&_argo0))
4022 return NULL;
4023 if (_argo0) {
4024 if (_argo0 == Py_None) { _arg0 = NULL; }
4025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4027 return NULL;
4028 }
4029 }
4030 {
4031 wxPy_BEGIN_ALLOW_THREADS;
4032 _result = (bool )wxHtmlWindow_HistoryForward(_arg0);
4033
4034 wxPy_END_ALLOW_THREADS;
4035 } _resultobj = Py_BuildValue("i",_result);
4036 return _resultobj;
4037 }
4038
4039 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4040 static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject * _resultobj;
4042 wxPyHtmlWindow * _arg0;
4043 PyObject * _argo0 = 0;
4044 char *_kwnames[] = { "self", NULL };
4045
4046 self = self;
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryClear",_kwnames,&_argo0))
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_HistoryClear. Expected _wxPyHtmlWindow_p.");
4053 return NULL;
4054 }
4055 }
4056 {
4057 wxPy_BEGIN_ALLOW_THREADS;
4058 wxHtmlWindow_HistoryClear(_arg0);
4059
4060 wxPy_END_ALLOW_THREADS;
4061 } Py_INCREF(Py_None);
4062 _resultobj = Py_None;
4063 return _resultobj;
4064 }
4065
4066 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4067 static PyObject *_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject * _resultobj;
4069 wxHtmlContainerCell * _result;
4070 wxPyHtmlWindow * _arg0;
4071 PyObject * _argo0 = 0;
4072 char *_kwnames[] = { "self", NULL };
4073 char _ptemp[128];
4074
4075 self = self;
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames,&_argo0))
4077 return NULL;
4078 if (_argo0) {
4079 if (_argo0 == Py_None) { _arg0 = NULL; }
4080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4082 return NULL;
4083 }
4084 }
4085 {
4086 wxPy_BEGIN_ALLOW_THREADS;
4087 _result = (wxHtmlContainerCell *)wxHtmlWindow_GetInternalRepresentation(_arg0);
4088
4089 wxPy_END_ALLOW_THREADS;
4090 } if (_result) {
4091 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
4092 _resultobj = Py_BuildValue("s",_ptemp);
4093 } else {
4094 Py_INCREF(Py_None);
4095 _resultobj = Py_None;
4096 }
4097 return _resultobj;
4098 }
4099
4100 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4101 static PyObject *_wrap_wxHtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject * _resultobj;
4103 wxHtmlWinParser * _result;
4104 wxPyHtmlWindow * _arg0;
4105 PyObject * _argo0 = 0;
4106 char *_kwnames[] = { "self", NULL };
4107 char _ptemp[128];
4108
4109 self = self;
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetParser",_kwnames,&_argo0))
4111 return NULL;
4112 if (_argo0) {
4113 if (_argo0 == Py_None) { _arg0 = NULL; }
4114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4116 return NULL;
4117 }
4118 }
4119 {
4120 wxPy_BEGIN_ALLOW_THREADS;
4121 _result = (wxHtmlWinParser *)wxHtmlWindow_GetParser(_arg0);
4122
4123 wxPy_END_ALLOW_THREADS;
4124 } if (_result) {
4125 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
4126 _resultobj = Py_BuildValue("s",_ptemp);
4127 } else {
4128 Py_INCREF(Py_None);
4129 _resultobj = Py_None;
4130 }
4131 return _resultobj;
4132 }
4133
4134 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4135 static PyObject *_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject * _resultobj;
4137 wxPyHtmlWindow * _arg0;
4138 char * _arg1;
4139 PyObject * _argo0 = 0;
4140 char *_kwnames[] = { "self","link", NULL };
4141
4142 self = self;
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_base_OnLinkClicked",_kwnames,&_argo0,&_arg1))
4144 return NULL;
4145 if (_argo0) {
4146 if (_argo0 == Py_None) { _arg0 = NULL; }
4147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4149 return NULL;
4150 }
4151 }
4152 {
4153 wxPy_BEGIN_ALLOW_THREADS;
4154 wxHtmlWindow_base_OnLinkClicked(_arg0,_arg1);
4155
4156 wxPy_END_ALLOW_THREADS;
4157 } Py_INCREF(Py_None);
4158 _resultobj = Py_None;
4159 return _resultobj;
4160 }
4161
4162 static PyMethodDef htmlcMethods[] = {
4163 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
4164 { "wxHtmlWindow_GetParser", (PyCFunction) _wrap_wxHtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
4165 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_wxHtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
4166 { "wxHtmlWindow_HistoryClear", (PyCFunction) _wrap_wxHtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
4167 { "wxHtmlWindow_HistoryForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
4168 { "wxHtmlWindow_HistoryBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
4169 { "wxHtmlWindow_WriteCustomization", (PyCFunction) _wrap_wxHtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
4170 { "wxHtmlWindow_ReadCustomization", (PyCFunction) _wrap_wxHtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
4171 { "wxHtmlWindow_SetBorders", (PyCFunction) _wrap_wxHtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
4172 { "wxHtmlWindow_SetTitle", (PyCFunction) _wrap_wxHtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
4173 { "wxHtmlWindow_SetFonts", (PyCFunction) _wrap_wxHtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
4174 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
4175 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
4176 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
4177 { "wxHtmlWindow_GetOpenedPage", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
4178 { "wxHtmlWindow_LoadPage", (PyCFunction) _wrap_wxHtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
4179 { "wxHtmlWindow_SetPage", (PyCFunction) _wrap_wxHtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
4180 { "wxHtmlWindow__setSelf", (PyCFunction) _wrap_wxHtmlWindow__setSelf, METH_VARARGS | METH_KEYWORDS },
4181 { "new_wxHtmlWindow", (PyCFunction) _wrap_new_wxHtmlWindow, METH_VARARGS | METH_KEYWORDS },
4182 { "HtmlHistoryItem_GetAnchor", (PyCFunction) _wrap_HtmlHistoryItem_GetAnchor, METH_VARARGS | METH_KEYWORDS },
4183 { "HtmlHistoryItem_GetPage", (PyCFunction) _wrap_HtmlHistoryItem_GetPage, METH_VARARGS | METH_KEYWORDS },
4184 { "HtmlHistoryItem_SetPos", (PyCFunction) _wrap_HtmlHistoryItem_SetPos, METH_VARARGS | METH_KEYWORDS },
4185 { "HtmlHistoryItem_GetPos", (PyCFunction) _wrap_HtmlHistoryItem_GetPos, METH_VARARGS | METH_KEYWORDS },
4186 { "new_HtmlHistoryItem", (PyCFunction) _wrap_new_HtmlHistoryItem, METH_VARARGS | METH_KEYWORDS },
4187 { "new_wxHtmlWidgetCell", (PyCFunction) _wrap_new_wxHtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
4188 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction) _wrap_wxHtmlContainerCell_GetFirstCell, METH_VARARGS | METH_KEYWORDS },
4189 { "wxHtmlContainerCell_SetBorder", (PyCFunction) _wrap_wxHtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
4190 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
4191 { "wxHtmlContainerCell_GetMaxLineWidth", (PyCFunction) _wrap_wxHtmlContainerCell_GetMaxLineWidth, METH_VARARGS | METH_KEYWORDS },
4192 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_wxHtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
4193 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
4194 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
4195 { "wxHtmlContainerCell_SetAlign", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
4196 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
4197 { "wxHtmlContainerCell_GetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
4198 { "wxHtmlContainerCell_SetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
4199 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
4200 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
4201 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
4202 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
4203 { "wxHtmlContainerCell_InsertCell", (PyCFunction) _wrap_wxHtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
4204 { "new_wxHtmlContainerCell", (PyCFunction) _wrap_new_wxHtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
4205 { "wxHtmlCell_Find", (PyCFunction) _wrap_wxHtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
4206 { "wxHtmlCell_DrawInvisible", (PyCFunction) _wrap_wxHtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
4207 { "wxHtmlCell_Draw", (PyCFunction) _wrap_wxHtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
4208 { "wxHtmlCell_Layout", (PyCFunction) _wrap_wxHtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
4209 { "wxHtmlCell_SetNext", (PyCFunction) _wrap_wxHtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
4210 { "wxHtmlCell_SetLink", (PyCFunction) _wrap_wxHtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
4211 { "wxHtmlCell_SetPos", (PyCFunction) _wrap_wxHtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
4212 { "wxHtmlCell_GetNext", (PyCFunction) _wrap_wxHtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
4213 { "wxHtmlCell_GetLink", (PyCFunction) _wrap_wxHtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
4214 { "wxHtmlCell_GetDescent", (PyCFunction) _wrap_wxHtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
4215 { "wxHtmlCell_GetHeight", (PyCFunction) _wrap_wxHtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
4216 { "wxHtmlCell_GetWidth", (PyCFunction) _wrap_wxHtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
4217 { "wxHtmlCell_GetPosY", (PyCFunction) _wrap_wxHtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
4218 { "wxHtmlCell_GetPosX", (PyCFunction) _wrap_wxHtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
4219 { "wxHtmlCell_GetParent", (PyCFunction) _wrap_wxHtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
4220 { "wxHtmlCell_SetParent", (PyCFunction) _wrap_wxHtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
4221 { "new_wxHtmlCell", (PyCFunction) _wrap_new_wxHtmlCell, METH_VARARGS | METH_KEYWORDS },
4222 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
4223 { "wxHtmlWinTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
4224 { "wxHtmlWinTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
4225 { "wxHtmlWinTagHandler__setSelf", (PyCFunction) _wrap_wxHtmlWinTagHandler__setSelf, METH_VARARGS | METH_KEYWORDS },
4226 { "new_wxHtmlWinTagHandler", (PyCFunction) _wrap_new_wxHtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
4227 { "wxHtmlTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
4228 { "wxHtmlTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
4229 { "wxHtmlTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
4230 { "wxHtmlTagHandler__setSelf", (PyCFunction) _wrap_wxHtmlTagHandler__setSelf, METH_VARARGS | METH_KEYWORDS },
4231 { "new_wxHtmlTagHandler", (PyCFunction) _wrap_new_wxHtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
4232 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_wxHtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
4233 { "wxHtmlWinParser_SetLink", (PyCFunction) _wrap_wxHtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
4234 { "wxHtmlWinParser_GetLink", (PyCFunction) _wrap_wxHtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
4235 { "wxHtmlWinParser_SetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
4236 { "wxHtmlWinParser_GetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
4237 { "wxHtmlWinParser_SetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
4238 { "wxHtmlWinParser_GetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
4239 { "wxHtmlWinParser_SetAlign", (PyCFunction) _wrap_wxHtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
4240 { "wxHtmlWinParser_GetAlign", (PyCFunction) _wrap_wxHtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
4241 { "wxHtmlWinParser_SetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
4242 { "wxHtmlWinParser_GetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
4243 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
4244 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
4245 { "wxHtmlWinParser_SetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
4246 { "wxHtmlWinParser_GetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
4247 { "wxHtmlWinParser_SetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
4248 { "wxHtmlWinParser_GetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
4249 { "wxHtmlWinParser_SetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
4250 { "wxHtmlWinParser_GetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
4251 { "wxHtmlWinParser_CloseContainer", (PyCFunction) _wrap_wxHtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
4252 { "wxHtmlWinParser_OpenContainer", (PyCFunction) _wrap_wxHtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
4253 { "wxHtmlWinParser_GetContainer", (PyCFunction) _wrap_wxHtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
4254 { "wxHtmlWinParser_SetFonts", (PyCFunction) _wrap_wxHtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
4255 { "wxHtmlWinParser_GetWindow", (PyCFunction) _wrap_wxHtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
4256 { "wxHtmlWinParser_GetCharWidth", (PyCFunction) _wrap_wxHtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
4257 { "wxHtmlWinParser_GetCharHeight", (PyCFunction) _wrap_wxHtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
4258 { "wxHtmlWinParser_GetDC", (PyCFunction) _wrap_wxHtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
4259 { "wxHtmlWinParser_SetDC", (PyCFunction) _wrap_wxHtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
4260 { "new_wxHtmlWinParser", (PyCFunction) _wrap_new_wxHtmlWinParser, METH_VARARGS | METH_KEYWORDS },
4261 { "wxHtmlParser_GetSource", (PyCFunction) _wrap_wxHtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
4262 { "wxHtmlParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
4263 { "wxHtmlParser_DoParsing", (PyCFunction) _wrap_wxHtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
4264 { "wxHtmlParser_DoneParser", (PyCFunction) _wrap_wxHtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
4265 { "wxHtmlParser_InitParser", (PyCFunction) _wrap_wxHtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
4266 { "wxHtmlParser_Parse", (PyCFunction) _wrap_wxHtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
4267 { "wxHtmlParser_GetFS", (PyCFunction) _wrap_wxHtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
4268 { "wxHtmlParser_SetFS", (PyCFunction) _wrap_wxHtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
4269 { "wxHtmlTag_GetEndPos2", (PyCFunction) _wrap_wxHtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
4270 { "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
4271 { "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
4272 { "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
4273 { "wxHtmlTag_IsEnding", (PyCFunction) _wrap_wxHtmlTag_IsEnding, METH_VARARGS | METH_KEYWORDS },
4274 { "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
4275 { "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
4276 { "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
4277 { "wxHtmlTag_GetName", (PyCFunction) _wrap_wxHtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
4278 { "wxHtmlWindow_AddFilter", (PyCFunction) _wrap_wxHtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
4279 { "wxHtmlWinParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
4280 { NULL, NULL }
4281 };
4282 #ifdef __cplusplus
4283 }
4284 #endif
4285 /*
4286 * This table is used by the pointer type-checker
4287 */
4288 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
4289 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4290 { "_wxEvent","_class_wxEvent",0},
4291 { "_class_wxActivateEvent","_wxActivateEvent",0},
4292 { "_class_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
4293 { "_class_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
4294 { "_class_wxHtmlParser","_wxHtmlParser",0},
4295 { "_signed_long","_long",0},
4296 { "_wxMenuEvent","_class_wxMenuEvent",0},
4297 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
4298 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4299 { "_wxBMPHandler","_class_wxBMPHandler",0},
4300 { "_wxImage","_class_wxImage",0},
4301 { "_wxPrintQuality","_int",0},
4302 { "_wxPrintQuality","_signed_int",0},
4303 { "_wxPrintQuality","_unsigned_int",0},
4304 { "_wxPrintQuality","_wxWindowID",0},
4305 { "_wxPrintQuality","_uint",0},
4306 { "_wxPrintQuality","_EBool",0},
4307 { "_wxPrintQuality","_size_t",0},
4308 { "_wxFontData","_class_wxFontData",0},
4309 { "___wxPyCleanup","_class___wxPyCleanup",0},
4310 { "_class_HtmlHistoryItem","_HtmlHistoryItem",0},
4311 { "_class_wxRegionIterator","_wxRegionIterator",0},
4312 { "_class_wxMenuBar","_wxMenuBar",0},
4313 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
4314 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
4315 { "_class_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
4316 { "_class_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
4317 { "_class_wxEvtHandler","_wxEvtHandler",0},
4318 { "_wxPaintEvent","_class_wxPaintEvent",0},
4319 { "_wxGIFHandler","_class_wxGIFHandler",0},
4320 { "_wxPySizer","_class_wxPySizer",0},
4321 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4322 { "_wxCursor","_class_wxCursor",0},
4323 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4324 { "_wxImageHandler","_class_wxImageHandler",0},
4325 { "_wxHtmlWidgetCell","_class_wxHtmlWidgetCell",0},
4326 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
4327 { "_wxMask","_class_wxMask",0},
4328 { "_wxToolTip","_class_wxToolTip",0},
4329 { "_wxGrid","_class_wxGrid",0},
4330 { "_wxPNGHandler","_class_wxPNGHandler",0},
4331 { "_class_wxColourData","_wxColourData",0},
4332 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4333 { "_wxPrinter","_class_wxPrinter",0},
4334 { "_wxPen","_class_wxPen",0},
4335 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4336 { "_byte","_unsigned_char",0},
4337 { "_wxStaticBox","_class_wxStaticBox",0},
4338 { "_wxChoice","_class_wxChoice",0},
4339 { "_wxSlider","_class_wxSlider",0},
4340 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
4341 { "_wxPyPrintout","_class_wxPyPrintout",0},
4342 { "_long","_wxDash",0},
4343 { "_long","_unsigned_long",0},
4344 { "_long","_signed_long",0},
4345 { "_wxImageList","_class_wxImageList",0},
4346 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4347 { "_wxBitmapButton","_class_wxBitmapButton",0},
4348 { "_wxSashWindow","_class_wxSashWindow",0},
4349 { "_class_wxSizer","_wxSizer",0},
4350 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4351 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4352 { "_class_wxGauge","_wxGauge",0},
4353 { "_class_wxSashEvent","_wxSashEvent",0},
4354 { "_wxDC","_class_wxDC",0},
4355 { "_wxSizerItem","_class_wxSizerItem",0},
4356 { "_wxListEvent","_class_wxListEvent",0},
4357 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4358 { "_wxProgressDialog","_class_wxProgressDialog",0},
4359 { "_class_wxBMPHandler","_wxBMPHandler",0},
4360 { "_wxPrintPreview","_class_wxPrintPreview",0},
4361 { "_wxSpinEvent","_class_wxSpinEvent",0},
4362 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
4363 { "_size_t","_wxPrintQuality",0},
4364 { "_size_t","_unsigned_int",0},
4365 { "_size_t","_int",0},
4366 { "_size_t","_wxWindowID",0},
4367 { "_size_t","_uint",0},
4368 { "_class_wxRealPoint","_wxRealPoint",0},
4369 { "_class_wxMenuItem","_wxMenuItem",0},
4370 { "_class_wxPaintEvent","_wxPaintEvent",0},
4371 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4372 { "_class_wxStatusBar","_wxStatusBar",0},
4373 { "_class_wxGIFHandler","_wxGIFHandler",0},
4374 { "_class_wxPySizer","_wxPySizer",0},
4375 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
4376 { "_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
4377 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
4378 { "_wxPanel","_class_wxPanel",0},
4379 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4380 { "_wxCheckBox","_class_wxCheckBox",0},
4381 { "_wxPyEvent","_class_wxPyEvent",0},
4382 { "_wxTextCtrl","_class_wxTextCtrl",0},
4383 { "_class_wxMask","_wxMask",0},
4384 { "_class_wxToolTip","_wxToolTip",0},
4385 { "_class_wxKeyEvent","_wxKeyEvent",0},
4386 { "_class_wxGrid","_wxGrid",0},
4387 { "_class_wxPNGHandler","_wxPNGHandler",0},
4388 { "_wxColour","_class_wxColour",0},
4389 { "_class_wxDialog","_wxDialog",0},
4390 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4391 { "_class_wxPrinter","_wxPrinter",0},
4392 { "_wxIdleEvent","_class_wxIdleEvent",0},
4393 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4394 { "_wxToolBar","_class_wxToolBar",0},
4395 { "_wxCaret","_class_wxCaret",0},
4396 { "_wxStaticLine","_class_wxStaticLine",0},
4397 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
4398 { "_wxBrush","_class_wxBrush",0},
4399 { "_wxMiniFrame","_class_wxMiniFrame",0},
4400 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
4401 { "_class_wxPyPrintout","_wxPyPrintout",0},
4402 { "_class_wxSashWindow","_wxSashWindow",0},
4403 { "_wxShowEvent","_class_wxShowEvent",0},
4404 { "_uint","_wxPrintQuality",0},
4405 { "_uint","_size_t",0},
4406 { "_uint","_unsigned_int",0},
4407 { "_uint","_int",0},
4408 { "_uint","_wxWindowID",0},
4409 { "_wxPyValidator","_class_wxPyValidator",0},
4410 { "_class_wxEvent","_wxEvent",0},
4411 { "_wxCheckListBox","_class_wxCheckListBox",0},
4412 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
4413 { "_wxGridEvent","_class_wxGridEvent",0},
4414 { "_wxRect","_class_wxRect",0},
4415 { "_wxCommandEvent","_class_wxCommandEvent",0},
4416 { "_wxSizeEvent","_class_wxSizeEvent",0},
4417 { "_class_wxImage","_wxImage",0},
4418 { "_wxPoint","_class_wxPoint",0},
4419 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
4420 { "_class_wxButton","_wxButton",0},
4421 { "_wxRadioBox","_class_wxRadioBox",0},
4422 { "_class_wxFontData","_wxFontData",0},
4423 { "_wxBoxSizer","_class_wxBoxSizer",0},
4424 { "_class___wxPyCleanup","___wxPyCleanup",0},
4425 { "_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
4426 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
4427 { "_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
4428 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
4429 { "_wxHtmlCell","_class_wxHtmlCell",0},
4430 { "_wxBitmap","_class_wxBitmap",0},
4431 { "_wxPrintDialog","_class_wxPrintDialog",0},
4432 { "_wxPyTimer","_class_wxPyTimer",0},
4433 { "_wxWindowDC","_class_wxWindowDC",0},
4434 { "_wxScrollBar","_class_wxScrollBar",0},
4435 { "_wxSpinButton","_class_wxSpinButton",0},
4436 { "_wxToolBarTool","_class_wxToolBarTool",0},
4437 { "_wxColourDialog","_class_wxColourDialog",0},
4438 { "_wxPrintData","_class_wxPrintData",0},
4439 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4440 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4441 { "_wxMessageDialog","_class_wxMessageDialog",0},
4442 { "_class_wxHtmlWidgetCell","_wxHtmlWidgetCell",0},
4443 { "_class_wxValidator","_wxValidator",0},
4444 { "_class_wxPyEvent","_wxPyEvent",0},
4445 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4446 { "_wxConfig","_class_wxConfig",0},
4447 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4448 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4449 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
4450 { "_wxListItem","_class_wxListItem",0},
4451 { "_class_wxToolBar","_wxToolBar",0},
4452 { "_class_wxStaticLine","_wxStaticLine",0},
4453 { "_wxScrollEvent","_class_wxScrollEvent",0},
4454 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
4455 { "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
4456 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
4457 { "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0},
4458 { "_EBool","_wxPrintQuality",0},
4459 { "_EBool","_signed_int",0},
4460 { "_EBool","_int",0},
4461 { "_EBool","_wxWindowID",0},
4462 { "_class_wxRegion","_wxRegion",0},
4463 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4464 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4465 { "_wxHtmlContainerCell","_class_wxHtmlContainerCell",0},
4466 { "_wxStaticText","_class_wxStaticText",0},
4467 { "_wxFont","_class_wxFont",0},
4468 { "_wxCloseEvent","_class_wxCloseEvent",0},
4469 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
4470 { "_wxNotebook","_class_wxNotebook",0},
4471 { "_unsigned_long","_wxDash",0},
4472 { "_unsigned_long","_long",0},
4473 { "_class_wxRect","_wxRect",0},
4474 { "_class_wxDC","_wxDC",0},
4475 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4476 { "_class_wxProgressDialog","_wxProgressDialog",0},
4477 { "_wxPyApp","_class_wxPyApp",0},
4478 { "_wxHtmlWinParser","_class_wxHtmlWinParser",0},
4479 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
4480 { "_class_wxTreeEvent","_wxTreeEvent",0},
4481 { "_class_wxDirDialog","_wxDirDialog",0},
4482 { "_class_wxPyTimer","_wxPyTimer",0},
4483 { "_wxFocusEvent","_class_wxFocusEvent",0},
4484 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4485 { "_class_wxSpinButton","_wxSpinButton",0},
4486 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4487 { "_class_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
4488 { "_class_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
4489 { "_class_wxPanel","_wxPanel",0},
4490 { "_class_wxCheckBox","_wxCheckBox",0},
4491 { "_wxComboBox","_class_wxComboBox",0},
4492 { "_wxRadioButton","_class_wxRadioButton",0},
4493 { "_class_wxMessageDialog","_wxMessageDialog",0},
4494 { "_wxHtmlTag","_class_wxHtmlTag",0},
4495 { "_signed_int","_wxPrintQuality",0},
4496 { "_signed_int","_EBool",0},
4497 { "_signed_int","_wxWindowID",0},
4498 { "_signed_int","_int",0},
4499 { "_class_wxTextCtrl","_wxTextCtrl",0},
4500 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4501 { "_wxMenu","_class_wxMenu",0},
4502 { "_class_wxMoveEvent","_wxMoveEvent",0},
4503 { "_wxListBox","_class_wxListBox",0},
4504 { "_wxScreenDC","_class_wxScreenDC",0},
4505 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
4506 { "_class_wxPyHtmlWindow","_wxPyHtmlWindow",0},
4507 { "_WXTYPE","_short",0},
4508 { "_WXTYPE","_signed_short",0},
4509 { "_WXTYPE","_unsigned_short",0},
4510 { "_wxFileDialog","_class_wxFileDialog",0},
4511 { "_class_wxCaret","_wxCaret",0},
4512 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
4513 { "_class_wxBrush","_wxBrush",0},
4514 { "_class_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
4515 { "_class_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
4516 { "_class_wxPyHtmlTagHandler","_wxPyHtmlTagHandler",0},
4517 { "_unsigned_short","_WXTYPE",0},
4518 { "_unsigned_short","_short",0},
4519 { "_class_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
4520 { "_class_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
4521 { "_class_wxWindow","_wxWindow",0},
4522 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
4523 { "_class_wxStaticText","_wxStaticText",0},
4524 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4525 { "_class_wxFont","_wxFont",0},
4526 { "_class_wxPyValidator","_wxPyValidator",0},
4527 { "_class_wxCloseEvent","_wxCloseEvent",0},
4528 { "_wxSashEvent","_class_wxSashEvent",0},
4529 { "_class_wxMenuEvent","_wxMenuEvent",0},
4530 { "_wxClientDC","_class_wxClientDC",0},
4531 { "_wxMouseEvent","_class_wxMouseEvent",0},
4532 { "_wxListCtrl","_class_wxListCtrl",0},
4533 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4534 { "_class_wxPoint","_wxPoint",0},
4535 { "_wxRealPoint","_class_wxRealPoint",0},
4536 { "_class_wxRadioBox","_wxRadioBox",0},
4537 { "_wxGridCell","_class_wxGridCell",0},
4538 { "_class_wxBoxSizer","_wxBoxSizer",0},
4539 { "_class_wxHtmlWinParser","_wxHtmlWinParser",0},
4540 { "_class_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
4541 { "_class_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
4542 { "_class_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
4543 { "_class_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
4544 { "_class_wxHtmlCell","_wxHtmlCell",0},
4545 { "_signed_short","_WXTYPE",0},
4546 { "_signed_short","_short",0},
4547 { "_wxMemoryDC","_class_wxMemoryDC",0},
4548 { "_class_wxPrintDialog","_wxPrintDialog",0},
4549 { "_wxPaintDC","_class_wxPaintDC",0},
4550 { "_class_wxWindowDC","_wxWindowDC",0},
4551 { "_class_wxFocusEvent","_wxFocusEvent",0},
4552 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4553 { "_wxStatusBar","_class_wxStatusBar",0},
4554 { "_class_wxToolBarTool","_wxToolBarTool",0},
4555 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4556 { "_class_wxCursor","_wxCursor",0},
4557 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4558 { "_class_wxImageHandler","_wxImageHandler",0},
4559 { "_class_wxHtmlTag","_wxHtmlTag",0},
4560 { "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
4561 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
4562 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4563 { "_wxTreeItemId","_class_wxTreeItemId",0},
4564 { "_unsigned_char","_byte",0},
4565 { "_class_wxMenu","_wxMenu",0},
4566 { "_wxControl","_class_wxControl",0},
4567 { "_class_wxListBox","_wxListBox",0},
4568 { "_unsigned_int","_wxPrintQuality",0},
4569 { "_unsigned_int","_size_t",0},
4570 { "_unsigned_int","_uint",0},
4571 { "_unsigned_int","_wxWindowID",0},
4572 { "_unsigned_int","_int",0},
4573 { "_wxIcon","_class_wxIcon",0},
4574 { "_wxDialog","_class_wxDialog",0},
4575 { "_class_wxListItem","_wxListItem",0},
4576 { "_class_wxPen","_wxPen",0},
4577 { "_class_wxFileDialog","_wxFileDialog",0},
4578 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
4579 { "_short","_WXTYPE",0},
4580 { "_short","_unsigned_short",0},
4581 { "_short","_signed_short",0},
4582 { "_class_wxStaticBox","_wxStaticBox",0},
4583 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
4584 { "_class_wxScrollEvent","_wxScrollEvent",0},
4585 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4586 { "_class_wxChoice","_wxChoice",0},
4587 { "_class_wxSlider","_wxSlider",0},
4588 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
4589 { "_class_wxImageList","_wxImageList",0},
4590 { "_class_wxBitmapButton","_wxBitmapButton",0},
4591 { "_class_wxHtmlContainerCell","_wxHtmlContainerCell",0},
4592 { "_wxFrame","_class_wxFrame",0},
4593 { "_class_wxNotebook","_wxNotebook",0},
4594 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
4595 { "_wxWindowID","_wxPrintQuality",0},
4596 { "_wxWindowID","_size_t",0},
4597 { "_wxWindowID","_EBool",0},
4598 { "_wxWindowID","_uint",0},
4599 { "_wxWindowID","_int",0},
4600 { "_wxWindowID","_signed_int",0},
4601 { "_wxWindowID","_unsigned_int",0},
4602 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4603 { "_class_wxSizerItem","_wxSizerItem",0},
4604 { "_int","_wxPrintQuality",0},
4605 { "_int","_size_t",0},
4606 { "_int","_EBool",0},
4607 { "_int","_uint",0},
4608 { "_int","_wxWindowID",0},
4609 { "_int","_unsigned_int",0},
4610 { "_int","_signed_int",0},
4611 { "_class_wxMouseEvent","_wxMouseEvent",0},
4612 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
4613 { "_class_wxListEvent","_wxListEvent",0},
4614 { "_class_wxPrintPreview","_wxPrintPreview",0},
4615 { "_class_wxSpinEvent","_wxSpinEvent",0},
4616 { "_wxPyHtmlWinTagHandler","_class_wxPyHtmlWinTagHandler",0},
4617 { "_wxButton","_class_wxButton",0},
4618 { "_class_wxPyApp","_wxPyApp",0},
4619 { "_wxSize","_class_wxSize",0},
4620 { "_wxRegionIterator","_class_wxRegionIterator",0},
4621 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
4622 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
4623 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
4624 { "_class_wxPaintDC","_wxPaintDC",0},
4625 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4626 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4627 { "_class_wxComboBox","_wxComboBox",0},
4628 { "_class_wxRadioButton","_wxRadioButton",0},
4629 { "_wxValidator","_class_wxValidator",0},
4630 { "_class_wxTreeItemId","_wxTreeItemId",0},
4631 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
4632 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4633 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4634 { "_class_wxControl","_wxControl",0},
4635 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4636 { "_class_wxIcon","_wxIcon",0},
4637 { "_class_wxColour","_wxColour",0},
4638 { "_class_wxScreenDC","_wxScreenDC",0},
4639 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4640 { "_wxPalette","_class_wxPalette",0},
4641 { "_class_wxIdleEvent","_wxIdleEvent",0},
4642 { "_wxEraseEvent","_class_wxEraseEvent",0},
4643 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4644 { "_class_wxMiniFrame","_wxMiniFrame",0},
4645 { "_wxFontDialog","_class_wxFontDialog",0},
4646 { "_wxRegion","_class_wxRegion",0},
4647 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
4648 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4649 { "_wxSizer","_class_wxSizer",0},
4650 { "_class_wxShowEvent","_wxShowEvent",0},
4651 { "_wxActivateEvent","_class_wxActivateEvent",0},
4652 { "_wxGauge","_class_wxGauge",0},
4653 { "_class_wxCheckListBox","_wxCheckListBox",0},
4654 { "_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
4655 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
4656 { "_wxHtmlParser","_class_wxHtmlParser",0},
4657 { "_class_wxGridEvent","_wxGridEvent",0},
4658 { "_class_wxCommandEvent","_wxCommandEvent",0},
4659 { "_class_wxClientDC","_wxClientDC",0},
4660 { "_class_wxSizeEvent","_wxSizeEvent",0},
4661 { "_class_wxListCtrl","_wxListCtrl",0},
4662 { "_class_wxPyHtmlWinTagHandler","_wxPyHtmlWinTagHandler",0},
4663 { "_class_wxGridCell","_wxGridCell",0},
4664 { "_HtmlHistoryItem","_class_HtmlHistoryItem",0},
4665 { "_class_wxSize","_wxSize",0},
4666 { "_class_wxBitmap","_wxBitmap",0},
4667 { "_class_wxMemoryDC","_wxMemoryDC",0},
4668 { "_wxMenuBar","_class_wxMenuBar",0},
4669 { "_wxTreeEvent","_class_wxTreeEvent",0},
4670 { "_wxDirDialog","_class_wxDirDialog",0},
4671 { "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
4672 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
4673 { "_wxEvtHandler","_class_wxEvtHandler",0},
4674 { "_wxMenuItem","_class_wxMenuItem",0},
4675 { "_class_wxScrollBar","_wxScrollBar",0},
4676 { "_class_wxColourDialog","_wxColourDialog",0},
4677 { "_class_wxPrintData","_wxPrintData",0},
4678 { "_wxDash","_unsigned_long",0},
4679 { "_wxDash","_long",0},
4680 { "_class_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
4681 { "_class_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
4682 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4683 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4684 { "_class_wxConfig","_wxConfig",0},
4685 { "_wxKeyEvent","_class_wxKeyEvent",0},
4686 { "_wxMoveEvent","_class_wxMoveEvent",0},
4687 { "_wxColourData","_class_wxColourData",0},
4688 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4689 { "_wxPyHtmlWindow","_class_wxPyHtmlWindow",0},
4690 { "_class_wxPalette","_wxPalette",0},
4691 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
4692 { "_class_wxEraseEvent","_wxEraseEvent",0},
4693 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
4694 { "_class_wxFontDialog","_wxFontDialog",0},
4695 { "_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
4696 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
4697 { "_wxWindow","_class_wxWindow",0},
4698 { "_class_wxFrame","_wxFrame",0},
4699 {0,0,0}};
4700
4701 static PyObject *SWIG_globals;
4702 #ifdef __cplusplus
4703 extern "C"
4704 #endif
4705 SWIGEXPORT(void) inithtmlc() {
4706 PyObject *m, *d;
4707 SWIG_globals = SWIG_newvarlink();
4708 m = Py_InitModule("htmlc", htmlcMethods);
4709 d = PyModule_GetDict(m);
4710 PyDict_SetItemString(d,"HTML_ALIGN_LEFT", PyInt_FromLong((long) HTML_ALIGN_LEFT));
4711 PyDict_SetItemString(d,"HTML_ALIGN_CENTER", PyInt_FromLong((long) HTML_ALIGN_CENTER));
4712 PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", PyInt_FromLong((long) HTML_ALIGN_RIGHT));
4713 PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", PyInt_FromLong((long) HTML_ALIGN_BOTTOM));
4714 PyDict_SetItemString(d,"HTML_ALIGN_TOP", PyInt_FromLong((long) HTML_ALIGN_TOP));
4715 PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", PyInt_FromLong((long) HTML_CLR_FOREGROUND));
4716 PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", PyInt_FromLong((long) HTML_CLR_BACKGROUND));
4717 PyDict_SetItemString(d,"HTML_UNITS_PIXELS", PyInt_FromLong((long) HTML_UNITS_PIXELS));
4718 PyDict_SetItemString(d,"HTML_UNITS_PERCENT", PyInt_FromLong((long) HTML_UNITS_PERCENT));
4719 PyDict_SetItemString(d,"HTML_INDENT_LEFT", PyInt_FromLong((long) HTML_INDENT_LEFT));
4720 PyDict_SetItemString(d,"HTML_INDENT_RIGHT", PyInt_FromLong((long) HTML_INDENT_RIGHT));
4721 PyDict_SetItemString(d,"HTML_INDENT_TOP", PyInt_FromLong((long) HTML_INDENT_TOP));
4722 PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", PyInt_FromLong((long) HTML_INDENT_BOTTOM));
4723 PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", PyInt_FromLong((long) HTML_INDENT_HORIZONTAL));
4724 PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", PyInt_FromLong((long) HTML_INDENT_VERTICAL));
4725 PyDict_SetItemString(d,"HTML_INDENT_ALL", PyInt_FromLong((long) HTML_INDENT_ALL));
4726 PyDict_SetItemString(d,"HTML_COND_ISANCHOR", PyInt_FromLong((long) HTML_COND_ISANCHOR));
4727 PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", PyInt_FromLong((long) HTML_COND_ISIMAGEMAP));
4728 PyDict_SetItemString(d,"HTML_COND_USER", PyInt_FromLong((long) HTML_COND_USER));
4729
4730
4731 #if 0
4732 /* This is a bit cheesy. SWIG happens to call the dictionary d...
4733 * I save it here, 'cause I don't know how to get it back later! */
4734 mod_dict = d;
4735 #endif
4736
4737 inithtmlhelpc();
4738
4739 wxClassInfo::CleanUpClasses();
4740 wxClassInfo::InitializeClasses();
4741
4742 #if 0
4743 /* specifically add our python tag handler; it doesn't seem to
4744 * happen by itself... */
4745 wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
4746 #endif
4747
4748 // Until wxFileSystem is wrapped...
4749 #if wxUSE_FS_ZIP
4750 wxFileSystem::AddHandler(new wxZipFSHandler);
4751 #endif
4752 {
4753 int i;
4754 for (i = 0; _swig_mapping[i].n1; i++)
4755 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
4756 }
4757 }