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