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