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