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