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