]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/modules/html/html.cpp
set tooltip to be TOPMOST
[wxWidgets.git] / utils / wxPython / modules / html / html.cpp
CommitLineData
325274bb 1/*
a65c6e14 2 * FILE : ./html.cpp
325274bb
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
0f66a9f3 6 * Version 1.1 (Build 810)
325274bb
RD
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
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
52#define SWIG_init inithtmlc
53
54#define SWIG_name "htmlc"
55
56#include "helpers.h"
57#include <wx/html/htmlwin.h>
58#include <wx/image.h>
59#include <wx/fs_zip.h>
60#include <wx/fs_inet.h>
0f66a9f3
RD
61#include <wx/wfstream.h>
62#include "helpsys.h"
325274bb
RD
63
64static PyObject* l_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyList_Check(target)) {
74 o2 = target;
75 target = PyList_New(0);
76 PyList_Append(target, o2);
77 Py_XDECREF(o2);
78 }
79 PyList_Append(target,o);
80 Py_XDECREF(o);
81 }
82 return target;
83}
84
85static PyObject* t_output_helper(PyObject* target, PyObject* o) {
86 PyObject* o2;
87 PyObject* o3;
88
89 if (!target) {
90 target = o;
91 } else if (target == Py_None) {
92 Py_DECREF(Py_None);
93 target = o;
94 } else {
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
102
103 o2 = target;
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
106 Py_DECREF(o3);
107 }
108 return target;
109}
110
111
0f66a9f3
RD
112HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
113HELPEREXPORT int* int_LIST_helper(PyObject* source);
114HELPEREXPORT long* long_LIST_helper(PyObject* source);
115HELPEREXPORT char** string_LIST_helper(PyObject* source);
116HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
117HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
118HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
119HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
325274bb
RD
120
121
122static char* wxStringErrorMsg = "string type is required for parameter";
123
124#ifdef __WXMSW__
0f66a9f3
RD
125wxString wxPyEmptyStr("");
126wxPoint wxPyDefaultPosition(wxDefaultPosition);
127wxSize wxPyDefaultSize(wxDefaultSize);
325274bb 128#endif
325274bb
RD
129
130
131static PyObject* mod_dict = NULL; // will be set by init
132
133#include <wx/html/mod_templ.h>
134
135TAG_HANDLER_BEGIN(PYTHONTAG, "PYTHON")
136 TAG_HANDLER_PROC(tag)
137 {
0f66a9f3
RD
138 wxWindow *wnd;
139 wxString errmsg;
140 char pbuf[256];
141
142 int fl = 0;
143
144 bool doSave = wxPyRestoreThread();
145 while (1) {
146 if (tag.HasParam("FLOAT"))
147 tag.ScanParam("FLOAT", "%i", &fl);
148 PyObject* pyfunc = PyDict_GetItemString(mod_dict, "WidgetStarter");
149 if (pyfunc == NULL) {
150 errmsg = "Could not find object WidgetStarter";
151 break;
152 }
153 if (! PyCallable_Check(pyfunc)) {
154 errmsg = "WidgetStarter does not appear to be callable";
155 break;
156 }
157 SWIG_MakePtr(pbuf, m_WParser->GetWindow(), "_wxPyHtmlWindow_p");
325274bb 158 PyObject* arglist = Py_BuildValue("(s,s)", pbuf,
0f66a9f3
RD
159 (const char*)tag.GetAllParams());
160 if (! arglist) {
161 errmsg = "Failed making argument list";
162 break;
163 }
164 PyObject* ret = PyEval_CallObject(pyfunc, arglist);
165 Py_DECREF(arglist);
166 if (ret == NULL) {
325274bb 167 errmsg = "An error occured while calling WidgetStarter";
0f66a9f3
RD
168 if (PyErr_Occurred())
169 PyErr_Print();
170 break;
171 }
172 wnd = NULL;
173 if (PyString_Check(ret)) {
174 char* thisc = PyString_AsString(ret);
175 SWIG_GetPtr(thisc, (void**)&wnd, "_wxWindow_p");
176 }
177 Py_DECREF(ret);
178 if (! wnd) {
325274bb 179 errmsg = "Could not make a wxWindow pointer from return ptr";
0f66a9f3
RD
180 break;
181 }
182 wxPySaveThread(doSave);
183 wnd -> Show(TRUE);
184 m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, fl));
185 return FALSE;
186 }
187
188 wxPySaveThread(doSave);
189
190 /* we got out of the loop. Must be an error. Show a box stating it. */
325274bb 191 wnd = new wxTextCtrl( m_WParser -> GetWindow(), -1,
0f66a9f3
RD
192 errmsg, wxPoint(0,0),
193 wxSize(300, 100), wxTE_MULTILINE );
194 wnd -> Show(TRUE);
195 m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, 100));
325274bb
RD
196 return FALSE;
197 }
325274bb 198
0f66a9f3
RD
199TAG_HANDLER_END(PYTHONTAG)
200
201TAGS_MODULE_BEGIN(PythonTag)
202
203 TAGS_MODULE_ADD(PYTHONTAG)
204
205TAGS_MODULE_END(PythonTag)
206
207// Note: see also the init function where we add the module!
208
209
210class wxPyHtmlTagHandler : public wxHtmlTagHandler {
211public:
212 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
213
214 wxHtmlParser* GetParser() { return m_Parser; }
215 void ParseInner(const wxHtmlTag& tag) { wxHtmlTagHandler::ParseInner(tag); }
216
217 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
218 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
219
220 PYPRIVATE;
221};
222
223IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler, wxHtmlTagHandler, GetSupportedTags);
224IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag);
225
226
227class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler {
228public:
229 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
230
231 wxHtmlWinParser* GetParser() { return m_WParser; }
232 void ParseInner(const wxHtmlTag& tag)
233 { wxHtmlWinTagHandler::ParseInner(tag); }
234
235 DEC_PYCALLBACK_STRING__pure(GetSupportedTags);
236 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag);
237
238 PYPRIVATE;
239};
240
241IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, GetSupportedTags);
242IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler, wxHtmlWinTagHandler, HandleTag);
243
244
245
246class wxPyHtmlTagsModule : public wxHtmlTagsModule {
247public:
248 wxPyHtmlTagsModule(PyObject* thc) : wxHtmlTagsModule() {
249 m_tagHandlerClass = thc;
250 Py_INCREF(m_tagHandlerClass);
251 RegisterModule(this);
252 wxHtmlWinParser::AddModule(this);
253 }
254
255 void OnExit() {
256 Py_DECREF(m_tagHandlerClass);
257 m_tagHandlerClass = NULL;
258 for (int x=0; x < m_objArray.GetCount(); x++) {
259 PyObject* obj = (PyObject*)m_objArray.Item(x);
260 Py_DECREF(obj);
261 }
262 };
263
264 void FillHandlersTable(wxHtmlWinParser *parser) {
265 // Wave our magic wand... (if it works it's a miracle! ;-)
266
267 // First, make a new instance of the tag handler
268 PyObject* arg = Py_BuildValue("()");
269 PyObject* obj = PyInstance_New(m_tagHandlerClass, arg, NULL);
270 Py_DECREF(arg);
271
272 // now figure out where it's C++ object is...
273 wxPyHtmlWinTagHandler* thPtr;
274 if (SWIG_GetPtrObj(obj, (void **)&thPtr, "_wxPyHtmlWinTagHandler_p"))
275 return;
276
277 // add it,
278 parser->AddTagHandler(thPtr);
279
280 // and track it.
281 m_objArray.Add(obj);
282 }
283
284private:
285 PyObject* m_tagHandlerClass;
286 wxArrayPtrVoid m_objArray;
287
288};
289
290 void wxHtmlWinParser_AddTagHandler(PyObject* tagHandlerClass) {
291 // Dynamically create a new wxModule. Refcounts tagHandlerClass
292 // and adds itself to the wxModules list and to the wxHtmlWinParser.
293 new wxPyHtmlTagsModule(tagHandlerClass);
294 }
295
296class wxPyHtmlWindow : public wxHtmlWindow {
297public:
298 wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1,
299 const wxPoint& pos = wxDefaultPosition,
300 const wxSize& size = wxDefaultSize,
301 long style = wxHW_SCROLLBAR_AUTO,
302 const wxString& name = "htmlWindow")
303 : wxHtmlWindow(parent, id, pos, size, style, name) {};
304
305 DEC_PYCALLBACK__STRING(OnLinkClicked);
306
307 PYPRIVATE;
308};
309
310IMP_PYCALLBACK__STRING(wxPyHtmlWindow, wxHtmlWindow, OnLinkClicked);
311
312
313 void wxHtmlWindow_AddFilter(wxHtmlFilter *filter) {
314 wxHtmlWindow::AddFilter(filter);
315 }
316
317 extern "C" SWIGEXPORT(void) inithtmlhelpc();
318#ifdef __cplusplus
319extern "C" {
320#endif
321static PyObject *_wrap_wxHtmlWinParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
322 PyObject * _resultobj;
323 PyObject * _arg0;
324 PyObject * _obj0 = 0;
325 char *_kwnames[] = { "tagHandlerClass", NULL };
326
327 self = self;
328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_AddTagHandler",_kwnames,&_obj0))
329 return NULL;
330{
331 _arg0 = _obj0;
332}
333{
334 wxPy_BEGIN_ALLOW_THREADS;
335 wxHtmlWinParser_AddTagHandler(_arg0);
336
337 wxPy_END_ALLOW_THREADS;
338} Py_INCREF(Py_None);
339 _resultobj = Py_None;
340 return _resultobj;
341}
342
343static PyObject *_wrap_wxHtmlWindow_AddFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
344 PyObject * _resultobj;
345 wxHtmlFilter * _arg0;
346 PyObject * _argo0 = 0;
347 char *_kwnames[] = { "filter", NULL };
348
349 self = self;
350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_AddFilter",_kwnames,&_argo0))
351 return NULL;
352 if (_argo0) {
353 if (_argo0 == Py_None) { _arg0 = NULL; }
354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlFilter_p")) {
355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
356 return NULL;
357 }
358 }
359{
360 wxPy_BEGIN_ALLOW_THREADS;
361 wxHtmlWindow_AddFilter(_arg0);
362
363 wxPy_END_ALLOW_THREADS;
364} Py_INCREF(Py_None);
365 _resultobj = Py_None;
366 return _resultobj;
367}
368
369#define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
370static PyObject *_wrap_wxHtmlTag_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
371 PyObject * _resultobj;
372 wxString * _result;
373 wxHtmlTag * _arg0;
374 PyObject * _argo0 = 0;
375 char *_kwnames[] = { "self", NULL };
376
377 self = self;
378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetName",_kwnames,&_argo0))
379 return NULL;
380 if (_argo0) {
381 if (_argo0 == Py_None) { _arg0 = NULL; }
382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
384 return NULL;
385 }
386 }
387{
388 wxPy_BEGIN_ALLOW_THREADS;
389 _result = new wxString (wxHtmlTag_GetName(_arg0));
390
391 wxPy_END_ALLOW_THREADS;
392}{
393 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
394}
395{
396 delete _result;
397}
398 return _resultobj;
399}
400
401#define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
402static PyObject *_wrap_wxHtmlTag_HasParam(PyObject *self, PyObject *args, PyObject *kwargs) {
403 PyObject * _resultobj;
404 bool _result;
405 wxHtmlTag * _arg0;
406 wxString * _arg1;
407 PyObject * _argo0 = 0;
408 PyObject * _obj1 = 0;
409 char *_kwnames[] = { "self","par", NULL };
410
411 self = self;
412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTag_HasParam",_kwnames,&_argo0,&_obj1))
413 return NULL;
414 if (_argo0) {
415 if (_argo0 == Py_None) { _arg0 = NULL; }
416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
418 return NULL;
419 }
420 }
421{
422 if (!PyString_Check(_obj1)) {
423 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
424 return NULL;
425 }
426 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
427}
428{
429 wxPy_BEGIN_ALLOW_THREADS;
430 _result = (bool )wxHtmlTag_HasParam(_arg0,*_arg1);
431
432 wxPy_END_ALLOW_THREADS;
433} _resultobj = Py_BuildValue("i",_result);
434{
435 if (_obj1)
436 delete _arg1;
437}
438 return _resultobj;
439}
440
441#define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
442static PyObject *_wrap_wxHtmlTag_GetParam(PyObject *self, PyObject *args, PyObject *kwargs) {
443 PyObject * _resultobj;
444 wxString * _result;
445 wxHtmlTag * _arg0;
446 wxString * _arg1;
447 int _arg2 = (int ) FALSE;
448 PyObject * _argo0 = 0;
449 PyObject * _obj1 = 0;
450 char *_kwnames[] = { "self","par","with_commas", NULL };
451
452 self = self;
453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxHtmlTag_GetParam",_kwnames,&_argo0,&_obj1,&_arg2))
454 return NULL;
455 if (_argo0) {
456 if (_argo0 == Py_None) { _arg0 = NULL; }
457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
459 return NULL;
460 }
461 }
462{
463 if (!PyString_Check(_obj1)) {
464 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
465 return NULL;
466 }
467 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
468}
469{
470 wxPy_BEGIN_ALLOW_THREADS;
471 _result = new wxString (wxHtmlTag_GetParam(_arg0,*_arg1,_arg2));
472
473 wxPy_END_ALLOW_THREADS;
474}{
475 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
476}
477{
478 if (_obj1)
479 delete _arg1;
480}
481{
482 delete _result;
483}
484 return _resultobj;
485}
486
487#define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
488static PyObject *_wrap_wxHtmlTag_GetAllParams(PyObject *self, PyObject *args, PyObject *kwargs) {
489 PyObject * _resultobj;
490 wxString * _result;
491 wxHtmlTag * _arg0;
492 PyObject * _argo0 = 0;
493 char *_kwnames[] = { "self", NULL };
494
495 self = self;
496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetAllParams",_kwnames,&_argo0))
497 return NULL;
498 if (_argo0) {
499 if (_argo0 == Py_None) { _arg0 = NULL; }
500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
502 return NULL;
503 }
504 }
505{
506 wxPy_BEGIN_ALLOW_THREADS;
507 _result = new wxString (wxHtmlTag_GetAllParams(_arg0));
508
509 wxPy_END_ALLOW_THREADS;
510}{
511 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
512}
513{
514 delete _result;
515}
516 return _resultobj;
517}
518
519#define wxHtmlTag_IsEnding(_swigobj) (_swigobj->IsEnding())
520static PyObject *_wrap_wxHtmlTag_IsEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 bool _result;
523 wxHtmlTag * _arg0;
524 PyObject * _argo0 = 0;
525 char *_kwnames[] = { "self", NULL };
526
527 self = self;
528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_IsEnding",_kwnames,&_argo0))
529 return NULL;
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_IsEnding. Expected _wxHtmlTag_p.");
534 return NULL;
535 }
536 }
537{
538 wxPy_BEGIN_ALLOW_THREADS;
539 _result = (bool )wxHtmlTag_IsEnding(_arg0);
540
541 wxPy_END_ALLOW_THREADS;
542} _resultobj = Py_BuildValue("i",_result);
543 return _resultobj;
544}
545
546#define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
547static PyObject *_wrap_wxHtmlTag_HasEnding(PyObject *self, PyObject *args, PyObject *kwargs) {
548 PyObject * _resultobj;
549 bool _result;
550 wxHtmlTag * _arg0;
551 PyObject * _argo0 = 0;
552 char *_kwnames[] = { "self", NULL };
553
554 self = self;
555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_HasEnding",_kwnames,&_argo0))
556 return NULL;
557 if (_argo0) {
558 if (_argo0 == Py_None) { _arg0 = NULL; }
559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
561 return NULL;
562 }
563 }
564{
565 wxPy_BEGIN_ALLOW_THREADS;
566 _result = (bool )wxHtmlTag_HasEnding(_arg0);
567
568 wxPy_END_ALLOW_THREADS;
569} _resultobj = Py_BuildValue("i",_result);
570 return _resultobj;
571}
572
573#define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
574static PyObject *_wrap_wxHtmlTag_GetBeginPos(PyObject *self, PyObject *args, PyObject *kwargs) {
575 PyObject * _resultobj;
576 int _result;
577 wxHtmlTag * _arg0;
578 PyObject * _argo0 = 0;
579 char *_kwnames[] = { "self", NULL };
580
581 self = self;
582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetBeginPos",_kwnames,&_argo0))
583 return NULL;
584 if (_argo0) {
585 if (_argo0 == Py_None) { _arg0 = NULL; }
586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
588 return NULL;
589 }
590 }
591{
592 wxPy_BEGIN_ALLOW_THREADS;
593 _result = (int )wxHtmlTag_GetBeginPos(_arg0);
594
595 wxPy_END_ALLOW_THREADS;
596} _resultobj = Py_BuildValue("i",_result);
597 return _resultobj;
598}
599
600#define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
601static PyObject *_wrap_wxHtmlTag_GetEndPos1(PyObject *self, PyObject *args, PyObject *kwargs) {
602 PyObject * _resultobj;
603 int _result;
604 wxHtmlTag * _arg0;
605 PyObject * _argo0 = 0;
606 char *_kwnames[] = { "self", NULL };
607
608 self = self;
609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos1",_kwnames,&_argo0))
610 return NULL;
611 if (_argo0) {
612 if (_argo0 == Py_None) { _arg0 = NULL; }
613 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
614 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
615 return NULL;
616 }
617 }
618{
619 wxPy_BEGIN_ALLOW_THREADS;
620 _result = (int )wxHtmlTag_GetEndPos1(_arg0);
621
622 wxPy_END_ALLOW_THREADS;
623} _resultobj = Py_BuildValue("i",_result);
624 return _resultobj;
625}
626
627#define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
628static PyObject *_wrap_wxHtmlTag_GetEndPos2(PyObject *self, PyObject *args, PyObject *kwargs) {
629 PyObject * _resultobj;
630 int _result;
631 wxHtmlTag * _arg0;
632 PyObject * _argo0 = 0;
633 char *_kwnames[] = { "self", NULL };
634
635 self = self;
636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTag_GetEndPos2",_kwnames,&_argo0))
637 return NULL;
638 if (_argo0) {
639 if (_argo0 == Py_None) { _arg0 = NULL; }
640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlTag_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
642 return NULL;
643 }
644 }
645{
646 wxPy_BEGIN_ALLOW_THREADS;
647 _result = (int )wxHtmlTag_GetEndPos2(_arg0);
648
649 wxPy_END_ALLOW_THREADS;
650} _resultobj = Py_BuildValue("i",_result);
651 return _resultobj;
652}
653
654#define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
655static PyObject *_wrap_wxHtmlParser_SetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
656 PyObject * _resultobj;
657 wxHtmlParser * _arg0;
658 wxFileSystem * _arg1;
659 PyObject * _argo0 = 0;
660 PyObject * _argo1 = 0;
661 char *_kwnames[] = { "self","fs", NULL };
662
663 self = self;
664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_SetFS",_kwnames,&_argo0,&_argo1))
665 return NULL;
666 if (_argo0) {
667 if (_argo0 == Py_None) { _arg0 = NULL; }
668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
670 return NULL;
671 }
672 }
673 if (_argo1) {
674 if (_argo1 == Py_None) { _arg1 = NULL; }
675 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFileSystem_p")) {
676 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
677 return NULL;
678 }
679 }
680{
681 wxPy_BEGIN_ALLOW_THREADS;
682 wxHtmlParser_SetFS(_arg0,_arg1);
683
684 wxPy_END_ALLOW_THREADS;
685} Py_INCREF(Py_None);
686 _resultobj = Py_None;
687 return _resultobj;
688}
689
690#define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
691static PyObject *_wrap_wxHtmlParser_GetFS(PyObject *self, PyObject *args, PyObject *kwargs) {
692 PyObject * _resultobj;
693 wxFileSystem * _result;
694 wxHtmlParser * _arg0;
695 PyObject * _argo0 = 0;
696 char *_kwnames[] = { "self", NULL };
697 char _ptemp[128];
698
699 self = self;
700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetFS",_kwnames,&_argo0))
701 return NULL;
702 if (_argo0) {
703 if (_argo0 == Py_None) { _arg0 = NULL; }
704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
706 return NULL;
707 }
708 }
709{
710 wxPy_BEGIN_ALLOW_THREADS;
711 _result = (wxFileSystem *)wxHtmlParser_GetFS(_arg0);
712
713 wxPy_END_ALLOW_THREADS;
714} if (_result) {
715 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFileSystem_p");
716 _resultobj = Py_BuildValue("s",_ptemp);
717 } else {
718 Py_INCREF(Py_None);
719 _resultobj = Py_None;
720 }
721 return _resultobj;
722}
723
724#define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
725static PyObject *_wrap_wxHtmlParser_Parse(PyObject *self, PyObject *args, PyObject *kwargs) {
726 PyObject * _resultobj;
727 wxObject * _result;
728 wxHtmlParser * _arg0;
729 wxString * _arg1;
730 PyObject * _argo0 = 0;
731 PyObject * _obj1 = 0;
732 char *_kwnames[] = { "self","source", NULL };
733 char _ptemp[128];
734
735 self = self;
736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_Parse",_kwnames,&_argo0,&_obj1))
737 return NULL;
738 if (_argo0) {
739 if (_argo0 == Py_None) { _arg0 = NULL; }
740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
742 return NULL;
743 }
744 }
745{
746 if (!PyString_Check(_obj1)) {
747 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
748 return NULL;
749 }
750 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
751}
752{
753 wxPy_BEGIN_ALLOW_THREADS;
754 _result = (wxObject *)wxHtmlParser_Parse(_arg0,*_arg1);
755
756 wxPy_END_ALLOW_THREADS;
757} if (_result) {
758 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
759 _resultobj = Py_BuildValue("s",_ptemp);
760 } else {
761 Py_INCREF(Py_None);
762 _resultobj = Py_None;
763 }
764{
765 if (_obj1)
766 delete _arg1;
767}
768 return _resultobj;
769}
770
771#define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
772static PyObject *_wrap_wxHtmlParser_InitParser(PyObject *self, PyObject *args, PyObject *kwargs) {
773 PyObject * _resultobj;
774 wxHtmlParser * _arg0;
775 wxString * _arg1;
776 PyObject * _argo0 = 0;
777 PyObject * _obj1 = 0;
778 char *_kwnames[] = { "self","source", NULL };
779
780 self = self;
781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_InitParser",_kwnames,&_argo0,&_obj1))
782 return NULL;
783 if (_argo0) {
784 if (_argo0 == Py_None) { _arg0 = NULL; }
785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
787 return NULL;
788 }
789 }
790{
791 if (!PyString_Check(_obj1)) {
792 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
793 return NULL;
794 }
795 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
796}
797{
798 wxPy_BEGIN_ALLOW_THREADS;
799 wxHtmlParser_InitParser(_arg0,*_arg1);
800
801 wxPy_END_ALLOW_THREADS;
802} Py_INCREF(Py_None);
803 _resultobj = Py_None;
804{
805 if (_obj1)
806 delete _arg1;
807}
808 return _resultobj;
809}
810
811#define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
812static PyObject *_wrap_wxHtmlParser_DoneParser(PyObject *self, PyObject *args, PyObject *kwargs) {
813 PyObject * _resultobj;
814 wxHtmlParser * _arg0;
815 PyObject * _argo0 = 0;
816 char *_kwnames[] = { "self", NULL };
817
818 self = self;
819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_DoneParser",_kwnames,&_argo0))
820 return NULL;
821 if (_argo0) {
822 if (_argo0 == Py_None) { _arg0 = NULL; }
823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
825 return NULL;
826 }
827 }
828{
829 wxPy_BEGIN_ALLOW_THREADS;
830 wxHtmlParser_DoneParser(_arg0);
831
832 wxPy_END_ALLOW_THREADS;
833} Py_INCREF(Py_None);
834 _resultobj = Py_None;
835 return _resultobj;
836}
837
838#define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
839static PyObject *_wrap_wxHtmlParser_DoParsing(PyObject *self, PyObject *args, PyObject *kwargs) {
840 PyObject * _resultobj;
841 wxHtmlParser * _arg0;
842 int _arg1;
843 int _arg2;
844 PyObject * _argo0 = 0;
845 char *_kwnames[] = { "self","begin_pos","end_pos", NULL };
846
847 self = self;
848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxHtmlParser_DoParsing",_kwnames,&_argo0,&_arg1,&_arg2))
849 return NULL;
850 if (_argo0) {
851 if (_argo0 == Py_None) { _arg0 = NULL; }
852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
854 return NULL;
855 }
856 }
857{
858 wxPy_BEGIN_ALLOW_THREADS;
859 wxHtmlParser_DoParsing(_arg0,_arg1,_arg2);
860
861 wxPy_END_ALLOW_THREADS;
862} Py_INCREF(Py_None);
863 _resultobj = Py_None;
864 return _resultobj;
865}
866
867#define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
868static PyObject *_wrap_wxHtmlParser_AddTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
869 PyObject * _resultobj;
870 wxHtmlParser * _arg0;
871 wxHtmlTagHandler * _arg1;
872 PyObject * _argo0 = 0;
873 PyObject * _argo1 = 0;
874 char *_kwnames[] = { "self","handler", NULL };
875
876 self = self;
877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlParser_AddTagHandler",_kwnames,&_argo0,&_argo1))
878 return NULL;
879 if (_argo0) {
880 if (_argo0 == Py_None) { _arg0 = NULL; }
881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
883 return NULL;
884 }
885 }
886 if (_argo1) {
887 if (_argo1 == Py_None) { _arg1 = NULL; }
888 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTagHandler_p")) {
889 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
890 return NULL;
891 }
892 }
893{
894 wxPy_BEGIN_ALLOW_THREADS;
895 wxHtmlParser_AddTagHandler(_arg0,_arg1);
896
897 wxPy_END_ALLOW_THREADS;
898} Py_INCREF(Py_None);
899 _resultobj = Py_None;
900 return _resultobj;
901}
902
903#define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
904static PyObject *_wrap_wxHtmlParser_GetSource(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxString * _result;
907 wxHtmlParser * _arg0;
908 PyObject * _argo0 = 0;
909 char *_kwnames[] = { "self", NULL };
910
911 self = self;
912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlParser_GetSource",_kwnames,&_argo0))
913 return NULL;
914 if (_argo0) {
915 if (_argo0 == Py_None) { _arg0 = NULL; }
916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlParser_p")) {
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
918 return NULL;
919 }
920 }
921{
922 wxPy_BEGIN_ALLOW_THREADS;
923 _result = (wxString *)wxHtmlParser_GetSource(_arg0);
924
925 wxPy_END_ALLOW_THREADS;
926}{
927 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
928}
929 return _resultobj;
930}
931
932static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr) {
933 wxHtmlWinParser *src;
934 wxHtmlParser *dest;
935 src = (wxHtmlWinParser *) ptr;
936 dest = (wxHtmlParser *) src;
937 return (void *) dest;
938}
939
940#define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
941static PyObject *_wrap_new_wxHtmlWinParser(PyObject *self, PyObject *args, PyObject *kwargs) {
942 PyObject * _resultobj;
943 wxHtmlWinParser * _result;
944 wxWindow * _arg0;
945 PyObject * _argo0 = 0;
946 char *_kwnames[] = { "wnd", NULL };
947 char _ptemp[128];
948
949 self = self;
950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxHtmlWinParser",_kwnames,&_argo0))
951 return NULL;
952 if (_argo0) {
953 if (_argo0 == Py_None) { _arg0 = NULL; }
954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
956 return NULL;
957 }
958 }
959{
960 wxPy_BEGIN_ALLOW_THREADS;
961 _result = (wxHtmlWinParser *)new_wxHtmlWinParser(_arg0);
962
963 wxPy_END_ALLOW_THREADS;
964} if (_result) {
965 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
966 _resultobj = Py_BuildValue("s",_ptemp);
967 } else {
968 Py_INCREF(Py_None);
969 _resultobj = Py_None;
970 }
971 return _resultobj;
972}
973
974#define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
975static PyObject *_wrap_wxHtmlWinParser_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject * _resultobj;
977 wxHtmlWinParser * _arg0;
978 wxDC * _arg1;
979 PyObject * _argo0 = 0;
980 PyObject * _argo1 = 0;
981 char *_kwnames[] = { "self","dc", NULL };
982
983 self = self;
984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetDC",_kwnames,&_argo0,&_argo1))
985 return NULL;
986 if (_argo0) {
987 if (_argo0 == Py_None) { _arg0 = NULL; }
988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
990 return NULL;
991 }
992 }
993 if (_argo1) {
994 if (_argo1 == Py_None) { _arg1 = NULL; }
995 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
996 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
997 return NULL;
998 }
999 }
1000{
1001 wxPy_BEGIN_ALLOW_THREADS;
1002 wxHtmlWinParser_SetDC(_arg0,_arg1);
1003
1004 wxPy_END_ALLOW_THREADS;
1005} Py_INCREF(Py_None);
1006 _resultobj = Py_None;
1007 return _resultobj;
1008}
1009
1010#define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1011static PyObject *_wrap_wxHtmlWinParser_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
1012 PyObject * _resultobj;
1013 wxDC * _result;
1014 wxHtmlWinParser * _arg0;
1015 PyObject * _argo0 = 0;
1016 char *_kwnames[] = { "self", NULL };
1017 char _ptemp[128];
1018
1019 self = self;
1020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetDC",_kwnames,&_argo0))
1021 return NULL;
1022 if (_argo0) {
1023 if (_argo0 == Py_None) { _arg0 = NULL; }
1024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1026 return NULL;
1027 }
1028 }
1029{
1030 wxPy_BEGIN_ALLOW_THREADS;
1031 _result = (wxDC *)wxHtmlWinParser_GetDC(_arg0);
1032
1033 wxPy_END_ALLOW_THREADS;
1034} if (_result) {
1035 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDC_p");
1036 _resultobj = Py_BuildValue("s",_ptemp);
1037 } else {
1038 Py_INCREF(Py_None);
1039 _resultobj = Py_None;
1040 }
1041 return _resultobj;
1042}
1043
1044#define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1045static PyObject *_wrap_wxHtmlWinParser_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
1046 PyObject * _resultobj;
1047 int _result;
1048 wxHtmlWinParser * _arg0;
1049 PyObject * _argo0 = 0;
1050 char *_kwnames[] = { "self", NULL };
1051
1052 self = self;
1053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharHeight",_kwnames,&_argo0))
1054 return NULL;
1055 if (_argo0) {
1056 if (_argo0 == Py_None) { _arg0 = NULL; }
1057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1059 return NULL;
1060 }
1061 }
1062{
1063 wxPy_BEGIN_ALLOW_THREADS;
1064 _result = (int )wxHtmlWinParser_GetCharHeight(_arg0);
1065
1066 wxPy_END_ALLOW_THREADS;
1067} _resultobj = Py_BuildValue("i",_result);
1068 return _resultobj;
1069}
1070
1071#define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1072static PyObject *_wrap_wxHtmlWinParser_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1073 PyObject * _resultobj;
1074 int _result;
1075 wxHtmlWinParser * _arg0;
1076 PyObject * _argo0 = 0;
1077 char *_kwnames[] = { "self", NULL };
1078
1079 self = self;
1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetCharWidth",_kwnames,&_argo0))
1081 return NULL;
1082 if (_argo0) {
1083 if (_argo0 == Py_None) { _arg0 = NULL; }
1084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1086 return NULL;
1087 }
1088 }
1089{
1090 wxPy_BEGIN_ALLOW_THREADS;
1091 _result = (int )wxHtmlWinParser_GetCharWidth(_arg0);
1092
1093 wxPy_END_ALLOW_THREADS;
1094} _resultobj = Py_BuildValue("i",_result);
1095 return _resultobj;
1096}
1097
1098#define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1099static PyObject *_wrap_wxHtmlWinParser_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1100 PyObject * _resultobj;
1101 wxWindow * _result;
1102 wxHtmlWinParser * _arg0;
1103 PyObject * _argo0 = 0;
1104 char *_kwnames[] = { "self", NULL };
1105 char _ptemp[128];
1106
1107 self = self;
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetWindow",_kwnames,&_argo0))
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1114 return NULL;
1115 }
1116 }
1117{
1118 wxPy_BEGIN_ALLOW_THREADS;
1119 _result = (wxWindow *)wxHtmlWinParser_GetWindow(_arg0);
1120
1121 wxPy_END_ALLOW_THREADS;
1122} if (_result) {
1123 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1124 _resultobj = Py_BuildValue("s",_ptemp);
1125 } else {
1126 Py_INCREF(Py_None);
1127 _resultobj = Py_None;
1128 }
1129 return _resultobj;
1130}
1131
1132#define wxHtmlWinParser_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1133static PyObject *_wrap_wxHtmlWinParser_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject * _resultobj;
1135 wxHtmlWinParser * _arg0;
1136 wxString * _arg1;
1137 int _arg2;
1138 wxString * _arg3;
1139 int _arg4;
1140 int * _arg5;
1141 PyObject * _argo0 = 0;
1142 PyObject * _obj1 = 0;
1143 PyObject * _obj3 = 0;
1144 PyObject * _obj5 = 0;
1145 char *_kwnames[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL };
1146
1147 self = self;
1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiOiO:wxHtmlWinParser_SetFonts",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3,&_arg4,&_obj5))
1149 return NULL;
1150 if (_argo0) {
1151 if (_argo0 == Py_None) { _arg0 = NULL; }
1152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1154 return NULL;
1155 }
1156 }
1157{
1158 if (!PyString_Check(_obj1)) {
1159 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1160 return NULL;
1161 }
1162 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1163}
1164{
1165 if (!PyString_Check(_obj3)) {
1166 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1167 return NULL;
1168 }
1169 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
1170}
1171{
1172 _arg5 = int_LIST_helper(_obj5);
1173 if (_arg5 == NULL) {
1174 return NULL;
1175 }
1176}
1177{
1178 wxPy_BEGIN_ALLOW_THREADS;
1179 wxHtmlWinParser_SetFonts(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5);
1180
1181 wxPy_END_ALLOW_THREADS;
1182} Py_INCREF(Py_None);
1183 _resultobj = Py_None;
1184{
1185 if (_obj1)
1186 delete _arg1;
1187}
1188{
1189 if (_obj3)
1190 delete _arg3;
1191}
1192{
1193 delete [] _arg5;
1194}
1195 return _resultobj;
1196}
1197
1198#define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1199static PyObject *_wrap_wxHtmlWinParser_GetContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject * _resultobj;
1201 wxHtmlContainerCell * _result;
1202 wxHtmlWinParser * _arg0;
1203 PyObject * _argo0 = 0;
1204 char *_kwnames[] = { "self", NULL };
1205 char _ptemp[128];
1206
1207 self = self;
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetContainer",_kwnames,&_argo0))
1209 return NULL;
1210 if (_argo0) {
1211 if (_argo0 == Py_None) { _arg0 = NULL; }
1212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1214 return NULL;
1215 }
1216 }
1217{
1218 wxPy_BEGIN_ALLOW_THREADS;
1219 _result = (wxHtmlContainerCell *)wxHtmlWinParser_GetContainer(_arg0);
1220
1221 wxPy_END_ALLOW_THREADS;
1222} if (_result) {
1223 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1224 _resultobj = Py_BuildValue("s",_ptemp);
1225 } else {
1226 Py_INCREF(Py_None);
1227 _resultobj = Py_None;
1228 }
1229 return _resultobj;
1230}
1231
1232#define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1233static PyObject *_wrap_wxHtmlWinParser_OpenContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1234 PyObject * _resultobj;
1235 wxHtmlContainerCell * _result;
1236 wxHtmlWinParser * _arg0;
1237 PyObject * _argo0 = 0;
1238 char *_kwnames[] = { "self", NULL };
1239 char _ptemp[128];
1240
1241 self = self;
1242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_OpenContainer",_kwnames,&_argo0))
1243 return NULL;
1244 if (_argo0) {
1245 if (_argo0 == Py_None) { _arg0 = NULL; }
1246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1248 return NULL;
1249 }
1250 }
1251{
1252 wxPy_BEGIN_ALLOW_THREADS;
1253 _result = (wxHtmlContainerCell *)wxHtmlWinParser_OpenContainer(_arg0);
1254
1255 wxPy_END_ALLOW_THREADS;
1256} if (_result) {
1257 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1258 _resultobj = Py_BuildValue("s",_ptemp);
1259 } else {
1260 Py_INCREF(Py_None);
1261 _resultobj = Py_None;
1262 }
1263 return _resultobj;
1264}
1265
1266#define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1267static PyObject *_wrap_wxHtmlWinParser_CloseContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject * _resultobj;
1269 wxHtmlContainerCell * _result;
1270 wxHtmlWinParser * _arg0;
1271 PyObject * _argo0 = 0;
1272 char *_kwnames[] = { "self", NULL };
1273 char _ptemp[128];
1274
1275 self = self;
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CloseContainer",_kwnames,&_argo0))
1277 return NULL;
1278 if (_argo0) {
1279 if (_argo0 == Py_None) { _arg0 = NULL; }
1280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1282 return NULL;
1283 }
1284 }
1285{
1286 wxPy_BEGIN_ALLOW_THREADS;
1287 _result = (wxHtmlContainerCell *)wxHtmlWinParser_CloseContainer(_arg0);
1288
1289 wxPy_END_ALLOW_THREADS;
1290} if (_result) {
1291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
1292 _resultobj = Py_BuildValue("s",_ptemp);
1293 } else {
1294 Py_INCREF(Py_None);
1295 _resultobj = Py_None;
1296 }
1297 return _resultobj;
1298}
1299
1300#define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1301static PyObject *_wrap_wxHtmlWinParser_GetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1302 PyObject * _resultobj;
1303 int _result;
1304 wxHtmlWinParser * _arg0;
1305 PyObject * _argo0 = 0;
1306 char *_kwnames[] = { "self", NULL };
1307
1308 self = self;
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontSize",_kwnames,&_argo0))
1310 return NULL;
1311 if (_argo0) {
1312 if (_argo0 == Py_None) { _arg0 = NULL; }
1313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1315 return NULL;
1316 }
1317 }
1318{
1319 wxPy_BEGIN_ALLOW_THREADS;
1320 _result = (int )wxHtmlWinParser_GetFontSize(_arg0);
1321
1322 wxPy_END_ALLOW_THREADS;
1323} _resultobj = Py_BuildValue("i",_result);
1324 return _resultobj;
1325}
1326
1327#define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1328static PyObject *_wrap_wxHtmlWinParser_SetFontSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject * _resultobj;
1330 wxHtmlWinParser * _arg0;
1331 int _arg1;
1332 PyObject * _argo0 = 0;
1333 char *_kwnames[] = { "self","s", NULL };
1334
1335 self = self;
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontSize",_kwnames,&_argo0,&_arg1))
1337 return NULL;
1338 if (_argo0) {
1339 if (_argo0 == Py_None) { _arg0 = NULL; }
1340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1342 return NULL;
1343 }
1344 }
1345{
1346 wxPy_BEGIN_ALLOW_THREADS;
1347 wxHtmlWinParser_SetFontSize(_arg0,_arg1);
1348
1349 wxPy_END_ALLOW_THREADS;
1350} Py_INCREF(Py_None);
1351 _resultobj = Py_None;
1352 return _resultobj;
1353}
1354
1355#define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1356static PyObject *_wrap_wxHtmlWinParser_GetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject * _resultobj;
1358 int _result;
1359 wxHtmlWinParser * _arg0;
1360 PyObject * _argo0 = 0;
1361 char *_kwnames[] = { "self", NULL };
1362
1363 self = self;
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontBold",_kwnames,&_argo0))
1365 return NULL;
1366 if (_argo0) {
1367 if (_argo0 == Py_None) { _arg0 = NULL; }
1368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1370 return NULL;
1371 }
1372 }
1373{
1374 wxPy_BEGIN_ALLOW_THREADS;
1375 _result = (int )wxHtmlWinParser_GetFontBold(_arg0);
1376
1377 wxPy_END_ALLOW_THREADS;
1378} _resultobj = Py_BuildValue("i",_result);
1379 return _resultobj;
1380}
1381
1382#define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1383static PyObject *_wrap_wxHtmlWinParser_SetFontBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1384 PyObject * _resultobj;
1385 wxHtmlWinParser * _arg0;
1386 int _arg1;
1387 PyObject * _argo0 = 0;
1388 char *_kwnames[] = { "self","x", NULL };
1389
1390 self = self;
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontBold",_kwnames,&_argo0,&_arg1))
1392 return NULL;
1393 if (_argo0) {
1394 if (_argo0 == Py_None) { _arg0 = NULL; }
1395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1397 return NULL;
1398 }
1399 }
1400{
1401 wxPy_BEGIN_ALLOW_THREADS;
1402 wxHtmlWinParser_SetFontBold(_arg0,_arg1);
1403
1404 wxPy_END_ALLOW_THREADS;
1405} Py_INCREF(Py_None);
1406 _resultobj = Py_None;
1407 return _resultobj;
1408}
1409
1410#define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1411static PyObject *_wrap_wxHtmlWinParser_GetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
1412 PyObject * _resultobj;
1413 int _result;
1414 wxHtmlWinParser * _arg0;
1415 PyObject * _argo0 = 0;
1416 char *_kwnames[] = { "self", NULL };
1417
1418 self = self;
1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontItalic",_kwnames,&_argo0))
1420 return NULL;
1421 if (_argo0) {
1422 if (_argo0 == Py_None) { _arg0 = NULL; }
1423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1425 return NULL;
1426 }
1427 }
1428{
1429 wxPy_BEGIN_ALLOW_THREADS;
1430 _result = (int )wxHtmlWinParser_GetFontItalic(_arg0);
1431
1432 wxPy_END_ALLOW_THREADS;
1433} _resultobj = Py_BuildValue("i",_result);
1434 return _resultobj;
1435}
1436
1437#define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1438static PyObject *_wrap_wxHtmlWinParser_SetFontItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
1439 PyObject * _resultobj;
1440 wxHtmlWinParser * _arg0;
1441 int _arg1;
1442 PyObject * _argo0 = 0;
1443 char *_kwnames[] = { "self","x", NULL };
1444
1445 self = self;
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames,&_argo0,&_arg1))
1447 return NULL;
1448 if (_argo0) {
1449 if (_argo0 == Py_None) { _arg0 = NULL; }
1450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1452 return NULL;
1453 }
1454 }
1455{
1456 wxPy_BEGIN_ALLOW_THREADS;
1457 wxHtmlWinParser_SetFontItalic(_arg0,_arg1);
1458
1459 wxPy_END_ALLOW_THREADS;
1460} Py_INCREF(Py_None);
1461 _resultobj = Py_None;
1462 return _resultobj;
1463}
1464
1465#define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1466static PyObject *_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject * _resultobj;
1468 int _result;
1469 wxHtmlWinParser * _arg0;
1470 PyObject * _argo0 = 0;
1471 char *_kwnames[] = { "self", NULL };
1472
1473 self = self;
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames,&_argo0))
1475 return NULL;
1476 if (_argo0) {
1477 if (_argo0 == Py_None) { _arg0 = NULL; }
1478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1480 return NULL;
1481 }
1482 }
1483{
1484 wxPy_BEGIN_ALLOW_THREADS;
1485 _result = (int )wxHtmlWinParser_GetFontUnderlined(_arg0);
1486
1487 wxPy_END_ALLOW_THREADS;
1488} _resultobj = Py_BuildValue("i",_result);
1489 return _resultobj;
1490}
1491
1492#define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1493static PyObject *_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject * _resultobj;
1495 wxHtmlWinParser * _arg0;
1496 int _arg1;
1497 PyObject * _argo0 = 0;
1498 char *_kwnames[] = { "self","x", NULL };
1499
1500 self = self;
1501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames,&_argo0,&_arg1))
1502 return NULL;
1503 if (_argo0) {
1504 if (_argo0 == Py_None) { _arg0 = NULL; }
1505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1507 return NULL;
1508 }
1509 }
1510{
1511 wxPy_BEGIN_ALLOW_THREADS;
1512 wxHtmlWinParser_SetFontUnderlined(_arg0,_arg1);
1513
1514 wxPy_END_ALLOW_THREADS;
1515} Py_INCREF(Py_None);
1516 _resultobj = Py_None;
1517 return _resultobj;
1518}
1519
1520#define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1521static PyObject *_wrap_wxHtmlWinParser_GetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
1522 PyObject * _resultobj;
1523 int _result;
1524 wxHtmlWinParser * _arg0;
1525 PyObject * _argo0 = 0;
1526 char *_kwnames[] = { "self", NULL };
1527
1528 self = self;
1529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetFontFixed",_kwnames,&_argo0))
1530 return NULL;
1531 if (_argo0) {
1532 if (_argo0 == Py_None) { _arg0 = NULL; }
1533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1535 return NULL;
1536 }
1537 }
1538{
1539 wxPy_BEGIN_ALLOW_THREADS;
1540 _result = (int )wxHtmlWinParser_GetFontFixed(_arg0);
1541
1542 wxPy_END_ALLOW_THREADS;
1543} _resultobj = Py_BuildValue("i",_result);
1544 return _resultobj;
1545}
1546
1547#define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1548static PyObject *_wrap_wxHtmlWinParser_SetFontFixed(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject * _resultobj;
1550 wxHtmlWinParser * _arg0;
1551 int _arg1;
1552 PyObject * _argo0 = 0;
1553 char *_kwnames[] = { "self","x", NULL };
1554
1555 self = self;
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames,&_argo0,&_arg1))
1557 return NULL;
1558 if (_argo0) {
1559 if (_argo0 == Py_None) { _arg0 = NULL; }
1560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1562 return NULL;
1563 }
1564 }
1565{
1566 wxPy_BEGIN_ALLOW_THREADS;
1567 wxHtmlWinParser_SetFontFixed(_arg0,_arg1);
1568
1569 wxPy_END_ALLOW_THREADS;
1570} Py_INCREF(Py_None);
1571 _resultobj = Py_None;
1572 return _resultobj;
1573}
1574
1575#define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1576static PyObject *_wrap_wxHtmlWinParser_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1577 PyObject * _resultobj;
1578 int _result;
1579 wxHtmlWinParser * _arg0;
1580 PyObject * _argo0 = 0;
1581 char *_kwnames[] = { "self", NULL };
1582
1583 self = self;
1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetAlign",_kwnames,&_argo0))
1585 return NULL;
1586 if (_argo0) {
1587 if (_argo0 == Py_None) { _arg0 = NULL; }
1588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1590 return NULL;
1591 }
1592 }
1593{
1594 wxPy_BEGIN_ALLOW_THREADS;
1595 _result = (int )wxHtmlWinParser_GetAlign(_arg0);
1596
1597 wxPy_END_ALLOW_THREADS;
1598} _resultobj = Py_BuildValue("i",_result);
1599 return _resultobj;
1600}
1601
1602#define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1603static PyObject *_wrap_wxHtmlWinParser_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
1604 PyObject * _resultobj;
1605 wxHtmlWinParser * _arg0;
1606 int _arg1;
1607 PyObject * _argo0 = 0;
1608 char *_kwnames[] = { "self","a", NULL };
1609
1610 self = self;
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWinParser_SetAlign",_kwnames,&_argo0,&_arg1))
1612 return NULL;
1613 if (_argo0) {
1614 if (_argo0 == Py_None) { _arg0 = NULL; }
1615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1617 return NULL;
1618 }
1619 }
1620{
1621 wxPy_BEGIN_ALLOW_THREADS;
1622 wxHtmlWinParser_SetAlign(_arg0,_arg1);
1623
1624 wxPy_END_ALLOW_THREADS;
1625} Py_INCREF(Py_None);
1626 _resultobj = Py_None;
1627 return _resultobj;
1628}
1629
1630#define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1631static PyObject *_wrap_wxHtmlWinParser_GetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
1632 PyObject * _resultobj;
1633 wxColour * _result;
1634 wxHtmlWinParser * _arg0;
1635 PyObject * _argo0 = 0;
1636 char *_kwnames[] = { "self", NULL };
1637 char _ptemp[128];
1638
1639 self = self;
1640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLinkColor",_kwnames,&_argo0))
1641 return NULL;
1642 if (_argo0) {
1643 if (_argo0 == Py_None) { _arg0 = NULL; }
1644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
1646 return NULL;
1647 }
1648 }
1649{
1650 wxPy_BEGIN_ALLOW_THREADS;
1651 const wxColour & _result_ref = wxHtmlWinParser_GetLinkColor(_arg0);
1652 _result = (wxColour *) &_result_ref;
1653
1654 wxPy_END_ALLOW_THREADS;
1655} if (_result) {
1656 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1657 _resultobj = Py_BuildValue("s",_ptemp);
1658 } else {
1659 Py_INCREF(Py_None);
1660 _resultobj = Py_None;
1661 }
1662 return _resultobj;
1663}
1664
1665#define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
1666static PyObject *_wrap_wxHtmlWinParser_SetLinkColor(PyObject *self, PyObject *args, PyObject *kwargs) {
1667 PyObject * _resultobj;
1668 wxHtmlWinParser * _arg0;
1669 wxColour * _arg1;
1670 PyObject * _argo0 = 0;
1671 PyObject * _argo1 = 0;
1672 char *_kwnames[] = { "self","clr", NULL };
1673
1674 self = self;
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLinkColor",_kwnames,&_argo0,&_argo1))
1676 return NULL;
1677 if (_argo0) {
1678 if (_argo0 == Py_None) { _arg0 = NULL; }
1679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
1681 return NULL;
1682 }
1683 }
1684 if (_argo1) {
1685 if (_argo1 == Py_None) { _arg1 = NULL; }
1686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
1687 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetLinkColor. Expected _wxColour_p.");
1688 return NULL;
1689 }
1690 }
1691{
1692 wxPy_BEGIN_ALLOW_THREADS;
1693 wxHtmlWinParser_SetLinkColor(_arg0,*_arg1);
1694
1695 wxPy_END_ALLOW_THREADS;
1696} Py_INCREF(Py_None);
1697 _resultobj = Py_None;
1698 return _resultobj;
1699}
1700
1701#define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
1702static PyObject *_wrap_wxHtmlWinParser_GetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject * _resultobj;
1704 wxColour * _result;
1705 wxHtmlWinParser * _arg0;
1706 PyObject * _argo0 = 0;
1707 char *_kwnames[] = { "self", NULL };
1708 char _ptemp[128];
1709
1710 self = self;
1711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetActualColor",_kwnames,&_argo0))
1712 return NULL;
1713 if (_argo0) {
1714 if (_argo0 == Py_None) { _arg0 = NULL; }
1715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
1717 return NULL;
1718 }
1719 }
1720{
1721 wxPy_BEGIN_ALLOW_THREADS;
1722 const wxColour & _result_ref = wxHtmlWinParser_GetActualColor(_arg0);
1723 _result = (wxColour *) &_result_ref;
1724
1725 wxPy_END_ALLOW_THREADS;
1726} if (_result) {
1727 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
1728 _resultobj = Py_BuildValue("s",_ptemp);
1729 } else {
1730 Py_INCREF(Py_None);
1731 _resultobj = Py_None;
1732 }
1733 return _resultobj;
1734}
1735
1736#define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
1737static PyObject *_wrap_wxHtmlWinParser_SetActualColor(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject * _resultobj;
1739 wxHtmlWinParser * _arg0;
1740 wxColour * _arg1;
1741 PyObject * _argo0 = 0;
1742 PyObject * _argo1 = 0;
1743 char *_kwnames[] = { "self","clr", NULL };
1744
1745 self = self;
1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetActualColor",_kwnames,&_argo0,&_argo1))
1747 return NULL;
1748 if (_argo0) {
1749 if (_argo0 == Py_None) { _arg0 = NULL; }
1750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
1752 return NULL;
1753 }
1754 }
1755 if (_argo1) {
1756 if (_argo1 == Py_None) { _arg1 = NULL; }
1757 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
1758 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinParser_SetActualColor. Expected _wxColour_p.");
1759 return NULL;
1760 }
1761 }
1762{
1763 wxPy_BEGIN_ALLOW_THREADS;
1764 wxHtmlWinParser_SetActualColor(_arg0,*_arg1);
1765
1766 wxPy_END_ALLOW_THREADS;
1767} Py_INCREF(Py_None);
1768 _resultobj = Py_None;
1769 return _resultobj;
1770}
1771
1772#define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
1773static PyObject *_wrap_wxHtmlWinParser_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject * _resultobj;
1775 wxString * _result;
1776 wxHtmlWinParser * _arg0;
1777 PyObject * _argo0 = 0;
1778 char *_kwnames[] = { "self", NULL };
1779
1780 self = self;
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_GetLink",_kwnames,&_argo0))
1782 return NULL;
1783 if (_argo0) {
1784 if (_argo0 == Py_None) { _arg0 = NULL; }
1785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
1787 return NULL;
1788 }
1789 }
1790{
1791 wxPy_BEGIN_ALLOW_THREADS;
1792 const wxString & _result_ref = wxHtmlWinParser_GetLink(_arg0);
1793 _result = (wxString *) &_result_ref;
1794
1795 wxPy_END_ALLOW_THREADS;
1796}{
1797 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1798}
1799 return _resultobj;
1800}
1801
1802#define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
1803static PyObject *_wrap_wxHtmlWinParser_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
1804 PyObject * _resultobj;
1805 wxHtmlWinParser * _arg0;
1806 wxString * _arg1;
1807 PyObject * _argo0 = 0;
1808 PyObject * _obj1 = 0;
1809 char *_kwnames[] = { "self","link", NULL };
1810
1811 self = self;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinParser_SetLink",_kwnames,&_argo0,&_obj1))
1813 return NULL;
1814 if (_argo0) {
1815 if (_argo0 == Py_None) { _arg0 = NULL; }
1816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxHtmlWinParser_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
1818 return NULL;
1819 }
1820 }
1821{
1822 if (!PyString_Check(_obj1)) {
1823 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1824 return NULL;
1825 }
1826 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1827}
1828{
1829 wxPy_BEGIN_ALLOW_THREADS;
1830 wxHtmlWinParser_SetLink(_arg0,*_arg1);
1831
1832 wxPy_END_ALLOW_THREADS;
1833} Py_INCREF(Py_None);
1834 _resultobj = Py_None;
1835{
1836 if (_obj1)
1837 delete _arg1;
1838}
1839 return _resultobj;
1840}
1841
1842#define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
1843static PyObject *_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject * _resultobj;
1845 wxFont * _result;
1846 wxHtmlWinParser * _arg0;
1847 PyObject * _argo0 = 0;
1848 char *_kwnames[] = { "self", NULL };
1849 char _ptemp[128];
1850
1851 self = self;
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinParser_CreateCurrentFont",_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_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
1858 return NULL;
1859 }
1860 }
1861{
1862 wxPy_BEGIN_ALLOW_THREADS;
1863 _result = (wxFont *)wxHtmlWinParser_CreateCurrentFont(_arg0);
1864
1865 wxPy_END_ALLOW_THREADS;
1866} if (_result) {
1867 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
1868 _resultobj = Py_BuildValue("s",_ptemp);
1869 } else {
1870 Py_INCREF(Py_None);
1871 _resultobj = Py_None;
1872 }
1873 return _resultobj;
1874}
1875
1876#define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
1877static PyObject *_wrap_new_wxHtmlTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject * _resultobj;
1879 wxPyHtmlTagHandler * _result;
1880 char *_kwnames[] = { NULL };
1881 char _ptemp[128];
1882
1883 self = self;
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlTagHandler",_kwnames))
1885 return NULL;
1886{
1887 wxPy_BEGIN_ALLOW_THREADS;
1888 _result = (wxPyHtmlTagHandler *)new_wxHtmlTagHandler();
1889
1890 wxPy_END_ALLOW_THREADS;
1891} if (_result) {
1892 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlTagHandler_p");
1893 _resultobj = Py_BuildValue("s",_ptemp);
1894 } else {
1895 Py_INCREF(Py_None);
1896 _resultobj = Py_None;
1897 }
1898 return _resultobj;
1899}
1900
1901#define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1902static PyObject *_wrap_wxHtmlTagHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1903 PyObject * _resultobj;
1904 wxPyHtmlTagHandler * _arg0;
1905 PyObject * _arg1;
1906 PyObject * _argo0 = 0;
1907 PyObject * _obj1 = 0;
1908 char *_kwnames[] = { "self","self", NULL };
1909
1910 self = self;
1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler__setSelf",_kwnames,&_argo0,&_obj1))
1912 return NULL;
1913 if (_argo0) {
1914 if (_argo0 == Py_None) { _arg0 = NULL; }
1915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
1916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler__setSelf. Expected _wxPyHtmlTagHandler_p.");
1917 return NULL;
1918 }
1919 }
1920{
1921 _arg1 = _obj1;
1922}
1923{
1924 wxPy_BEGIN_ALLOW_THREADS;
1925 wxHtmlTagHandler__setSelf(_arg0,_arg1);
1926
1927 wxPy_END_ALLOW_THREADS;
1928} Py_INCREF(Py_None);
1929 _resultobj = Py_None;
1930 return _resultobj;
1931}
1932
1933#define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
1934static PyObject *_wrap_wxHtmlTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject * _resultobj;
1936 wxPyHtmlTagHandler * _arg0;
1937 wxHtmlParser * _arg1;
1938 PyObject * _argo0 = 0;
1939 PyObject * _argo1 = 0;
1940 char *_kwnames[] = { "self","parser", NULL };
1941
1942 self = self;
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_SetParser",_kwnames,&_argo0,&_argo1))
1944 return NULL;
1945 if (_argo0) {
1946 if (_argo0 == Py_None) { _arg0 = NULL; }
1947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
1948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
1949 return NULL;
1950 }
1951 }
1952 if (_argo1) {
1953 if (_argo1 == Py_None) { _arg1 = NULL; }
1954 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) {
1955 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
1956 return NULL;
1957 }
1958 }
1959{
1960 wxPy_BEGIN_ALLOW_THREADS;
1961 wxHtmlTagHandler_SetParser(_arg0,_arg1);
1962
1963 wxPy_END_ALLOW_THREADS;
1964} Py_INCREF(Py_None);
1965 _resultobj = Py_None;
1966 return _resultobj;
1967}
1968
1969#define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
1970static PyObject *_wrap_wxHtmlTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject * _resultobj;
1972 wxHtmlParser * _result;
1973 wxPyHtmlTagHandler * _arg0;
1974 PyObject * _argo0 = 0;
1975 char *_kwnames[] = { "self", NULL };
1976 char _ptemp[128];
1977
1978 self = self;
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlTagHandler_GetParser",_kwnames,&_argo0))
1980 return NULL;
1981 if (_argo0) {
1982 if (_argo0 == Py_None) { _arg0 = NULL; }
1983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
1984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
1985 return NULL;
1986 }
1987 }
1988{
1989 wxPy_BEGIN_ALLOW_THREADS;
1990 _result = (wxHtmlParser *)wxHtmlTagHandler_GetParser(_arg0);
1991
1992 wxPy_END_ALLOW_THREADS;
1993} if (_result) {
1994 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlParser_p");
1995 _resultobj = Py_BuildValue("s",_ptemp);
1996 } else {
1997 Py_INCREF(Py_None);
1998 _resultobj = Py_None;
1999 }
2000 return _resultobj;
2001}
2002
2003#define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2004static PyObject *_wrap_wxHtmlTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2005 PyObject * _resultobj;
2006 wxPyHtmlTagHandler * _arg0;
2007 wxHtmlTag * _arg1;
2008 PyObject * _argo0 = 0;
2009 PyObject * _argo1 = 0;
2010 char *_kwnames[] = { "self","tag", NULL };
325274bb 2011
0f66a9f3
RD
2012 self = self;
2013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlTagHandler_ParseInner",_kwnames,&_argo0,&_argo1))
2014 return NULL;
2015 if (_argo0) {
2016 if (_argo0 == Py_None) { _arg0 = NULL; }
2017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlTagHandler_p")) {
2018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2019 return NULL;
2020 }
2021 }
2022 if (_argo1) {
2023 if (_argo1 == Py_None) { _arg1 = NULL; }
2024 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
2025 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2026 return NULL;
2027 }
2028 }
2029{
2030 wxPy_BEGIN_ALLOW_THREADS;
2031 wxHtmlTagHandler_ParseInner(_arg0,*_arg1);
325274bb 2032
0f66a9f3
RD
2033 wxPy_END_ALLOW_THREADS;
2034} Py_INCREF(Py_None);
2035 _resultobj = Py_None;
2036 return _resultobj;
2037}
2038
2039static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr) {
2040 wxPyHtmlWinTagHandler *src;
2041 wxPyHtmlTagHandler *dest;
2042 src = (wxPyHtmlWinTagHandler *) ptr;
2043 dest = (wxPyHtmlTagHandler *) src;
2044 return (void *) dest;
2045}
2046
2047#define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2048static PyObject *_wrap_new_wxHtmlWinTagHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
2049 PyObject * _resultobj;
2050 wxPyHtmlWinTagHandler * _result;
2051 char *_kwnames[] = { NULL };
2052 char _ptemp[128];
2053
2054 self = self;
2055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxHtmlWinTagHandler",_kwnames))
2056 return NULL;
2057{
2058 wxPy_BEGIN_ALLOW_THREADS;
2059 _result = (wxPyHtmlWinTagHandler *)new_wxHtmlWinTagHandler();
2060
2061 wxPy_END_ALLOW_THREADS;
2062} if (_result) {
2063 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWinTagHandler_p");
2064 _resultobj = Py_BuildValue("s",_ptemp);
2065 } else {
2066 Py_INCREF(Py_None);
2067 _resultobj = Py_None;
2068 }
2069 return _resultobj;
2070}
2071
2072#define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2073static PyObject *_wrap_wxHtmlWinTagHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2074 PyObject * _resultobj;
2075 wxPyHtmlWinTagHandler * _arg0;
2076 PyObject * _arg1;
2077 PyObject * _argo0 = 0;
2078 PyObject * _obj1 = 0;
2079 char *_kwnames[] = { "self","self", NULL };
2080
2081 self = self;
2082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler__setSelf",_kwnames,&_argo0,&_obj1))
2083 return NULL;
2084 if (_argo0) {
2085 if (_argo0 == Py_None) { _arg0 = NULL; }
2086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler__setSelf. Expected _wxPyHtmlWinTagHandler_p.");
2088 return NULL;
2089 }
2090 }
2091{
2092 _arg1 = _obj1;
2093}
2094{
2095 wxPy_BEGIN_ALLOW_THREADS;
2096 wxHtmlWinTagHandler__setSelf(_arg0,_arg1);
2097
2098 wxPy_END_ALLOW_THREADS;
2099} Py_INCREF(Py_None);
2100 _resultobj = Py_None;
2101 return _resultobj;
2102}
2103
2104#define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2105static PyObject *_wrap_wxHtmlWinTagHandler_SetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2106 PyObject * _resultobj;
2107 wxPyHtmlWinTagHandler * _arg0;
2108 wxHtmlParser * _arg1;
2109 PyObject * _argo0 = 0;
2110 PyObject * _argo1 = 0;
2111 char *_kwnames[] = { "self","parser", NULL };
2112
2113 self = self;
2114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_SetParser",_kwnames,&_argo0,&_argo1))
2115 return NULL;
2116 if (_argo0) {
2117 if (_argo0 == Py_None) { _arg0 = NULL; }
2118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2120 return NULL;
2121 }
2122 }
2123 if (_argo1) {
2124 if (_argo1 == Py_None) { _arg1 = NULL; }
2125 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlParser_p")) {
2126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2127 return NULL;
2128 }
2129 }
2130{
2131 wxPy_BEGIN_ALLOW_THREADS;
2132 wxHtmlWinTagHandler_SetParser(_arg0,_arg1);
2133
2134 wxPy_END_ALLOW_THREADS;
2135} Py_INCREF(Py_None);
2136 _resultobj = Py_None;
2137 return _resultobj;
2138}
2139
2140#define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2141static PyObject *_wrap_wxHtmlWinTagHandler_GetParser(PyObject *self, PyObject *args, PyObject *kwargs) {
2142 PyObject * _resultobj;
2143 wxHtmlWinParser * _result;
2144 wxPyHtmlWinTagHandler * _arg0;
2145 PyObject * _argo0 = 0;
2146 char *_kwnames[] = { "self", NULL };
2147 char _ptemp[128];
2148
2149 self = self;
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWinTagHandler_GetParser",_kwnames,&_argo0))
2151 return NULL;
2152 if (_argo0) {
2153 if (_argo0 == Py_None) { _arg0 = NULL; }
2154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2156 return NULL;
2157 }
2158 }
2159{
2160 wxPy_BEGIN_ALLOW_THREADS;
2161 _result = (wxHtmlWinParser *)wxHtmlWinTagHandler_GetParser(_arg0);
2162
2163 wxPy_END_ALLOW_THREADS;
2164} if (_result) {
2165 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlWinParser_p");
2166 _resultobj = Py_BuildValue("s",_ptemp);
2167 } else {
2168 Py_INCREF(Py_None);
2169 _resultobj = Py_None;
2170 }
2171 return _resultobj;
2172}
2173
2174#define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2175static PyObject *_wrap_wxHtmlWinTagHandler_ParseInner(PyObject *self, PyObject *args, PyObject *kwargs) {
2176 PyObject * _resultobj;
2177 wxPyHtmlWinTagHandler * _arg0;
2178 wxHtmlTag * _arg1;
2179 PyObject * _argo0 = 0;
2180 PyObject * _argo1 = 0;
2181 char *_kwnames[] = { "self","tag", NULL };
2182
2183 self = self;
2184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames,&_argo0,&_argo1))
2185 return NULL;
2186 if (_argo0) {
2187 if (_argo0 == Py_None) { _arg0 = NULL; }
2188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWinTagHandler_p")) {
2189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2190 return NULL;
2191 }
2192 }
2193 if (_argo1) {
2194 if (_argo1 == Py_None) { _arg1 = NULL; }
2195 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxHtmlTag_p")) {
2196 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2197 return NULL;
2198 }
2199 }
2200{
2201 wxPy_BEGIN_ALLOW_THREADS;
2202 wxHtmlWinTagHandler_ParseInner(_arg0,*_arg1);
2203
2204 wxPy_END_ALLOW_THREADS;
2205} Py_INCREF(Py_None);
2206 _resultobj = Py_None;
2207 return _resultobj;
2208}
325274bb 2209
325274bb 2210#define new_HtmlHistoryItem(_swigarg0,_swigarg1) (new HtmlHistoryItem(_swigarg0,_swigarg1))
0f66a9f3 2211static PyObject *_wrap_new_HtmlHistoryItem(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2212 PyObject * _resultobj;
2213 HtmlHistoryItem * _result;
2214 char * _arg0;
2215 char * _arg1;
0f66a9f3 2216 char *_kwnames[] = { "p","a", NULL };
325274bb
RD
2217 char _ptemp[128];
2218
2219 self = self;
0f66a9f3 2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ss:new_HtmlHistoryItem",_kwnames,&_arg0,&_arg1))
325274bb
RD
2221 return NULL;
2222{
2223 wxPy_BEGIN_ALLOW_THREADS;
2224 _result = (HtmlHistoryItem *)new_HtmlHistoryItem(_arg0,_arg1);
2225
2226 wxPy_END_ALLOW_THREADS;
2227} if (_result) {
2228 SWIG_MakePtr(_ptemp, (char *) _result,"_HtmlHistoryItem_p");
2229 _resultobj = Py_BuildValue("s",_ptemp);
2230 } else {
2231 Py_INCREF(Py_None);
2232 _resultobj = Py_None;
2233 }
2234 return _resultobj;
2235}
2236
2237#define HtmlHistoryItem_GetPos(_swigobj) (_swigobj->GetPos())
0f66a9f3 2238static PyObject *_wrap_HtmlHistoryItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2239 PyObject * _resultobj;
2240 int _result;
2241 HtmlHistoryItem * _arg0;
2242 PyObject * _argo0 = 0;
0f66a9f3 2243 char *_kwnames[] = { "self", NULL };
325274bb
RD
2244
2245 self = self;
0f66a9f3 2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetPos",_kwnames,&_argo0))
325274bb
RD
2247 return NULL;
2248 if (_argo0) {
2249 if (_argo0 == Py_None) { _arg0 = NULL; }
2250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
2251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPos. Expected _HtmlHistoryItem_p.");
2252 return NULL;
2253 }
2254 }
2255{
2256 wxPy_BEGIN_ALLOW_THREADS;
2257 _result = (int )HtmlHistoryItem_GetPos(_arg0);
2258
2259 wxPy_END_ALLOW_THREADS;
2260} _resultobj = Py_BuildValue("i",_result);
2261 return _resultobj;
2262}
2263
2264#define HtmlHistoryItem_SetPos(_swigobj,_swigarg0) (_swigobj->SetPos(_swigarg0))
0f66a9f3 2265static PyObject *_wrap_HtmlHistoryItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2266 PyObject * _resultobj;
2267 HtmlHistoryItem * _arg0;
2268 int _arg1;
2269 PyObject * _argo0 = 0;
0f66a9f3 2270 char *_kwnames[] = { "self","p", NULL };
325274bb
RD
2271
2272 self = self;
0f66a9f3 2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:HtmlHistoryItem_SetPos",_kwnames,&_argo0,&_arg1))
325274bb
RD
2274 return NULL;
2275 if (_argo0) {
2276 if (_argo0 == Py_None) { _arg0 = NULL; }
2277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
2278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_SetPos. Expected _HtmlHistoryItem_p.");
2279 return NULL;
2280 }
2281 }
2282{
2283 wxPy_BEGIN_ALLOW_THREADS;
2284 HtmlHistoryItem_SetPos(_arg0,_arg1);
2285
2286 wxPy_END_ALLOW_THREADS;
2287} Py_INCREF(Py_None);
2288 _resultobj = Py_None;
2289 return _resultobj;
2290}
2291
2292#define HtmlHistoryItem_GetPage(_swigobj) (_swigobj->GetPage())
0f66a9f3 2293static PyObject *_wrap_HtmlHistoryItem_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2294 PyObject * _resultobj;
2295 wxString * _result;
2296 HtmlHistoryItem * _arg0;
2297 PyObject * _argo0 = 0;
0f66a9f3 2298 char *_kwnames[] = { "self", NULL };
325274bb
RD
2299
2300 self = self;
0f66a9f3 2301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetPage",_kwnames,&_argo0))
325274bb
RD
2302 return NULL;
2303 if (_argo0) {
2304 if (_argo0 == Py_None) { _arg0 = NULL; }
2305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
2306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetPage. Expected _HtmlHistoryItem_p.");
2307 return NULL;
2308 }
2309 }
2310{
2311 wxPy_BEGIN_ALLOW_THREADS;
2312 const wxString & _result_ref = HtmlHistoryItem_GetPage(_arg0);
2313 _result = (wxString *) &_result_ref;
2314
2315 wxPy_END_ALLOW_THREADS;
2316}{
2317 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
2318}
2319 return _resultobj;
2320}
2321
2322#define HtmlHistoryItem_GetAnchor(_swigobj) (_swigobj->GetAnchor())
0f66a9f3 2323static PyObject *_wrap_HtmlHistoryItem_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2324 PyObject * _resultobj;
2325 wxString * _result;
2326 HtmlHistoryItem * _arg0;
2327 PyObject * _argo0 = 0;
0f66a9f3 2328 char *_kwnames[] = { "self", NULL };
325274bb
RD
2329
2330 self = self;
0f66a9f3 2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:HtmlHistoryItem_GetAnchor",_kwnames,&_argo0))
325274bb
RD
2332 return NULL;
2333 if (_argo0) {
2334 if (_argo0 == Py_None) { _arg0 = NULL; }
2335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_HtmlHistoryItem_p")) {
2336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of HtmlHistoryItem_GetAnchor. Expected _HtmlHistoryItem_p.");
2337 return NULL;
2338 }
2339 }
2340{
2341 wxPy_BEGIN_ALLOW_THREADS;
2342 const wxString & _result_ref = HtmlHistoryItem_GetAnchor(_arg0);
2343 _result = (wxString *) &_result_ref;
2344
2345 wxPy_END_ALLOW_THREADS;
2346}{
2347 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
2348}
2349 return _resultobj;
2350}
2351
0f66a9f3
RD
2352static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr) {
2353 wxPyHtmlWindow *src;
325274bb 2354 wxScrolledWindow *dest;
0f66a9f3 2355 src = (wxPyHtmlWindow *) ptr;
325274bb
RD
2356 dest = (wxScrolledWindow *) src;
2357 return (void *) dest;
2358}
2359
0f66a9f3
RD
2360static void *SwigwxPyHtmlWindowTowxPanel(void *ptr) {
2361 wxPyHtmlWindow *src;
325274bb 2362 wxPanel *dest;
0f66a9f3 2363 src = (wxPyHtmlWindow *) ptr;
325274bb
RD
2364 dest = (wxPanel *) src;
2365 return (void *) dest;
2366}
2367
0f66a9f3
RD
2368static void *SwigwxPyHtmlWindowTowxWindow(void *ptr) {
2369 wxPyHtmlWindow *src;
325274bb 2370 wxWindow *dest;
0f66a9f3 2371 src = (wxPyHtmlWindow *) ptr;
325274bb
RD
2372 dest = (wxWindow *) src;
2373 return (void *) dest;
2374}
2375
0f66a9f3
RD
2376static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr) {
2377 wxPyHtmlWindow *src;
325274bb 2378 wxEvtHandler *dest;
0f66a9f3 2379 src = (wxPyHtmlWindow *) ptr;
325274bb
RD
2380 dest = (wxEvtHandler *) src;
2381 return (void *) dest;
2382}
2383
0f66a9f3
RD
2384#define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2385static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb 2386 PyObject * _resultobj;
0f66a9f3 2387 wxPyHtmlWindow * _result;
325274bb 2388 wxWindow * _arg0;
0f66a9f3 2389 int _arg1 = (int ) -1;
325274bb
RD
2390 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
2391 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
2392 int _arg4 = (int ) wxHW_SCROLLBAR_AUTO;
2393 char * _arg5 = (char *) "htmlWindow";
2394 PyObject * _argo0 = 0;
2395 PyObject * _argo2 = 0;
2396 PyObject * _argo3 = 0;
0f66a9f3 2397 char *_kwnames[] = { "parent","id","pos","size","flags","name", NULL };
325274bb
RD
2398 char _ptemp[128];
2399
2400 self = self;
0f66a9f3 2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOis:new_wxHtmlWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
325274bb
RD
2402 return NULL;
2403 if (_argo0) {
2404 if (_argo0 == Py_None) { _arg0 = NULL; }
2405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
2407 return NULL;
2408 }
2409 }
2410 if (_argo2) {
2411 if (_argo2 == Py_None) { _arg2 = NULL; }
2412 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
2413 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxHtmlWindow. Expected _wxPoint_p.");
2414 return NULL;
2415 }
2416 }
2417 if (_argo3) {
2418 if (_argo3 == Py_None) { _arg3 = NULL; }
2419 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxSize_p")) {
2420 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxHtmlWindow. Expected _wxSize_p.");
2421 return NULL;
2422 }
2423 }
2424{
2425 wxPy_BEGIN_ALLOW_THREADS;
0f66a9f3 2426 _result = (wxPyHtmlWindow *)new_wxHtmlWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
325274bb
RD
2427
2428 wxPy_END_ALLOW_THREADS;
2429} if (_result) {
0f66a9f3 2430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyHtmlWindow_p");
325274bb
RD
2431 _resultobj = Py_BuildValue("s",_ptemp);
2432 } else {
2433 Py_INCREF(Py_None);
2434 _resultobj = Py_None;
2435 }
2436 return _resultobj;
2437}
2438
0f66a9f3
RD
2439#define wxHtmlWindow__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2440static PyObject *_wrap_wxHtmlWindow__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject * _resultobj;
2442 wxPyHtmlWindow * _arg0;
2443 PyObject * _arg1;
2444 PyObject * _argo0 = 0;
2445 PyObject * _obj1 = 0;
2446 char *_kwnames[] = { "self","self", NULL };
2447
2448 self = self;
2449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxHtmlWindow__setSelf",_kwnames,&_argo0,&_obj1))
2450 return NULL;
2451 if (_argo0) {
2452 if (_argo0 == Py_None) { _arg0 = NULL; }
2453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow__setSelf. Expected _wxPyHtmlWindow_p.");
2455 return NULL;
2456 }
2457 }
2458{
2459 _arg1 = _obj1;
2460}
2461{
2462 wxPy_BEGIN_ALLOW_THREADS;
2463 wxHtmlWindow__setSelf(_arg0,_arg1);
2464
2465 wxPy_END_ALLOW_THREADS;
2466} Py_INCREF(Py_None);
2467 _resultobj = Py_None;
2468 return _resultobj;
2469}
2470
325274bb 2471#define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
0f66a9f3 2472static PyObject *_wrap_wxHtmlWindow_SetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2473 PyObject * _resultobj;
2474 bool _result;
0f66a9f3 2475 wxPyHtmlWindow * _arg0;
325274bb
RD
2476 char * _arg1;
2477 PyObject * _argo0 = 0;
0f66a9f3 2478 char *_kwnames[] = { "self","source", NULL };
325274bb
RD
2479
2480 self = self;
0f66a9f3 2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_SetPage",_kwnames,&_argo0,&_arg1))
325274bb
RD
2482 return NULL;
2483 if (_argo0) {
2484 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2487 return NULL;
2488 }
2489 }
2490{
2491 wxPy_BEGIN_ALLOW_THREADS;
2492 _result = (bool )wxHtmlWindow_SetPage(_arg0,_arg1);
2493
2494 wxPy_END_ALLOW_THREADS;
2495} _resultobj = Py_BuildValue("i",_result);
2496 return _resultobj;
2497}
2498
2499#define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
0f66a9f3 2500static PyObject *_wrap_wxHtmlWindow_LoadPage(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2501 PyObject * _resultobj;
2502 bool _result;
0f66a9f3 2503 wxPyHtmlWindow * _arg0;
325274bb
RD
2504 char * _arg1;
2505 PyObject * _argo0 = 0;
0f66a9f3 2506 char *_kwnames[] = { "self","location", NULL };
325274bb
RD
2507
2508 self = self;
0f66a9f3 2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_LoadPage",_kwnames,&_argo0,&_arg1))
325274bb
RD
2510 return NULL;
2511 if (_argo0) {
2512 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2515 return NULL;
2516 }
2517 }
2518{
2519 wxPy_BEGIN_ALLOW_THREADS;
2520 _result = (bool )wxHtmlWindow_LoadPage(_arg0,_arg1);
2521
2522 wxPy_END_ALLOW_THREADS;
2523} _resultobj = Py_BuildValue("i",_result);
2524 return _resultobj;
2525}
2526
2527#define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
0f66a9f3 2528static PyObject *_wrap_wxHtmlWindow_GetOpenedPage(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2529 PyObject * _resultobj;
2530 wxString * _result;
0f66a9f3 2531 wxPyHtmlWindow * _arg0;
325274bb 2532 PyObject * _argo0 = 0;
0f66a9f3 2533 char *_kwnames[] = { "self", NULL };
325274bb
RD
2534
2535 self = self;
0f66a9f3 2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetOpenedPage",_kwnames,&_argo0))
325274bb
RD
2537 return NULL;
2538 if (_argo0) {
2539 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2542 return NULL;
2543 }
2544 }
2545{
2546 wxPy_BEGIN_ALLOW_THREADS;
2547 _result = new wxString (wxHtmlWindow_GetOpenedPage(_arg0));
2548
2549 wxPy_END_ALLOW_THREADS;
2550}{
2551 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2552}
2553{
2554 delete _result;
2555}
2556 return _resultobj;
2557}
2558
2559#define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
0f66a9f3 2560static PyObject *_wrap_wxHtmlWindow_SetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb 2561 PyObject * _resultobj;
0f66a9f3 2562 wxPyHtmlWindow * _arg0;
325274bb
RD
2563 wxFrame * _arg1;
2564 char * _arg2;
2565 PyObject * _argo0 = 0;
2566 PyObject * _argo1 = 0;
0f66a9f3 2567 char *_kwnames[] = { "self","frame","format", NULL };
325274bb
RD
2568
2569 self = self;
0f66a9f3 2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames,&_argo0,&_argo1,&_arg2))
325274bb
RD
2571 return NULL;
2572 if (_argo0) {
2573 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2576 return NULL;
2577 }
2578 }
2579 if (_argo1) {
2580 if (_argo1 == Py_None) { _arg1 = NULL; }
2581 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
2582 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
2583 return NULL;
2584 }
2585 }
2586{
2587 wxPy_BEGIN_ALLOW_THREADS;
2588 wxHtmlWindow_SetRelatedFrame(_arg0,_arg1,_arg2);
2589
2590 wxPy_END_ALLOW_THREADS;
2591} Py_INCREF(Py_None);
2592 _resultobj = Py_None;
2593 return _resultobj;
2594}
2595
2596#define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
0f66a9f3 2597static PyObject *_wrap_wxHtmlWindow_GetRelatedFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2598 PyObject * _resultobj;
2599 wxFrame * _result;
0f66a9f3 2600 wxPyHtmlWindow * _arg0;
325274bb 2601 PyObject * _argo0 = 0;
0f66a9f3 2602 char *_kwnames[] = { "self", NULL };
325274bb
RD
2603 char _ptemp[128];
2604
2605 self = self;
0f66a9f3 2606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetRelatedFrame",_kwnames,&_argo0))
325274bb
RD
2607 return NULL;
2608 if (_argo0) {
2609 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2612 return NULL;
2613 }
2614 }
2615{
2616 wxPy_BEGIN_ALLOW_THREADS;
2617 _result = (wxFrame *)wxHtmlWindow_GetRelatedFrame(_arg0);
2618
2619 wxPy_END_ALLOW_THREADS;
2620} if (_result) {
2621 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
2622 _resultobj = Py_BuildValue("s",_ptemp);
2623 } else {
2624 Py_INCREF(Py_None);
2625 _resultobj = Py_None;
2626 }
2627 return _resultobj;
2628}
2629
2630#define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
0f66a9f3 2631static PyObject *_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb 2632 PyObject * _resultobj;
0f66a9f3 2633 wxPyHtmlWindow * _arg0;
325274bb
RD
2634 int _arg1;
2635 PyObject * _argo0 = 0;
0f66a9f3 2636 char *_kwnames[] = { "self","bar", NULL };
325274bb
RD
2637
2638 self = self;
0f66a9f3 2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames,&_argo0,&_arg1))
325274bb
RD
2640 return NULL;
2641 if (_argo0) {
2642 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2645 return NULL;
2646 }
2647 }
2648{
2649 wxPy_BEGIN_ALLOW_THREADS;
2650 wxHtmlWindow_SetRelatedStatusBar(_arg0,_arg1);
2651
2652 wxPy_END_ALLOW_THREADS;
2653} Py_INCREF(Py_None);
2654 _resultobj = Py_None;
2655 return _resultobj;
2656}
2657
2658#define wxHtmlWindow_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
0f66a9f3 2659static PyObject *_wrap_wxHtmlWindow_SetFonts(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb 2660 PyObject * _resultobj;
0f66a9f3 2661 wxPyHtmlWindow * _arg0;
325274bb
RD
2662 wxString * _arg1;
2663 int _arg2;
2664 wxString * _arg3;
2665 int _arg4;
2666 int * _arg5;
2667 PyObject * _argo0 = 0;
2668 PyObject * _obj1 = 0;
2669 PyObject * _obj3 = 0;
0f66a9f3
RD
2670 PyObject * _obj5 = 0;
2671 char *_kwnames[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL };
325274bb
RD
2672
2673 self = self;
0f66a9f3 2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiOiO:wxHtmlWindow_SetFonts",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3,&_arg4,&_obj5))
325274bb
RD
2675 return NULL;
2676 if (_argo0) {
2677 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2680 return NULL;
2681 }
2682 }
2683{
2684 if (!PyString_Check(_obj1)) {
2685 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2686 return NULL;
2687 }
2688 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2689}
2690{
2691 if (!PyString_Check(_obj3)) {
2692 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2693 return NULL;
2694 }
2695 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
2696}
0f66a9f3
RD
2697{
2698 _arg5 = int_LIST_helper(_obj5);
2699 if (_arg5 == NULL) {
325274bb 2700 return NULL;
325274bb 2701 }
0f66a9f3 2702}
325274bb
RD
2703{
2704 wxPy_BEGIN_ALLOW_THREADS;
2705 wxHtmlWindow_SetFonts(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5);
2706
2707 wxPy_END_ALLOW_THREADS;
2708} Py_INCREF(Py_None);
2709 _resultobj = Py_None;
2710{
2711 if (_obj1)
2712 delete _arg1;
2713}
2714{
2715 if (_obj3)
2716 delete _arg3;
0f66a9f3
RD
2717}
2718{
2719 delete [] _arg5;
325274bb
RD
2720}
2721 return _resultobj;
2722}
2723
2724#define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
0f66a9f3 2725static PyObject *_wrap_wxHtmlWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb 2726 PyObject * _resultobj;
0f66a9f3 2727 wxPyHtmlWindow * _arg0;
325274bb
RD
2728 char * _arg1;
2729 PyObject * _argo0 = 0;
0f66a9f3 2730 char *_kwnames[] = { "self","title", NULL };
325274bb
RD
2731
2732 self = self;
0f66a9f3 2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_SetTitle",_kwnames,&_argo0,&_arg1))
325274bb
RD
2734 return NULL;
2735 if (_argo0) {
2736 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2739 return NULL;
2740 }
2741 }
2742{
2743 wxPy_BEGIN_ALLOW_THREADS;
2744 wxHtmlWindow_SetTitle(_arg0,_arg1);
2745
2746 wxPy_END_ALLOW_THREADS;
2747} Py_INCREF(Py_None);
2748 _resultobj = Py_None;
2749 return _resultobj;
2750}
2751
2752#define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
0f66a9f3 2753static PyObject *_wrap_wxHtmlWindow_SetBorders(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb 2754 PyObject * _resultobj;
0f66a9f3 2755 wxPyHtmlWindow * _arg0;
325274bb
RD
2756 int _arg1;
2757 PyObject * _argo0 = 0;
0f66a9f3 2758 char *_kwnames[] = { "self","b", NULL };
325274bb
RD
2759
2760 self = self;
0f66a9f3 2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxHtmlWindow_SetBorders",_kwnames,&_argo0,&_arg1))
325274bb
RD
2762 return NULL;
2763 if (_argo0) {
2764 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2767 return NULL;
2768 }
2769 }
2770{
2771 wxPy_BEGIN_ALLOW_THREADS;
2772 wxHtmlWindow_SetBorders(_arg0,_arg1);
2773
2774 wxPy_END_ALLOW_THREADS;
2775} Py_INCREF(Py_None);
2776 _resultobj = Py_None;
2777 return _resultobj;
2778}
2779
0f66a9f3
RD
2780#define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2781static PyObject *_wrap_wxHtmlWindow_ReadCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject * _resultobj;
2783 wxPyHtmlWindow * _arg0;
2784 wxConfigBase * _arg1;
2785 char * _arg2 = (char *) "";
2786 PyObject * _argo0 = 0;
2787 PyObject * _argo1 = 0;
2788 char *_kwnames[] = { "self","cfg","path", NULL };
2789
2790 self = self;
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|s:wxHtmlWindow_ReadCustomization",_kwnames,&_argo0,&_argo1,&_arg2))
2792 return NULL;
2793 if (_argo0) {
2794 if (_argo0 == Py_None) { _arg0 = NULL; }
2795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
2797 return NULL;
2798 }
2799 }
2800 if (_argo1) {
2801 if (_argo1 == Py_None) { _arg1 = NULL; }
2802 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2803 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
2804 return NULL;
2805 }
2806 }
2807{
2808 wxPy_BEGIN_ALLOW_THREADS;
2809 wxHtmlWindow_ReadCustomization(_arg0,_arg1,_arg2);
2810
2811 wxPy_END_ALLOW_THREADS;
2812} Py_INCREF(Py_None);
2813 _resultobj = Py_None;
2814 return _resultobj;
2815}
2816
2817#define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2818static PyObject *_wrap_wxHtmlWindow_WriteCustomization(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject * _resultobj;
2820 wxPyHtmlWindow * _arg0;
2821 wxConfigBase * _arg1;
2822 char * _arg2 = (char *) "";
2823 PyObject * _argo0 = 0;
2824 PyObject * _argo1 = 0;
2825 char *_kwnames[] = { "self","cfg","path", NULL };
2826
2827 self = self;
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|s:wxHtmlWindow_WriteCustomization",_kwnames,&_argo0,&_argo1,&_arg2))
2829 return NULL;
2830 if (_argo0) {
2831 if (_argo0 == Py_None) { _arg0 = NULL; }
2832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
2834 return NULL;
2835 }
2836 }
2837 if (_argo1) {
2838 if (_argo1 == Py_None) { _arg1 = NULL; }
2839 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxConfigBase_p")) {
2840 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
2841 return NULL;
2842 }
2843 }
2844{
2845 wxPy_BEGIN_ALLOW_THREADS;
2846 wxHtmlWindow_WriteCustomization(_arg0,_arg1,_arg2);
2847
2848 wxPy_END_ALLOW_THREADS;
2849} Py_INCREF(Py_None);
2850 _resultobj = Py_None;
2851 return _resultobj;
2852}
2853
325274bb 2854#define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
0f66a9f3 2855static PyObject *_wrap_wxHtmlWindow_HistoryBack(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2856 PyObject * _resultobj;
2857 bool _result;
0f66a9f3 2858 wxPyHtmlWindow * _arg0;
325274bb 2859 PyObject * _argo0 = 0;
0f66a9f3 2860 char *_kwnames[] = { "self", NULL };
325274bb
RD
2861
2862 self = self;
0f66a9f3 2863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryBack",_kwnames,&_argo0))
325274bb
RD
2864 return NULL;
2865 if (_argo0) {
2866 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2869 return NULL;
2870 }
2871 }
2872{
2873 wxPy_BEGIN_ALLOW_THREADS;
2874 _result = (bool )wxHtmlWindow_HistoryBack(_arg0);
2875
2876 wxPy_END_ALLOW_THREADS;
2877} _resultobj = Py_BuildValue("i",_result);
2878 return _resultobj;
2879}
2880
2881#define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
0f66a9f3 2882static PyObject *_wrap_wxHtmlWindow_HistoryForward(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
2883 PyObject * _resultobj;
2884 bool _result;
0f66a9f3 2885 wxPyHtmlWindow * _arg0;
325274bb 2886 PyObject * _argo0 = 0;
0f66a9f3 2887 char *_kwnames[] = { "self", NULL };
325274bb
RD
2888
2889 self = self;
0f66a9f3 2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryForward",_kwnames,&_argo0))
325274bb
RD
2891 return NULL;
2892 if (_argo0) {
2893 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2896 return NULL;
2897 }
2898 }
2899{
2900 wxPy_BEGIN_ALLOW_THREADS;
2901 _result = (bool )wxHtmlWindow_HistoryForward(_arg0);
2902
2903 wxPy_END_ALLOW_THREADS;
2904} _resultobj = Py_BuildValue("i",_result);
2905 return _resultobj;
2906}
2907
2908#define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
0f66a9f3 2909static PyObject *_wrap_wxHtmlWindow_HistoryClear(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb 2910 PyObject * _resultobj;
0f66a9f3 2911 wxPyHtmlWindow * _arg0;
325274bb 2912 PyObject * _argo0 = 0;
0f66a9f3 2913 char *_kwnames[] = { "self", NULL };
325274bb
RD
2914
2915 self = self;
0f66a9f3 2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_HistoryClear",_kwnames,&_argo0))
325274bb
RD
2917 return NULL;
2918 if (_argo0) {
2919 if (_argo0 == Py_None) { _arg0 = NULL; }
0f66a9f3
RD
2920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
325274bb
RD
2922 return NULL;
2923 }
2924 }
2925{
2926 wxPy_BEGIN_ALLOW_THREADS;
2927 wxHtmlWindow_HistoryClear(_arg0);
2928
2929 wxPy_END_ALLOW_THREADS;
2930} Py_INCREF(Py_None);
2931 _resultobj = Py_None;
2932 return _resultobj;
2933}
2934
a65c6e14
RD
2935#define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
2936static PyObject *_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject *self, PyObject *args, PyObject *kwargs) {
2937 PyObject * _resultobj;
2938 wxHtmlContainerCell * _result;
2939 wxPyHtmlWindow * _arg0;
2940 PyObject * _argo0 = 0;
2941 char *_kwnames[] = { "self", NULL };
2942 char _ptemp[128];
2943
2944 self = self;
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames,&_argo0))
2946 return NULL;
2947 if (_argo0) {
2948 if (_argo0 == Py_None) { _arg0 = NULL; }
2949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
2951 return NULL;
2952 }
2953 }
2954{
2955 wxPy_BEGIN_ALLOW_THREADS;
2956 _result = (wxHtmlContainerCell *)wxHtmlWindow_GetInternalRepresentation(_arg0);
2957
2958 wxPy_END_ALLOW_THREADS;
2959} if (_result) {
2960 SWIG_MakePtr(_ptemp, (char *) _result,"_wxHtmlContainerCell_p");
2961 _resultobj = Py_BuildValue("s",_ptemp);
2962 } else {
2963 Py_INCREF(Py_None);
2964 _resultobj = Py_None;
2965 }
2966 return _resultobj;
2967}
2968
0f66a9f3
RD
2969#define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
2970static PyObject *_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject * _resultobj;
2972 wxPyHtmlWindow * _arg0;
2973 char * _arg1;
2974 PyObject * _argo0 = 0;
2975 char *_kwnames[] = { "self","link", NULL };
2976
2977 self = self;
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxHtmlWindow_base_OnLinkClicked",_kwnames,&_argo0,&_arg1))
2979 return NULL;
2980 if (_argo0) {
2981 if (_argo0 == Py_None) { _arg0 = NULL; }
2982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyHtmlWindow_p")) {
2983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
2984 return NULL;
2985 }
2986 }
2987{
2988 wxPy_BEGIN_ALLOW_THREADS;
2989 wxHtmlWindow_base_OnLinkClicked(_arg0,_arg1);
2990
2991 wxPy_END_ALLOW_THREADS;
2992} Py_INCREF(Py_None);
2993 _resultobj = Py_None;
2994 return _resultobj;
2995}
2996
325274bb 2997static PyMethodDef htmlcMethods[] = {
0f66a9f3 2998 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction) _wrap_wxHtmlWindow_base_OnLinkClicked, METH_VARARGS | METH_KEYWORDS },
a65c6e14 2999 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction) _wrap_wxHtmlWindow_GetInternalRepresentation, METH_VARARGS | METH_KEYWORDS },
0f66a9f3
RD
3000 { "wxHtmlWindow_HistoryClear", (PyCFunction) _wrap_wxHtmlWindow_HistoryClear, METH_VARARGS | METH_KEYWORDS },
3001 { "wxHtmlWindow_HistoryForward", (PyCFunction) _wrap_wxHtmlWindow_HistoryForward, METH_VARARGS | METH_KEYWORDS },
3002 { "wxHtmlWindow_HistoryBack", (PyCFunction) _wrap_wxHtmlWindow_HistoryBack, METH_VARARGS | METH_KEYWORDS },
3003 { "wxHtmlWindow_WriteCustomization", (PyCFunction) _wrap_wxHtmlWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS },
3004 { "wxHtmlWindow_ReadCustomization", (PyCFunction) _wrap_wxHtmlWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS },
3005 { "wxHtmlWindow_SetBorders", (PyCFunction) _wrap_wxHtmlWindow_SetBorders, METH_VARARGS | METH_KEYWORDS },
3006 { "wxHtmlWindow_SetTitle", (PyCFunction) _wrap_wxHtmlWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
3007 { "wxHtmlWindow_SetFonts", (PyCFunction) _wrap_wxHtmlWindow_SetFonts, METH_VARARGS | METH_KEYWORDS },
3008 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedStatusBar, METH_VARARGS | METH_KEYWORDS },
3009 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_GetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
3010 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction) _wrap_wxHtmlWindow_SetRelatedFrame, METH_VARARGS | METH_KEYWORDS },
3011 { "wxHtmlWindow_GetOpenedPage", (PyCFunction) _wrap_wxHtmlWindow_GetOpenedPage, METH_VARARGS | METH_KEYWORDS },
3012 { "wxHtmlWindow_LoadPage", (PyCFunction) _wrap_wxHtmlWindow_LoadPage, METH_VARARGS | METH_KEYWORDS },
3013 { "wxHtmlWindow_SetPage", (PyCFunction) _wrap_wxHtmlWindow_SetPage, METH_VARARGS | METH_KEYWORDS },
3014 { "wxHtmlWindow__setSelf", (PyCFunction) _wrap_wxHtmlWindow__setSelf, METH_VARARGS | METH_KEYWORDS },
3015 { "new_wxHtmlWindow", (PyCFunction) _wrap_new_wxHtmlWindow, METH_VARARGS | METH_KEYWORDS },
3016 { "HtmlHistoryItem_GetAnchor", (PyCFunction) _wrap_HtmlHistoryItem_GetAnchor, METH_VARARGS | METH_KEYWORDS },
3017 { "HtmlHistoryItem_GetPage", (PyCFunction) _wrap_HtmlHistoryItem_GetPage, METH_VARARGS | METH_KEYWORDS },
3018 { "HtmlHistoryItem_SetPos", (PyCFunction) _wrap_HtmlHistoryItem_SetPos, METH_VARARGS | METH_KEYWORDS },
3019 { "HtmlHistoryItem_GetPos", (PyCFunction) _wrap_HtmlHistoryItem_GetPos, METH_VARARGS | METH_KEYWORDS },
3020 { "new_HtmlHistoryItem", (PyCFunction) _wrap_new_HtmlHistoryItem, METH_VARARGS | METH_KEYWORDS },
3021 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlWinTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
3022 { "wxHtmlWinTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
3023 { "wxHtmlWinTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlWinTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
3024 { "wxHtmlWinTagHandler__setSelf", (PyCFunction) _wrap_wxHtmlWinTagHandler__setSelf, METH_VARARGS | METH_KEYWORDS },
3025 { "new_wxHtmlWinTagHandler", (PyCFunction) _wrap_new_wxHtmlWinTagHandler, METH_VARARGS | METH_KEYWORDS },
3026 { "wxHtmlTagHandler_ParseInner", (PyCFunction) _wrap_wxHtmlTagHandler_ParseInner, METH_VARARGS | METH_KEYWORDS },
3027 { "wxHtmlTagHandler_GetParser", (PyCFunction) _wrap_wxHtmlTagHandler_GetParser, METH_VARARGS | METH_KEYWORDS },
3028 { "wxHtmlTagHandler_SetParser", (PyCFunction) _wrap_wxHtmlTagHandler_SetParser, METH_VARARGS | METH_KEYWORDS },
3029 { "wxHtmlTagHandler__setSelf", (PyCFunction) _wrap_wxHtmlTagHandler__setSelf, METH_VARARGS | METH_KEYWORDS },
3030 { "new_wxHtmlTagHandler", (PyCFunction) _wrap_new_wxHtmlTagHandler, METH_VARARGS | METH_KEYWORDS },
3031 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction) _wrap_wxHtmlWinParser_CreateCurrentFont, METH_VARARGS | METH_KEYWORDS },
3032 { "wxHtmlWinParser_SetLink", (PyCFunction) _wrap_wxHtmlWinParser_SetLink, METH_VARARGS | METH_KEYWORDS },
3033 { "wxHtmlWinParser_GetLink", (PyCFunction) _wrap_wxHtmlWinParser_GetLink, METH_VARARGS | METH_KEYWORDS },
3034 { "wxHtmlWinParser_SetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_SetActualColor, METH_VARARGS | METH_KEYWORDS },
3035 { "wxHtmlWinParser_GetActualColor", (PyCFunction) _wrap_wxHtmlWinParser_GetActualColor, METH_VARARGS | METH_KEYWORDS },
3036 { "wxHtmlWinParser_SetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_SetLinkColor, METH_VARARGS | METH_KEYWORDS },
3037 { "wxHtmlWinParser_GetLinkColor", (PyCFunction) _wrap_wxHtmlWinParser_GetLinkColor, METH_VARARGS | METH_KEYWORDS },
3038 { "wxHtmlWinParser_SetAlign", (PyCFunction) _wrap_wxHtmlWinParser_SetAlign, METH_VARARGS | METH_KEYWORDS },
3039 { "wxHtmlWinParser_GetAlign", (PyCFunction) _wrap_wxHtmlWinParser_GetAlign, METH_VARARGS | METH_KEYWORDS },
3040 { "wxHtmlWinParser_SetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_SetFontFixed, METH_VARARGS | METH_KEYWORDS },
3041 { "wxHtmlWinParser_GetFontFixed", (PyCFunction) _wrap_wxHtmlWinParser_GetFontFixed, METH_VARARGS | METH_KEYWORDS },
3042 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
3043 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction) _wrap_wxHtmlWinParser_GetFontUnderlined, METH_VARARGS | METH_KEYWORDS },
3044 { "wxHtmlWinParser_SetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_SetFontItalic, METH_VARARGS | METH_KEYWORDS },
3045 { "wxHtmlWinParser_GetFontItalic", (PyCFunction) _wrap_wxHtmlWinParser_GetFontItalic, METH_VARARGS | METH_KEYWORDS },
3046 { "wxHtmlWinParser_SetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_SetFontBold, METH_VARARGS | METH_KEYWORDS },
3047 { "wxHtmlWinParser_GetFontBold", (PyCFunction) _wrap_wxHtmlWinParser_GetFontBold, METH_VARARGS | METH_KEYWORDS },
3048 { "wxHtmlWinParser_SetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_SetFontSize, METH_VARARGS | METH_KEYWORDS },
3049 { "wxHtmlWinParser_GetFontSize", (PyCFunction) _wrap_wxHtmlWinParser_GetFontSize, METH_VARARGS | METH_KEYWORDS },
3050 { "wxHtmlWinParser_CloseContainer", (PyCFunction) _wrap_wxHtmlWinParser_CloseContainer, METH_VARARGS | METH_KEYWORDS },
3051 { "wxHtmlWinParser_OpenContainer", (PyCFunction) _wrap_wxHtmlWinParser_OpenContainer, METH_VARARGS | METH_KEYWORDS },
3052 { "wxHtmlWinParser_GetContainer", (PyCFunction) _wrap_wxHtmlWinParser_GetContainer, METH_VARARGS | METH_KEYWORDS },
3053 { "wxHtmlWinParser_SetFonts", (PyCFunction) _wrap_wxHtmlWinParser_SetFonts, METH_VARARGS | METH_KEYWORDS },
3054 { "wxHtmlWinParser_GetWindow", (PyCFunction) _wrap_wxHtmlWinParser_GetWindow, METH_VARARGS | METH_KEYWORDS },
3055 { "wxHtmlWinParser_GetCharWidth", (PyCFunction) _wrap_wxHtmlWinParser_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
3056 { "wxHtmlWinParser_GetCharHeight", (PyCFunction) _wrap_wxHtmlWinParser_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
3057 { "wxHtmlWinParser_GetDC", (PyCFunction) _wrap_wxHtmlWinParser_GetDC, METH_VARARGS | METH_KEYWORDS },
3058 { "wxHtmlWinParser_SetDC", (PyCFunction) _wrap_wxHtmlWinParser_SetDC, METH_VARARGS | METH_KEYWORDS },
3059 { "new_wxHtmlWinParser", (PyCFunction) _wrap_new_wxHtmlWinParser, METH_VARARGS | METH_KEYWORDS },
3060 { "wxHtmlParser_GetSource", (PyCFunction) _wrap_wxHtmlParser_GetSource, METH_VARARGS | METH_KEYWORDS },
3061 { "wxHtmlParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
3062 { "wxHtmlParser_DoParsing", (PyCFunction) _wrap_wxHtmlParser_DoParsing, METH_VARARGS | METH_KEYWORDS },
3063 { "wxHtmlParser_DoneParser", (PyCFunction) _wrap_wxHtmlParser_DoneParser, METH_VARARGS | METH_KEYWORDS },
3064 { "wxHtmlParser_InitParser", (PyCFunction) _wrap_wxHtmlParser_InitParser, METH_VARARGS | METH_KEYWORDS },
3065 { "wxHtmlParser_Parse", (PyCFunction) _wrap_wxHtmlParser_Parse, METH_VARARGS | METH_KEYWORDS },
3066 { "wxHtmlParser_GetFS", (PyCFunction) _wrap_wxHtmlParser_GetFS, METH_VARARGS | METH_KEYWORDS },
3067 { "wxHtmlParser_SetFS", (PyCFunction) _wrap_wxHtmlParser_SetFS, METH_VARARGS | METH_KEYWORDS },
3068 { "wxHtmlTag_GetEndPos2", (PyCFunction) _wrap_wxHtmlTag_GetEndPos2, METH_VARARGS | METH_KEYWORDS },
3069 { "wxHtmlTag_GetEndPos1", (PyCFunction) _wrap_wxHtmlTag_GetEndPos1, METH_VARARGS | METH_KEYWORDS },
3070 { "wxHtmlTag_GetBeginPos", (PyCFunction) _wrap_wxHtmlTag_GetBeginPos, METH_VARARGS | METH_KEYWORDS },
3071 { "wxHtmlTag_HasEnding", (PyCFunction) _wrap_wxHtmlTag_HasEnding, METH_VARARGS | METH_KEYWORDS },
3072 { "wxHtmlTag_IsEnding", (PyCFunction) _wrap_wxHtmlTag_IsEnding, METH_VARARGS | METH_KEYWORDS },
3073 { "wxHtmlTag_GetAllParams", (PyCFunction) _wrap_wxHtmlTag_GetAllParams, METH_VARARGS | METH_KEYWORDS },
3074 { "wxHtmlTag_GetParam", (PyCFunction) _wrap_wxHtmlTag_GetParam, METH_VARARGS | METH_KEYWORDS },
3075 { "wxHtmlTag_HasParam", (PyCFunction) _wrap_wxHtmlTag_HasParam, METH_VARARGS | METH_KEYWORDS },
3076 { "wxHtmlTag_GetName", (PyCFunction) _wrap_wxHtmlTag_GetName, METH_VARARGS | METH_KEYWORDS },
3077 { "wxHtmlWindow_AddFilter", (PyCFunction) _wrap_wxHtmlWindow_AddFilter, METH_VARARGS | METH_KEYWORDS },
3078 { "wxHtmlWinParser_AddTagHandler", (PyCFunction) _wrap_wxHtmlWinParser_AddTagHandler, METH_VARARGS | METH_KEYWORDS },
325274bb
RD
3079 { NULL, NULL }
3080};
3081#ifdef __cplusplus
3082}
3083#endif
3084/*
3085 * This table is used by the pointer type-checker
3086 */
3087static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
3088 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3089 { "_wxEvent","_class_wxEvent",0},
3090 { "_class_wxActivateEvent","_wxActivateEvent",0},
0f66a9f3
RD
3091 { "_class_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
3092 { "_class_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
3093 { "_class_wxHtmlParser","_wxHtmlParser",0},
325274bb
RD
3094 { "_signed_long","_long",0},
3095 { "_wxMenuEvent","_class_wxMenuEvent",0},
3096 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
3097 { "_wxBMPHandler","_class_wxBMPHandler",0},
3098 { "_wxImage","_class_wxImage",0},
3099 { "_wxPrintQuality","_int",0},
3100 { "_wxPrintQuality","_signed_int",0},
3101 { "_wxPrintQuality","_unsigned_int",0},
3102 { "_wxPrintQuality","_wxWindowID",0},
3103 { "_wxPrintQuality","_uint",0},
3104 { "_wxPrintQuality","_EBool",0},
3105 { "_wxPrintQuality","_size_t",0},
3106 { "_wxFontData","_class_wxFontData",0},
3107 { "___wxPyCleanup","_class___wxPyCleanup",0},
3108 { "_class_HtmlHistoryItem","_HtmlHistoryItem",0},
3109 { "_class_wxRegionIterator","_wxRegionIterator",0},
3110 { "_class_wxMenuBar","_wxMenuBar",0},
3111 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
0f66a9f3
RD
3112 { "_class_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
3113 { "_class_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
325274bb
RD
3114 { "_class_wxEvtHandler","_wxEvtHandler",0},
3115 { "_wxPaintEvent","_class_wxPaintEvent",0},
3116 { "_wxGIFHandler","_class_wxGIFHandler",0},
3117 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3118 { "_wxCursor","_class_wxCursor",0},
3119 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3120 { "_wxImageHandler","_class_wxImageHandler",0},
3121 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
3122 { "_wxMask","_class_wxMask",0},
3123 { "_wxToolTip","_class_wxToolTip",0},
3124 { "_wxGrid","_class_wxGrid",0},
3125 { "_wxPNGHandler","_class_wxPNGHandler",0},
3126 { "_class_wxColourData","_wxColourData",0},
3127 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
3128 { "_wxPrinter","_class_wxPrinter",0},
3129 { "_wxPen","_class_wxPen",0},
3130 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3131 { "_byte","_unsigned_char",0},
3132 { "_wxStaticBox","_class_wxStaticBox",0},
3133 { "_wxChoice","_class_wxChoice",0},
3134 { "_wxSlider","_class_wxSlider",0},
3135 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
3136 { "_wxPyPrintout","_class_wxPyPrintout",0},
3137 { "_long","_wxDash",0},
3138 { "_long","_unsigned_long",0},
3139 { "_long","_signed_long",0},
3140 { "_wxImageList","_class_wxImageList",0},
3141 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3142 { "_wxBitmapButton","_class_wxBitmapButton",0},
3143 { "_wxSashWindow","_class_wxSashWindow",0},
3144 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
3145 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3146 { "_class_wxGauge","_wxGauge",0},
3147 { "_class_wxSashEvent","_wxSashEvent",0},
3148 { "_wxDC","_class_wxDC",0},
3149 { "_wxListEvent","_class_wxListEvent",0},
3150 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
3151 { "_wxProgressDialog","_class_wxProgressDialog",0},
3152 { "_class_wxBMPHandler","_wxBMPHandler",0},
3153 { "_wxPrintPreview","_class_wxPrintPreview",0},
3154 { "_wxSpinEvent","_class_wxSpinEvent",0},
3155 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
3156 { "_size_t","_wxPrintQuality",0},
3157 { "_size_t","_unsigned_int",0},
3158 { "_size_t","_int",0},
3159 { "_size_t","_wxWindowID",0},
3160 { "_size_t","_uint",0},
3161 { "_class_wxRealPoint","_wxRealPoint",0},
3162 { "_wxPrinterDC","_class_wxPrinterDC",0},
3163 { "_class_wxMenuItem","_wxMenuItem",0},
3164 { "_class_wxPaintEvent","_wxPaintEvent",0},
3165 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3166 { "_class_wxStatusBar","_wxStatusBar",0},
3167 { "_class_wxGIFHandler","_wxGIFHandler",0},
0f66a9f3
RD
3168 { "_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
3169 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
325274bb
RD
3170 { "_wxPanel","_class_wxPanel",0},
3171 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3172 { "_wxCheckBox","_class_wxCheckBox",0},
3173 { "_wxPyEvent","_class_wxPyEvent",0},
3174 { "_wxTextCtrl","_class_wxTextCtrl",0},
3175 { "_class_wxMask","_wxMask",0},
3176 { "_class_wxToolTip","_wxToolTip",0},
3177 { "_class_wxKeyEvent","_wxKeyEvent",0},
3178 { "_class_wxGrid","_wxGrid",0},
3179 { "_class_wxPNGHandler","_wxPNGHandler",0},
3180 { "_wxColour","_class_wxColour",0},
3181 { "_class_wxDialog","_wxDialog",0},
3182 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
3183 { "_class_wxPrinter","_wxPrinter",0},
3184 { "_wxIdleEvent","_class_wxIdleEvent",0},
3185 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3186 { "_wxToolBar","_class_wxToolBar",0},
3187 { "_wxStaticLine","_class_wxStaticLine",0},
3188 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
3189 { "_wxBrush","_class_wxBrush",0},
3190 { "_wxMiniFrame","_class_wxMiniFrame",0},
3191 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
3192 { "_class_wxPyPrintout","_wxPyPrintout",0},
3193 { "_class_wxSashWindow","_wxSashWindow",0},
3194 { "_wxShowEvent","_class_wxShowEvent",0},
3195 { "_uint","_wxPrintQuality",0},
3196 { "_uint","_size_t",0},
3197 { "_uint","_unsigned_int",0},
3198 { "_uint","_int",0},
3199 { "_uint","_wxWindowID",0},
3200 { "_class_wxEvent","_wxEvent",0},
3201 { "_wxCheckListBox","_class_wxCheckListBox",0},
3202 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
3203 { "_wxGridEvent","_class_wxGridEvent",0},
3204 { "_wxRect","_class_wxRect",0},
3205 { "_wxCommandEvent","_class_wxCommandEvent",0},
3206 { "_wxSizeEvent","_class_wxSizeEvent",0},
3207 { "_class_wxImage","_wxImage",0},
3208 { "_wxPoint","_class_wxPoint",0},
3209 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
3210 { "_class_wxButton","_wxButton",0},
3211 { "_wxRadioBox","_class_wxRadioBox",0},
3212 { "_class_wxFontData","_wxFontData",0},
3213 { "_class___wxPyCleanup","___wxPyCleanup",0},
3214 { "_wxBitmap","_class_wxBitmap",0},
3215 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
3216 { "_wxPrintDialog","_class_wxPrintDialog",0},
3217 { "_wxPyTimer","_class_wxPyTimer",0},
3218 { "_wxWindowDC","_class_wxWindowDC",0},
3219 { "_wxScrollBar","_class_wxScrollBar",0},
3220 { "_wxSpinButton","_class_wxSpinButton",0},
3221 { "_wxToolBarTool","_class_wxToolBarTool",0},
3222 { "_wxColourDialog","_class_wxColourDialog",0},
3223 { "_wxPrintData","_class_wxPrintData",0},
3224 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3225 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3226 { "_wxMessageDialog","_class_wxMessageDialog",0},
3227 { "_class_wxPyEvent","_wxPyEvent",0},
3228 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
0f66a9f3 3229 { "_wxConfig","_class_wxConfig",0},
325274bb
RD
3230 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3231 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3232 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
3233 { "_wxListItem","_class_wxListItem",0},
3234 { "_class_wxToolBar","_wxToolBar",0},
3235 { "_class_wxStaticLine","_wxStaticLine",0},
3236 { "_wxScrollEvent","_class_wxScrollEvent",0},
3237 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
0f66a9f3
RD
3238 { "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
3239 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
3240 { "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0},
325274bb
RD
3241 { "_EBool","_wxPrintQuality",0},
3242 { "_EBool","_signed_int",0},
3243 { "_EBool","_int",0},
3244 { "_EBool","_wxWindowID",0},
3245 { "_class_wxRegion","_wxRegion",0},
3246 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3247 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
3248 { "_wxStaticText","_class_wxStaticText",0},
3249 { "_wxFont","_class_wxFont",0},
3250 { "_wxCloseEvent","_class_wxCloseEvent",0},
3251 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
3252 { "_wxNotebook","_class_wxNotebook",0},
3253 { "_unsigned_long","_wxDash",0},
3254 { "_unsigned_long","_long",0},
3255 { "_class_wxRect","_wxRect",0},
3256 { "_class_wxDC","_wxDC",0},
a65c6e14 3257 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
325274bb
RD
3258 { "_class_wxProgressDialog","_wxProgressDialog",0},
3259 { "_wxPyApp","_class_wxPyApp",0},
0f66a9f3 3260 { "_wxHtmlWinParser","_class_wxHtmlWinParser",0},
325274bb
RD
3261 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
3262 { "_class_wxTreeEvent","_wxTreeEvent",0},
3263 { "_class_wxDirDialog","_wxDirDialog",0},
3264 { "_class_wxPyTimer","_wxPyTimer",0},
3265 { "_wxFocusEvent","_class_wxFocusEvent",0},
3266 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3267 { "_class_wxSpinButton","_wxSpinButton",0},
325274bb 3268 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
0f66a9f3
RD
3269 { "_class_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
3270 { "_class_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel},
325274bb
RD
3271 { "_class_wxPanel","_wxPanel",0},
3272 { "_class_wxCheckBox","_wxCheckBox",0},
3273 { "_wxComboBox","_class_wxComboBox",0},
3274 { "_wxRadioButton","_class_wxRadioButton",0},
3275 { "_class_wxMessageDialog","_wxMessageDialog",0},
0f66a9f3 3276 { "_wxHtmlTag","_class_wxHtmlTag",0},
325274bb
RD
3277 { "_signed_int","_wxPrintQuality",0},
3278 { "_signed_int","_EBool",0},
3279 { "_signed_int","_wxWindowID",0},
3280 { "_signed_int","_int",0},
3281 { "_class_wxTextCtrl","_wxTextCtrl",0},
3282 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3283 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3284 { "_wxMenu","_class_wxMenu",0},
3285 { "_class_wxMoveEvent","_wxMoveEvent",0},
3286 { "_wxListBox","_class_wxListBox",0},
3287 { "_wxScreenDC","_class_wxScreenDC",0},
3288 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
0f66a9f3 3289 { "_class_wxPyHtmlWindow","_wxPyHtmlWindow",0},
325274bb
RD
3290 { "_WXTYPE","_short",0},
3291 { "_WXTYPE","_signed_short",0},
3292 { "_WXTYPE","_unsigned_short",0},
3293 { "_wxFileDialog","_class_wxFileDialog",0},
3294 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
3295 { "_class_wxBrush","_wxBrush",0},
0f66a9f3
RD
3296 { "_class_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
3297 { "_class_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
3298 { "_class_wxPyHtmlTagHandler","_wxPyHtmlTagHandler",0},
325274bb
RD
3299 { "_unsigned_short","_WXTYPE",0},
3300 { "_unsigned_short","_short",0},
0f66a9f3
RD
3301 { "_class_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
3302 { "_class_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
325274bb
RD
3303 { "_class_wxWindow","_wxWindow",0},
3304 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
3305 { "_class_wxStaticText","_wxStaticText",0},
3306 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
3307 { "_class_wxFont","_wxFont",0},
3308 { "_class_wxCloseEvent","_wxCloseEvent",0},
3309 { "_wxSashEvent","_class_wxSashEvent",0},
3310 { "_class_wxMenuEvent","_wxMenuEvent",0},
3311 { "_wxClientDC","_class_wxClientDC",0},
3312 { "_wxMouseEvent","_class_wxMouseEvent",0},
3313 { "_wxListCtrl","_class_wxListCtrl",0},
3314 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
3315 { "_class_wxPoint","_wxPoint",0},
3316 { "_wxRealPoint","_class_wxRealPoint",0},
3317 { "_class_wxRadioBox","_wxRadioBox",0},
3318 { "_wxGridCell","_class_wxGridCell",0},
0f66a9f3 3319 { "_class_wxHtmlWinParser","_wxHtmlWinParser",0},
325274bb
RD
3320 { "_signed_short","_WXTYPE",0},
3321 { "_signed_short","_short",0},
3322 { "_wxMemoryDC","_class_wxMemoryDC",0},
3323 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
3324 { "_class_wxPrintDialog","_wxPrintDialog",0},
3325 { "_wxPaintDC","_class_wxPaintDC",0},
3326 { "_class_wxWindowDC","_wxWindowDC",0},
3327 { "_class_wxFocusEvent","_wxFocusEvent",0},
3328 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3329 { "_wxStatusBar","_class_wxStatusBar",0},
3330 { "_class_wxToolBarTool","_wxToolBarTool",0},
325274bb
RD
3331 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3332 { "_class_wxCursor","_wxCursor",0},
3333 { "_class_wxImageHandler","_wxImageHandler",0},
0f66a9f3
RD
3334 { "_class_wxHtmlTag","_wxHtmlTag",0},
3335 { "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
3336 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
325274bb
RD
3337 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3338 { "_wxTreeItemId","_class_wxTreeItemId",0},
3339 { "_unsigned_char","_byte",0},
3340 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3341 { "_class_wxMenu","_wxMenu",0},
3342 { "_wxControl","_class_wxControl",0},
3343 { "_class_wxListBox","_wxListBox",0},
3344 { "_unsigned_int","_wxPrintQuality",0},
3345 { "_unsigned_int","_size_t",0},
3346 { "_unsigned_int","_uint",0},
3347 { "_unsigned_int","_wxWindowID",0},
3348 { "_unsigned_int","_int",0},
3349 { "_wxIcon","_class_wxIcon",0},
3350 { "_wxDialog","_class_wxDialog",0},
3351 { "_class_wxListItem","_wxListItem",0},
3352 { "_class_wxPen","_wxPen",0},
3353 { "_class_wxFileDialog","_wxFileDialog",0},
3354 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
3355 { "_short","_WXTYPE",0},
3356 { "_short","_unsigned_short",0},
3357 { "_short","_signed_short",0},
3358 { "_class_wxStaticBox","_wxStaticBox",0},
3359 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
3360 { "_class_wxScrollEvent","_wxScrollEvent",0},
3361 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3362 { "_class_wxChoice","_wxChoice",0},
3363 { "_class_wxSlider","_wxSlider",0},
3364 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
3365 { "_class_wxImageList","_wxImageList",0},
3366 { "_class_wxBitmapButton","_wxBitmapButton",0},
3367 { "_wxFrame","_class_wxFrame",0},
3368 { "_class_wxNotebook","_wxNotebook",0},
3369 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
3370 { "_wxWindowID","_wxPrintQuality",0},
3371 { "_wxWindowID","_size_t",0},
3372 { "_wxWindowID","_EBool",0},
3373 { "_wxWindowID","_uint",0},
3374 { "_wxWindowID","_int",0},
3375 { "_wxWindowID","_signed_int",0},
3376 { "_wxWindowID","_unsigned_int",0},
a65c6e14 3377 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
325274bb
RD
3378 { "_int","_wxPrintQuality",0},
3379 { "_int","_size_t",0},
3380 { "_int","_EBool",0},
3381 { "_int","_uint",0},
3382 { "_int","_wxWindowID",0},
3383 { "_int","_unsigned_int",0},
3384 { "_int","_signed_int",0},
3385 { "_class_wxMouseEvent","_wxMouseEvent",0},
3386 { "_class_wxListEvent","_wxListEvent",0},
3387 { "_class_wxPrintPreview","_wxPrintPreview",0},
3388 { "_class_wxSpinEvent","_wxSpinEvent",0},
0f66a9f3 3389 { "_wxPyHtmlWinTagHandler","_class_wxPyHtmlWinTagHandler",0},
325274bb
RD
3390 { "_wxButton","_class_wxButton",0},
3391 { "_class_wxPyApp","_wxPyApp",0},
3392 { "_wxSize","_class_wxSize",0},
3393 { "_wxRegionIterator","_class_wxRegionIterator",0},
3394 { "_class_wxPrinterDC","_wxPrinterDC",0},
3395 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
3396 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
3397 { "_class_wxPaintDC","_wxPaintDC",0},
3398 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3399 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3400 { "_class_wxComboBox","_wxComboBox",0},
3401 { "_class_wxRadioButton","_wxRadioButton",0},
3402 { "_class_wxTreeItemId","_wxTreeItemId",0},
3403 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
3404 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3405 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3406 { "_class_wxControl","_wxControl",0},
3407 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3408 { "_class_wxIcon","_wxIcon",0},
3409 { "_class_wxColour","_wxColour",0},
3410 { "_class_wxScreenDC","_wxScreenDC",0},
3411 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
3412 { "_wxPalette","_class_wxPalette",0},
3413 { "_class_wxIdleEvent","_wxIdleEvent",0},
3414 { "_wxEraseEvent","_class_wxEraseEvent",0},
3415 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3416 { "_class_wxMiniFrame","_wxMiniFrame",0},
3417 { "_wxFontDialog","_class_wxFontDialog",0},
3418 { "_wxRegion","_class_wxRegion",0},
3419 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
3420 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
3421 { "_class_wxShowEvent","_wxShowEvent",0},
3422 { "_wxActivateEvent","_class_wxActivateEvent",0},
3423 { "_wxGauge","_class_wxGauge",0},
3424 { "_class_wxCheckListBox","_wxCheckListBox",0},
0f66a9f3
RD
3425 { "_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
3426 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser},
3427 { "_wxHtmlParser","_class_wxHtmlParser",0},
325274bb
RD
3428 { "_class_wxGridEvent","_wxGridEvent",0},
3429 { "_class_wxCommandEvent","_wxCommandEvent",0},
3430 { "_class_wxClientDC","_wxClientDC",0},
3431 { "_class_wxSizeEvent","_wxSizeEvent",0},
3432 { "_class_wxListCtrl","_wxListCtrl",0},
0f66a9f3 3433 { "_class_wxPyHtmlWinTagHandler","_wxPyHtmlWinTagHandler",0},
325274bb
RD
3434 { "_class_wxGridCell","_wxGridCell",0},
3435 { "_HtmlHistoryItem","_class_HtmlHistoryItem",0},
3436 { "_class_wxSize","_wxSize",0},
3437 { "_class_wxBitmap","_wxBitmap",0},
3438 { "_class_wxMemoryDC","_wxMemoryDC",0},
3439 { "_wxMenuBar","_class_wxMenuBar",0},
3440 { "_wxTreeEvent","_class_wxTreeEvent",0},
3441 { "_wxDirDialog","_class_wxDirDialog",0},
0f66a9f3
RD
3442 { "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
3443 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
325274bb
RD
3444 { "_wxEvtHandler","_class_wxEvtHandler",0},
3445 { "_wxMenuItem","_class_wxMenuItem",0},
3446 { "_class_wxScrollBar","_wxScrollBar",0},
3447 { "_class_wxColourDialog","_wxColourDialog",0},
3448 { "_class_wxPrintData","_wxPrintData",0},
3449 { "_wxDash","_unsigned_long",0},
3450 { "_wxDash","_long",0},
0f66a9f3
RD
3451 { "_class_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
3452 { "_class_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
325274bb
RD
3453 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3454 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
0f66a9f3 3455 { "_class_wxConfig","_wxConfig",0},
325274bb
RD
3456 { "_wxKeyEvent","_class_wxKeyEvent",0},
3457 { "_wxMoveEvent","_class_wxMoveEvent",0},
3458 { "_wxColourData","_class_wxColourData",0},
3459 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
0f66a9f3 3460 { "_wxPyHtmlWindow","_class_wxPyHtmlWindow",0},
325274bb
RD
3461 { "_class_wxPalette","_wxPalette",0},
3462 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
3463 { "_class_wxEraseEvent","_wxEraseEvent",0},
3464 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
3465 { "_class_wxFontDialog","_wxFontDialog",0},
0f66a9f3
RD
3466 { "_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
3467 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow},
325274bb
RD
3468 { "_wxWindow","_class_wxWindow",0},
3469 { "_class_wxFrame","_wxFrame",0},
3470{0,0,0}};
3471
3472static PyObject *SWIG_globals;
3473#ifdef __cplusplus
3474extern "C"
3475#endif
3476SWIGEXPORT(void) inithtmlc() {
3477 PyObject *m, *d;
3478 SWIG_globals = SWIG_newvarlink();
3479 m = Py_InitModule("htmlc", htmlcMethods);
3480 d = PyModule_GetDict(m);
3481
3482
0f66a9f3 3483 /* This is a bit cheesy. SWIG happens to call the dictionary d...
325274bb
RD
3484 * I save it here, 'cause I don't know how to get it back later! */
3485 mod_dict = d;
0f66a9f3
RD
3486
3487 //inithtmlhelpc();
3488
325274bb
RD
3489 wxClassInfo::CleanUpClasses();
3490 wxClassInfo::InitializeClasses();
3491
3492 /* specifically add our python tag handler; it doesn't seem to
3493 * happen by itself... */
3494 wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
0f66a9f3 3495
325274bb
RD
3496 // Until wxFileSystem is wrapped...
3497 #if wxUSE_FS_ZIP
3498 wxFileSystem::AddHandler(new wxZipFSHandler);
3499 #endif
3500{
3501 int i;
3502 for (i = 0; _swig_mapping[i].n1; i++)
3503 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3504}
3505}