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