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