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