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