4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init inithtmlc
54 #define SWIG_name "htmlc"
57 #include <wx/html/htmlwin.h>
59 #include <wx/fs_zip.h>
60 #include <wx/fs_inet.h>
61 #include <wx/wfstream.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
112 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
113 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
114 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
115 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
116 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
117 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
118 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
119 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
122 static char* wxStringErrorMsg
= "string type is required for parameter";
125 wxString
wxPyEmptyStr("");
126 wxPoint
wxPyDefaultPosition(wxDefaultPosition
);
127 wxSize
wxPyDefaultSize(wxDefaultSize
);
131 static PyObject
* mod_dict
= NULL
; // will be set by init
133 #include <wx/html/mod_templ.h>
135 TAG_HANDLER_BEGIN(PYTHONTAG
, "PYTHON")
136 TAG_HANDLER_PROC(tag
)
144 bool doSave
= wxPyRestoreThread();
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";
153 if (! PyCallable_Check(pyfunc
)) {
154 errmsg
= "WidgetStarter does not appear to be callable";
157 SWIG_MakePtr(pbuf
, m_WParser
->GetWindow(), "_wxPyHtmlWindow_p");
158 PyObject
* arglist
= Py_BuildValue("(s,s)", pbuf
,
159 (const char*)tag
.GetAllParams());
161 errmsg
= "Failed making argument list";
164 PyObject
* ret
= PyEval_CallObject(pyfunc
, arglist
);
167 errmsg
= "An error occured while calling WidgetStarter";
168 if (PyErr_Occurred())
173 if (PyString_Check(ret
)) {
174 char* thisc
= PyString_AsString(ret
);
175 SWIG_GetPtr(thisc
, (void**)&wnd
, "_wxWindow_p");
179 errmsg
= "Could not make a wxWindow pointer from return ptr";
182 wxPySaveThread(doSave
);
184 m_WParser
->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd
, fl
));
188 wxPySaveThread(doSave
);
190 /* we got out of the loop. Must be an error. Show a box stating it. */
191 wnd
= new wxTextCtrl( m_WParser
-> GetWindow(), -1,
192 errmsg
, wxPoint(0,0),
193 wxSize(300, 100), wxTE_MULTILINE
);
195 m_WParser
->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd
, 100));
199 TAG_HANDLER_END(PYTHONTAG
)
201 TAGS_MODULE_BEGIN(PythonTag
)
203 TAGS_MODULE_ADD(PYTHONTAG
)
205 TAGS_MODULE_END(PythonTag
)
207 // Note: see also the init function where we add the module!
210 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
212 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
214 wxHtmlParser
* GetParser() { return m_Parser
; }
215 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
217 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
218 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
223 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
224 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
227 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
229 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
231 wxHtmlWinParser
* GetParser() { return m_WParser
; }
232 void ParseInner(const wxHtmlTag
& tag
)
233 { wxHtmlWinTagHandler::ParseInner(tag
); }
235 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
236 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
241 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
242 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
246 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
248 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
249 m_tagHandlerClass
= thc
;
250 Py_INCREF(m_tagHandlerClass
);
251 RegisterModule(this);
252 wxHtmlWinParser::AddModule(this);
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
);
264 void FillHandlersTable(wxHtmlWinParser
*parser
) {
265 // Wave our magic wand... (if it works it's a miracle! ;-)
267 // First, make a new instance of the tag handler
268 PyObject
* arg
= Py_BuildValue("()");
269 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
272 // now figure out where it's C++ object is...
273 wxPyHtmlWinTagHandler
* thPtr
;
274 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
278 parser
->AddTagHandler(thPtr
);
285 PyObject
* m_tagHandlerClass
;
286 wxArrayPtrVoid m_objArray
;
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
);
296 class wxPyHtmlWindow
: public wxHtmlWindow
{
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
) {};
305 DEC_PYCALLBACK__STRING(OnLinkClicked
);
310 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnLinkClicked
);
313 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
314 wxHtmlWindow::AddFilter(filter
);
317 extern "C" SWIGEXPORT(void) inithtmlhelpc();
321 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
324 PyObject
* _obj0
= 0;
325 char *_kwnames
[] = { "tagHandlerClass", NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
334 wxPy_BEGIN_ALLOW_THREADS
;
335 wxHtmlWinParser_AddTagHandler(_arg0
);
337 wxPy_END_ALLOW_THREADS
;
338 } Py_INCREF(Py_None
);
339 _resultobj
= Py_None
;
343 static 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
};
350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_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.");
360 wxPy_BEGIN_ALLOW_THREADS
;
361 wxHtmlWindow_AddFilter(_arg0
);
363 wxPy_END_ALLOW_THREADS
;
364 } Py_INCREF(Py_None
);
365 _resultobj
= Py_None
;
369 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
370 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
371 PyObject
* _resultobj
;
374 PyObject
* _argo0
= 0;
375 char *_kwnames
[] = { "self", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_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.");
388 wxPy_BEGIN_ALLOW_THREADS
;
389 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
391 wxPy_END_ALLOW_THREADS
;
393 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
401 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
402 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
407 PyObject
* _argo0
= 0;
408 PyObject
* _obj1
= 0;
409 char *_kwnames
[] = { "self","par", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
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.");
422 if (!PyString_Check(_obj1
)) {
423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
426 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
429 wxPy_BEGIN_ALLOW_THREADS
;
430 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
432 wxPy_END_ALLOW_THREADS
;
433 } _resultobj
= Py_BuildValue("i",_result
);
441 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
442 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
447 int _arg2
= (int ) FALSE
;
448 PyObject
* _argo0
= 0;
449 PyObject
* _obj1
= 0;
450 char *_kwnames
[] = { "self","par","with_commas", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
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.");
463 if (!PyString_Check(_obj1
)) {
464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
467 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
470 wxPy_BEGIN_ALLOW_THREADS
;
471 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
473 wxPy_END_ALLOW_THREADS
;
475 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
487 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
488 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_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.");
506 wxPy_BEGIN_ALLOW_THREADS
;
507 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
509 wxPy_END_ALLOW_THREADS
;
511 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
519 #define wxHtmlTag_IsEnding(_swigobj) (_swigobj->IsEnding())
520 static PyObject
*_wrap_wxHtmlTag_IsEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_IsEnding",_kwnames
,&_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.");
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (bool )wxHtmlTag_IsEnding(_arg0
);
541 wxPy_END_ALLOW_THREADS
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
547 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
551 PyObject
* _argo0
= 0;
552 char *_kwnames
[] = { "self", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_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.");
565 wxPy_BEGIN_ALLOW_THREADS
;
566 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
568 wxPy_END_ALLOW_THREADS
;
569 } _resultobj
= Py_BuildValue("i",_result
);
573 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
574 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
578 PyObject
* _argo0
= 0;
579 char *_kwnames
[] = { "self", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_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.");
592 wxPy_BEGIN_ALLOW_THREADS
;
593 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
595 wxPy_END_ALLOW_THREADS
;
596 } _resultobj
= Py_BuildValue("i",_result
);
600 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
601 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
605 PyObject
* _argo0
= 0;
606 char *_kwnames
[] = { "self", NULL
};
609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_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.");
619 wxPy_BEGIN_ALLOW_THREADS
;
620 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
622 wxPy_END_ALLOW_THREADS
;
623 } _resultobj
= Py_BuildValue("i",_result
);
627 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
628 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
629 PyObject
* _resultobj
;
632 PyObject
* _argo0
= 0;
633 char *_kwnames
[] = { "self", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_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.");
646 wxPy_BEGIN_ALLOW_THREADS
;
647 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
649 wxPy_END_ALLOW_THREADS
;
650 } _resultobj
= Py_BuildValue("i",_result
);
654 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
655 static 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
};
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
681 wxPy_BEGIN_ALLOW_THREADS
;
682 wxHtmlParser_SetFS(_arg0
,_arg1
);
684 wxPy_END_ALLOW_THREADS
;
685 } Py_INCREF(Py_None
);
686 _resultobj
= Py_None
;
690 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
691 static 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
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_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.");
710 wxPy_BEGIN_ALLOW_THREADS
;
711 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
713 wxPy_END_ALLOW_THREADS
;
715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
716 _resultobj
= Py_BuildValue("s",_ptemp
);
719 _resultobj
= Py_None
;
724 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
725 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
728 wxHtmlParser
* _arg0
;
730 PyObject
* _argo0
= 0;
731 PyObject
* _obj1
= 0;
732 char *_kwnames
[] = { "self","source", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
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.");
746 if (!PyString_Check(_obj1
)) {
747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
750 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
753 wxPy_BEGIN_ALLOW_THREADS
;
754 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
756 wxPy_END_ALLOW_THREADS
;
758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
759 _resultobj
= Py_BuildValue("s",_ptemp
);
762 _resultobj
= Py_None
;
771 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
772 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
774 wxHtmlParser
* _arg0
;
776 PyObject
* _argo0
= 0;
777 PyObject
* _obj1
= 0;
778 char *_kwnames
[] = { "self","source", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
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.");
791 if (!PyString_Check(_obj1
)) {
792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
795 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
798 wxPy_BEGIN_ALLOW_THREADS
;
799 wxHtmlParser_InitParser(_arg0
,*_arg1
);
801 wxPy_END_ALLOW_THREADS
;
802 } Py_INCREF(Py_None
);
803 _resultobj
= Py_None
;
811 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
812 static 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
};
819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_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.");
829 wxPy_BEGIN_ALLOW_THREADS
;
830 wxHtmlParser_DoneParser(_arg0
);
832 wxPy_END_ALLOW_THREADS
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
838 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
839 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
841 wxHtmlParser
* _arg0
;
844 PyObject
* _argo0
= 0;
845 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
861 wxPy_END_ALLOW_THREADS
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
867 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
868 static 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
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
894 wxPy_BEGIN_ALLOW_THREADS
;
895 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
897 wxPy_END_ALLOW_THREADS
;
898 } Py_INCREF(Py_None
);
899 _resultobj
= Py_None
;
903 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
904 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 wxHtmlParser
* _arg0
;
908 PyObject
* _argo0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_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.");
922 wxPy_BEGIN_ALLOW_THREADS
;
923 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
925 wxPy_END_ALLOW_THREADS
;
927 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
932 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
933 wxHtmlWinParser
*src
;
935 src
= (wxHtmlWinParser
*) ptr
;
936 dest
= (wxHtmlParser
*) src
;
937 return (void *) dest
;
940 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
941 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
943 wxHtmlWinParser
* _result
;
945 PyObject
* _argo0
= 0;
946 char *_kwnames
[] = { "wnd", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_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.");
960 wxPy_BEGIN_ALLOW_THREADS
;
961 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
963 wxPy_END_ALLOW_THREADS
;
965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
966 _resultobj
= Py_BuildValue("s",_ptemp
);
969 _resultobj
= Py_None
;
974 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
975 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
977 wxHtmlWinParser
* _arg0
;
979 PyObject
* _argo0
= 0;
980 PyObject
* _argo1
= 0;
981 char *_kwnames
[] = { "self","dc", NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1004 wxPy_END_ALLOW_THREADS
;
1005 } Py_INCREF(Py_None
);
1006 _resultobj
= Py_None
;
1010 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1011 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1014 wxHtmlWinParser
* _arg0
;
1015 PyObject
* _argo0
= 0;
1016 char *_kwnames
[] = { "self", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_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.");
1030 wxPy_BEGIN_ALLOW_THREADS
;
1031 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1033 wxPy_END_ALLOW_THREADS
;
1035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
1036 _resultobj
= Py_BuildValue("s",_ptemp
);
1039 _resultobj
= Py_None
;
1044 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1045 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1048 wxHtmlWinParser
* _arg0
;
1049 PyObject
* _argo0
= 0;
1050 char *_kwnames
[] = { "self", NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_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.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1066 wxPy_END_ALLOW_THREADS
;
1067 } _resultobj
= Py_BuildValue("i",_result
);
1071 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1072 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1075 wxHtmlWinParser
* _arg0
;
1076 PyObject
* _argo0
= 0;
1077 char *_kwnames
[] = { "self", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_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.");
1090 wxPy_BEGIN_ALLOW_THREADS
;
1091 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1093 wxPy_END_ALLOW_THREADS
;
1094 } _resultobj
= Py_BuildValue("i",_result
);
1098 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1099 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1102 wxHtmlWinParser
* _arg0
;
1103 PyObject
* _argo0
= 0;
1104 char *_kwnames
[] = { "self", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_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.");
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1124 _resultobj
= Py_BuildValue("s",_ptemp
);
1127 _resultobj
= Py_None
;
1132 #define wxHtmlWinParser_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1133 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1135 wxHtmlWinParser
* _arg0
;
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
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiOiO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
,&_arg4
,&_obj5
))
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.");
1158 if (!PyString_Check(_obj1
)) {
1159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1162 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1165 if (!PyString_Check(_obj3
)) {
1166 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1169 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1172 _arg5
= int_LIST_helper(_obj5
);
1173 if (_arg5
== NULL
) {
1178 wxPy_BEGIN_ALLOW_THREADS
;
1179 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1181 wxPy_END_ALLOW_THREADS
;
1182 } Py_INCREF(Py_None
);
1183 _resultobj
= Py_None
;
1198 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1199 static 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
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_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.");
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1221 wxPy_END_ALLOW_THREADS
;
1223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1224 _resultobj
= Py_BuildValue("s",_ptemp
);
1227 _resultobj
= Py_None
;
1232 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1233 static 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
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_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.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1255 wxPy_END_ALLOW_THREADS
;
1257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1258 _resultobj
= Py_BuildValue("s",_ptemp
);
1261 _resultobj
= Py_None
;
1266 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1267 static 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
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_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.");
1286 wxPy_BEGIN_ALLOW_THREADS
;
1287 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1289 wxPy_END_ALLOW_THREADS
;
1291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1292 _resultobj
= Py_BuildValue("s",_ptemp
);
1295 _resultobj
= Py_None
;
1300 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1301 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1304 wxHtmlWinParser
* _arg0
;
1305 PyObject
* _argo0
= 0;
1306 char *_kwnames
[] = { "self", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_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.");
1319 wxPy_BEGIN_ALLOW_THREADS
;
1320 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1322 wxPy_END_ALLOW_THREADS
;
1323 } _resultobj
= Py_BuildValue("i",_result
);
1327 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1328 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1330 wxHtmlWinParser
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "self","s", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
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.");
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1349 wxPy_END_ALLOW_THREADS
;
1350 } Py_INCREF(Py_None
);
1351 _resultobj
= Py_None
;
1355 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1356 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1359 wxHtmlWinParser
* _arg0
;
1360 PyObject
* _argo0
= 0;
1361 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_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.");
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1377 wxPy_END_ALLOW_THREADS
;
1378 } _resultobj
= Py_BuildValue("i",_result
);
1382 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1383 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1385 wxHtmlWinParser
* _arg0
;
1387 PyObject
* _argo0
= 0;
1388 char *_kwnames
[] = { "self","x", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
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.");
1401 wxPy_BEGIN_ALLOW_THREADS
;
1402 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1404 wxPy_END_ALLOW_THREADS
;
1405 } Py_INCREF(Py_None
);
1406 _resultobj
= Py_None
;
1410 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1411 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1414 wxHtmlWinParser
* _arg0
;
1415 PyObject
* _argo0
= 0;
1416 char *_kwnames
[] = { "self", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_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.");
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1432 wxPy_END_ALLOW_THREADS
;
1433 } _resultobj
= Py_BuildValue("i",_result
);
1437 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1438 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1440 wxHtmlWinParser
* _arg0
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self","x", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
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.");
1456 wxPy_BEGIN_ALLOW_THREADS
;
1457 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1459 wxPy_END_ALLOW_THREADS
;
1460 } Py_INCREF(Py_None
);
1461 _resultobj
= Py_None
;
1465 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1466 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1469 wxHtmlWinParser
* _arg0
;
1470 PyObject
* _argo0
= 0;
1471 char *_kwnames
[] = { "self", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_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.");
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1487 wxPy_END_ALLOW_THREADS
;
1488 } _resultobj
= Py_BuildValue("i",_result
);
1492 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1493 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxHtmlWinParser
* _arg0
;
1497 PyObject
* _argo0
= 0;
1498 char *_kwnames
[] = { "self","x", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
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.");
1511 wxPy_BEGIN_ALLOW_THREADS
;
1512 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1514 wxPy_END_ALLOW_THREADS
;
1515 } Py_INCREF(Py_None
);
1516 _resultobj
= Py_None
;
1520 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1521 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1524 wxHtmlWinParser
* _arg0
;
1525 PyObject
* _argo0
= 0;
1526 char *_kwnames
[] = { "self", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_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.");
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1542 wxPy_END_ALLOW_THREADS
;
1543 } _resultobj
= Py_BuildValue("i",_result
);
1547 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1548 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1550 wxHtmlWinParser
* _arg0
;
1552 PyObject
* _argo0
= 0;
1553 char *_kwnames
[] = { "self","x", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
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.");
1566 wxPy_BEGIN_ALLOW_THREADS
;
1567 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1569 wxPy_END_ALLOW_THREADS
;
1570 } Py_INCREF(Py_None
);
1571 _resultobj
= Py_None
;
1575 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1576 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1579 wxHtmlWinParser
* _arg0
;
1580 PyObject
* _argo0
= 0;
1581 char *_kwnames
[] = { "self", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_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.");
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1597 wxPy_END_ALLOW_THREADS
;
1598 } _resultobj
= Py_BuildValue("i",_result
);
1602 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1603 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1605 wxHtmlWinParser
* _arg0
;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self","a", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
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.");
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } Py_INCREF(Py_None
);
1626 _resultobj
= Py_None
;
1630 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1631 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1634 wxHtmlWinParser
* _arg0
;
1635 PyObject
* _argo0
= 0;
1636 char *_kwnames
[] = { "self", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_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.");
1650 wxPy_BEGIN_ALLOW_THREADS
;
1651 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
1652 _result
= (wxColour
*) &_result_ref
;
1654 wxPy_END_ALLOW_THREADS
;
1656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1657 _resultobj
= Py_BuildValue("s",_ptemp
);
1660 _resultobj
= Py_None
;
1665 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
1666 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 wxHtmlWinParser
* _arg0
;
1670 PyObject
* _argo0
= 0;
1671 PyObject
* _argo1
= 0;
1672 char *_kwnames
[] = { "self","clr", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
1692 wxPy_BEGIN_ALLOW_THREADS
;
1693 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
1695 wxPy_END_ALLOW_THREADS
;
1696 } Py_INCREF(Py_None
);
1697 _resultobj
= Py_None
;
1701 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
1702 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1705 wxHtmlWinParser
* _arg0
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_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.");
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
1723 _result
= (wxColour
*) &_result_ref
;
1725 wxPy_END_ALLOW_THREADS
;
1727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1728 _resultobj
= Py_BuildValue("s",_ptemp
);
1731 _resultobj
= Py_None
;
1736 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
1737 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxHtmlWinParser
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 PyObject
* _argo1
= 0;
1743 char *_kwnames
[] = { "self","clr", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
1763 wxPy_BEGIN_ALLOW_THREADS
;
1764 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
1766 wxPy_END_ALLOW_THREADS
;
1767 } Py_INCREF(Py_None
);
1768 _resultobj
= Py_None
;
1772 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
1773 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1776 wxHtmlWinParser
* _arg0
;
1777 PyObject
* _argo0
= 0;
1778 char *_kwnames
[] = { "self", NULL
};
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_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.");
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 const wxString
& _result_ref
= wxHtmlWinParser_GetLink(_arg0
);
1793 _result
= (wxString
*) &_result_ref
;
1795 wxPy_END_ALLOW_THREADS
;
1797 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1802 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
1803 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1805 wxHtmlWinParser
* _arg0
;
1807 PyObject
* _argo0
= 0;
1808 PyObject
* _obj1
= 0;
1809 char *_kwnames
[] = { "self","link", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
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.");
1822 if (!PyString_Check(_obj1
)) {
1823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1826 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
1832 wxPy_END_ALLOW_THREADS
;
1833 } Py_INCREF(Py_None
);
1834 _resultobj
= Py_None
;
1842 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
1843 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1846 wxHtmlWinParser
* _arg0
;
1847 PyObject
* _argo0
= 0;
1848 char *_kwnames
[] = { "self", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_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.");
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
1865 wxPy_END_ALLOW_THREADS
;
1867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1868 _resultobj
= Py_BuildValue("s",_ptemp
);
1871 _resultobj
= Py_None
;
1876 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
1877 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1879 wxPyHtmlTagHandler
* _result
;
1880 char *_kwnames
[] = { NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
1890 wxPy_END_ALLOW_THREADS
;
1892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
1893 _resultobj
= Py_BuildValue("s",_ptemp
);
1896 _resultobj
= Py_None
;
1901 #define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1902 static PyObject
*_wrap_wxHtmlTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1904 wxPyHtmlTagHandler
* _arg0
;
1906 PyObject
* _argo0
= 0;
1907 PyObject
* _obj1
= 0;
1908 char *_kwnames
[] = { "self","self", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
))
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.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 wxHtmlTagHandler__setSelf(_arg0
,_arg1
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } Py_INCREF(Py_None
);
1929 _resultobj
= Py_None
;
1933 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
1934 static 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
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
1960 wxPy_BEGIN_ALLOW_THREADS
;
1961 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
1963 wxPy_END_ALLOW_THREADS
;
1964 } Py_INCREF(Py_None
);
1965 _resultobj
= Py_None
;
1969 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
1970 static 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
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_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.");
1989 wxPy_BEGIN_ALLOW_THREADS
;
1990 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
1992 wxPy_END_ALLOW_THREADS
;
1994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
1995 _resultobj
= Py_BuildValue("s",_ptemp
);
1998 _resultobj
= Py_None
;
2003 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2004 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2006 wxPyHtmlTagHandler
* _arg0
;
2008 PyObject
* _argo0
= 0;
2009 PyObject
* _argo1
= 0;
2010 char *_kwnames
[] = { "self","tag", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2033 wxPy_END_ALLOW_THREADS
;
2034 } Py_INCREF(Py_None
);
2035 _resultobj
= Py_None
;
2039 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2040 wxPyHtmlWinTagHandler
*src
;
2041 wxPyHtmlTagHandler
*dest
;
2042 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2043 dest
= (wxPyHtmlTagHandler
*) src
;
2044 return (void *) dest
;
2047 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2048 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2050 wxPyHtmlWinTagHandler
* _result
;
2051 char *_kwnames
[] = { NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2061 wxPy_END_ALLOW_THREADS
;
2063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2064 _resultobj
= Py_BuildValue("s",_ptemp
);
2067 _resultobj
= Py_None
;
2072 #define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2073 static PyObject
*_wrap_wxHtmlWinTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2075 wxPyHtmlWinTagHandler
* _arg0
;
2077 PyObject
* _argo0
= 0;
2078 PyObject
* _obj1
= 0;
2079 char *_kwnames
[] = { "self","self", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
))
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.");
2095 wxPy_BEGIN_ALLOW_THREADS
;
2096 wxHtmlWinTagHandler__setSelf(_arg0
,_arg1
);
2098 wxPy_END_ALLOW_THREADS
;
2099 } Py_INCREF(Py_None
);
2100 _resultobj
= Py_None
;
2104 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2105 static 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
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } Py_INCREF(Py_None
);
2136 _resultobj
= Py_None
;
2140 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2141 static 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
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_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.");
2160 wxPy_BEGIN_ALLOW_THREADS
;
2161 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2163 wxPy_END_ALLOW_THREADS
;
2165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2166 _resultobj
= Py_BuildValue("s",_ptemp
);
2169 _resultobj
= Py_None
;
2174 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2175 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
* _resultobj
;
2177 wxPyHtmlWinTagHandler
* _arg0
;
2179 PyObject
* _argo0
= 0;
2180 PyObject
* _argo1
= 0;
2181 char *_kwnames
[] = { "self","tag", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
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.");
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.");
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2204 wxPy_END_ALLOW_THREADS
;
2205 } Py_INCREF(Py_None
);
2206 _resultobj
= Py_None
;
2210 #define new_HtmlHistoryItem(_swigarg0,_swigarg1) (new HtmlHistoryItem(_swigarg0,_swigarg1))
2211 static PyObject
*_wrap_new_HtmlHistoryItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2213 HtmlHistoryItem
* _result
;
2216 char *_kwnames
[] = { "p","a", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss:new_HtmlHistoryItem",_kwnames
,&_arg0
,&_arg1
))
2223 wxPy_BEGIN_ALLOW_THREADS
;
2224 _result
= (HtmlHistoryItem
*)new_HtmlHistoryItem(_arg0
,_arg1
);
2226 wxPy_END_ALLOW_THREADS
;
2228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_HtmlHistoryItem_p");
2229 _resultobj
= Py_BuildValue("s",_ptemp
);
2232 _resultobj
= Py_None
;
2237 #define HtmlHistoryItem_GetPos(_swigobj) (_swigobj->GetPos())
2238 static PyObject
*_wrap_HtmlHistoryItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
* _resultobj
;
2241 HtmlHistoryItem
* _arg0
;
2242 PyObject
* _argo0
= 0;
2243 char *_kwnames
[] = { "self", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:HtmlHistoryItem_GetPos",_kwnames
,&_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.");
2256 wxPy_BEGIN_ALLOW_THREADS
;
2257 _result
= (int )HtmlHistoryItem_GetPos(_arg0
);
2259 wxPy_END_ALLOW_THREADS
;
2260 } _resultobj
= Py_BuildValue("i",_result
);
2264 #define HtmlHistoryItem_SetPos(_swigobj,_swigarg0) (_swigobj->SetPos(_swigarg0))
2265 static PyObject
*_wrap_HtmlHistoryItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2267 HtmlHistoryItem
* _arg0
;
2269 PyObject
* _argo0
= 0;
2270 char *_kwnames
[] = { "self","p", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:HtmlHistoryItem_SetPos",_kwnames
,&_argo0
,&_arg1
))
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.");
2283 wxPy_BEGIN_ALLOW_THREADS
;
2284 HtmlHistoryItem_SetPos(_arg0
,_arg1
);
2286 wxPy_END_ALLOW_THREADS
;
2287 } Py_INCREF(Py_None
);
2288 _resultobj
= Py_None
;
2292 #define HtmlHistoryItem_GetPage(_swigobj) (_swigobj->GetPage())
2293 static PyObject
*_wrap_HtmlHistoryItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
* _resultobj
;
2296 HtmlHistoryItem
* _arg0
;
2297 PyObject
* _argo0
= 0;
2298 char *_kwnames
[] = { "self", NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:HtmlHistoryItem_GetPage",_kwnames
,&_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.");
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 const wxString
& _result_ref
= HtmlHistoryItem_GetPage(_arg0
);
2313 _result
= (wxString
*) &_result_ref
;
2315 wxPy_END_ALLOW_THREADS
;
2317 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
2322 #define HtmlHistoryItem_GetAnchor(_swigobj) (_swigobj->GetAnchor())
2323 static PyObject
*_wrap_HtmlHistoryItem_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2326 HtmlHistoryItem
* _arg0
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:HtmlHistoryItem_GetAnchor",_kwnames
,&_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.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 const wxString
& _result_ref
= HtmlHistoryItem_GetAnchor(_arg0
);
2343 _result
= (wxString
*) &_result_ref
;
2345 wxPy_END_ALLOW_THREADS
;
2347 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
2352 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
2353 wxPyHtmlWindow
*src
;
2354 wxScrolledWindow
*dest
;
2355 src
= (wxPyHtmlWindow
*) ptr
;
2356 dest
= (wxScrolledWindow
*) src
;
2357 return (void *) dest
;
2360 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
2361 wxPyHtmlWindow
*src
;
2363 src
= (wxPyHtmlWindow
*) ptr
;
2364 dest
= (wxPanel
*) src
;
2365 return (void *) dest
;
2368 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
2369 wxPyHtmlWindow
*src
;
2371 src
= (wxPyHtmlWindow
*) ptr
;
2372 dest
= (wxWindow
*) src
;
2373 return (void *) dest
;
2376 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
2377 wxPyHtmlWindow
*src
;
2379 src
= (wxPyHtmlWindow
*) ptr
;
2380 dest
= (wxEvtHandler
*) src
;
2381 return (void *) dest
;
2384 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2385 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2387 wxPyHtmlWindow
* _result
;
2389 int _arg1
= (int ) -1;
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;
2397 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
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.");
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.");
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.");
2425 wxPy_BEGIN_ALLOW_THREADS
;
2426 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2428 wxPy_END_ALLOW_THREADS
;
2430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
2431 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 _resultobj
= Py_None
;
2439 #define wxHtmlWindow__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2440 static PyObject
*_wrap_wxHtmlWindow__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2442 wxPyHtmlWindow
* _arg0
;
2444 PyObject
* _argo0
= 0;
2445 PyObject
* _obj1
= 0;
2446 char *_kwnames
[] = { "self","self", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow__setSelf",_kwnames
,&_argo0
,&_obj1
))
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.");
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 wxHtmlWindow__setSelf(_arg0
,_arg1
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } Py_INCREF(Py_None
);
2467 _resultobj
= Py_None
;
2471 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
2472 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2475 wxPyHtmlWindow
* _arg0
;
2477 PyObject
* _argo0
= 0;
2478 char *_kwnames
[] = { "self","source", NULL
};
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_arg1
))
2484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2491 wxPy_BEGIN_ALLOW_THREADS
;
2492 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,_arg1
);
2494 wxPy_END_ALLOW_THREADS
;
2495 } _resultobj
= Py_BuildValue("i",_result
);
2499 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
2500 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2503 wxPyHtmlWindow
* _arg0
;
2505 PyObject
* _argo0
= 0;
2506 char *_kwnames
[] = { "self","location", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_arg1
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2519 wxPy_BEGIN_ALLOW_THREADS
;
2520 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,_arg1
);
2522 wxPy_END_ALLOW_THREADS
;
2523 } _resultobj
= Py_BuildValue("i",_result
);
2527 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
2528 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2531 wxPyHtmlWindow
* _arg0
;
2532 PyObject
* _argo0
= 0;
2533 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
2549 wxPy_END_ALLOW_THREADS
;
2551 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2559 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
2560 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2562 wxPyHtmlWindow
* _arg0
;
2565 PyObject
* _argo0
= 0;
2566 PyObject
* _argo1
= 0;
2567 char *_kwnames
[] = { "self","frame","format", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
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.");
2587 wxPy_BEGIN_ALLOW_THREADS
;
2588 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
2590 wxPy_END_ALLOW_THREADS
;
2591 } Py_INCREF(Py_None
);
2592 _resultobj
= Py_None
;
2596 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
2597 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
* _resultobj
;
2600 wxPyHtmlWindow
* _arg0
;
2601 PyObject
* _argo0
= 0;
2602 char *_kwnames
[] = { "self", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2616 wxPy_BEGIN_ALLOW_THREADS
;
2617 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
2619 wxPy_END_ALLOW_THREADS
;
2621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
2622 _resultobj
= Py_BuildValue("s",_ptemp
);
2625 _resultobj
= Py_None
;
2630 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
2631 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2633 wxPyHtmlWindow
* _arg0
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self","bar", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2649 wxPy_BEGIN_ALLOW_THREADS
;
2650 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
2652 wxPy_END_ALLOW_THREADS
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2658 #define wxHtmlWindow_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2659 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2661 wxPyHtmlWindow
* _arg0
;
2667 PyObject
* _argo0
= 0;
2668 PyObject
* _obj1
= 0;
2669 PyObject
* _obj3
= 0;
2670 PyObject
* _obj5
= 0;
2671 char *_kwnames
[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiOiO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
,&_arg4
,&_obj5
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2684 if (!PyString_Check(_obj1
)) {
2685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2688 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2691 if (!PyString_Check(_obj3
)) {
2692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2695 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2698 _arg5
= int_LIST_helper(_obj5
);
2699 if (_arg5
== NULL
) {
2704 wxPy_BEGIN_ALLOW_THREADS
;
2705 wxHtmlWindow_SetFonts(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
2707 wxPy_END_ALLOW_THREADS
;
2708 } Py_INCREF(Py_None
);
2709 _resultobj
= Py_None
;
2724 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
2725 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
* _resultobj
;
2727 wxPyHtmlWindow
* _arg0
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self","title", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_arg1
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2743 wxPy_BEGIN_ALLOW_THREADS
;
2744 wxHtmlWindow_SetTitle(_arg0
,_arg1
);
2746 wxPy_END_ALLOW_THREADS
;
2747 } Py_INCREF(Py_None
);
2748 _resultobj
= Py_None
;
2752 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
2753 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2755 wxPyHtmlWindow
* _arg0
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self","b", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
2774 wxPy_END_ALLOW_THREADS
;
2775 } Py_INCREF(Py_None
);
2776 _resultobj
= Py_None
;
2780 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
2781 static 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
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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.");
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.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,_arg2
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2817 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
2818 static 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
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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.");
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.");
2845 wxPy_BEGIN_ALLOW_THREADS
;
2846 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,_arg2
);
2848 wxPy_END_ALLOW_THREADS
;
2849 } Py_INCREF(Py_None
);
2850 _resultobj
= Py_None
;
2854 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
2855 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
* _resultobj
;
2858 wxPyHtmlWindow
* _arg0
;
2859 PyObject
* _argo0
= 0;
2860 char *_kwnames
[] = { "self", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2873 wxPy_BEGIN_ALLOW_THREADS
;
2874 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
2876 wxPy_END_ALLOW_THREADS
;
2877 } _resultobj
= Py_BuildValue("i",_result
);
2881 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
2882 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2885 wxPyHtmlWindow
* _arg0
;
2886 PyObject
* _argo0
= 0;
2887 char *_kwnames
[] = { "self", NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
2893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2900 wxPy_BEGIN_ALLOW_THREADS
;
2901 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
2903 wxPy_END_ALLOW_THREADS
;
2904 } _resultobj
= Py_BuildValue("i",_result
);
2908 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
2909 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2911 wxPyHtmlWindow
* _arg0
;
2912 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
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.");
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 wxHtmlWindow_HistoryClear(_arg0
);
2929 wxPy_END_ALLOW_THREADS
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
2936 static 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
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_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.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
2958 wxPy_END_ALLOW_THREADS
;
2960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2961 _resultobj
= Py_BuildValue("s",_ptemp
);
2964 _resultobj
= Py_None
;
2969 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
2970 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2972 wxPyHtmlWindow
* _arg0
;
2974 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self","link", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_arg1
))
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.");
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 wxHtmlWindow_base_OnLinkClicked(_arg0
,_arg1
);
2991 wxPy_END_ALLOW_THREADS
;
2992 } Py_INCREF(Py_None
);
2993 _resultobj
= Py_None
;
2997 static PyMethodDef htmlcMethods
[] = {
2998 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
2999 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
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
},
3085 * This table is used by the pointer type-checker
3087 static 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},
3091 { "_class_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
3092 { "_class_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
3093 { "_class_wxHtmlParser","_wxHtmlParser",0},
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},
3112 { "_class_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
3113 { "_class_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
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},
3168 { "_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
3169 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
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},
3229 { "_wxConfig","_class_wxConfig",0},
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},
3238 { "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
3239 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
3240 { "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0},
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},
3257 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3258 { "_class_wxProgressDialog","_wxProgressDialog",0},
3259 { "_wxPyApp","_class_wxPyApp",0},
3260 { "_wxHtmlWinParser","_class_wxHtmlWinParser",0},
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},
3268 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3269 { "_class_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
3270 { "_class_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
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},
3276 { "_wxHtmlTag","_class_wxHtmlTag",0},
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},
3289 { "_class_wxPyHtmlWindow","_wxPyHtmlWindow",0},
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},
3296 { "_class_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
3297 { "_class_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
3298 { "_class_wxPyHtmlTagHandler","_wxPyHtmlTagHandler",0},
3299 { "_unsigned_short","_WXTYPE",0},
3300 { "_unsigned_short","_short",0},
3301 { "_class_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
3302 { "_class_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
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},
3319 { "_class_wxHtmlWinParser","_wxHtmlWinParser",0},
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},
3331 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3332 { "_class_wxCursor","_wxCursor",0},
3333 { "_class_wxImageHandler","_wxImageHandler",0},
3334 { "_class_wxHtmlTag","_wxHtmlTag",0},
3335 { "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
3336 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
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},
3377 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
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},
3389 { "_wxPyHtmlWinTagHandler","_class_wxPyHtmlWinTagHandler",0},
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},
3425 { "_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
3426 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
3427 { "_wxHtmlParser","_class_wxHtmlParser",0},
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},
3433 { "_class_wxPyHtmlWinTagHandler","_wxPyHtmlWinTagHandler",0},
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},
3442 { "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
3443 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
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},
3451 { "_class_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
3452 { "_class_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
3453 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3454 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
3455 { "_class_wxConfig","_wxConfig",0},
3456 { "_wxKeyEvent","_class_wxKeyEvent",0},
3457 { "_wxMoveEvent","_class_wxMoveEvent",0},
3458 { "_wxColourData","_class_wxColourData",0},
3459 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
3460 { "_wxPyHtmlWindow","_class_wxPyHtmlWindow",0},
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},
3466 { "_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
3467 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
3468 { "_wxWindow","_class_wxWindow",0},
3469 { "_class_wxFrame","_wxFrame",0},
3472 static PyObject
*SWIG_globals
;
3476 SWIGEXPORT(void) inithtmlc() {
3478 SWIG_globals
= SWIG_newvarlink();
3479 m
= Py_InitModule("htmlc", htmlcMethods
);
3480 d
= PyModule_GetDict(m
);
3483 /* This is a bit cheesy. SWIG happens to call the dictionary d...
3484 * I save it here, 'cause I don't know how to get it back later! */
3489 wxClassInfo::CleanUpClasses();
3490 wxClassInfo::InitializeClasses();
3492 /* specifically add our python tag handler; it doesn't seem to
3493 * happen by itself... */
3494 wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
3496 // Until wxFileSystem is wrapped...
3498 wxFileSystem::AddHandler(new wxZipFSHandler
);
3502 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3503 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);