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