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