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