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