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