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