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