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