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