]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/html.cpp
fixes w.r.t. size_t vs. int
[wxWidgets.git] / wxPython / src / msw / html.cpp
1 /*
2 * FILE : src/msw/html.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
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 const wxColour & _result_ref = wxHtmlWinParser_GetLinkColor(_arg0);
2019 _result = (wxColour *) &_result_ref;
2020
2021 wxPy_END_ALLOW_THREADS;
2022 } if (_result) {
2023 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2024 _resultobj = Py_BuildValue("s",_ptemp);
2025 } else {
2026 Py_INCREF(Py_None);
2027 _resultobj = Py_None;
2028 }
2029 return _resultobj;
2030 }
2031
2032 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2033 static PyObject *_wrap_wxHtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2034 PyObject * _resultobj;
2035 wxHtmlWinParser * _arg0;
2036 wxColour * _arg1;
2037 PyObject * _argo0 = 0;
2038 wxColour temp;
2039 PyObject * _obj1 = 0;
2040 char *_kwnames[] = { "self","clr", NULL };
2041
2042 self = self;
2043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLinkColor",_kwnames,&_argo0,&_obj1))
2044 return NULL;
2045 if (_argo0) {
2046 if (_argo0 == Py_None) { _arg0 = NULL; }
2047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2049 return NULL;
2050 }
2051 }
2052 {
2053 _arg1 = &temp;
2054 if (! wxColour_helper(_obj1, &_arg1))
2055 return NULL;
2056 }
2057 {
2058 wxPy_BEGIN_ALLOW_THREADS;
2059 wxHtmlWinParser_SetLinkColor(_arg0,*_arg1);
2060
2061 wxPy_END_ALLOW_THREADS;
2062 } Py_INCREF(Py_None);
2063 _resultobj = Py_None;
2064 return _resultobj;
2065 }
2066
2067 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2068 static PyObject *_wrap_wxHtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject * _resultobj;
2070 wxColour * _result;
2071 wxHtmlWinParser * _arg0;
2072 PyObject * _argo0 = 0;
2073 char *_kwnames[] = { "self", NULL };
2074 char _ptemp[128];
2075
2076 self = self;
2077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetActualColor",_kwnames,&_argo0))
2078 return NULL;
2079 if (_argo0) {
2080 if (_argo0 == Py_None) { _arg0 = NULL; }
2081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2083 return NULL;
2084 }
2085 }
2086 {
2087 wxPy_BEGIN_ALLOW_THREADS;
2088 const wxColour & _result_ref = wxHtmlWinParser_GetActualColor(_arg0);
2089 _result = (wxColour *) &_result_ref;
2090
2091 wxPy_END_ALLOW_THREADS;
2092 } if (_result) {
2093 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
2094 _resultobj = Py_BuildValue("s",_ptemp);
2095 } else {
2096 Py_INCREF(Py_None);
2097 _resultobj = Py_None;
2098 }
2099 return _resultobj;
2100 }
2101
2102 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2103 static PyObject *_wrap_wxHtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
2104 PyObject * _resultobj;
2105 wxHtmlWinParser * _arg0;
2106 wxColour * _arg1;
2107 PyObject * _argo0 = 0;
2108 wxColour temp;
2109 PyObject * _obj1 = 0;
2110 char *_kwnames[] = { "self","clr", NULL };
2111
2112 self = self;
2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetActualColor",_kwnames,&_argo0,&_obj1))
2114 return NULL;
2115 if (_argo0) {
2116 if (_argo0 == Py_None) { _arg0 = NULL; }
2117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2119 return NULL;
2120 }
2121 }
2122 {
2123 _arg1 = &temp;
2124 if (! wxColour_helper(_obj1, &_arg1))
2125 return NULL;
2126 }
2127 {
2128 wxPy_BEGIN_ALLOW_THREADS;
2129 wxHtmlWinParser_SetActualColor(_arg0,*_arg1);
2130
2131 wxPy_END_ALLOW_THREADS;
2132 } Py_INCREF(Py_None);
2133 _resultobj = Py_None;
2134 return _resultobj;
2135 }
2136
2137 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2138 static PyObject *_wrap_wxHtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2139 PyObject * _resultobj;
2140 wxHtmlWinParser * _arg0;
2141 wxString * _arg1;
2142 PyObject * _argo0 = 0;
2143 PyObject * _obj1 = 0;
2144 char *_kwnames[] = { "self","link", NULL };
2145
2146 self = self;
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLink",_kwnames,&_argo0,&_obj1))
2148 return NULL;
2149 if (_argo0) {
2150 if (_argo0 == Py_None) { _arg0 = NULL; }
2151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2153 return NULL;
2154 }
2155 }
2156 {
2157 #if PYTHON_API_VERSION >= 1009
2158 char* tmpPtr; int tmpSize;
2159 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2160 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2161 return NULL;
2162 }
2163 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2164 return NULL;
2165 _arg1 = new wxString(tmpPtr, tmpSize);
2166 #else
2167 if (!PyString_Check(_obj1)) {
2168 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2169 return NULL;
2170 }
2171 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2172 #endif
2173 }
2174 {
2175 wxPy_BEGIN_ALLOW_THREADS;
2176 wxHtmlWinParser_SetLink(_arg0,*_arg1);
2177
2178 wxPy_END_ALLOW_THREADS;
2179 } Py_INCREF(Py_None);
2180 _resultobj = Py_None;
2181 {
2182 if (_obj1)
2183 delete _arg1;
2184 }
2185 return _resultobj;
2186 }
2187
2188 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2189 static PyObject *_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject * _resultobj;
2191 wxFont * _result;
2192 wxHtmlWinParser * _arg0;
2193 PyObject * _argo0 = 0;
2194 char *_kwnames[] = { "self", NULL };
2195 char _ptemp[128];
2196
2197 self = self;
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames,&_argo0))
2199 return NULL;
2200 if (_argo0) {
2201 if (_argo0 == Py_None) { _arg0 = NULL; }
2202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2204 return NULL;
2205 }
2206 }
2207 {
2208 wxPy_BEGIN_ALLOW_THREADS;
2209 _result = (wxFont *)wxHtmlWinParser_CreateCurrentFont(_arg0);
2210
2211 wxPy_END_ALLOW_THREADS;
2212 } if (_result) {
2213 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
2214 _resultobj = Py_BuildValue("s",_ptemp);
2215 } else {
2216 Py_INCREF(Py_None);
2217 _resultobj = Py_None;
2218 }
2219 return _resultobj;
2220 }
2221
2222 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2223 static PyObject *_wrap_wxHtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject * _resultobj;
2225 wxHtmlLinkInfo * _result;
2226 wxHtmlWinParser * _arg0;
2227 PyObject * _argo0 = 0;
2228 char *_kwnames[] = { "self", NULL };
2229 char _ptemp[128];
2230
2231 self = self;
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLink",_kwnames,&_argo0))
2233 return NULL;
2234 if (_argo0) {
2235 if (_argo0 == Py_None) { _arg0 = NULL; }
2236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
2237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2238 return NULL;
2239 }
2240 }
2241 {
2242 wxPy_BEGIN_ALLOW_THREADS;
2243 _result = new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0));
2244
2245 wxPy_END_ALLOW_THREADS;
2246 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxHtmlLinkInfo_p");
2247 _resultobj = Py_BuildValue("s",_ptemp);
2248 return _resultobj;
2249 }
2250
2251 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr) {
2252 wxPyHtmlTagHandler *src;
2253 wxObject *dest;
2254 src = (wxPyHtmlTagHandler *) ptr;
2255 dest = (wxObject *) src;
2256 return (void *) dest;
2257 }
2258
2259 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2260 static PyObject *_wrap_new_wxHtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject * _resultobj;
2262 wxPyHtmlTagHandler * _result;
2263 char *_kwnames[] = { NULL };
2264 char _ptemp[128];
2265
2266 self = self;
2267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlTagHandler",_kwnames))
2268 return NULL;
2269 {
2270 wxPy_BEGIN_ALLOW_THREADS;
2271 _result = (wxPyHtmlTagHandler *)new_wxHtmlTagHandler();
2272
2273 wxPy_END_ALLOW_THREADS;
2274 } if (_result) {
2275 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlTagHandler_p");
2276 _resultobj = Py_BuildValue("s",_ptemp);
2277 } else {
2278 Py_INCREF(Py_None);
2279 _resultobj = Py_None;
2280 }
2281 return _resultobj;
2282 }
2283
2284 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2285 static PyObject *_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject * _resultobj;
2287 wxPyHtmlTagHandler * _arg0;
2288 PyObject * _arg1;
2289 PyObject * _arg2;
2290 PyObject * _argo0 = 0;
2291 PyObject * _obj1 = 0;
2292 PyObject * _obj2 = 0;
2293 char *_kwnames[] = { "self","self","_class", NULL };
2294
2295 self = self;
2296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2297 return NULL;
2298 if (_argo0) {
2299 if (_argo0 == Py_None) { _arg0 = NULL; }
2300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2302 return NULL;
2303 }
2304 }
2305 {
2306 _arg1 = _obj1;
2307 }
2308 {
2309 _arg2 = _obj2;
2310 }
2311 {
2312 wxPy_BEGIN_ALLOW_THREADS;
2313 wxHtmlTagHandler__setCallbackInfo(_arg0,_arg1,_arg2);
2314
2315 wxPy_END_ALLOW_THREADS;
2316 } Py_INCREF(Py_None);
2317 _resultobj = Py_None;
2318 return _resultobj;
2319 }
2320
2321 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2322 static PyObject *_wrap_wxHtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject * _resultobj;
2324 wxPyHtmlTagHandler * _arg0;
2325 wxHtmlParser * _arg1;
2326 PyObject * _argo0 = 0;
2327 PyObject * _argo1 = 0;
2328 char *_kwnames[] = { "self","parser", NULL };
2329
2330 self = self;
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_SetParser",_kwnames,&_argo0,&_argo1))
2332 return NULL;
2333 if (_argo0) {
2334 if (_argo0 == Py_None) { _arg0 = NULL; }
2335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2337 return NULL;
2338 }
2339 }
2340 if (_argo1) {
2341 if (_argo1 == Py_None) { _arg1 = NULL; }
2342 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) {
2343 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2344 return NULL;
2345 }
2346 }
2347 {
2348 wxPy_BEGIN_ALLOW_THREADS;
2349 wxHtmlTagHandler_SetParser(_arg0,_arg1);
2350
2351 wxPy_END_ALLOW_THREADS;
2352 } Py_INCREF(Py_None);
2353 _resultobj = Py_None;
2354 return _resultobj;
2355 }
2356
2357 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2358 static PyObject *_wrap_wxHtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2359 PyObject * _resultobj;
2360 wxHtmlParser * _result;
2361 wxPyHtmlTagHandler * _arg0;
2362 PyObject * _argo0 = 0;
2363 char *_kwnames[] = { "self", NULL };
2364 char _ptemp[128];
2365
2366 self = self;
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTagHandler_GetParser",_kwnames,&_argo0))
2368 return NULL;
2369 if (_argo0) {
2370 if (_argo0 == Py_None) { _arg0 = NULL; }
2371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2373 return NULL;
2374 }
2375 }
2376 {
2377 wxPy_BEGIN_ALLOW_THREADS;
2378 _result = (wxHtmlParser *)wxHtmlTagHandler_GetParser(_arg0);
2379
2380 wxPy_END_ALLOW_THREADS;
2381 } if (_result) {
2382 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlParser_p");
2383 _resultobj = Py_BuildValue("s",_ptemp);
2384 } else {
2385 Py_INCREF(Py_None);
2386 _resultobj = Py_None;
2387 }
2388 return _resultobj;
2389 }
2390
2391 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2392 static PyObject *_wrap_wxHtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2393 PyObject * _resultobj;
2394 wxPyHtmlTagHandler * _arg0;
2395 wxHtmlTag * _arg1;
2396 PyObject * _argo0 = 0;
2397 PyObject * _argo1 = 0;
2398 char *_kwnames[] = { "self","tag", NULL };
2399
2400 self = self;
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_ParseInner",_kwnames,&_argo0,&_argo1))
2402 return NULL;
2403 if (_argo0) {
2404 if (_argo0 == Py_None) { _arg0 = NULL; }
2405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2407 return NULL;
2408 }
2409 }
2410 if (_argo1) {
2411 if (_argo1 == Py_None) { _arg1 = NULL; }
2412 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
2413 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2414 return NULL;
2415 }
2416 }
2417 {
2418 wxPy_BEGIN_ALLOW_THREADS;
2419 wxHtmlTagHandler_ParseInner(_arg0,*_arg1);
2420
2421 wxPy_END_ALLOW_THREADS;
2422 } Py_INCREF(Py_None);
2423 _resultobj = Py_None;
2424 return _resultobj;
2425 }
2426
2427 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr) {
2428 wxPyHtmlWinTagHandler *src;
2429 wxPyHtmlTagHandler *dest;
2430 src = (wxPyHtmlWinTagHandler *) ptr;
2431 dest = (wxPyHtmlTagHandler *) src;
2432 return (void *) dest;
2433 }
2434
2435 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr) {
2436 wxPyHtmlWinTagHandler *src;
2437 wxObject *dest;
2438 src = (wxPyHtmlWinTagHandler *) ptr;
2439 dest = (wxObject *) src;
2440 return (void *) dest;
2441 }
2442
2443 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2444 static PyObject *_wrap_new_wxHtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject * _resultobj;
2446 wxPyHtmlWinTagHandler * _result;
2447 char *_kwnames[] = { NULL };
2448 char _ptemp[128];
2449
2450 self = self;
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlWinTagHandler",_kwnames))
2452 return NULL;
2453 {
2454 wxPy_BEGIN_ALLOW_THREADS;
2455 _result = (wxPyHtmlWinTagHandler *)new_wxHtmlWinTagHandler();
2456
2457 wxPy_END_ALLOW_THREADS;
2458 } if (_result) {
2459 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWinTagHandler_p");
2460 _resultobj = Py_BuildValue("s",_ptemp);
2461 } else {
2462 Py_INCREF(Py_None);
2463 _resultobj = Py_None;
2464 }
2465 return _resultobj;
2466 }
2467
2468 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2469 static PyObject *_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject * _resultobj;
2471 wxPyHtmlWinTagHandler * _arg0;
2472 PyObject * _arg1;
2473 PyObject * _arg2;
2474 PyObject * _argo0 = 0;
2475 PyObject * _obj1 = 0;
2476 PyObject * _obj2 = 0;
2477 char *_kwnames[] = { "self","self","_class", NULL };
2478
2479 self = self;
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2481 return NULL;
2482 if (_argo0) {
2483 if (_argo0 == Py_None) { _arg0 = NULL; }
2484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2486 return NULL;
2487 }
2488 }
2489 {
2490 _arg1 = _obj1;
2491 }
2492 {
2493 _arg2 = _obj2;
2494 }
2495 {
2496 wxPy_BEGIN_ALLOW_THREADS;
2497 wxHtmlWinTagHandler__setCallbackInfo(_arg0,_arg1,_arg2);
2498
2499 wxPy_END_ALLOW_THREADS;
2500 } Py_INCREF(Py_None);
2501 _resultobj = Py_None;
2502 return _resultobj;
2503 }
2504
2505 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2506 static PyObject *_wrap_wxHtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject * _resultobj;
2508 wxPyHtmlWinTagHandler * _arg0;
2509 wxHtmlParser * _arg1;
2510 PyObject * _argo0 = 0;
2511 PyObject * _argo1 = 0;
2512 char *_kwnames[] = { "self","parser", NULL };
2513
2514 self = self;
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_SetParser",_kwnames,&_argo0,&_argo1))
2516 return NULL;
2517 if (_argo0) {
2518 if (_argo0 == Py_None) { _arg0 = NULL; }
2519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2521 return NULL;
2522 }
2523 }
2524 if (_argo1) {
2525 if (_argo1 == Py_None) { _arg1 = NULL; }
2526 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) {
2527 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2528 return NULL;
2529 }
2530 }
2531 {
2532 wxPy_BEGIN_ALLOW_THREADS;
2533 wxHtmlWinTagHandler_SetParser(_arg0,_arg1);
2534
2535 wxPy_END_ALLOW_THREADS;
2536 } Py_INCREF(Py_None);
2537 _resultobj = Py_None;
2538 return _resultobj;
2539 }
2540
2541 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2542 static PyObject *_wrap_wxHtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2543 PyObject * _resultobj;
2544 wxHtmlWinParser * _result;
2545 wxPyHtmlWinTagHandler * _arg0;
2546 PyObject * _argo0 = 0;
2547 char *_kwnames[] = { "self", NULL };
2548 char _ptemp[128];
2549
2550 self = self;
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinTagHandler_GetParser",_kwnames,&_argo0))
2552 return NULL;
2553 if (_argo0) {
2554 if (_argo0 == Py_None) { _arg0 = NULL; }
2555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2557 return NULL;
2558 }
2559 }
2560 {
2561 wxPy_BEGIN_ALLOW_THREADS;
2562 _result = (wxHtmlWinParser *)wxHtmlWinTagHandler_GetParser(_arg0);
2563
2564 wxPy_END_ALLOW_THREADS;
2565 } if (_result) {
2566 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
2567 _resultobj = Py_BuildValue("s",_ptemp);
2568 } else {
2569 Py_INCREF(Py_None);
2570 _resultobj = Py_None;
2571 }
2572 return _resultobj;
2573 }
2574
2575 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2576 static PyObject *_wrap_wxHtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject * _resultobj;
2578 wxPyHtmlWinTagHandler * _arg0;
2579 wxHtmlTag * _arg1;
2580 PyObject * _argo0 = 0;
2581 PyObject * _argo1 = 0;
2582 char *_kwnames[] = { "self","tag", NULL };
2583
2584 self = self;
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames,&_argo0,&_argo1))
2586 return NULL;
2587 if (_argo0) {
2588 if (_argo0 == Py_None) { _arg0 = NULL; }
2589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2591 return NULL;
2592 }
2593 }
2594 if (_argo1) {
2595 if (_argo1 == Py_None) { _arg1 = NULL; }
2596 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
2597 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2598 return NULL;
2599 }
2600 }
2601 {
2602 wxPy_BEGIN_ALLOW_THREADS;
2603 wxHtmlWinTagHandler_ParseInner(_arg0,*_arg1);
2604
2605 wxPy_END_ALLOW_THREADS;
2606 } Py_INCREF(Py_None);
2607 _resultobj = Py_None;
2608 return _resultobj;
2609 }
2610
2611 static void *SwigwxHtmlCellTowxObject(void *ptr) {
2612 wxHtmlCell *src;
2613 wxObject *dest;
2614 src = (wxHtmlCell *) ptr;
2615 dest = (wxObject *) src;
2616 return (void *) dest;
2617 }
2618
2619 #define new_wxHtmlCell() (new wxHtmlCell())
2620 static PyObject *_wrap_new_wxHtmlCell(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject * _resultobj;
2622 wxHtmlCell * _result;
2623 char *_kwnames[] = { NULL };
2624 char _ptemp[128];
2625
2626 self = self;
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlCell",_kwnames))
2628 return NULL;
2629 {
2630 wxPy_BEGIN_ALLOW_THREADS;
2631 _result = (wxHtmlCell *)new_wxHtmlCell();
2632
2633 wxPy_END_ALLOW_THREADS;
2634 } if (_result) {
2635 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
2636 _resultobj = Py_BuildValue("s",_ptemp);
2637 } else {
2638 Py_INCREF(Py_None);
2639 _resultobj = Py_None;
2640 }
2641 return _resultobj;
2642 }
2643
2644 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2645 static PyObject *_wrap_wxHtmlCell_GetPosX(PyObject *self, PyObject *args, PyObject *kwargs) {
2646 PyObject * _resultobj;
2647 int _result;
2648 wxHtmlCell * _arg0;
2649 PyObject * _argo0 = 0;
2650 char *_kwnames[] = { "self", NULL };
2651
2652 self = self;
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosX",_kwnames,&_argo0))
2654 return NULL;
2655 if (_argo0) {
2656 if (_argo0 == Py_None) { _arg0 = NULL; }
2657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2659 return NULL;
2660 }
2661 }
2662 {
2663 wxPy_BEGIN_ALLOW_THREADS;
2664 _result = (int )wxHtmlCell_GetPosX(_arg0);
2665
2666 wxPy_END_ALLOW_THREADS;
2667 } _resultobj = Py_BuildValue("i",_result);
2668 return _resultobj;
2669 }
2670
2671 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2672 static PyObject *_wrap_wxHtmlCell_GetPosY(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject * _resultobj;
2674 int _result;
2675 wxHtmlCell * _arg0;
2676 PyObject * _argo0 = 0;
2677 char *_kwnames[] = { "self", NULL };
2678
2679 self = self;
2680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetPosY",_kwnames,&_argo0))
2681 return NULL;
2682 if (_argo0) {
2683 if (_argo0 == Py_None) { _arg0 = NULL; }
2684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2686 return NULL;
2687 }
2688 }
2689 {
2690 wxPy_BEGIN_ALLOW_THREADS;
2691 _result = (int )wxHtmlCell_GetPosY(_arg0);
2692
2693 wxPy_END_ALLOW_THREADS;
2694 } _resultobj = Py_BuildValue("i",_result);
2695 return _resultobj;
2696 }
2697
2698 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2699 static PyObject *_wrap_wxHtmlCell_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2700 PyObject * _resultobj;
2701 int _result;
2702 wxHtmlCell * _arg0;
2703 PyObject * _argo0 = 0;
2704 char *_kwnames[] = { "self", NULL };
2705
2706 self = self;
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetWidth",_kwnames,&_argo0))
2708 return NULL;
2709 if (_argo0) {
2710 if (_argo0 == Py_None) { _arg0 = NULL; }
2711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2713 return NULL;
2714 }
2715 }
2716 {
2717 wxPy_BEGIN_ALLOW_THREADS;
2718 _result = (int )wxHtmlCell_GetWidth(_arg0);
2719
2720 wxPy_END_ALLOW_THREADS;
2721 } _resultobj = Py_BuildValue("i",_result);
2722 return _resultobj;
2723 }
2724
2725 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2726 static PyObject *_wrap_wxHtmlCell_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2727 PyObject * _resultobj;
2728 int _result;
2729 wxHtmlCell * _arg0;
2730 PyObject * _argo0 = 0;
2731 char *_kwnames[] = { "self", NULL };
2732
2733 self = self;
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetHeight",_kwnames,&_argo0))
2735 return NULL;
2736 if (_argo0) {
2737 if (_argo0 == Py_None) { _arg0 = NULL; }
2738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2740 return NULL;
2741 }
2742 }
2743 {
2744 wxPy_BEGIN_ALLOW_THREADS;
2745 _result = (int )wxHtmlCell_GetHeight(_arg0);
2746
2747 wxPy_END_ALLOW_THREADS;
2748 } _resultobj = Py_BuildValue("i",_result);
2749 return _resultobj;
2750 }
2751
2752 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2753 static PyObject *_wrap_wxHtmlCell_GetDescent(PyObject *self, PyObject *args, PyObject *kwargs) {
2754 PyObject * _resultobj;
2755 int _result;
2756 wxHtmlCell * _arg0;
2757 PyObject * _argo0 = 0;
2758 char *_kwnames[] = { "self", NULL };
2759
2760 self = self;
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetDescent",_kwnames,&_argo0))
2762 return NULL;
2763 if (_argo0) {
2764 if (_argo0 == Py_None) { _arg0 = NULL; }
2765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2767 return NULL;
2768 }
2769 }
2770 {
2771 wxPy_BEGIN_ALLOW_THREADS;
2772 _result = (int )wxHtmlCell_GetDescent(_arg0);
2773
2774 wxPy_END_ALLOW_THREADS;
2775 } _resultobj = Py_BuildValue("i",_result);
2776 return _resultobj;
2777 }
2778
2779 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2780 static PyObject *_wrap_wxHtmlCell_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2781 PyObject * _resultobj;
2782 wxHtmlLinkInfo * _result;
2783 wxHtmlCell * _arg0;
2784 int _arg1 = (int ) 0;
2785 int _arg2 = (int ) 0;
2786 PyObject * _argo0 = 0;
2787 char *_kwnames[] = { "self","x","y", NULL };
2788 char _ptemp[128];
2789
2790 self = self;
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxHtmlCell_GetLink",_kwnames,&_argo0,&_arg1,&_arg2))
2792 return NULL;
2793 if (_argo0) {
2794 if (_argo0 == Py_None) { _arg0 = NULL; }
2795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2797 return NULL;
2798 }
2799 }
2800 {
2801 wxPy_BEGIN_ALLOW_THREADS;
2802 _result = (wxHtmlLinkInfo *)wxHtmlCell_GetLink(_arg0,_arg1,_arg2);
2803
2804 wxPy_END_ALLOW_THREADS;
2805 } if (_result) {
2806 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlLinkInfo_p");
2807 _resultobj = Py_BuildValue("s",_ptemp);
2808 } else {
2809 Py_INCREF(Py_None);
2810 _resultobj = Py_None;
2811 }
2812 return _resultobj;
2813 }
2814
2815 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2816 static PyObject *_wrap_wxHtmlCell_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject * _resultobj;
2818 wxHtmlCell * _result;
2819 wxHtmlCell * _arg0;
2820 PyObject * _argo0 = 0;
2821 char *_kwnames[] = { "self", NULL };
2822 char _ptemp[128];
2823
2824 self = self;
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetNext",_kwnames,&_argo0))
2826 return NULL;
2827 if (_argo0) {
2828 if (_argo0 == Py_None) { _arg0 = NULL; }
2829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2831 return NULL;
2832 }
2833 }
2834 {
2835 wxPy_BEGIN_ALLOW_THREADS;
2836 _result = (wxHtmlCell *)wxHtmlCell_GetNext(_arg0);
2837
2838 wxPy_END_ALLOW_THREADS;
2839 } if (_result) {
2840 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
2841 _resultobj = Py_BuildValue("s",_ptemp);
2842 } else {
2843 Py_INCREF(Py_None);
2844 _resultobj = Py_None;
2845 }
2846 return _resultobj;
2847 }
2848
2849 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2850 static PyObject *_wrap_wxHtmlCell_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject * _resultobj;
2852 wxHtmlContainerCell * _result;
2853 wxHtmlCell * _arg0;
2854 PyObject * _argo0 = 0;
2855 char *_kwnames[] = { "self", NULL };
2856 char _ptemp[128];
2857
2858 self = self;
2859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlCell_GetParent",_kwnames,&_argo0))
2860 return NULL;
2861 if (_argo0) {
2862 if (_argo0 == Py_None) { _arg0 = NULL; }
2863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2865 return NULL;
2866 }
2867 }
2868 {
2869 wxPy_BEGIN_ALLOW_THREADS;
2870 _result = (wxHtmlContainerCell *)wxHtmlCell_GetParent(_arg0);
2871
2872 wxPy_END_ALLOW_THREADS;
2873 } if (_result) {
2874 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
2875 _resultobj = Py_BuildValue("s",_ptemp);
2876 } else {
2877 Py_INCREF(Py_None);
2878 _resultobj = Py_None;
2879 }
2880 return _resultobj;
2881 }
2882
2883 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2884 static PyObject *_wrap_wxHtmlCell_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2885 PyObject * _resultobj;
2886 wxHtmlCell * _arg0;
2887 wxHtmlLinkInfo * _arg1;
2888 PyObject * _argo0 = 0;
2889 PyObject * _argo1 = 0;
2890 char *_kwnames[] = { "self","link", NULL };
2891
2892 self = self;
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetLink",_kwnames,&_argo0,&_argo1))
2894 return NULL;
2895 if (_argo0) {
2896 if (_argo0 == Py_None) { _arg0 = NULL; }
2897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2899 return NULL;
2900 }
2901 }
2902 if (_argo1) {
2903 if (_argo1 == Py_None) { _arg1 = NULL; }
2904 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlLinkInfo_p")) {
2905 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2906 return NULL;
2907 }
2908 }
2909 {
2910 wxPy_BEGIN_ALLOW_THREADS;
2911 wxHtmlCell_SetLink(_arg0,*_arg1);
2912
2913 wxPy_END_ALLOW_THREADS;
2914 } Py_INCREF(Py_None);
2915 _resultobj = Py_None;
2916 return _resultobj;
2917 }
2918
2919 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2920 static PyObject *_wrap_wxHtmlCell_SetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject * _resultobj;
2922 wxHtmlCell * _arg0;
2923 wxHtmlCell * _arg1;
2924 PyObject * _argo0 = 0;
2925 PyObject * _argo1 = 0;
2926 char *_kwnames[] = { "self","cell", NULL };
2927
2928 self = self;
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetNext",_kwnames,&_argo0,&_argo1))
2930 return NULL;
2931 if (_argo0) {
2932 if (_argo0 == Py_None) { _arg0 = NULL; }
2933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2935 return NULL;
2936 }
2937 }
2938 if (_argo1) {
2939 if (_argo1 == Py_None) { _arg1 = NULL; }
2940 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
2941 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2942 return NULL;
2943 }
2944 }
2945 {
2946 wxPy_BEGIN_ALLOW_THREADS;
2947 wxHtmlCell_SetNext(_arg0,_arg1);
2948
2949 wxPy_END_ALLOW_THREADS;
2950 } Py_INCREF(Py_None);
2951 _resultobj = Py_None;
2952 return _resultobj;
2953 }
2954
2955 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2956 static PyObject *_wrap_wxHtmlCell_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
2957 PyObject * _resultobj;
2958 wxHtmlCell * _arg0;
2959 wxHtmlContainerCell * _arg1;
2960 PyObject * _argo0 = 0;
2961 PyObject * _argo1 = 0;
2962 char *_kwnames[] = { "self","p", NULL };
2963
2964 self = self;
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_SetParent",_kwnames,&_argo0,&_argo1))
2966 return NULL;
2967 if (_argo0) {
2968 if (_argo0 == Py_None) { _arg0 = NULL; }
2969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
2970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2971 return NULL;
2972 }
2973 }
2974 if (_argo1) {
2975 if (_argo1 == Py_None) { _arg1 = NULL; }
2976 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlContainerCell_p")) {
2977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2978 return NULL;
2979 }
2980 }
2981 {
2982 wxPy_BEGIN_ALLOW_THREADS;
2983 wxHtmlCell_SetParent(_arg0,_arg1);
2984
2985 wxPy_END_ALLOW_THREADS;
2986 } Py_INCREF(Py_None);
2987 _resultobj = Py_None;
2988 return _resultobj;
2989 }
2990
2991 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2992 static PyObject *_wrap_wxHtmlCell_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2993 PyObject * _resultobj;
2994 wxHtmlCell * _arg0;
2995 int _arg1;
2996 int _arg2;
2997 PyObject * _argo0 = 0;
2998 char *_kwnames[] = { "self","x","y", NULL };
2999
3000 self = self;
3001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlCell_SetPos",_kwnames,&_argo0,&_arg1,&_arg2))
3002 return NULL;
3003 if (_argo0) {
3004 if (_argo0 == Py_None) { _arg0 = NULL; }
3005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3007 return NULL;
3008 }
3009 }
3010 {
3011 wxPy_BEGIN_ALLOW_THREADS;
3012 wxHtmlCell_SetPos(_arg0,_arg1,_arg2);
3013
3014 wxPy_END_ALLOW_THREADS;
3015 } Py_INCREF(Py_None);
3016 _resultobj = Py_None;
3017 return _resultobj;
3018 }
3019
3020 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3021 static PyObject *_wrap_wxHtmlCell_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
3022 PyObject * _resultobj;
3023 wxHtmlCell * _arg0;
3024 int _arg1;
3025 PyObject * _argo0 = 0;
3026 char *_kwnames[] = { "self","w", NULL };
3027
3028 self = self;
3029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_Layout",_kwnames,&_argo0,&_arg1))
3030 return NULL;
3031 if (_argo0) {
3032 if (_argo0 == Py_None) { _arg0 = NULL; }
3033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3035 return NULL;
3036 }
3037 }
3038 {
3039 wxPy_BEGIN_ALLOW_THREADS;
3040 wxHtmlCell_Layout(_arg0,_arg1);
3041
3042 wxPy_END_ALLOW_THREADS;
3043 } Py_INCREF(Py_None);
3044 _resultobj = Py_None;
3045 return _resultobj;
3046 }
3047
3048 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3049 static PyObject *_wrap_wxHtmlCell_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject * _resultobj;
3051 wxHtmlCell * _arg0;
3052 wxDC * _arg1;
3053 int _arg2;
3054 int _arg3;
3055 int _arg4;
3056 int _arg5;
3057 PyObject * _argo0 = 0;
3058 PyObject * _argo1 = 0;
3059 char *_kwnames[] = { "self","dc","x","y","view_y1","view_y2", NULL };
3060
3061 self = self;
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii:wxHtmlCell_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3063 return NULL;
3064 if (_argo0) {
3065 if (_argo0 == Py_None) { _arg0 = NULL; }
3066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3068 return NULL;
3069 }
3070 }
3071 if (_argo1) {
3072 if (_argo1 == Py_None) { _arg1 = NULL; }
3073 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3074 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3075 return NULL;
3076 }
3077 }
3078 {
3079 wxPy_BEGIN_ALLOW_THREADS;
3080 wxHtmlCell_Draw(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3081
3082 wxPy_END_ALLOW_THREADS;
3083 } Py_INCREF(Py_None);
3084 _resultobj = Py_None;
3085 return _resultobj;
3086 }
3087
3088 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3089 static PyObject *_wrap_wxHtmlCell_DrawInvisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3090 PyObject * _resultobj;
3091 wxHtmlCell * _arg0;
3092 wxDC * _arg1;
3093 int _arg2;
3094 int _arg3;
3095 PyObject * _argo0 = 0;
3096 PyObject * _argo1 = 0;
3097 char *_kwnames[] = { "self","dc","x","y", NULL };
3098
3099 self = self;
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlCell_DrawInvisible",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
3101 return NULL;
3102 if (_argo0) {
3103 if (_argo0 == Py_None) { _arg0 = NULL; }
3104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3106 return NULL;
3107 }
3108 }
3109 if (_argo1) {
3110 if (_argo1 == Py_None) { _arg1 = NULL; }
3111 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3112 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3113 return NULL;
3114 }
3115 }
3116 {
3117 wxPy_BEGIN_ALLOW_THREADS;
3118 wxHtmlCell_DrawInvisible(_arg0,*_arg1,_arg2,_arg3);
3119
3120 wxPy_END_ALLOW_THREADS;
3121 } Py_INCREF(Py_None);
3122 _resultobj = Py_None;
3123 return _resultobj;
3124 }
3125
3126 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3127 static PyObject *_wrap_wxHtmlCell_Find(PyObject *self, PyObject *args, PyObject *kwargs) {
3128 PyObject * _resultobj;
3129 wxHtmlCell * _result;
3130 wxHtmlCell * _arg0;
3131 int _arg1;
3132 void * _arg2;
3133 PyObject * _argo0 = 0;
3134 PyObject * _argo2 = 0;
3135 char *_kwnames[] = { "self","condition","param", NULL };
3136 char _ptemp[128];
3137
3138 self = self;
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxHtmlCell_Find",_kwnames,&_argo0,&_arg1,&_argo2))
3140 return NULL;
3141 if (_argo0) {
3142 if (_argo0 == Py_None) { _arg0 = NULL; }
3143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3145 return NULL;
3146 }
3147 }
3148 if (_argo2) {
3149 if (_argo2 == Py_None) { _arg2 = NULL; }
3150 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,(char *) 0 )) {
3151 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3152 return NULL;
3153 }
3154 }
3155 {
3156 wxPy_BEGIN_ALLOW_THREADS;
3157 _result = (wxHtmlCell *)wxHtmlCell_Find(_arg0,_arg1,_arg2);
3158
3159 wxPy_END_ALLOW_THREADS;
3160 } if (_result) {
3161 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
3162 _resultobj = Py_BuildValue("s",_ptemp);
3163 } else {
3164 Py_INCREF(Py_None);
3165 _resultobj = Py_None;
3166 }
3167 return _resultobj;
3168 }
3169
3170 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3171 static PyObject *_wrap_wxHtmlCell_AdjustPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
3172 PyObject * _resultobj;
3173 bool _result;
3174 wxHtmlCell * _arg0;
3175 int * _arg1;
3176 PyObject * _argo0 = 0;
3177 PyObject * _argo1 = 0;
3178 char *_kwnames[] = { "self","pagebreak", NULL };
3179
3180 self = self;
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlCell_AdjustPagebreak",_kwnames,&_argo0,&_argo1))
3182 return NULL;
3183 if (_argo0) {
3184 if (_argo0 == Py_None) { _arg0 = NULL; }
3185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3187 return NULL;
3188 }
3189 }
3190 if (_argo1) {
3191 if (_argo1 == Py_None) { _arg1 = NULL; }
3192 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_int_p")) {
3193 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3194 return NULL;
3195 }
3196 }
3197 {
3198 wxPy_BEGIN_ALLOW_THREADS;
3199 _result = (bool )wxHtmlCell_AdjustPagebreak(_arg0,_arg1);
3200
3201 wxPy_END_ALLOW_THREADS;
3202 } _resultobj = Py_BuildValue("i",_result);
3203 return _resultobj;
3204 }
3205
3206 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3207 static PyObject *_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject * _resultobj;
3209 wxHtmlCell * _arg0;
3210 bool _arg1;
3211 PyObject * _argo0 = 0;
3212 int tempbool1;
3213 char *_kwnames[] = { "self","can", NULL };
3214
3215 self = self;
3216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames,&_argo0,&tempbool1))
3217 return NULL;
3218 if (_argo0) {
3219 if (_argo0 == Py_None) { _arg0 = NULL; }
3220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlCell_p")) {
3221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3222 return NULL;
3223 }
3224 }
3225 _arg1 = (bool ) tempbool1;
3226 {
3227 wxPy_BEGIN_ALLOW_THREADS;
3228 wxHtmlCell_SetCanLiveOnPagebreak(_arg0,_arg1);
3229
3230 wxPy_END_ALLOW_THREADS;
3231 } Py_INCREF(Py_None);
3232 _resultobj = Py_None;
3233 return _resultobj;
3234 }
3235
3236 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr) {
3237 wxHtmlWordCell *src;
3238 wxHtmlCell *dest;
3239 src = (wxHtmlWordCell *) ptr;
3240 dest = (wxHtmlCell *) src;
3241 return (void *) dest;
3242 }
3243
3244 static void *SwigwxHtmlWordCellTowxObject(void *ptr) {
3245 wxHtmlWordCell *src;
3246 wxObject *dest;
3247 src = (wxHtmlWordCell *) ptr;
3248 dest = (wxObject *) src;
3249 return (void *) dest;
3250 }
3251
3252 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3253 static PyObject *_wrap_new_wxHtmlWordCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject * _resultobj;
3255 wxHtmlWordCell * _result;
3256 wxString * _arg0;
3257 wxDC * _arg1;
3258 PyObject * _obj0 = 0;
3259 PyObject * _argo1 = 0;
3260 char *_kwnames[] = { "word","dc", NULL };
3261 char _ptemp[128];
3262
3263 self = self;
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxHtmlWordCell",_kwnames,&_obj0,&_argo1))
3265 return NULL;
3266 {
3267 #if PYTHON_API_VERSION >= 1009
3268 char* tmpPtr; int tmpSize;
3269 if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
3270 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3271 return NULL;
3272 }
3273 if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
3274 return NULL;
3275 _arg0 = new wxString(tmpPtr, tmpSize);
3276 #else
3277 if (!PyString_Check(_obj0)) {
3278 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3279 return NULL;
3280 }
3281 _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
3282 #endif
3283 }
3284 if (_argo1) {
3285 if (_argo1 == Py_None) { _arg1 = NULL; }
3286 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3287 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3288 return NULL;
3289 }
3290 }
3291 {
3292 wxPy_BEGIN_ALLOW_THREADS;
3293 _result = (wxHtmlWordCell *)new_wxHtmlWordCell(*_arg0,*_arg1);
3294
3295 wxPy_END_ALLOW_THREADS;
3296 } if (_result) {
3297 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWordCell_p");
3298 _resultobj = Py_BuildValue("s",_ptemp);
3299 } else {
3300 Py_INCREF(Py_None);
3301 _resultobj = Py_None;
3302 }
3303 {
3304 if (_obj0)
3305 delete _arg0;
3306 }
3307 return _resultobj;
3308 }
3309
3310 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr) {
3311 wxHtmlContainerCell *src;
3312 wxHtmlCell *dest;
3313 src = (wxHtmlContainerCell *) ptr;
3314 dest = (wxHtmlCell *) src;
3315 return (void *) dest;
3316 }
3317
3318 static void *SwigwxHtmlContainerCellTowxObject(void *ptr) {
3319 wxHtmlContainerCell *src;
3320 wxObject *dest;
3321 src = (wxHtmlContainerCell *) ptr;
3322 dest = (wxObject *) src;
3323 return (void *) dest;
3324 }
3325
3326 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3327 static PyObject *_wrap_new_wxHtmlContainerCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject * _resultobj;
3329 wxHtmlContainerCell * _result;
3330 wxHtmlContainerCell * _arg0;
3331 PyObject * _argo0 = 0;
3332 char *_kwnames[] = { "parent", NULL };
3333 char _ptemp[128];
3334
3335 self = self;
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlContainerCell",_kwnames,&_argo0))
3337 return NULL;
3338 if (_argo0) {
3339 if (_argo0 == Py_None) { _arg0 = NULL; }
3340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3342 return NULL;
3343 }
3344 }
3345 {
3346 wxPy_BEGIN_ALLOW_THREADS;
3347 _result = (wxHtmlContainerCell *)new_wxHtmlContainerCell(_arg0);
3348
3349 wxPy_END_ALLOW_THREADS;
3350 } if (_result) {
3351 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
3352 _resultobj = Py_BuildValue("s",_ptemp);
3353 } else {
3354 Py_INCREF(Py_None);
3355 _resultobj = Py_None;
3356 }
3357 return _resultobj;
3358 }
3359
3360 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3361 static PyObject *_wrap_wxHtmlContainerCell_InsertCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3362 PyObject * _resultobj;
3363 wxHtmlContainerCell * _arg0;
3364 wxHtmlCell * _arg1;
3365 PyObject * _argo0 = 0;
3366 PyObject * _argo1 = 0;
3367 char *_kwnames[] = { "self","cell", NULL };
3368
3369 self = self;
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_InsertCell",_kwnames,&_argo0,&_argo1))
3371 return NULL;
3372 if (_argo0) {
3373 if (_argo0 == Py_None) { _arg0 = NULL; }
3374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3376 return NULL;
3377 }
3378 }
3379 if (_argo1) {
3380 if (_argo1 == Py_None) { _arg1 = NULL; }
3381 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
3382 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3383 return NULL;
3384 }
3385 }
3386 {
3387 wxPy_BEGIN_ALLOW_THREADS;
3388 wxHtmlContainerCell_InsertCell(_arg0,_arg1);
3389
3390 wxPy_END_ALLOW_THREADS;
3391 } Py_INCREF(Py_None);
3392 _resultobj = Py_None;
3393 return _resultobj;
3394 }
3395
3396 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3397 static PyObject *_wrap_wxHtmlContainerCell_SetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject * _resultobj;
3399 wxHtmlContainerCell * _arg0;
3400 int _arg1;
3401 PyObject * _argo0 = 0;
3402 char *_kwnames[] = { "self","al", NULL };
3403
3404 self = self;
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames,&_argo0,&_arg1))
3406 return NULL;
3407 if (_argo0) {
3408 if (_argo0 == Py_None) { _arg0 = NULL; }
3409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3411 return NULL;
3412 }
3413 }
3414 {
3415 wxPy_BEGIN_ALLOW_THREADS;
3416 wxHtmlContainerCell_SetAlignHor(_arg0,_arg1);
3417
3418 wxPy_END_ALLOW_THREADS;
3419 } Py_INCREF(Py_None);
3420 _resultobj = Py_None;
3421 return _resultobj;
3422 }
3423
3424 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3425 static PyObject *_wrap_wxHtmlContainerCell_GetAlignHor(PyObject *self, PyObject *args, PyObject *kwargs) {
3426 PyObject * _resultobj;
3427 int _result;
3428 wxHtmlContainerCell * _arg0;
3429 PyObject * _argo0 = 0;
3430 char *_kwnames[] = { "self", NULL };
3431
3432 self = self;
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignHor",_kwnames,&_argo0))
3434 return NULL;
3435 if (_argo0) {
3436 if (_argo0 == Py_None) { _arg0 = NULL; }
3437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3439 return NULL;
3440 }
3441 }
3442 {
3443 wxPy_BEGIN_ALLOW_THREADS;
3444 _result = (int )wxHtmlContainerCell_GetAlignHor(_arg0);
3445
3446 wxPy_END_ALLOW_THREADS;
3447 } _resultobj = Py_BuildValue("i",_result);
3448 return _resultobj;
3449 }
3450
3451 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3452 static PyObject *_wrap_wxHtmlContainerCell_SetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject * _resultobj;
3454 wxHtmlContainerCell * _arg0;
3455 int _arg1;
3456 PyObject * _argo0 = 0;
3457 char *_kwnames[] = { "self","al", NULL };
3458
3459 self = self;
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames,&_argo0,&_arg1))
3461 return NULL;
3462 if (_argo0) {
3463 if (_argo0 == Py_None) { _arg0 = NULL; }
3464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3466 return NULL;
3467 }
3468 }
3469 {
3470 wxPy_BEGIN_ALLOW_THREADS;
3471 wxHtmlContainerCell_SetAlignVer(_arg0,_arg1);
3472
3473 wxPy_END_ALLOW_THREADS;
3474 } Py_INCREF(Py_None);
3475 _resultobj = Py_None;
3476 return _resultobj;
3477 }
3478
3479 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3480 static PyObject *_wrap_wxHtmlContainerCell_GetAlignVer(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject * _resultobj;
3482 int _result;
3483 wxHtmlContainerCell * _arg0;
3484 PyObject * _argo0 = 0;
3485 char *_kwnames[] = { "self", NULL };
3486
3487 self = self;
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetAlignVer",_kwnames,&_argo0))
3489 return NULL;
3490 if (_argo0) {
3491 if (_argo0 == Py_None) { _arg0 = NULL; }
3492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3494 return NULL;
3495 }
3496 }
3497 {
3498 wxPy_BEGIN_ALLOW_THREADS;
3499 _result = (int )wxHtmlContainerCell_GetAlignVer(_arg0);
3500
3501 wxPy_END_ALLOW_THREADS;
3502 } _resultobj = Py_BuildValue("i",_result);
3503 return _resultobj;
3504 }
3505
3506 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3507 static PyObject *_wrap_wxHtmlContainerCell_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3508 PyObject * _resultobj;
3509 wxHtmlContainerCell * _arg0;
3510 int _arg1;
3511 int _arg2;
3512 int _arg3 = (int ) (wxHTML_UNITS_PIXELS);
3513 PyObject * _argo0 = 0;
3514 char *_kwnames[] = { "self","i","what","units", NULL };
3515
3516 self = self;
3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
3518 return NULL;
3519 if (_argo0) {
3520 if (_argo0 == Py_None) { _arg0 = NULL; }
3521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3523 return NULL;
3524 }
3525 }
3526 {
3527 wxPy_BEGIN_ALLOW_THREADS;
3528 wxHtmlContainerCell_SetIndent(_arg0,_arg1,_arg2,_arg3);
3529
3530 wxPy_END_ALLOW_THREADS;
3531 } Py_INCREF(Py_None);
3532 _resultobj = Py_None;
3533 return _resultobj;
3534 }
3535
3536 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3537 static PyObject *_wrap_wxHtmlContainerCell_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject * _resultobj;
3539 int _result;
3540 wxHtmlContainerCell * _arg0;
3541 int _arg1;
3542 PyObject * _argo0 = 0;
3543 char *_kwnames[] = { "self","ind", NULL };
3544
3545 self = self;
3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndent",_kwnames,&_argo0,&_arg1))
3547 return NULL;
3548 if (_argo0) {
3549 if (_argo0 == Py_None) { _arg0 = NULL; }
3550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3552 return NULL;
3553 }
3554 }
3555 {
3556 wxPy_BEGIN_ALLOW_THREADS;
3557 _result = (int )wxHtmlContainerCell_GetIndent(_arg0,_arg1);
3558
3559 wxPy_END_ALLOW_THREADS;
3560 } _resultobj = Py_BuildValue("i",_result);
3561 return _resultobj;
3562 }
3563
3564 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3565 static PyObject *_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject *self, PyObject *args, PyObject *kwargs) {
3566 PyObject * _resultobj;
3567 int _result;
3568 wxHtmlContainerCell * _arg0;
3569 int _arg1;
3570 PyObject * _argo0 = 0;
3571 char *_kwnames[] = { "self","ind", NULL };
3572
3573 self = self;
3574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames,&_argo0,&_arg1))
3575 return NULL;
3576 if (_argo0) {
3577 if (_argo0 == Py_None) { _arg0 = NULL; }
3578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3580 return NULL;
3581 }
3582 }
3583 {
3584 wxPy_BEGIN_ALLOW_THREADS;
3585 _result = (int )wxHtmlContainerCell_GetIndentUnits(_arg0,_arg1);
3586
3587 wxPy_END_ALLOW_THREADS;
3588 } _resultobj = Py_BuildValue("i",_result);
3589 return _resultobj;
3590 }
3591
3592 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3593 static PyObject *_wrap_wxHtmlContainerCell_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
3594 PyObject * _resultobj;
3595 wxHtmlContainerCell * _arg0;
3596 wxHtmlTag * _arg1;
3597 PyObject * _argo0 = 0;
3598 PyObject * _argo1 = 0;
3599 char *_kwnames[] = { "self","tag", NULL };
3600
3601 self = self;
3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetAlign",_kwnames,&_argo0,&_argo1))
3603 return NULL;
3604 if (_argo0) {
3605 if (_argo0 == Py_None) { _arg0 = NULL; }
3606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3608 return NULL;
3609 }
3610 }
3611 if (_argo1) {
3612 if (_argo1 == Py_None) { _arg1 = NULL; }
3613 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
3614 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3615 return NULL;
3616 }
3617 }
3618 {
3619 wxPy_BEGIN_ALLOW_THREADS;
3620 wxHtmlContainerCell_SetAlign(_arg0,*_arg1);
3621
3622 wxPy_END_ALLOW_THREADS;
3623 } Py_INCREF(Py_None);
3624 _resultobj = Py_None;
3625 return _resultobj;
3626 }
3627
3628 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3629 static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
3630 PyObject * _resultobj;
3631 wxHtmlContainerCell * _arg0;
3632 int _arg1;
3633 int _arg2;
3634 PyObject * _argo0 = 0;
3635 char *_kwnames[] = { "self","w","units", NULL };
3636
3637 self = self;
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames,&_argo0,&_arg1,&_arg2))
3639 return NULL;
3640 if (_argo0) {
3641 if (_argo0 == Py_None) { _arg0 = NULL; }
3642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3644 return NULL;
3645 }
3646 }
3647 {
3648 wxPy_BEGIN_ALLOW_THREADS;
3649 wxHtmlContainerCell_SetWidthFloat(_arg0,_arg1,_arg2);
3650
3651 wxPy_END_ALLOW_THREADS;
3652 } Py_INCREF(Py_None);
3653 _resultobj = Py_None;
3654 return _resultobj;
3655 }
3656
3657 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3658 static PyObject *_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject * _resultobj;
3660 wxHtmlContainerCell * _arg0;
3661 wxHtmlTag * _arg1;
3662 PyObject * _argo0 = 0;
3663 PyObject * _argo1 = 0;
3664 char *_kwnames[] = { "self","tag", NULL };
3665
3666 self = self;
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames,&_argo0,&_argo1))
3668 return NULL;
3669 if (_argo0) {
3670 if (_argo0 == Py_None) { _arg0 = NULL; }
3671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3673 return NULL;
3674 }
3675 }
3676 if (_argo1) {
3677 if (_argo1 == Py_None) { _arg1 = NULL; }
3678 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
3679 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3680 return NULL;
3681 }
3682 }
3683 {
3684 wxPy_BEGIN_ALLOW_THREADS;
3685 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0,*_arg1);
3686
3687 wxPy_END_ALLOW_THREADS;
3688 } Py_INCREF(Py_None);
3689 _resultobj = Py_None;
3690 return _resultobj;
3691 }
3692
3693 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3694 static PyObject *_wrap_wxHtmlContainerCell_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3695 PyObject * _resultobj;
3696 wxHtmlContainerCell * _arg0;
3697 int _arg1;
3698 int _arg2 = (int ) (wxHTML_ALIGN_TOP);
3699 PyObject * _argo0 = 0;
3700 char *_kwnames[] = { "self","h","align", NULL };
3701
3702 self = self;
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames,&_argo0,&_arg1,&_arg2))
3704 return NULL;
3705 if (_argo0) {
3706 if (_argo0 == Py_None) { _arg0 = NULL; }
3707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3709 return NULL;
3710 }
3711 }
3712 {
3713 wxPy_BEGIN_ALLOW_THREADS;
3714 wxHtmlContainerCell_SetMinHeight(_arg0,_arg1,_arg2);
3715
3716 wxPy_END_ALLOW_THREADS;
3717 } Py_INCREF(Py_None);
3718 _resultobj = Py_None;
3719 return _resultobj;
3720 }
3721
3722 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3723 static PyObject *_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
3724 PyObject * _resultobj;
3725 wxHtmlContainerCell * _arg0;
3726 wxColour * _arg1;
3727 PyObject * _argo0 = 0;
3728 wxColour temp;
3729 PyObject * _obj1 = 0;
3730 char *_kwnames[] = { "self","clr", NULL };
3731
3732 self = self;
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
3734 return NULL;
3735 if (_argo0) {
3736 if (_argo0 == Py_None) { _arg0 = NULL; }
3737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3739 return NULL;
3740 }
3741 }
3742 {
3743 _arg1 = &temp;
3744 if (! wxColour_helper(_obj1, &_arg1))
3745 return NULL;
3746 }
3747 {
3748 wxPy_BEGIN_ALLOW_THREADS;
3749 wxHtmlContainerCell_SetBackgroundColour(_arg0,*_arg1);
3750
3751 wxPy_END_ALLOW_THREADS;
3752 } Py_INCREF(Py_None);
3753 _resultobj = Py_None;
3754 return _resultobj;
3755 }
3756
3757 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3758 static PyObject *_wrap_wxHtmlContainerCell_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject * _resultobj;
3760 wxHtmlContainerCell * _arg0;
3761 wxColour * _arg1;
3762 wxColour * _arg2;
3763 PyObject * _argo0 = 0;
3764 wxColour temp;
3765 PyObject * _obj1 = 0;
3766 wxColour temp0;
3767 PyObject * _obj2 = 0;
3768 char *_kwnames[] = { "self","clr1","clr2", NULL };
3769
3770 self = self;
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlContainerCell_SetBorder",_kwnames,&_argo0,&_obj1,&_obj2))
3772 return NULL;
3773 if (_argo0) {
3774 if (_argo0 == Py_None) { _arg0 = NULL; }
3775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3777 return NULL;
3778 }
3779 }
3780 {
3781 _arg1 = &temp;
3782 if (! wxColour_helper(_obj1, &_arg1))
3783 return NULL;
3784 }
3785 {
3786 _arg2 = &temp0;
3787 if (! wxColour_helper(_obj2, &_arg2))
3788 return NULL;
3789 }
3790 {
3791 wxPy_BEGIN_ALLOW_THREADS;
3792 wxHtmlContainerCell_SetBorder(_arg0,*_arg1,*_arg2);
3793
3794 wxPy_END_ALLOW_THREADS;
3795 } Py_INCREF(Py_None);
3796 _resultobj = Py_None;
3797 return _resultobj;
3798 }
3799
3800 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3801 static PyObject *_wrap_wxHtmlContainerCell_GetFirstCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3802 PyObject * _resultobj;
3803 wxHtmlCell * _result;
3804 wxHtmlContainerCell * _arg0;
3805 PyObject * _argo0 = 0;
3806 char *_kwnames[] = { "self", NULL };
3807 char _ptemp[128];
3808
3809 self = self;
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlContainerCell_GetFirstCell",_kwnames,&_argo0))
3811 return NULL;
3812 if (_argo0) {
3813 if (_argo0 == Py_None) { _arg0 = NULL; }
3814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlContainerCell_p")) {
3815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3816 return NULL;
3817 }
3818 }
3819 {
3820 wxPy_BEGIN_ALLOW_THREADS;
3821 _result = (wxHtmlCell *)wxHtmlContainerCell_GetFirstCell(_arg0);
3822
3823 wxPy_END_ALLOW_THREADS;
3824 } if (_result) {
3825 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlCell_p");
3826 _resultobj = Py_BuildValue("s",_ptemp);
3827 } else {
3828 Py_INCREF(Py_None);
3829 _resultobj = Py_None;
3830 }
3831 return _resultobj;
3832 }
3833
3834 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr) {
3835 wxHtmlColourCell *src;
3836 wxHtmlCell *dest;
3837 src = (wxHtmlColourCell *) ptr;
3838 dest = (wxHtmlCell *) src;
3839 return (void *) dest;
3840 }
3841
3842 static void *SwigwxHtmlColourCellTowxObject(void *ptr) {
3843 wxHtmlColourCell *src;
3844 wxObject *dest;
3845 src = (wxHtmlColourCell *) ptr;
3846 dest = (wxObject *) src;
3847 return (void *) dest;
3848 }
3849
3850 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3851 static PyObject *_wrap_new_wxHtmlColourCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject * _resultobj;
3853 wxHtmlColourCell * _result;
3854 wxColour * _arg0;
3855 int _arg1 = (int ) (wxHTML_CLR_FOREGROUND);
3856 wxColour temp;
3857 PyObject * _obj0 = 0;
3858 char *_kwnames[] = { "clr","flags", NULL };
3859 char _ptemp[128];
3860
3861 self = self;
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlColourCell",_kwnames,&_obj0,&_arg1))
3863 return NULL;
3864 {
3865 _arg0 = &temp;
3866 if (! wxColour_helper(_obj0, &_arg0))
3867 return NULL;
3868 }
3869 {
3870 wxPy_BEGIN_ALLOW_THREADS;
3871 _result = (wxHtmlColourCell *)new_wxHtmlColourCell(*_arg0,_arg1);
3872
3873 wxPy_END_ALLOW_THREADS;
3874 } if (_result) {
3875 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlColourCell_p");
3876 _resultobj = Py_BuildValue("s",_ptemp);
3877 } else {
3878 Py_INCREF(Py_None);
3879 _resultobj = Py_None;
3880 }
3881 return _resultobj;
3882 }
3883
3884 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr) {
3885 wxHtmlFontCell *src;
3886 wxHtmlCell *dest;
3887 src = (wxHtmlFontCell *) ptr;
3888 dest = (wxHtmlCell *) src;
3889 return (void *) dest;
3890 }
3891
3892 static void *SwigwxHtmlFontCellTowxObject(void *ptr) {
3893 wxHtmlFontCell *src;
3894 wxObject *dest;
3895 src = (wxHtmlFontCell *) ptr;
3896 dest = (wxObject *) src;
3897 return (void *) dest;
3898 }
3899
3900 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3901 static PyObject *_wrap_new_wxHtmlFontCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject * _resultobj;
3903 wxHtmlFontCell * _result;
3904 wxFont * _arg0;
3905 PyObject * _argo0 = 0;
3906 char *_kwnames[] = { "font", NULL };
3907 char _ptemp[128];
3908
3909 self = self;
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlFontCell",_kwnames,&_argo0))
3911 return NULL;
3912 if (_argo0) {
3913 if (_argo0 == Py_None) { _arg0 = NULL; }
3914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFont_p")) {
3915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3916 return NULL;
3917 }
3918 }
3919 {
3920 wxPy_BEGIN_ALLOW_THREADS;
3921 _result = (wxHtmlFontCell *)new_wxHtmlFontCell(_arg0);
3922
3923 wxPy_END_ALLOW_THREADS;
3924 } if (_result) {
3925 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlFontCell_p");
3926 _resultobj = Py_BuildValue("s",_ptemp);
3927 } else {
3928 Py_INCREF(Py_None);
3929 _resultobj = Py_None;
3930 }
3931 return _resultobj;
3932 }
3933
3934 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr) {
3935 wxHtmlWidgetCell *src;
3936 wxHtmlCell *dest;
3937 src = (wxHtmlWidgetCell *) ptr;
3938 dest = (wxHtmlCell *) src;
3939 return (void *) dest;
3940 }
3941
3942 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr) {
3943 wxHtmlWidgetCell *src;
3944 wxObject *dest;
3945 src = (wxHtmlWidgetCell *) ptr;
3946 dest = (wxObject *) src;
3947 return (void *) dest;
3948 }
3949
3950 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3951 static PyObject *_wrap_new_wxHtmlWidgetCell(PyObject *self, PyObject *args, PyObject *kwargs) {
3952 PyObject * _resultobj;
3953 wxHtmlWidgetCell * _result;
3954 wxWindow * _arg0;
3955 int _arg1 = (int ) 0;
3956 PyObject * _argo0 = 0;
3957 char *_kwnames[] = { "wnd","w", NULL };
3958 char _ptemp[128];
3959
3960 self = self;
3961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxHtmlWidgetCell",_kwnames,&_argo0,&_arg1))
3962 return NULL;
3963 if (_argo0) {
3964 if (_argo0 == Py_None) { _arg0 = NULL; }
3965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3967 return NULL;
3968 }
3969 }
3970 {
3971 wxPy_BEGIN_ALLOW_THREADS;
3972 _result = (wxHtmlWidgetCell *)new_wxHtmlWidgetCell(_arg0,_arg1);
3973
3974 wxPy_END_ALLOW_THREADS;
3975 } if (_result) {
3976 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWidgetCell_p");
3977 _resultobj = Py_BuildValue("s",_ptemp);
3978 } else {
3979 Py_INCREF(Py_None);
3980 _resultobj = Py_None;
3981 }
3982 return _resultobj;
3983 }
3984
3985 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr) {
3986 wxPyHtmlWindow *src;
3987 wxScrolledWindow *dest;
3988 src = (wxPyHtmlWindow *) ptr;
3989 dest = (wxScrolledWindow *) src;
3990 return (void *) dest;
3991 }
3992
3993 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr) {
3994 wxPyHtmlWindow *src;
3995 wxPanel *dest;
3996 src = (wxPyHtmlWindow *) ptr;
3997 dest = (wxPanel *) src;
3998 return (void *) dest;
3999 }
4000
4001 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr) {
4002 wxPyHtmlWindow *src;
4003 wxWindow *dest;
4004 src = (wxPyHtmlWindow *) ptr;
4005 dest = (wxWindow *) src;
4006 return (void *) dest;
4007 }
4008
4009 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr) {
4010 wxPyHtmlWindow *src;
4011 wxEvtHandler *dest;
4012 src = (wxPyHtmlWindow *) ptr;
4013 dest = (wxEvtHandler *) src;
4014 return (void *) dest;
4015 }
4016
4017 static void *SwigwxPyHtmlWindowTowxObject(void *ptr) {
4018 wxPyHtmlWindow *src;
4019 wxObject *dest;
4020 src = (wxPyHtmlWindow *) ptr;
4021 dest = (wxObject *) src;
4022 return (void *) dest;
4023 }
4024
4025 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4026 static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4027 PyObject * _resultobj;
4028 wxPyHtmlWindow * _result;
4029 wxWindow * _arg0;
4030 int _arg1 = (int ) -1;
4031 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4032 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4033 int _arg4 = (int ) wxHW_SCROLLBAR_AUTO;
4034 char * _arg5 = (char *) "htmlWindow";
4035 PyObject * _argo0 = 0;
4036 wxPoint temp;
4037 PyObject * _obj2 = 0;
4038 wxSize temp0;
4039 PyObject * _obj3 = 0;
4040 char *_kwnames[] = { "parent","id","pos","size","flags","name", NULL };
4041 char _ptemp[128];
4042
4043 self = self;
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOis:new_wxHtmlWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
4045 return NULL;
4046 if (_argo0) {
4047 if (_argo0 == Py_None) { _arg0 = NULL; }
4048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4050 return NULL;
4051 }
4052 }
4053 if (_obj2)
4054 {
4055 _arg2 = &temp;
4056 if (! wxPoint_helper(_obj2, &_arg2))
4057 return NULL;
4058 }
4059 if (_obj3)
4060 {
4061 _arg3 = &temp0;
4062 if (! wxSize_helper(_obj3, &_arg3))
4063 return NULL;
4064 }
4065 {
4066 wxPy_BEGIN_ALLOW_THREADS;
4067 _result = (wxPyHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4068
4069 wxPy_END_ALLOW_THREADS;
4070 } if (_result) {
4071 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p");
4072 _resultobj = Py_BuildValue("s",_ptemp);
4073 } else {
4074 Py_INCREF(Py_None);
4075 _resultobj = Py_None;
4076 }
4077 return _resultobj;
4078 }
4079
4080 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4081 static PyObject *_wrap_new_wxPreHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject * _resultobj;
4083 wxPyHtmlWindow * _result;
4084 char *_kwnames[] = { NULL };
4085 char _ptemp[128];
4086
4087 self = self;
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreHtmlWindow",_kwnames))
4089 return NULL;
4090 {
4091 wxPy_BEGIN_ALLOW_THREADS;
4092 _result = (wxPyHtmlWindow *)new_wxPreHtmlWindow();
4093
4094 wxPy_END_ALLOW_THREADS;
4095 } if (_result) {
4096 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p");
4097 _resultobj = Py_BuildValue("s",_ptemp);
4098 } else {
4099 Py_INCREF(Py_None);
4100 _resultobj = Py_None;
4101 }
4102 return _resultobj;
4103 }
4104
4105 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4106 static PyObject *_wrap_wxHtmlWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject * _resultobj;
4108 bool _result;
4109 wxPyHtmlWindow * _arg0;
4110 wxWindow * _arg1;
4111 int _arg2 = (int ) -1;
4112 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4113 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4114 int _arg5 = (int ) wxHW_SCROLLBAR_AUTO;
4115 char * _arg6 = (char *) "htmlWindow";
4116 PyObject * _argo0 = 0;
4117 PyObject * _argo1 = 0;
4118 wxPoint temp;
4119 PyObject * _obj3 = 0;
4120 wxSize temp0;
4121 PyObject * _obj4 = 0;
4122 char *_kwnames[] = { "self","parent","id","pos","size","flags","name", NULL };
4123
4124 self = self;
4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOis:wxHtmlWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
4126 return NULL;
4127 if (_argo0) {
4128 if (_argo0 == Py_None) { _arg0 = NULL; }
4129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4131 return NULL;
4132 }
4133 }
4134 if (_argo1) {
4135 if (_argo1 == Py_None) { _arg1 = NULL; }
4136 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4137 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4138 return NULL;
4139 }
4140 }
4141 if (_obj3)
4142 {
4143 _arg3 = &temp;
4144 if (! wxPoint_helper(_obj3, &_arg3))
4145 return NULL;
4146 }
4147 if (_obj4)
4148 {
4149 _arg4 = &temp0;
4150 if (! wxSize_helper(_obj4, &_arg4))
4151 return NULL;
4152 }
4153 {
4154 wxPy_BEGIN_ALLOW_THREADS;
4155 _result = (bool )wxHtmlWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
4156
4157 wxPy_END_ALLOW_THREADS;
4158 } _resultobj = Py_BuildValue("i",_result);
4159 return _resultobj;
4160 }
4161
4162 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4163 static PyObject *_wrap_wxHtmlWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4164 PyObject * _resultobj;
4165 wxPyHtmlWindow * _arg0;
4166 PyObject * _arg1;
4167 PyObject * _arg2;
4168 PyObject * _argo0 = 0;
4169 PyObject * _obj1 = 0;
4170 PyObject * _obj2 = 0;
4171 char *_kwnames[] = { "self","self","_class", NULL };
4172
4173 self = self;
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4175 return NULL;
4176 if (_argo0) {
4177 if (_argo0 == Py_None) { _arg0 = NULL; }
4178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4180 return NULL;
4181 }
4182 }
4183 {
4184 _arg1 = _obj1;
4185 }
4186 {
4187 _arg2 = _obj2;
4188 }
4189 {
4190 wxPy_BEGIN_ALLOW_THREADS;
4191 wxHtmlWindow__setCallbackInfo(_arg0,_arg1,_arg2);
4192
4193 wxPy_END_ALLOW_THREADS;
4194 } Py_INCREF(Py_None);
4195 _resultobj = Py_None;
4196 return _resultobj;
4197 }
4198
4199 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4200 static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4201 PyObject * _resultobj;
4202 bool _result;
4203 wxPyHtmlWindow * _arg0;
4204 wxString * _arg1;
4205 PyObject * _argo0 = 0;
4206 PyObject * _obj1 = 0;
4207 char *_kwnames[] = { "self","source", NULL };
4208
4209 self = self;
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_SetPage",_kwnames,&_argo0,&_obj1))
4211 return NULL;
4212 if (_argo0) {
4213 if (_argo0 == Py_None) { _arg0 = NULL; }
4214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4216 return NULL;
4217 }
4218 }
4219 {
4220 #if PYTHON_API_VERSION >= 1009
4221 char* tmpPtr; int tmpSize;
4222 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4223 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4224 return NULL;
4225 }
4226 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4227 return NULL;
4228 _arg1 = new wxString(tmpPtr, tmpSize);
4229 #else
4230 if (!PyString_Check(_obj1)) {
4231 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4232 return NULL;
4233 }
4234 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4235 #endif
4236 }
4237 {
4238 wxPy_BEGIN_ALLOW_THREADS;
4239 _result = (bool )wxHtmlWindow_SetPage(_arg0,*_arg1);
4240
4241 wxPy_END_ALLOW_THREADS;
4242 } _resultobj = Py_BuildValue("i",_result);
4243 {
4244 if (_obj1)
4245 delete _arg1;
4246 }
4247 return _resultobj;
4248 }
4249
4250 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4251 static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4252 PyObject * _resultobj;
4253 bool _result;
4254 wxPyHtmlWindow * _arg0;
4255 wxString * _arg1;
4256 PyObject * _argo0 = 0;
4257 PyObject * _obj1 = 0;
4258 char *_kwnames[] = { "self","location", NULL };
4259
4260 self = self;
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_LoadPage",_kwnames,&_argo0,&_obj1))
4262 return NULL;
4263 if (_argo0) {
4264 if (_argo0 == Py_None) { _arg0 = NULL; }
4265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4267 return NULL;
4268 }
4269 }
4270 {
4271 #if PYTHON_API_VERSION >= 1009
4272 char* tmpPtr; int tmpSize;
4273 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4274 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4275 return NULL;
4276 }
4277 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4278 return NULL;
4279 _arg1 = new wxString(tmpPtr, tmpSize);
4280 #else
4281 if (!PyString_Check(_obj1)) {
4282 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4283 return NULL;
4284 }
4285 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4286 #endif
4287 }
4288 {
4289 wxPy_BEGIN_ALLOW_THREADS;
4290 _result = (bool )wxHtmlWindow_LoadPage(_arg0,*_arg1);
4291
4292 wxPy_END_ALLOW_THREADS;
4293 } _resultobj = Py_BuildValue("i",_result);
4294 {
4295 if (_obj1)
4296 delete _arg1;
4297 }
4298 return _resultobj;
4299 }
4300
4301 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4302 static PyObject *_wrap_wxHtmlWindow_AppendToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4303 PyObject * _resultobj;
4304 bool _result;
4305 wxPyHtmlWindow * _arg0;
4306 wxString * _arg1;
4307 PyObject * _argo0 = 0;
4308 PyObject * _obj1 = 0;
4309 char *_kwnames[] = { "self","source", NULL };
4310
4311 self = self;
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_AppendToPage",_kwnames,&_argo0,&_obj1))
4313 return NULL;
4314 if (_argo0) {
4315 if (_argo0 == Py_None) { _arg0 = NULL; }
4316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4318 return NULL;
4319 }
4320 }
4321 {
4322 #if PYTHON_API_VERSION >= 1009
4323 char* tmpPtr; int tmpSize;
4324 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4325 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4326 return NULL;
4327 }
4328 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4329 return NULL;
4330 _arg1 = new wxString(tmpPtr, tmpSize);
4331 #else
4332 if (!PyString_Check(_obj1)) {
4333 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4334 return NULL;
4335 }
4336 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4337 #endif
4338 }
4339 {
4340 wxPy_BEGIN_ALLOW_THREADS;
4341 _result = (bool )wxHtmlWindow_AppendToPage(_arg0,*_arg1);
4342
4343 wxPy_END_ALLOW_THREADS;
4344 } _resultobj = Py_BuildValue("i",_result);
4345 {
4346 if (_obj1)
4347 delete _arg1;
4348 }
4349 return _resultobj;
4350 }
4351
4352 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4353 static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
4354 PyObject * _resultobj;
4355 wxString * _result;
4356 wxPyHtmlWindow * _arg0;
4357 PyObject * _argo0 = 0;
4358 char *_kwnames[] = { "self", NULL };
4359
4360 self = self;
4361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPage",_kwnames,&_argo0))
4362 return NULL;
4363 if (_argo0) {
4364 if (_argo0 == Py_None) { _arg0 = NULL; }
4365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4367 return NULL;
4368 }
4369 }
4370 {
4371 wxPy_BEGIN_ALLOW_THREADS;
4372 _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0));
4373
4374 wxPy_END_ALLOW_THREADS;
4375 }{
4376 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4377 }
4378 {
4379 delete _result;
4380 }
4381 return _resultobj;
4382 }
4383
4384 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4385 static PyObject *_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
4386 PyObject * _resultobj;
4387 wxString * _result;
4388 wxPyHtmlWindow * _arg0;
4389 PyObject * _argo0 = 0;
4390 char *_kwnames[] = { "self", NULL };
4391
4392 self = self;
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames,&_argo0))
4394 return NULL;
4395 if (_argo0) {
4396 if (_argo0 == Py_None) { _arg0 = NULL; }
4397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4399 return NULL;
4400 }
4401 }
4402 {
4403 wxPy_BEGIN_ALLOW_THREADS;
4404 _result = new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0));
4405
4406 wxPy_END_ALLOW_THREADS;
4407 }{
4408 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4409 }
4410 {
4411 delete _result;
4412 }
4413 return _resultobj;
4414 }
4415
4416 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4417 static PyObject *_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject * _resultobj;
4419 wxString * _result;
4420 wxPyHtmlWindow * _arg0;
4421 PyObject * _argo0 = 0;
4422 char *_kwnames[] = { "self", NULL };
4423
4424 self = self;
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames,&_argo0))
4426 return NULL;
4427 if (_argo0) {
4428 if (_argo0 == Py_None) { _arg0 = NULL; }
4429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4431 return NULL;
4432 }
4433 }
4434 {
4435 wxPy_BEGIN_ALLOW_THREADS;
4436 _result = new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0));
4437
4438 wxPy_END_ALLOW_THREADS;
4439 }{
4440 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4441 }
4442 {
4443 delete _result;
4444 }
4445 return _resultobj;
4446 }
4447
4448 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4449 static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject * _resultobj;
4451 wxPyHtmlWindow * _arg0;
4452 wxFrame * _arg1;
4453 char * _arg2;
4454 PyObject * _argo0 = 0;
4455 PyObject * _argo1 = 0;
4456 char *_kwnames[] = { "self","frame","format", NULL };
4457
4458 self = self;
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames,&_argo0,&_argo1,&_arg2))
4460 return NULL;
4461 if (_argo0) {
4462 if (_argo0 == Py_None) { _arg0 = NULL; }
4463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4465 return NULL;
4466 }
4467 }
4468 if (_argo1) {
4469 if (_argo1 == Py_None) { _arg1 = NULL; }
4470 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
4471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4472 return NULL;
4473 }
4474 }
4475 {
4476 wxPy_BEGIN_ALLOW_THREADS;
4477 wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,_arg2);
4478
4479 wxPy_END_ALLOW_THREADS;
4480 } Py_INCREF(Py_None);
4481 _resultobj = Py_None;
4482 return _resultobj;
4483 }
4484
4485 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4486 static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4487 PyObject * _resultobj;
4488 wxFrame * _result;
4489 wxPyHtmlWindow * _arg0;
4490 PyObject * _argo0 = 0;
4491 char *_kwnames[] = { "self", NULL };
4492
4493 self = self;
4494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetRelatedFrame",_kwnames,&_argo0))
4495 return NULL;
4496 if (_argo0) {
4497 if (_argo0 == Py_None) { _arg0 = NULL; }
4498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4500 return NULL;
4501 }
4502 }
4503 {
4504 wxPy_BEGIN_ALLOW_THREADS;
4505 _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0);
4506
4507 wxPy_END_ALLOW_THREADS;
4508 }{ _resultobj = wxPyMake_wxObject(_result); }
4509 return _resultobj;
4510 }
4511
4512 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4513 static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4514 PyObject * _resultobj;
4515 wxPyHtmlWindow * _arg0;
4516 int _arg1;
4517 PyObject * _argo0 = 0;
4518 char *_kwnames[] = { "self","bar", NULL };
4519
4520 self = self;
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames,&_argo0,&_arg1))
4522 return NULL;
4523 if (_argo0) {
4524 if (_argo0 == Py_None) { _arg0 = NULL; }
4525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4527 return NULL;
4528 }
4529 }
4530 {
4531 wxPy_BEGIN_ALLOW_THREADS;
4532 wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1);
4533
4534 wxPy_END_ALLOW_THREADS;
4535 } Py_INCREF(Py_None);
4536 _resultobj = Py_None;
4537 return _resultobj;
4538 }
4539
4540 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow *self,wxString normal_face,wxString fixed_face,PyObject * sizes) {
4541 int* temp = int_LIST_helper(sizes);
4542 if (temp) {
4543 self->SetFonts(normal_face, fixed_face, temp);
4544 delete [] temp;
4545 }
4546 }
4547 static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
4548 PyObject * _resultobj;
4549 wxPyHtmlWindow * _arg0;
4550 wxString * _arg1;
4551 wxString * _arg2;
4552 PyObject * _arg3;
4553 PyObject * _argo0 = 0;
4554 PyObject * _obj1 = 0;
4555 PyObject * _obj2 = 0;
4556 PyObject * _obj3 = 0;
4557 char *_kwnames[] = { "self","normal_face","fixed_face","sizes", NULL };
4558
4559 self = self;
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
4561 return NULL;
4562 if (_argo0) {
4563 if (_argo0 == Py_None) { _arg0 = NULL; }
4564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4566 return NULL;
4567 }
4568 }
4569 {
4570 #if PYTHON_API_VERSION >= 1009
4571 char* tmpPtr; int tmpSize;
4572 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4573 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4574 return NULL;
4575 }
4576 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4577 return NULL;
4578 _arg1 = new wxString(tmpPtr, tmpSize);
4579 #else
4580 if (!PyString_Check(_obj1)) {
4581 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4582 return NULL;
4583 }
4584 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4585 #endif
4586 }
4587 {
4588 #if PYTHON_API_VERSION >= 1009
4589 char* tmpPtr; int tmpSize;
4590 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4591 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4592 return NULL;
4593 }
4594 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4595 return NULL;
4596 _arg2 = new wxString(tmpPtr, tmpSize);
4597 #else
4598 if (!PyString_Check(_obj2)) {
4599 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4600 return NULL;
4601 }
4602 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4603 #endif
4604 }
4605 {
4606 _arg3 = _obj3;
4607 }
4608 {
4609 wxPy_BEGIN_ALLOW_THREADS;
4610 wxPyHtmlWindow_SetFonts(_arg0,*_arg1,*_arg2,_arg3);
4611
4612 wxPy_END_ALLOW_THREADS;
4613 } Py_INCREF(Py_None);
4614 _resultobj = Py_None;
4615 {
4616 if (_obj1)
4617 delete _arg1;
4618 }
4619 {
4620 if (_obj2)
4621 delete _arg2;
4622 }
4623 return _resultobj;
4624 }
4625
4626 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4627 static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject * _resultobj;
4629 wxPyHtmlWindow * _arg0;
4630 wxString * _arg1;
4631 PyObject * _argo0 = 0;
4632 PyObject * _obj1 = 0;
4633 char *_kwnames[] = { "self","title", NULL };
4634
4635 self = self;
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_SetTitle",_kwnames,&_argo0,&_obj1))
4637 return NULL;
4638 if (_argo0) {
4639 if (_argo0 == Py_None) { _arg0 = NULL; }
4640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4642 return NULL;
4643 }
4644 }
4645 {
4646 #if PYTHON_API_VERSION >= 1009
4647 char* tmpPtr; int tmpSize;
4648 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4649 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4650 return NULL;
4651 }
4652 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4653 return NULL;
4654 _arg1 = new wxString(tmpPtr, tmpSize);
4655 #else
4656 if (!PyString_Check(_obj1)) {
4657 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4658 return NULL;
4659 }
4660 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4661 #endif
4662 }
4663 {
4664 wxPy_BEGIN_ALLOW_THREADS;
4665 wxHtmlWindow_SetTitle(_arg0,*_arg1);
4666
4667 wxPy_END_ALLOW_THREADS;
4668 } Py_INCREF(Py_None);
4669 _resultobj = Py_None;
4670 {
4671 if (_obj1)
4672 delete _arg1;
4673 }
4674 return _resultobj;
4675 }
4676
4677 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4678 static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
4679 PyObject * _resultobj;
4680 wxPyHtmlWindow * _arg0;
4681 int _arg1;
4682 PyObject * _argo0 = 0;
4683 char *_kwnames[] = { "self","b", NULL };
4684
4685 self = self;
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetBorders",_kwnames,&_argo0,&_arg1))
4687 return NULL;
4688 if (_argo0) {
4689 if (_argo0 == Py_None) { _arg0 = NULL; }
4690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4692 return NULL;
4693 }
4694 }
4695 {
4696 wxPy_BEGIN_ALLOW_THREADS;
4697 wxHtmlWindow_SetBorders(_arg0,_arg1);
4698
4699 wxPy_END_ALLOW_THREADS;
4700 } Py_INCREF(Py_None);
4701 _resultobj = Py_None;
4702 return _resultobj;
4703 }
4704
4705 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4706 static PyObject *_wrap_wxHtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject * _resultobj;
4708 wxPyHtmlWindow * _arg0;
4709 wxConfigBase * _arg1;
4710 wxString * _arg2 = (wxString *) &wxEmptyString;
4711 PyObject * _argo0 = 0;
4712 PyObject * _argo1 = 0;
4713 PyObject * _obj2 = 0;
4714 char *_kwnames[] = { "self","cfg","path", NULL };
4715
4716 self = self;
4717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
4718 return NULL;
4719 if (_argo0) {
4720 if (_argo0 == Py_None) { _arg0 = NULL; }
4721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4723 return NULL;
4724 }
4725 }
4726 if (_argo1) {
4727 if (_argo1 == Py_None) { _arg1 = NULL; }
4728 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
4729 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4730 return NULL;
4731 }
4732 }
4733 if (_obj2)
4734 {
4735 #if PYTHON_API_VERSION >= 1009
4736 char* tmpPtr; int tmpSize;
4737 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4738 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4739 return NULL;
4740 }
4741 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4742 return NULL;
4743 _arg2 = new wxString(tmpPtr, tmpSize);
4744 #else
4745 if (!PyString_Check(_obj2)) {
4746 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4747 return NULL;
4748 }
4749 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4750 #endif
4751 }
4752 {
4753 wxPy_BEGIN_ALLOW_THREADS;
4754 wxHtmlWindow_ReadCustomization(_arg0,_arg1,*_arg2);
4755
4756 wxPy_END_ALLOW_THREADS;
4757 } Py_INCREF(Py_None);
4758 _resultobj = Py_None;
4759 {
4760 if (_obj2)
4761 delete _arg2;
4762 }
4763 return _resultobj;
4764 }
4765
4766 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4767 static PyObject *_wrap_wxHtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject * _resultobj;
4769 wxPyHtmlWindow * _arg0;
4770 wxConfigBase * _arg1;
4771 wxString * _arg2 = (wxString *) &wxEmptyString;
4772 PyObject * _argo0 = 0;
4773 PyObject * _argo1 = 0;
4774 PyObject * _obj2 = 0;
4775 char *_kwnames[] = { "self","cfg","path", NULL };
4776
4777 self = self;
4778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames,&_argo0,&_argo1,&_obj2))
4779 return NULL;
4780 if (_argo0) {
4781 if (_argo0 == Py_None) { _arg0 = NULL; }
4782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4784 return NULL;
4785 }
4786 }
4787 if (_argo1) {
4788 if (_argo1 == Py_None) { _arg1 = NULL; }
4789 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
4790 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4791 return NULL;
4792 }
4793 }
4794 if (_obj2)
4795 {
4796 #if PYTHON_API_VERSION >= 1009
4797 char* tmpPtr; int tmpSize;
4798 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
4799 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4800 return NULL;
4801 }
4802 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4803 return NULL;
4804 _arg2 = new wxString(tmpPtr, tmpSize);
4805 #else
4806 if (!PyString_Check(_obj2)) {
4807 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4808 return NULL;
4809 }
4810 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4811 #endif
4812 }
4813 {
4814 wxPy_BEGIN_ALLOW_THREADS;
4815 wxHtmlWindow_WriteCustomization(_arg0,_arg1,*_arg2);
4816
4817 wxPy_END_ALLOW_THREADS;
4818 } Py_INCREF(Py_None);
4819 _resultobj = Py_None;
4820 {
4821 if (_obj2)
4822 delete _arg2;
4823 }
4824 return _resultobj;
4825 }
4826
4827 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4828 static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
4829 PyObject * _resultobj;
4830 bool _result;
4831 wxPyHtmlWindow * _arg0;
4832 PyObject * _argo0 = 0;
4833 char *_kwnames[] = { "self", NULL };
4834
4835 self = self;
4836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryBack",_kwnames,&_argo0))
4837 return NULL;
4838 if (_argo0) {
4839 if (_argo0 == Py_None) { _arg0 = NULL; }
4840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4842 return NULL;
4843 }
4844 }
4845 {
4846 wxPy_BEGIN_ALLOW_THREADS;
4847 _result = (bool )wxHtmlWindow_HistoryBack(_arg0);
4848
4849 wxPy_END_ALLOW_THREADS;
4850 } _resultobj = Py_BuildValue("i",_result);
4851 return _resultobj;
4852 }
4853
4854 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4855 static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject * _resultobj;
4857 bool _result;
4858 wxPyHtmlWindow * _arg0;
4859 PyObject * _argo0 = 0;
4860 char *_kwnames[] = { "self", NULL };
4861
4862 self = self;
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryForward",_kwnames,&_argo0))
4864 return NULL;
4865 if (_argo0) {
4866 if (_argo0 == Py_None) { _arg0 = NULL; }
4867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4869 return NULL;
4870 }
4871 }
4872 {
4873 wxPy_BEGIN_ALLOW_THREADS;
4874 _result = (bool )wxHtmlWindow_HistoryForward(_arg0);
4875
4876 wxPy_END_ALLOW_THREADS;
4877 } _resultobj = Py_BuildValue("i",_result);
4878 return _resultobj;
4879 }
4880
4881 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4882 static PyObject *_wrap_wxHtmlWindow_HistoryCanBack(PyObject *self, PyObject *args, PyObject *kwargs) {
4883 PyObject * _resultobj;
4884 bool _result;
4885 wxPyHtmlWindow * _arg0;
4886 PyObject * _argo0 = 0;
4887 char *_kwnames[] = { "self", NULL };
4888
4889 self = self;
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryCanBack",_kwnames,&_argo0))
4891 return NULL;
4892 if (_argo0) {
4893 if (_argo0 == Py_None) { _arg0 = NULL; }
4894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4896 return NULL;
4897 }
4898 }
4899 {
4900 wxPy_BEGIN_ALLOW_THREADS;
4901 _result = (bool )wxHtmlWindow_HistoryCanBack(_arg0);
4902
4903 wxPy_END_ALLOW_THREADS;
4904 } _resultobj = Py_BuildValue("i",_result);
4905 return _resultobj;
4906 }
4907
4908 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4909 static PyObject *_wrap_wxHtmlWindow_HistoryCanForward(PyObject *self, PyObject *args, PyObject *kwargs) {
4910 PyObject * _resultobj;
4911 bool _result;
4912 wxPyHtmlWindow * _arg0;
4913 PyObject * _argo0 = 0;
4914 char *_kwnames[] = { "self", NULL };
4915
4916 self = self;
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryCanForward",_kwnames,&_argo0))
4918 return NULL;
4919 if (_argo0) {
4920 if (_argo0 == Py_None) { _arg0 = NULL; }
4921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4923 return NULL;
4924 }
4925 }
4926 {
4927 wxPy_BEGIN_ALLOW_THREADS;
4928 _result = (bool )wxHtmlWindow_HistoryCanForward(_arg0);
4929
4930 wxPy_END_ALLOW_THREADS;
4931 } _resultobj = Py_BuildValue("i",_result);
4932 return _resultobj;
4933 }
4934
4935 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4936 static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
4937 PyObject * _resultobj;
4938 wxPyHtmlWindow * _arg0;
4939 PyObject * _argo0 = 0;
4940 char *_kwnames[] = { "self", NULL };
4941
4942 self = self;
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryClear",_kwnames,&_argo0))
4944 return NULL;
4945 if (_argo0) {
4946 if (_argo0 == Py_None) { _arg0 = NULL; }
4947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4949 return NULL;
4950 }
4951 }
4952 {
4953 wxPy_BEGIN_ALLOW_THREADS;
4954 wxHtmlWindow_HistoryClear(_arg0);
4955
4956 wxPy_END_ALLOW_THREADS;
4957 } Py_INCREF(Py_None);
4958 _resultobj = Py_None;
4959 return _resultobj;
4960 }
4961
4962 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4963 static PyObject *_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4964 PyObject * _resultobj;
4965 wxHtmlContainerCell * _result;
4966 wxPyHtmlWindow * _arg0;
4967 PyObject * _argo0 = 0;
4968 char *_kwnames[] = { "self", NULL };
4969 char _ptemp[128];
4970
4971 self = self;
4972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames,&_argo0))
4973 return NULL;
4974 if (_argo0) {
4975 if (_argo0 == Py_None) { _arg0 = NULL; }
4976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
4977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4978 return NULL;
4979 }
4980 }
4981 {
4982 wxPy_BEGIN_ALLOW_THREADS;
4983 _result = (wxHtmlContainerCell *)wxHtmlWindow_GetInternalRepresentation(_arg0);
4984
4985 wxPy_END_ALLOW_THREADS;
4986 } if (_result) {
4987 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
4988 _resultobj = Py_BuildValue("s",_ptemp);
4989 } else {
4990 Py_INCREF(Py_None);
4991 _resultobj = Py_None;
4992 }
4993 return _resultobj;
4994 }
4995
4996 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4997 static PyObject *_wrap_wxHtmlWindow_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
4998 PyObject * _resultobj;
4999 wxHtmlWinParser * _result;
5000 wxPyHtmlWindow * _arg0;
5001 PyObject * _argo0 = 0;
5002 char *_kwnames[] = { "self", NULL };
5003 char _ptemp[128];
5004
5005 self = self;
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetParser",_kwnames,&_argo0))
5007 return NULL;
5008 if (_argo0) {
5009 if (_argo0 == Py_None) { _arg0 = NULL; }
5010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
5011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5012 return NULL;
5013 }
5014 }
5015 {
5016 wxPy_BEGIN_ALLOW_THREADS;
5017 _result = (wxHtmlWinParser *)wxHtmlWindow_GetParser(_arg0);
5018
5019 wxPy_END_ALLOW_THREADS;
5020 } if (_result) {
5021 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
5022 _resultobj = Py_BuildValue("s",_ptemp);
5023 } else {
5024 Py_INCREF(Py_None);
5025 _resultobj = Py_None;
5026 }
5027 return _resultobj;
5028 }
5029
5030 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5031 static PyObject *_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
5032 PyObject * _resultobj;
5033 wxPyHtmlWindow * _arg0;
5034 wxHtmlLinkInfo * _arg1;
5035 PyObject * _argo0 = 0;
5036 PyObject * _argo1 = 0;
5037 char *_kwnames[] = { "self","link", NULL };
5038
5039 self = self;
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames,&_argo0,&_argo1))
5041 return NULL;
5042 if (_argo0) {
5043 if (_argo0 == Py_None) { _arg0 = NULL; }
5044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
5045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5046 return NULL;
5047 }
5048 }
5049 if (_argo1) {
5050 if (_argo1 == Py_None) { _arg1 = NULL; }
5051 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlLinkInfo_p")) {
5052 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5053 return NULL;
5054 }
5055 }
5056 {
5057 wxPy_BEGIN_ALLOW_THREADS;
5058 wxHtmlWindow_base_OnLinkClicked(_arg0,*_arg1);
5059
5060 wxPy_END_ALLOW_THREADS;
5061 } Py_INCREF(Py_None);
5062 _resultobj = Py_None;
5063 return _resultobj;
5064 }
5065
5066 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5067 static PyObject *_wrap_wxHtmlWindow_base_OnSetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
5068 PyObject * _resultobj;
5069 wxPyHtmlWindow * _arg0;
5070 char * _arg1;
5071 PyObject * _argo0 = 0;
5072 char *_kwnames[] = { "self","title", NULL };
5073
5074 self = self;
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames,&_argo0,&_arg1))
5076 return NULL;
5077 if (_argo0) {
5078 if (_argo0 == Py_None) { _arg0 = NULL; }
5079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
5080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5081 return NULL;
5082 }
5083 }
5084 {
5085 wxPy_BEGIN_ALLOW_THREADS;
5086 wxHtmlWindow_base_OnSetTitle(_arg0,_arg1);
5087
5088 wxPy_END_ALLOW_THREADS;
5089 } Py_INCREF(Py_None);
5090 _resultobj = Py_None;
5091 return _resultobj;
5092 }
5093
5094 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5095 static PyObject *_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject * _resultobj;
5097 wxPyHtmlWindow * _arg0;
5098 wxHtmlCell * _arg1;
5099 wxCoord _arg2;
5100 wxCoord _arg3;
5101 PyObject * _argo0 = 0;
5102 PyObject * _argo1 = 0;
5103 char *_kwnames[] = { "self","cell","x","y", NULL };
5104
5105 self = self;
5106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
5107 return NULL;
5108 if (_argo0) {
5109 if (_argo0 == Py_None) { _arg0 = NULL; }
5110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
5111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5112 return NULL;
5113 }
5114 }
5115 if (_argo1) {
5116 if (_argo1 == Py_None) { _arg1 = NULL; }
5117 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
5118 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5119 return NULL;
5120 }
5121 }
5122 {
5123 wxPy_BEGIN_ALLOW_THREADS;
5124 wxHtmlWindow_base_OnCellMouseHover(_arg0,_arg1,_arg2,_arg3);
5125
5126 wxPy_END_ALLOW_THREADS;
5127 } Py_INCREF(Py_None);
5128 _resultobj = Py_None;
5129 return _resultobj;
5130 }
5131
5132 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5133 static PyObject *_wrap_wxHtmlWindow_base_OnCellClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
5134 PyObject * _resultobj;
5135 wxPyHtmlWindow * _arg0;
5136 wxHtmlCell * _arg1;
5137 wxCoord _arg2;
5138 wxCoord _arg3;
5139 wxMouseEvent * _arg4;
5140 PyObject * _argo0 = 0;
5141 PyObject * _argo1 = 0;
5142 PyObject * _argo4 = 0;
5143 char *_kwnames[] = { "self","cell","x","y","event", NULL };
5144
5145 self = self;
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_argo4))
5147 return NULL;
5148 if (_argo0) {
5149 if (_argo0 == Py_None) { _arg0 = NULL; }
5150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
5151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5152 return NULL;
5153 }
5154 }
5155 if (_argo1) {
5156 if (_argo1 == Py_None) { _arg1 = NULL; }
5157 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlCell_p")) {
5158 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5159 return NULL;
5160 }
5161 }
5162 if (_argo4) {
5163 if (_argo4 == Py_None) { _arg4 = NULL; }
5164 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxMouseEvent_p")) {
5165 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5166 return NULL;
5167 }
5168 }
5169 {
5170 wxPy_BEGIN_ALLOW_THREADS;
5171 wxHtmlWindow_base_OnCellClicked(_arg0,_arg1,_arg2,_arg3,*_arg4);
5172
5173 wxPy_END_ALLOW_THREADS;
5174 } Py_INCREF(Py_None);
5175 _resultobj = Py_None;
5176 return _resultobj;
5177 }
5178
5179 static void *SwigwxHtmlDCRendererTowxObject(void *ptr) {
5180 wxHtmlDCRenderer *src;
5181 wxObject *dest;
5182 src = (wxHtmlDCRenderer *) ptr;
5183 dest = (wxObject *) src;
5184 return (void *) dest;
5185 }
5186
5187 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5188 static PyObject *_wrap_new_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject * _resultobj;
5190 wxHtmlDCRenderer * _result;
5191 char *_kwnames[] = { NULL };
5192 char _ptemp[128];
5193
5194 self = self;
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlDCRenderer",_kwnames))
5196 return NULL;
5197 {
5198 wxPy_BEGIN_ALLOW_THREADS;
5199 _result = (wxHtmlDCRenderer *)new_wxHtmlDCRenderer();
5200
5201 wxPy_END_ALLOW_THREADS;
5202 } if (_result) {
5203 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlDCRenderer_p");
5204 _resultobj = Py_BuildValue("s",_ptemp);
5205 } else {
5206 Py_INCREF(Py_None);
5207 _resultobj = Py_None;
5208 }
5209 return _resultobj;
5210 }
5211
5212 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5213 static PyObject *_wrap_delete_wxHtmlDCRenderer(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject * _resultobj;
5215 wxHtmlDCRenderer * _arg0;
5216 PyObject * _argo0 = 0;
5217 char *_kwnames[] = { "self", NULL };
5218
5219 self = self;
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlDCRenderer",_kwnames,&_argo0))
5221 return NULL;
5222 if (_argo0) {
5223 if (_argo0 == Py_None) { _arg0 = NULL; }
5224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5226 return NULL;
5227 }
5228 }
5229 {
5230 wxPy_BEGIN_ALLOW_THREADS;
5231 delete_wxHtmlDCRenderer(_arg0);
5232
5233 wxPy_END_ALLOW_THREADS;
5234 } Py_INCREF(Py_None);
5235 _resultobj = Py_None;
5236 return _resultobj;
5237 }
5238
5239 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5240 static PyObject *_wrap_wxHtmlDCRenderer_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5241 PyObject * _resultobj;
5242 wxHtmlDCRenderer * _arg0;
5243 wxDC * _arg1;
5244 int _arg2;
5245 PyObject * _argo0 = 0;
5246 PyObject * _argo1 = 0;
5247 char *_kwnames[] = { "self","dc","maxwidth", NULL };
5248
5249 self = self;
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxHtmlDCRenderer_SetDC",_kwnames,&_argo0,&_argo1,&_arg2))
5251 return NULL;
5252 if (_argo0) {
5253 if (_argo0 == Py_None) { _arg0 = NULL; }
5254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5256 return NULL;
5257 }
5258 }
5259 if (_argo1) {
5260 if (_argo1 == Py_None) { _arg1 = NULL; }
5261 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5262 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5263 return NULL;
5264 }
5265 }
5266 {
5267 wxPy_BEGIN_ALLOW_THREADS;
5268 wxHtmlDCRenderer_SetDC(_arg0,_arg1,_arg2);
5269
5270 wxPy_END_ALLOW_THREADS;
5271 } Py_INCREF(Py_None);
5272 _resultobj = Py_None;
5273 return _resultobj;
5274 }
5275
5276 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5277 static PyObject *_wrap_wxHtmlDCRenderer_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5278 PyObject * _resultobj;
5279 wxHtmlDCRenderer * _arg0;
5280 int _arg1;
5281 int _arg2;
5282 PyObject * _argo0 = 0;
5283 char *_kwnames[] = { "self","width","height", NULL };
5284
5285 self = self;
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlDCRenderer_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
5287 return NULL;
5288 if (_argo0) {
5289 if (_argo0 == Py_None) { _arg0 = NULL; }
5290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5292 return NULL;
5293 }
5294 }
5295 {
5296 wxPy_BEGIN_ALLOW_THREADS;
5297 wxHtmlDCRenderer_SetSize(_arg0,_arg1,_arg2);
5298
5299 wxPy_END_ALLOW_THREADS;
5300 } Py_INCREF(Py_None);
5301 _resultobj = Py_None;
5302 return _resultobj;
5303 }
5304
5305 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5306 static PyObject *_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject * _resultobj;
5308 wxHtmlDCRenderer * _arg0;
5309 wxString * _arg1;
5310 wxString * _arg2 = (wxString *) &wxEmptyString;
5311 bool _arg3 = (bool ) TRUE;
5312 PyObject * _argo0 = 0;
5313 PyObject * _obj1 = 0;
5314 PyObject * _obj2 = 0;
5315 int tempbool3 = (int) TRUE;
5316 char *_kwnames[] = { "self","html","basepath","isdir", NULL };
5317
5318 self = self;
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
5320 return NULL;
5321 if (_argo0) {
5322 if (_argo0 == Py_None) { _arg0 = NULL; }
5323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5325 return NULL;
5326 }
5327 }
5328 {
5329 #if PYTHON_API_VERSION >= 1009
5330 char* tmpPtr; int tmpSize;
5331 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5332 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5333 return NULL;
5334 }
5335 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5336 return NULL;
5337 _arg1 = new wxString(tmpPtr, tmpSize);
5338 #else
5339 if (!PyString_Check(_obj1)) {
5340 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5341 return NULL;
5342 }
5343 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5344 #endif
5345 }
5346 if (_obj2)
5347 {
5348 #if PYTHON_API_VERSION >= 1009
5349 char* tmpPtr; int tmpSize;
5350 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5351 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5352 return NULL;
5353 }
5354 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5355 return NULL;
5356 _arg2 = new wxString(tmpPtr, tmpSize);
5357 #else
5358 if (!PyString_Check(_obj2)) {
5359 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5360 return NULL;
5361 }
5362 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5363 #endif
5364 }
5365 _arg3 = (bool ) tempbool3;
5366 {
5367 wxPy_BEGIN_ALLOW_THREADS;
5368 wxHtmlDCRenderer_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3);
5369
5370 wxPy_END_ALLOW_THREADS;
5371 } Py_INCREF(Py_None);
5372 _resultobj = Py_None;
5373 {
5374 if (_obj1)
5375 delete _arg1;
5376 }
5377 {
5378 if (_obj2)
5379 delete _arg2;
5380 }
5381 return _resultobj;
5382 }
5383
5384 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5385 static PyObject *_wrap_wxHtmlDCRenderer_Render(PyObject *self, PyObject *args, PyObject *kwargs) {
5386 PyObject * _resultobj;
5387 int _result;
5388 wxHtmlDCRenderer * _arg0;
5389 int _arg1;
5390 int _arg2;
5391 int _arg3 = (int ) 0;
5392 int _arg4 = (int ) FALSE;
5393 PyObject * _argo0 = 0;
5394 char *_kwnames[] = { "self","x","y","from","dont_render", NULL };
5395
5396 self = self;
5397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5398 return NULL;
5399 if (_argo0) {
5400 if (_argo0 == Py_None) { _arg0 = NULL; }
5401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5403 return NULL;
5404 }
5405 }
5406 {
5407 wxPy_BEGIN_ALLOW_THREADS;
5408 _result = (int )wxHtmlDCRenderer_Render(_arg0,_arg1,_arg2,_arg3,_arg4);
5409
5410 wxPy_END_ALLOW_THREADS;
5411 } _resultobj = Py_BuildValue("i",_result);
5412 return _resultobj;
5413 }
5414
5415 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5416 static PyObject *_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5417 PyObject * _resultobj;
5418 int _result;
5419 wxHtmlDCRenderer * _arg0;
5420 PyObject * _argo0 = 0;
5421 char *_kwnames[] = { "self", NULL };
5422
5423 self = self;
5424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames,&_argo0))
5425 return NULL;
5426 if (_argo0) {
5427 if (_argo0 == Py_None) { _arg0 = NULL; }
5428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlDCRenderer_p")) {
5429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5430 return NULL;
5431 }
5432 }
5433 {
5434 wxPy_BEGIN_ALLOW_THREADS;
5435 _result = (int )wxHtmlDCRenderer_GetTotalHeight(_arg0);
5436
5437 wxPy_END_ALLOW_THREADS;
5438 } _resultobj = Py_BuildValue("i",_result);
5439 return _resultobj;
5440 }
5441
5442 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr) {
5443 wxHtmlPrintout *src;
5444 wxPyPrintout *dest;
5445 src = (wxHtmlPrintout *) ptr;
5446 dest = (wxPyPrintout *) src;
5447 return (void *) dest;
5448 }
5449
5450 static void *SwigwxHtmlPrintoutTowxObject(void *ptr) {
5451 wxHtmlPrintout *src;
5452 wxObject *dest;
5453 src = (wxHtmlPrintout *) ptr;
5454 dest = (wxObject *) src;
5455 return (void *) dest;
5456 }
5457
5458 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5459 static PyObject *_wrap_new_wxHtmlPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject * _resultobj;
5461 wxHtmlPrintout * _result;
5462 char * _arg0 = (char *) "Printout";
5463 char *_kwnames[] = { "title", NULL };
5464 char _ptemp[128];
5465
5466 self = self;
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|s:new_wxHtmlPrintout",_kwnames,&_arg0))
5468 return NULL;
5469 {
5470 wxPy_BEGIN_ALLOW_THREADS;
5471 _result = (wxHtmlPrintout *)new_wxHtmlPrintout(_arg0);
5472
5473 wxPy_END_ALLOW_THREADS;
5474 } if (_result) {
5475 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlPrintout_p");
5476 _resultobj = Py_BuildValue("s",_ptemp);
5477 } else {
5478 Py_INCREF(Py_None);
5479 _resultobj = Py_None;
5480 }
5481 return _resultobj;
5482 }
5483
5484 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5485 static PyObject *_wrap_wxHtmlPrintout_SetHtmlText(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject * _resultobj;
5487 wxHtmlPrintout * _arg0;
5488 wxString * _arg1;
5489 wxString * _arg2 = (wxString *) &wxEmptyString;
5490 bool _arg3 = (bool ) TRUE;
5491 PyObject * _argo0 = 0;
5492 PyObject * _obj1 = 0;
5493 PyObject * _obj2 = 0;
5494 int tempbool3 = (int) TRUE;
5495 char *_kwnames[] = { "self","html","basepath","isdir", NULL };
5496
5497 self = self;
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3))
5499 return NULL;
5500 if (_argo0) {
5501 if (_argo0 == Py_None) { _arg0 = NULL; }
5502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5504 return NULL;
5505 }
5506 }
5507 {
5508 #if PYTHON_API_VERSION >= 1009
5509 char* tmpPtr; int tmpSize;
5510 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5511 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5512 return NULL;
5513 }
5514 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5515 return NULL;
5516 _arg1 = new wxString(tmpPtr, tmpSize);
5517 #else
5518 if (!PyString_Check(_obj1)) {
5519 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5520 return NULL;
5521 }
5522 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5523 #endif
5524 }
5525 if (_obj2)
5526 {
5527 #if PYTHON_API_VERSION >= 1009
5528 char* tmpPtr; int tmpSize;
5529 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5530 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5531 return NULL;
5532 }
5533 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5534 return NULL;
5535 _arg2 = new wxString(tmpPtr, tmpSize);
5536 #else
5537 if (!PyString_Check(_obj2)) {
5538 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5539 return NULL;
5540 }
5541 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5542 #endif
5543 }
5544 _arg3 = (bool ) tempbool3;
5545 {
5546 wxPy_BEGIN_ALLOW_THREADS;
5547 wxHtmlPrintout_SetHtmlText(_arg0,*_arg1,*_arg2,_arg3);
5548
5549 wxPy_END_ALLOW_THREADS;
5550 } Py_INCREF(Py_None);
5551 _resultobj = Py_None;
5552 {
5553 if (_obj1)
5554 delete _arg1;
5555 }
5556 {
5557 if (_obj2)
5558 delete _arg2;
5559 }
5560 return _resultobj;
5561 }
5562
5563 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5564 static PyObject *_wrap_wxHtmlPrintout_SetHtmlFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5565 PyObject * _resultobj;
5566 wxHtmlPrintout * _arg0;
5567 wxString * _arg1;
5568 PyObject * _argo0 = 0;
5569 PyObject * _obj1 = 0;
5570 char *_kwnames[] = { "self","htmlfile", NULL };
5571
5572 self = self;
5573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames,&_argo0,&_obj1))
5574 return NULL;
5575 if (_argo0) {
5576 if (_argo0 == Py_None) { _arg0 = NULL; }
5577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5579 return NULL;
5580 }
5581 }
5582 {
5583 #if PYTHON_API_VERSION >= 1009
5584 char* tmpPtr; int tmpSize;
5585 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5586 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5587 return NULL;
5588 }
5589 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5590 return NULL;
5591 _arg1 = new wxString(tmpPtr, tmpSize);
5592 #else
5593 if (!PyString_Check(_obj1)) {
5594 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5595 return NULL;
5596 }
5597 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5598 #endif
5599 }
5600 {
5601 wxPy_BEGIN_ALLOW_THREADS;
5602 wxHtmlPrintout_SetHtmlFile(_arg0,*_arg1);
5603
5604 wxPy_END_ALLOW_THREADS;
5605 } Py_INCREF(Py_None);
5606 _resultobj = Py_None;
5607 {
5608 if (_obj1)
5609 delete _arg1;
5610 }
5611 return _resultobj;
5612 }
5613
5614 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5615 static PyObject *_wrap_wxHtmlPrintout_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject * _resultobj;
5617 wxHtmlPrintout * _arg0;
5618 wxString * _arg1;
5619 int _arg2 = (int ) (wxPAGE_ALL);
5620 PyObject * _argo0 = 0;
5621 PyObject * _obj1 = 0;
5622 char *_kwnames[] = { "self","header","pg", NULL };
5623
5624 self = self;
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2))
5626 return NULL;
5627 if (_argo0) {
5628 if (_argo0 == Py_None) { _arg0 = NULL; }
5629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5631 return NULL;
5632 }
5633 }
5634 {
5635 #if PYTHON_API_VERSION >= 1009
5636 char* tmpPtr; int tmpSize;
5637 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5638 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5639 return NULL;
5640 }
5641 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5642 return NULL;
5643 _arg1 = new wxString(tmpPtr, tmpSize);
5644 #else
5645 if (!PyString_Check(_obj1)) {
5646 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5647 return NULL;
5648 }
5649 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5650 #endif
5651 }
5652 {
5653 wxPy_BEGIN_ALLOW_THREADS;
5654 wxHtmlPrintout_SetHeader(_arg0,*_arg1,_arg2);
5655
5656 wxPy_END_ALLOW_THREADS;
5657 } Py_INCREF(Py_None);
5658 _resultobj = Py_None;
5659 {
5660 if (_obj1)
5661 delete _arg1;
5662 }
5663 return _resultobj;
5664 }
5665
5666 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5667 static PyObject *_wrap_wxHtmlPrintout_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
5668 PyObject * _resultobj;
5669 wxHtmlPrintout * _arg0;
5670 wxString * _arg1;
5671 int _arg2 = (int ) (wxPAGE_ALL);
5672 PyObject * _argo0 = 0;
5673 PyObject * _obj1 = 0;
5674 char *_kwnames[] = { "self","footer","pg", NULL };
5675
5676 self = self;
5677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlPrintout_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2))
5678 return NULL;
5679 if (_argo0) {
5680 if (_argo0 == Py_None) { _arg0 = NULL; }
5681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5683 return NULL;
5684 }
5685 }
5686 {
5687 #if PYTHON_API_VERSION >= 1009
5688 char* tmpPtr; int tmpSize;
5689 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5690 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5691 return NULL;
5692 }
5693 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5694 return NULL;
5695 _arg1 = new wxString(tmpPtr, tmpSize);
5696 #else
5697 if (!PyString_Check(_obj1)) {
5698 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5699 return NULL;
5700 }
5701 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5702 #endif
5703 }
5704 {
5705 wxPy_BEGIN_ALLOW_THREADS;
5706 wxHtmlPrintout_SetFooter(_arg0,*_arg1,_arg2);
5707
5708 wxPy_END_ALLOW_THREADS;
5709 } Py_INCREF(Py_None);
5710 _resultobj = Py_None;
5711 {
5712 if (_obj1)
5713 delete _arg1;
5714 }
5715 return _resultobj;
5716 }
5717
5718 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5719 static PyObject *_wrap_wxHtmlPrintout_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject * _resultobj;
5721 wxHtmlPrintout * _arg0;
5722 float _arg1 = (float ) 25.2;
5723 float _arg2 = (float ) 25.2;
5724 float _arg3 = (float ) 25.2;
5725 float _arg4 = (float ) 25.2;
5726 float _arg5 = (float ) 5;
5727 PyObject * _argo0 = 0;
5728 char *_kwnames[] = { "self","top","bottom","left","right","spaces", NULL };
5729
5730 self = self;
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
5732 return NULL;
5733 if (_argo0) {
5734 if (_argo0 == Py_None) { _arg0 = NULL; }
5735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlPrintout_p")) {
5736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5737 return NULL;
5738 }
5739 }
5740 {
5741 wxPy_BEGIN_ALLOW_THREADS;
5742 wxHtmlPrintout_SetMargins(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5743
5744 wxPy_END_ALLOW_THREADS;
5745 } Py_INCREF(Py_None);
5746 _resultobj = Py_None;
5747 return _resultobj;
5748 }
5749
5750 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr) {
5751 wxHtmlEasyPrinting *src;
5752 wxObject *dest;
5753 src = (wxHtmlEasyPrinting *) ptr;
5754 dest = (wxObject *) src;
5755 return (void *) dest;
5756 }
5757
5758 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5759 static PyObject *_wrap_new_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject * _resultobj;
5761 wxHtmlEasyPrinting * _result;
5762 char * _arg0 = (char *) "Printing";
5763 wxFrame * _arg1 = (wxFrame *) NULL;
5764 PyObject * _argo1 = 0;
5765 char *_kwnames[] = { "name","parent_frame", NULL };
5766 char _ptemp[128];
5767
5768 self = self;
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|sO:new_wxHtmlEasyPrinting",_kwnames,&_arg0,&_argo1))
5770 return NULL;
5771 if (_argo1) {
5772 if (_argo1 == Py_None) { _arg1 = NULL; }
5773 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
5774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5775 return NULL;
5776 }
5777 }
5778 {
5779 wxPy_BEGIN_ALLOW_THREADS;
5780 _result = (wxHtmlEasyPrinting *)new_wxHtmlEasyPrinting(_arg0,_arg1);
5781
5782 wxPy_END_ALLOW_THREADS;
5783 } if (_result) {
5784 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlEasyPrinting_p");
5785 _resultobj = Py_BuildValue("s",_ptemp);
5786 } else {
5787 Py_INCREF(Py_None);
5788 _resultobj = Py_None;
5789 }
5790 return _resultobj;
5791 }
5792
5793 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5794 static PyObject *_wrap_delete_wxHtmlEasyPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
5795 PyObject * _resultobj;
5796 wxHtmlEasyPrinting * _arg0;
5797 PyObject * _argo0 = 0;
5798 char *_kwnames[] = { "self", NULL };
5799
5800 self = self;
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxHtmlEasyPrinting",_kwnames,&_argo0))
5802 return NULL;
5803 if (_argo0) {
5804 if (_argo0 == Py_None) { _arg0 = NULL; }
5805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5807 return NULL;
5808 }
5809 }
5810 {
5811 wxPy_BEGIN_ALLOW_THREADS;
5812 delete_wxHtmlEasyPrinting(_arg0);
5813
5814 wxPy_END_ALLOW_THREADS;
5815 } Py_INCREF(Py_None);
5816 _resultobj = Py_None;
5817 return _resultobj;
5818 }
5819
5820 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5821 static PyObject *_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5822 PyObject * _resultobj;
5823 wxHtmlEasyPrinting * _arg0;
5824 wxString * _arg1;
5825 PyObject * _argo0 = 0;
5826 PyObject * _obj1 = 0;
5827 char *_kwnames[] = { "self","htmlfile", NULL };
5828
5829 self = self;
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames,&_argo0,&_obj1))
5831 return NULL;
5832 if (_argo0) {
5833 if (_argo0 == Py_None) { _arg0 = NULL; }
5834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5836 return NULL;
5837 }
5838 }
5839 {
5840 #if PYTHON_API_VERSION >= 1009
5841 char* tmpPtr; int tmpSize;
5842 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5843 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5844 return NULL;
5845 }
5846 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5847 return NULL;
5848 _arg1 = new wxString(tmpPtr, tmpSize);
5849 #else
5850 if (!PyString_Check(_obj1)) {
5851 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5852 return NULL;
5853 }
5854 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5855 #endif
5856 }
5857 {
5858 wxPy_BEGIN_ALLOW_THREADS;
5859 wxHtmlEasyPrinting_PreviewFile(_arg0,*_arg1);
5860
5861 wxPy_END_ALLOW_THREADS;
5862 } Py_INCREF(Py_None);
5863 _resultobj = Py_None;
5864 {
5865 if (_obj1)
5866 delete _arg1;
5867 }
5868 return _resultobj;
5869 }
5870
5871 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5872 static PyObject *_wrap_wxHtmlEasyPrinting_PreviewText(PyObject *self, PyObject *args, PyObject *kwargs) {
5873 PyObject * _resultobj;
5874 wxHtmlEasyPrinting * _arg0;
5875 wxString * _arg1;
5876 wxString * _arg2 = (wxString *) &wxEmptyString;
5877 PyObject * _argo0 = 0;
5878 PyObject * _obj1 = 0;
5879 PyObject * _obj2 = 0;
5880 char *_kwnames[] = { "self","htmltext","basepath", NULL };
5881
5882 self = self;
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames,&_argo0,&_obj1,&_obj2))
5884 return NULL;
5885 if (_argo0) {
5886 if (_argo0 == Py_None) { _arg0 = NULL; }
5887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5889 return NULL;
5890 }
5891 }
5892 {
5893 #if PYTHON_API_VERSION >= 1009
5894 char* tmpPtr; int tmpSize;
5895 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5896 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5897 return NULL;
5898 }
5899 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5900 return NULL;
5901 _arg1 = new wxString(tmpPtr, tmpSize);
5902 #else
5903 if (!PyString_Check(_obj1)) {
5904 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5905 return NULL;
5906 }
5907 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5908 #endif
5909 }
5910 if (_obj2)
5911 {
5912 #if PYTHON_API_VERSION >= 1009
5913 char* tmpPtr; int tmpSize;
5914 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5915 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5916 return NULL;
5917 }
5918 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5919 return NULL;
5920 _arg2 = new wxString(tmpPtr, tmpSize);
5921 #else
5922 if (!PyString_Check(_obj2)) {
5923 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5924 return NULL;
5925 }
5926 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5927 #endif
5928 }
5929 {
5930 wxPy_BEGIN_ALLOW_THREADS;
5931 wxHtmlEasyPrinting_PreviewText(_arg0,*_arg1,*_arg2);
5932
5933 wxPy_END_ALLOW_THREADS;
5934 } Py_INCREF(Py_None);
5935 _resultobj = Py_None;
5936 {
5937 if (_obj1)
5938 delete _arg1;
5939 }
5940 {
5941 if (_obj2)
5942 delete _arg2;
5943 }
5944 return _resultobj;
5945 }
5946
5947 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5948 static PyObject *_wrap_wxHtmlEasyPrinting_PrintFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject * _resultobj;
5950 wxHtmlEasyPrinting * _arg0;
5951 wxString * _arg1;
5952 PyObject * _argo0 = 0;
5953 PyObject * _obj1 = 0;
5954 char *_kwnames[] = { "self","htmlfile", NULL };
5955
5956 self = self;
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames,&_argo0,&_obj1))
5958 return NULL;
5959 if (_argo0) {
5960 if (_argo0 == Py_None) { _arg0 = NULL; }
5961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
5962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5963 return NULL;
5964 }
5965 }
5966 {
5967 #if PYTHON_API_VERSION >= 1009
5968 char* tmpPtr; int tmpSize;
5969 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5970 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5971 return NULL;
5972 }
5973 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5974 return NULL;
5975 _arg1 = new wxString(tmpPtr, tmpSize);
5976 #else
5977 if (!PyString_Check(_obj1)) {
5978 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5979 return NULL;
5980 }
5981 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5982 #endif
5983 }
5984 {
5985 wxPy_BEGIN_ALLOW_THREADS;
5986 wxHtmlEasyPrinting_PrintFile(_arg0,*_arg1);
5987
5988 wxPy_END_ALLOW_THREADS;
5989 } Py_INCREF(Py_None);
5990 _resultobj = Py_None;
5991 {
5992 if (_obj1)
5993 delete _arg1;
5994 }
5995 return _resultobj;
5996 }
5997
5998 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5999 static PyObject *_wrap_wxHtmlEasyPrinting_PrintText(PyObject *self, PyObject *args, PyObject *kwargs) {
6000 PyObject * _resultobj;
6001 wxHtmlEasyPrinting * _arg0;
6002 wxString * _arg1;
6003 wxString * _arg2 = (wxString *) &wxEmptyString;
6004 PyObject * _argo0 = 0;
6005 PyObject * _obj1 = 0;
6006 PyObject * _obj2 = 0;
6007 char *_kwnames[] = { "self","htmltext","basepath", NULL };
6008
6009 self = self;
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames,&_argo0,&_obj1,&_obj2))
6011 return NULL;
6012 if (_argo0) {
6013 if (_argo0 == Py_None) { _arg0 = NULL; }
6014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6016 return NULL;
6017 }
6018 }
6019 {
6020 #if PYTHON_API_VERSION >= 1009
6021 char* tmpPtr; int tmpSize;
6022 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6023 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6024 return NULL;
6025 }
6026 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6027 return NULL;
6028 _arg1 = new wxString(tmpPtr, tmpSize);
6029 #else
6030 if (!PyString_Check(_obj1)) {
6031 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6032 return NULL;
6033 }
6034 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6035 #endif
6036 }
6037 if (_obj2)
6038 {
6039 #if PYTHON_API_VERSION >= 1009
6040 char* tmpPtr; int tmpSize;
6041 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6042 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6043 return NULL;
6044 }
6045 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6046 return NULL;
6047 _arg2 = new wxString(tmpPtr, tmpSize);
6048 #else
6049 if (!PyString_Check(_obj2)) {
6050 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6051 return NULL;
6052 }
6053 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6054 #endif
6055 }
6056 {
6057 wxPy_BEGIN_ALLOW_THREADS;
6058 wxHtmlEasyPrinting_PrintText(_arg0,*_arg1,*_arg2);
6059
6060 wxPy_END_ALLOW_THREADS;
6061 } Py_INCREF(Py_None);
6062 _resultobj = Py_None;
6063 {
6064 if (_obj1)
6065 delete _arg1;
6066 }
6067 {
6068 if (_obj2)
6069 delete _arg2;
6070 }
6071 return _resultobj;
6072 }
6073
6074 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6075 static PyObject *_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject * _resultobj;
6077 wxHtmlEasyPrinting * _arg0;
6078 PyObject * _argo0 = 0;
6079 char *_kwnames[] = { "self", NULL };
6080
6081 self = self;
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames,&_argo0))
6083 return NULL;
6084 if (_argo0) {
6085 if (_argo0 == Py_None) { _arg0 = NULL; }
6086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6088 return NULL;
6089 }
6090 }
6091 {
6092 wxPy_BEGIN_ALLOW_THREADS;
6093 wxHtmlEasyPrinting_PrinterSetup(_arg0);
6094
6095 wxPy_END_ALLOW_THREADS;
6096 } Py_INCREF(Py_None);
6097 _resultobj = Py_None;
6098 return _resultobj;
6099 }
6100
6101 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6102 static PyObject *_wrap_wxHtmlEasyPrinting_PageSetup(PyObject *self, PyObject *args, PyObject *kwargs) {
6103 PyObject * _resultobj;
6104 wxHtmlEasyPrinting * _arg0;
6105 PyObject * _argo0 = 0;
6106 char *_kwnames[] = { "self", NULL };
6107
6108 self = self;
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_PageSetup",_kwnames,&_argo0))
6110 return NULL;
6111 if (_argo0) {
6112 if (_argo0 == Py_None) { _arg0 = NULL; }
6113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6115 return NULL;
6116 }
6117 }
6118 {
6119 wxPy_BEGIN_ALLOW_THREADS;
6120 wxHtmlEasyPrinting_PageSetup(_arg0);
6121
6122 wxPy_END_ALLOW_THREADS;
6123 } Py_INCREF(Py_None);
6124 _resultobj = Py_None;
6125 return _resultobj;
6126 }
6127
6128 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6129 static PyObject *_wrap_wxHtmlEasyPrinting_SetHeader(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject * _resultobj;
6131 wxHtmlEasyPrinting * _arg0;
6132 wxString * _arg1;
6133 int _arg2 = (int ) (wxPAGE_ALL);
6134 PyObject * _argo0 = 0;
6135 PyObject * _obj1 = 0;
6136 char *_kwnames[] = { "self","header","pg", NULL };
6137
6138 self = self;
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames,&_argo0,&_obj1,&_arg2))
6140 return NULL;
6141 if (_argo0) {
6142 if (_argo0 == Py_None) { _arg0 = NULL; }
6143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6145 return NULL;
6146 }
6147 }
6148 {
6149 #if PYTHON_API_VERSION >= 1009
6150 char* tmpPtr; int tmpSize;
6151 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6152 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6153 return NULL;
6154 }
6155 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6156 return NULL;
6157 _arg1 = new wxString(tmpPtr, tmpSize);
6158 #else
6159 if (!PyString_Check(_obj1)) {
6160 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6161 return NULL;
6162 }
6163 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6164 #endif
6165 }
6166 {
6167 wxPy_BEGIN_ALLOW_THREADS;
6168 wxHtmlEasyPrinting_SetHeader(_arg0,*_arg1,_arg2);
6169
6170 wxPy_END_ALLOW_THREADS;
6171 } Py_INCREF(Py_None);
6172 _resultobj = Py_None;
6173 {
6174 if (_obj1)
6175 delete _arg1;
6176 }
6177 return _resultobj;
6178 }
6179
6180 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6181 static PyObject *_wrap_wxHtmlEasyPrinting_SetFooter(PyObject *self, PyObject *args, PyObject *kwargs) {
6182 PyObject * _resultobj;
6183 wxHtmlEasyPrinting * _arg0;
6184 wxString * _arg1;
6185 int _arg2 = (int ) (wxPAGE_ALL);
6186 PyObject * _argo0 = 0;
6187 PyObject * _obj1 = 0;
6188 char *_kwnames[] = { "self","footer","pg", NULL };
6189
6190 self = self;
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames,&_argo0,&_obj1,&_arg2))
6192 return NULL;
6193 if (_argo0) {
6194 if (_argo0 == Py_None) { _arg0 = NULL; }
6195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6197 return NULL;
6198 }
6199 }
6200 {
6201 #if PYTHON_API_VERSION >= 1009
6202 char* tmpPtr; int tmpSize;
6203 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6204 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6205 return NULL;
6206 }
6207 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6208 return NULL;
6209 _arg1 = new wxString(tmpPtr, tmpSize);
6210 #else
6211 if (!PyString_Check(_obj1)) {
6212 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6213 return NULL;
6214 }
6215 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6216 #endif
6217 }
6218 {
6219 wxPy_BEGIN_ALLOW_THREADS;
6220 wxHtmlEasyPrinting_SetFooter(_arg0,*_arg1,_arg2);
6221
6222 wxPy_END_ALLOW_THREADS;
6223 } Py_INCREF(Py_None);
6224 _resultobj = Py_None;
6225 {
6226 if (_obj1)
6227 delete _arg1;
6228 }
6229 return _resultobj;
6230 }
6231
6232 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6233 static PyObject *_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject * _resultobj;
6235 wxPrintData * _result;
6236 wxHtmlEasyPrinting * _arg0;
6237 PyObject * _argo0 = 0;
6238 char *_kwnames[] = { "self", NULL };
6239 char _ptemp[128];
6240
6241 self = self;
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames,&_argo0))
6243 return NULL;
6244 if (_argo0) {
6245 if (_argo0 == Py_None) { _arg0 = NULL; }
6246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6248 return NULL;
6249 }
6250 }
6251 {
6252 wxPy_BEGIN_ALLOW_THREADS;
6253 _result = (wxPrintData *)wxHtmlEasyPrinting_GetPrintData(_arg0);
6254
6255 wxPy_END_ALLOW_THREADS;
6256 } if (_result) {
6257 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPrintData_p");
6258 _resultobj = Py_BuildValue("s",_ptemp);
6259 } else {
6260 Py_INCREF(Py_None);
6261 _resultobj = Py_None;
6262 }
6263 return _resultobj;
6264 }
6265
6266 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6267 static PyObject *_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject * _resultobj;
6269 wxPageSetupDialogData * _result;
6270 wxHtmlEasyPrinting * _arg0;
6271 PyObject * _argo0 = 0;
6272 char *_kwnames[] = { "self", NULL };
6273 char _ptemp[128];
6274
6275 self = self;
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames,&_argo0))
6277 return NULL;
6278 if (_argo0) {
6279 if (_argo0 == Py_None) { _arg0 = NULL; }
6280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlEasyPrinting_p")) {
6281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6282 return NULL;
6283 }
6284 }
6285 {
6286 wxPy_BEGIN_ALLOW_THREADS;
6287 _result = (wxPageSetupDialogData *)wxHtmlEasyPrinting_GetPageSetupData(_arg0);
6288
6289 wxPy_END_ALLOW_THREADS;
6290 } if (_result) {
6291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPageSetupDialogData_p");
6292 _resultobj = Py_BuildValue("s",_ptemp);
6293 } else {
6294 Py_INCREF(Py_None);
6295 _resultobj = Py_None;
6296 }
6297 return _resultobj;
6298 }
6299
6300 static PyMethodDef htmlcMethods[] = {
6301 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
6302 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction) _wrap_wxHtmlEasyPrinting_GetPrintData, METH_VARARGS | METH_KEYWORDS },
6303 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetFooter, METH_VARARGS | METH_KEYWORDS },
6304 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction) _wrap_wxHtmlEasyPrinting_SetHeader, METH_VARARGS | METH_KEYWORDS },
6305 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PageSetup, METH_VARARGS | METH_KEYWORDS },
6306 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrinterSetup, METH_VARARGS | METH_KEYWORDS },
6307 { "wxHtmlEasyPrinting_PrintText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintText, METH_VARARGS | METH_KEYWORDS },
6308 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PrintFile, METH_VARARGS | METH_KEYWORDS },
6309 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewText, METH_VARARGS | METH_KEYWORDS },
6310 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction) _wrap_wxHtmlEasyPrinting_PreviewFile, METH_VARARGS | METH_KEYWORDS },
6311 { "delete_wxHtmlEasyPrinting", (PyCFunction) _wrap_delete_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
6312 { "new_wxHtmlEasyPrinting", (PyCFunction) _wrap_new_wxHtmlEasyPrinting, METH_VARARGS | METH_KEYWORDS },
6313 { "wxHtmlPrintout_SetMargins", (PyCFunction) _wrap_wxHtmlPrintout_SetMargins, METH_VARARGS | METH_KEYWORDS },
6314 { "wxHtmlPrintout_SetFooter", (PyCFunction) _wrap_wxHtmlPrintout_SetFooter, METH_VARARGS | METH_KEYWORDS },
6315 { "wxHtmlPrintout_SetHeader", (PyCFunction) _wrap_wxHtmlPrintout_SetHeader, METH_VARARGS | METH_KEYWORDS },
6316 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlFile, METH_VARARGS | METH_KEYWORDS },
6317 { "wxHtmlPrintout_SetHtmlText", (PyCFunction) _wrap_wxHtmlPrintout_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
6318 { "new_wxHtmlPrintout", (PyCFunction) _wrap_new_wxHtmlPrintout, METH_VARARGS | METH_KEYWORDS },
6319 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction) _wrap_wxHtmlDCRenderer_GetTotalHeight, METH_VARARGS | METH_KEYWORDS },
6320 { "wxHtmlDCRenderer_Render", (PyCFunction) _wrap_wxHtmlDCRenderer_Render, METH_VARARGS | METH_KEYWORDS },
6321 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction) _wrap_wxHtmlDCRenderer_SetHtmlText, METH_VARARGS | METH_KEYWORDS },
6322 { "wxHtmlDCRenderer_SetSize", (PyCFunction) _wrap_wxHtmlDCRenderer_SetSize, METH_VARARGS | METH_KEYWORDS },
6323 { "wxHtmlDCRenderer_SetDC", (PyCFunction) _wrap_wxHtmlDCRenderer_SetDC, METH_VARARGS | METH_KEYWORDS },
6324 { "delete_wxHtmlDCRenderer", (PyCFunction) _wrap_delete_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
6325 { "new_wxHtmlDCRenderer", (PyCFunction) _wrap_new_wxHtmlDCRenderer, METH_VARARGS | METH_KEYWORDS },
6326 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnCellClicked, METH_VARARGS | METH_KEYWORDS },
6327 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction) _wrap_wxHtmlWindow_base_OnCellMouseHover, METH_VARARGS | METH_KEYWORDS },
6328 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction) _wrap_wxHtmlWindow_base_OnSetTitle, METH_VARARGS | METH_KEYWORDS },
6329 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
6330 { "wxHtmlWindow_GetParser", (PyCFunction) _wrap_wxHtmlWindow_GetParser, METH_VARARGS | METH_KEYWORDS },
6331 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_wxHtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
6332 { "wxHtmlWindow_HistoryClear", (PyCFunction) _wrap_wxHtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
6333 { "wxHtmlWindow_HistoryCanForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryCanForward, METH_VARARGS | METH_KEYWORDS },
6334 { "wxHtmlWindow_HistoryCanBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryCanBack, METH_VARARGS | METH_KEYWORDS },
6335 { "wxHtmlWindow_HistoryForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
6336 { "wxHtmlWindow_HistoryBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
6337 { "wxHtmlWindow_WriteCustomization", (PyCFunction) _wrap_wxHtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
6338 { "wxHtmlWindow_ReadCustomization", (PyCFunction) _wrap_wxHtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
6339 { "wxHtmlWindow_SetBorders", (PyCFunction) _wrap_wxHtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
6340 { "wxHtmlWindow_SetTitle", (PyCFunction) _wrap_wxHtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
6341 { "wxHtmlWindow_SetFonts", (PyCFunction) _wrap_wxHtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
6342 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
6343 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
6344 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
6345 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPageTitle, METH_VARARGS | METH_KEYWORDS },
6346 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedAnchor, METH_VARARGS | METH_KEYWORDS },
6347 { "wxHtmlWindow_GetOpenedPage", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
6348 { "wxHtmlWindow_AppendToPage", (PyCFunction) _wrap_wxHtmlWindow_AppendToPage, METH_VARARGS | METH_KEYWORDS },
6349 { "wxHtmlWindow_LoadPage", (PyCFunction) _wrap_wxHtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
6350 { "wxHtmlWindow_SetPage", (PyCFunction) _wrap_wxHtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
6351 { "wxHtmlWindow__setCallbackInfo", (PyCFunction) _wrap_wxHtmlWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
6352 { "wxHtmlWindow_Create", (PyCFunction) _wrap_wxHtmlWindow_Create, METH_VARARGS | METH_KEYWORDS },
6353 { "new_wxPreHtmlWindow", (PyCFunction) _wrap_new_wxPreHtmlWindow, METH_VARARGS | METH_KEYWORDS },
6354 { "new_wxHtmlWindow", (PyCFunction) _wrap_new_wxHtmlWindow, METH_VARARGS | METH_KEYWORDS },
6355 { "new_wxHtmlWidgetCell", (PyCFunction) _wrap_new_wxHtmlWidgetCell, METH_VARARGS | METH_KEYWORDS },
6356 { "new_wxHtmlFontCell", (PyCFunction) _wrap_new_wxHtmlFontCell, METH_VARARGS | METH_KEYWORDS },
6357 { "new_wxHtmlColourCell", (PyCFunction) _wrap_new_wxHtmlColourCell, METH_VARARGS | METH_KEYWORDS },
6358 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction) _wrap_wxHtmlContainerCell_GetFirstCell, METH_VARARGS | METH_KEYWORDS },
6359 { "wxHtmlContainerCell_SetBorder", (PyCFunction) _wrap_wxHtmlContainerCell_SetBorder, METH_VARARGS | METH_KEYWORDS },
6360 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction) _wrap_wxHtmlContainerCell_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
6361 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction) _wrap_wxHtmlContainerCell_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
6362 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag, METH_VARARGS | METH_KEYWORDS },
6363 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction) _wrap_wxHtmlContainerCell_SetWidthFloat, METH_VARARGS | METH_KEYWORDS },
6364 { "wxHtmlContainerCell_SetAlign", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlign, METH_VARARGS | METH_KEYWORDS },
6365 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndentUnits, METH_VARARGS | METH_KEYWORDS },
6366 { "wxHtmlContainerCell_GetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_GetIndent, METH_VARARGS | METH_KEYWORDS },
6367 { "wxHtmlContainerCell_SetIndent", (PyCFunction) _wrap_wxHtmlContainerCell_SetIndent, METH_VARARGS | METH_KEYWORDS },
6368 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignVer, METH_VARARGS | METH_KEYWORDS },
6369 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignVer, METH_VARARGS | METH_KEYWORDS },
6370 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_GetAlignHor, METH_VARARGS | METH_KEYWORDS },
6371 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction) _wrap_wxHtmlContainerCell_SetAlignHor, METH_VARARGS | METH_KEYWORDS },
6372 { "wxHtmlContainerCell_InsertCell", (PyCFunction) _wrap_wxHtmlContainerCell_InsertCell, METH_VARARGS | METH_KEYWORDS },
6373 { "new_wxHtmlContainerCell", (PyCFunction) _wrap_new_wxHtmlContainerCell, METH_VARARGS | METH_KEYWORDS },
6374 { "new_wxHtmlWordCell", (PyCFunction) _wrap_new_wxHtmlWordCell, METH_VARARGS | METH_KEYWORDS },
6375 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction) _wrap_wxHtmlCell_SetCanLiveOnPagebreak, METH_VARARGS | METH_KEYWORDS },
6376 { "wxHtmlCell_AdjustPagebreak", (PyCFunction) _wrap_wxHtmlCell_AdjustPagebreak, METH_VARARGS | METH_KEYWORDS },
6377 { "wxHtmlCell_Find", (PyCFunction) _wrap_wxHtmlCell_Find, METH_VARARGS | METH_KEYWORDS },
6378 { "wxHtmlCell_DrawInvisible", (PyCFunction) _wrap_wxHtmlCell_DrawInvisible, METH_VARARGS | METH_KEYWORDS },
6379 { "wxHtmlCell_Draw", (PyCFunction) _wrap_wxHtmlCell_Draw, METH_VARARGS | METH_KEYWORDS },
6380 { "wxHtmlCell_Layout", (PyCFunction) _wrap_wxHtmlCell_Layout, METH_VARARGS | METH_KEYWORDS },
6381 { "wxHtmlCell_SetPos", (PyCFunction) _wrap_wxHtmlCell_SetPos, METH_VARARGS | METH_KEYWORDS },
6382 { "wxHtmlCell_SetParent", (PyCFunction) _wrap_wxHtmlCell_SetParent, METH_VARARGS | METH_KEYWORDS },
6383 { "wxHtmlCell_SetNext", (PyCFunction) _wrap_wxHtmlCell_SetNext, METH_VARARGS | METH_KEYWORDS },
6384 { "wxHtmlCell_SetLink", (PyCFunction) _wrap_wxHtmlCell_SetLink, METH_VARARGS | METH_KEYWORDS },
6385 { "wxHtmlCell_GetParent", (PyCFunction) _wrap_wxHtmlCell_GetParent, METH_VARARGS | METH_KEYWORDS },
6386 { "wxHtmlCell_GetNext", (PyCFunction) _wrap_wxHtmlCell_GetNext, METH_VARARGS | METH_KEYWORDS },
6387 { "wxHtmlCell_GetLink", (PyCFunction) _wrap_wxHtmlCell_GetLink, METH_VARARGS | METH_KEYWORDS },
6388 { "wxHtmlCell_GetDescent", (PyCFunction) _wrap_wxHtmlCell_GetDescent, METH_VARARGS | METH_KEYWORDS },
6389 { "wxHtmlCell_GetHeight", (PyCFunction) _wrap_wxHtmlCell_GetHeight, METH_VARARGS | METH_KEYWORDS },
6390 { "wxHtmlCell_GetWidth", (PyCFunction) _wrap_wxHtmlCell_GetWidth, METH_VARARGS | METH_KEYWORDS },
6391 { "wxHtmlCell_GetPosY", (PyCFunction) _wrap_wxHtmlCell_GetPosY, METH_VARARGS | METH_KEYWORDS },
6392 { "wxHtmlCell_GetPosX", (PyCFunction) _wrap_wxHtmlCell_GetPosX, METH_VARARGS | METH_KEYWORDS },
6393 { "new_wxHtmlCell", (PyCFunction) _wrap_new_wxHtmlCell, METH_VARARGS | METH_KEYWORDS },
6394 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
6395 { "wxHtmlWinTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
6396 { "wxHtmlWinTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
6397 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction) _wrap_wxHtmlWinTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
6398 { "new_wxHtmlWinTagHandler", (PyCFunction) _wrap_new_wxHtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
6399 { "wxHtmlTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
6400 { "wxHtmlTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
6401 { "wxHtmlTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
6402 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction) _wrap_wxHtmlTagHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
6403 { "new_wxHtmlTagHandler", (PyCFunction) _wrap_new_wxHtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
6404 { "wxHtmlWinParser_GetLink", (PyCFunction) _wrap_wxHtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
6405 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_wxHtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
6406 { "wxHtmlWinParser_SetLink", (PyCFunction) _wrap_wxHtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
6407 { "wxHtmlWinParser_SetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
6408 { "wxHtmlWinParser_GetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
6409 { "wxHtmlWinParser_SetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
6410 { "wxHtmlWinParser_GetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
6411 { "wxHtmlWinParser_SetAlign", (PyCFunction) _wrap_wxHtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
6412 { "wxHtmlWinParser_GetAlign", (PyCFunction) _wrap_wxHtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
6413 { "wxHtmlWinParser_SetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
6414 { "wxHtmlWinParser_GetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
6415 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
6416 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
6417 { "wxHtmlWinParser_SetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
6418 { "wxHtmlWinParser_GetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
6419 { "wxHtmlWinParser_SetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
6420 { "wxHtmlWinParser_GetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
6421 { "wxHtmlWinParser_SetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
6422 { "wxHtmlWinParser_GetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
6423 { "wxHtmlWinParser_CloseContainer", (PyCFunction) _wrap_wxHtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
6424 { "wxHtmlWinParser_SetContainer", (PyCFunction) _wrap_wxHtmlWinParser_SetContainer, METH_VARARGS | METH_KEYWORDS },
6425 { "wxHtmlWinParser_OpenContainer", (PyCFunction) _wrap_wxHtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
6426 { "wxHtmlWinParser_GetContainer", (PyCFunction) _wrap_wxHtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
6427 { "wxHtmlWinParser_SetFonts", (PyCFunction) _wrap_wxHtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
6428 { "wxHtmlWinParser_GetWindow", (PyCFunction) _wrap_wxHtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
6429 { "wxHtmlWinParser_GetCharWidth", (PyCFunction) _wrap_wxHtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
6430 { "wxHtmlWinParser_GetCharHeight", (PyCFunction) _wrap_wxHtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
6431 { "wxHtmlWinParser_GetDC", (PyCFunction) _wrap_wxHtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
6432 { "wxHtmlWinParser_SetDC", (PyCFunction) _wrap_wxHtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
6433 { "new_wxHtmlWinParser", (PyCFunction) _wrap_new_wxHtmlWinParser, METH_VARARGS | METH_KEYWORDS },
6434 { "wxHtmlParser_PopTagHandler", (PyCFunction) _wrap_wxHtmlParser_PopTagHandler, METH_VARARGS | METH_KEYWORDS },
6435 { "wxHtmlParser_PushTagHandler", (PyCFunction) _wrap_wxHtmlParser_PushTagHandler, METH_VARARGS | METH_KEYWORDS },
6436 { "wxHtmlParser_GetSource", (PyCFunction) _wrap_wxHtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
6437 { "wxHtmlParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
6438 { "wxHtmlParser_DoParsing", (PyCFunction) _wrap_wxHtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
6439 { "wxHtmlParser_DoneParser", (PyCFunction) _wrap_wxHtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
6440 { "wxHtmlParser_InitParser", (PyCFunction) _wrap_wxHtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
6441 { "wxHtmlParser_Parse", (PyCFunction) _wrap_wxHtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
6442 { "wxHtmlParser_GetFS", (PyCFunction) _wrap_wxHtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
6443 { "wxHtmlParser_SetFS", (PyCFunction) _wrap_wxHtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
6444 { "wxHtmlTag_GetEndPos2", (PyCFunction) _wrap_wxHtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
6445 { "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
6446 { "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
6447 { "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
6448 { "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
6449 { "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
6450 { "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
6451 { "wxHtmlTag_GetName", (PyCFunction) _wrap_wxHtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
6452 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction) _wrap_wxHtmlLinkInfo_SetHtmlCell, METH_VARARGS | METH_KEYWORDS },
6453 { "wxHtmlLinkInfo_SetEvent", (PyCFunction) _wrap_wxHtmlLinkInfo_SetEvent, METH_VARARGS | METH_KEYWORDS },
6454 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction) _wrap_wxHtmlLinkInfo_GetHtmlCell, METH_VARARGS | METH_KEYWORDS },
6455 { "wxHtmlLinkInfo_GetEvent", (PyCFunction) _wrap_wxHtmlLinkInfo_GetEvent, METH_VARARGS | METH_KEYWORDS },
6456 { "wxHtmlLinkInfo_GetTarget", (PyCFunction) _wrap_wxHtmlLinkInfo_GetTarget, METH_VARARGS | METH_KEYWORDS },
6457 { "wxHtmlLinkInfo_GetHref", (PyCFunction) _wrap_wxHtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS },
6458 { "new_wxHtmlLinkInfo", (PyCFunction) _wrap_new_wxHtmlLinkInfo, METH_VARARGS | METH_KEYWORDS },
6459 { "wxHtmlWindow_AddFilter", (PyCFunction) _wrap_wxHtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
6460 { "wxHtmlWinParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
6461 { NULL, NULL }
6462 };
6463 #ifdef __cplusplus
6464 }
6465 #endif
6466 /*
6467 * This table is used by the pointer type-checker
6468 */
6469 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
6470 { "_signed_long","_long",0},
6471 { "_wxPrintQuality","_wxCoord",0},
6472 { "_wxPrintQuality","_int",0},
6473 { "_wxPrintQuality","_signed_int",0},
6474 { "_wxPrintQuality","_unsigned_int",0},
6475 { "_wxPrintQuality","_wxWindowID",0},
6476 { "_wxPrintQuality","_uint",0},
6477 { "_wxPrintQuality","_EBool",0},
6478 { "_wxPrintQuality","_size_t",0},
6479 { "_wxPrintQuality","_time_t",0},
6480 { "_byte","_unsigned_char",0},
6481 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout},
6482 { "_long","_unsigned_long",0},
6483 { "_long","_signed_long",0},
6484 { "_size_t","_wxCoord",0},
6485 { "_size_t","_wxPrintQuality",0},
6486 { "_size_t","_time_t",0},
6487 { "_size_t","_unsigned_int",0},
6488 { "_size_t","_int",0},
6489 { "_size_t","_wxWindowID",0},
6490 { "_size_t","_uint",0},
6491 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
6492 { "_uint","_wxCoord",0},
6493 { "_uint","_wxPrintQuality",0},
6494 { "_uint","_time_t",0},
6495 { "_uint","_size_t",0},
6496 { "_uint","_unsigned_int",0},
6497 { "_uint","_int",0},
6498 { "_uint","_wxWindowID",0},
6499 { "_wxChar","_char",0},
6500 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
6501 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell},
6502 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell},
6503 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell},
6504 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell},
6505 { "_char","_wxChar",0},
6506 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6507 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
6508 { "_EBool","_wxCoord",0},
6509 { "_EBool","_wxPrintQuality",0},
6510 { "_EBool","_signed_int",0},
6511 { "_EBool","_int",0},
6512 { "_EBool","_wxWindowID",0},
6513 { "_unsigned_long","_long",0},
6514 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6515 { "_signed_int","_wxCoord",0},
6516 { "_signed_int","_wxPrintQuality",0},
6517 { "_signed_int","_EBool",0},
6518 { "_signed_int","_wxWindowID",0},
6519 { "_signed_int","_int",0},
6520 { "_WXTYPE","_wxDateTime_t",0},
6521 { "_WXTYPE","_short",0},
6522 { "_WXTYPE","_signed_short",0},
6523 { "_WXTYPE","_unsigned_short",0},
6524 { "_unsigned_short","_wxDateTime_t",0},
6525 { "_unsigned_short","_WXTYPE",0},
6526 { "_unsigned_short","_short",0},
6527 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject},
6528 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject},
6529 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject},
6530 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject},
6531 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject},
6532 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject},
6533 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject},
6534 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject},
6535 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject},
6536 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject},
6537 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject},
6538 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject},
6539 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject},
6540 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject},
6541 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject},
6542 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject},
6543 { "_signed_short","_WXTYPE",0},
6544 { "_signed_short","_short",0},
6545 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
6546 { "_unsigned_char","_byte",0},
6547 { "_unsigned_int","_wxCoord",0},
6548 { "_unsigned_int","_wxPrintQuality",0},
6549 { "_unsigned_int","_time_t",0},
6550 { "_unsigned_int","_size_t",0},
6551 { "_unsigned_int","_uint",0},
6552 { "_unsigned_int","_wxWindowID",0},
6553 { "_unsigned_int","_int",0},
6554 { "_short","_wxDateTime_t",0},
6555 { "_short","_WXTYPE",0},
6556 { "_short","_unsigned_short",0},
6557 { "_short","_signed_short",0},
6558 { "_wxWindowID","_wxCoord",0},
6559 { "_wxWindowID","_wxPrintQuality",0},
6560 { "_wxWindowID","_time_t",0},
6561 { "_wxWindowID","_size_t",0},
6562 { "_wxWindowID","_EBool",0},
6563 { "_wxWindowID","_uint",0},
6564 { "_wxWindowID","_int",0},
6565 { "_wxWindowID","_signed_int",0},
6566 { "_wxWindowID","_unsigned_int",0},
6567 { "_int","_wxCoord",0},
6568 { "_int","_wxPrintQuality",0},
6569 { "_int","_time_t",0},
6570 { "_int","_size_t",0},
6571 { "_int","_EBool",0},
6572 { "_int","_uint",0},
6573 { "_int","_wxWindowID",0},
6574 { "_int","_unsigned_int",0},
6575 { "_int","_signed_int",0},
6576 { "_wxDateTime_t","_unsigned_short",0},
6577 { "_wxDateTime_t","_short",0},
6578 { "_wxDateTime_t","_WXTYPE",0},
6579 { "_time_t","_wxCoord",0},
6580 { "_time_t","_wxPrintQuality",0},
6581 { "_time_t","_unsigned_int",0},
6582 { "_time_t","_int",0},
6583 { "_time_t","_wxWindowID",0},
6584 { "_time_t","_uint",0},
6585 { "_time_t","_size_t",0},
6586 { "_wxCoord","_int",0},
6587 { "_wxCoord","_signed_int",0},
6588 { "_wxCoord","_unsigned_int",0},
6589 { "_wxCoord","_wxWindowID",0},
6590 { "_wxCoord","_uint",0},
6591 { "_wxCoord","_EBool",0},
6592 { "_wxCoord","_size_t",0},
6593 { "_wxCoord","_time_t",0},
6594 { "_wxCoord","_wxPrintQuality",0},
6595 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
6596 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
6597 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
6598 {0,0,0}};
6599
6600 static PyObject *SWIG_globals;
6601 #ifdef __cplusplus
6602 extern "C"
6603 #endif
6604 SWIGEXPORT(void) inithtmlc() {
6605 PyObject *m, *d;
6606 SWIG_globals = SWIG_newvarlink();
6607 m = Py_InitModule("htmlc", htmlcMethods);
6608 d = PyModule_GetDict(m);
6609 PyDict_SetItemString(d,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT));
6610 PyDict_SetItemString(d,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER));
6611 PyDict_SetItemString(d,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT));
6612 PyDict_SetItemString(d,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM));
6613 PyDict_SetItemString(d,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP));
6614 PyDict_SetItemString(d,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND));
6615 PyDict_SetItemString(d,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND));
6616 PyDict_SetItemString(d,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS));
6617 PyDict_SetItemString(d,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT));
6618 PyDict_SetItemString(d,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT));
6619 PyDict_SetItemString(d,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT));
6620 PyDict_SetItemString(d,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP));
6621 PyDict_SetItemString(d,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM));
6622 PyDict_SetItemString(d,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL));
6623 PyDict_SetItemString(d,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL));
6624 PyDict_SetItemString(d,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL));
6625 PyDict_SetItemString(d,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR));
6626 PyDict_SetItemString(d,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP));
6627 PyDict_SetItemString(d,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER));
6628 PyDict_SetItemString(d,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD));
6629 PyDict_SetItemString(d,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN));
6630 PyDict_SetItemString(d,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL));
6631
6632
6633 inithtmlhelpc();
6634
6635 wxClassInfo::CleanUpClasses();
6636 wxClassInfo::InitializeClasses();
6637
6638 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6639 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6640 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6641 {
6642 int i;
6643 for (i = 0; _swig_mapping[i].n1; i++)
6644 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
6645 }
6646 }