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