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