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