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