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