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
);
132 static PyObject
* mod_dict
= NULL
; // will be set by init
134 #include <wx/html/mod_templ.h>
136 TAG_HANDLER_BEGIN(PYTHONTAG
, "PYTHON")
137 TAG_HANDLER_PROC(tag
)
145 bool doSave
= wxPyRestoreThread();
147 if (tag
.HasParam("FLOAT"))
148 tag
.ScanParam("FLOAT", "%i", &fl
);
149 PyObject
* pyfunc
= PyDict_GetItemString(mod_dict
, "WidgetStarter");
150 if (pyfunc
== NULL
) {
151 errmsg
= "Could not find object WidgetStarter";
154 if (! PyCallable_Check(pyfunc
)) {
155 errmsg
= "WidgetStarter does not appear to be callable";
158 SWIG_MakePtr(pbuf
, m_WParser
->GetWindow(), "_wxPyHtmlWindow_p");
159 PyObject
* arglist
= Py_BuildValue("(s,s)", pbuf
,
160 (const char*)tag
.GetAllParams());
162 errmsg
= "Failed making argument list";
165 PyObject
* ret
= PyEval_CallObject(pyfunc
, arglist
);
168 errmsg
= "An error occured while calling WidgetStarter";
169 if (PyErr_Occurred())
174 if (PyString_Check(ret
)) {
175 char* thisc
= PyString_AsString(ret
);
176 SWIG_GetPtr(thisc
, (void**)&wnd
, "_wxWindow_p");
180 errmsg
= "Could not make a wxWindow pointer from return ptr";
183 wxPySaveThread(doSave
);
185 m_WParser
->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd
, fl
));
189 wxPySaveThread(doSave
);
191 /* we got out of the loop. Must be an error. Show a box stating it. */
192 wnd
= new wxTextCtrl( m_WParser
-> GetWindow(), -1,
193 errmsg
, wxPoint(0,0),
194 wxSize(300, 100), wxTE_MULTILINE
);
196 m_WParser
->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd
, 100));
200 TAG_HANDLER_END(PYTHONTAG
)
202 TAGS_MODULE_BEGIN(PythonTag
)
204 TAGS_MODULE_ADD(PYTHONTAG
)
206 TAGS_MODULE_END(PythonTag
)
208 // Note: see also the init function where we add the module!
211 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
213 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
215 wxHtmlParser
* GetParser() { return m_Parser
; }
216 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
218 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
219 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
224 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
225 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
);
245 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
247 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
248 m_tagHandlerClass
= thc
;
249 Py_INCREF(m_tagHandlerClass
);
250 RegisterModule(this);
251 wxHtmlWinParser::AddModule(this);
255 Py_DECREF(m_tagHandlerClass
);
256 m_tagHandlerClass
= NULL
;
257 for (int x
=0; x
< m_objArray
.GetCount(); x
++) {
258 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
263 void FillHandlersTable(wxHtmlWinParser
*parser
) {
264 // Wave our magic wand... (if it works it's a miracle! ;-)
266 // First, make a new instance of the tag handler
267 bool doSave
= wxPyRestoreThread();
268 PyObject
* arg
= Py_BuildValue("()");
269 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
271 wxPySaveThread(doSave
);
273 // now figure out where it's C++ object is...
274 wxPyHtmlWinTagHandler
* thPtr
;
275 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
279 parser
->AddTagHandler(thPtr
);
286 PyObject
* m_tagHandlerClass
;
287 wxArrayPtrVoid m_objArray
;
291 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
292 // Dynamically create a new wxModule. Refcounts tagHandlerClass
293 // and adds itself to the wxModules list and to the wxHtmlWinParser.
294 new wxPyHtmlTagsModule(tagHandlerClass
);
297 class wxPyHtmlWindow
: public wxHtmlWindow
{
299 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
300 const wxPoint
& pos
= wxDefaultPosition
,
301 const wxSize
& size
= wxDefaultSize
,
302 long style
= wxHW_SCROLLBAR_AUTO
,
303 const wxString
& name
= "htmlWindow")
304 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
306 DEC_PYCALLBACK__STRING(OnLinkClicked
);
311 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnLinkClicked
);
314 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
315 wxHtmlWindow::AddFilter(filter
);
318 extern "C" SWIGEXPORT(void) inithtmlhelpc();
322 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
325 PyObject
* _obj0
= 0;
326 char *_kwnames
[] = { "tagHandlerClass", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
335 wxPy_BEGIN_ALLOW_THREADS
;
336 wxHtmlWinParser_AddTagHandler(_arg0
);
338 wxPy_END_ALLOW_THREADS
;
339 } Py_INCREF(Py_None
);
340 _resultobj
= Py_None
;
344 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
346 wxHtmlFilter
* _arg0
;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "filter", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 wxHtmlWindow_AddFilter(_arg0
);
364 wxPy_END_ALLOW_THREADS
;
365 } Py_INCREF(Py_None
);
366 _resultobj
= Py_None
;
370 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
371 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
375 PyObject
* _argo0
= 0;
376 char *_kwnames
[] = { "self", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
389 wxPy_BEGIN_ALLOW_THREADS
;
390 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
392 wxPy_END_ALLOW_THREADS
;
394 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
402 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
403 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 PyObject
* _resultobj
;
408 PyObject
* _argo0
= 0;
409 PyObject
* _obj1
= 0;
410 char *_kwnames
[] = { "self","par", NULL
};
413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
423 if (!PyString_Check(_obj1
)) {
424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
427 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
430 wxPy_BEGIN_ALLOW_THREADS
;
431 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
433 wxPy_END_ALLOW_THREADS
;
434 } _resultobj
= Py_BuildValue("i",_result
);
442 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
443 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 PyObject
* _resultobj
;
448 int _arg2
= (int ) FALSE
;
449 PyObject
* _argo0
= 0;
450 PyObject
* _obj1
= 0;
451 char *_kwnames
[] = { "self","par","with_commas", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
464 if (!PyString_Check(_obj1
)) {
465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
468 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
471 wxPy_BEGIN_ALLOW_THREADS
;
472 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
474 wxPy_END_ALLOW_THREADS
;
476 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
488 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
489 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
493 PyObject
* _argo0
= 0;
494 char *_kwnames
[] = { "self", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
510 wxPy_END_ALLOW_THREADS
;
512 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
520 #define wxHtmlTag_IsEnding(_swigobj) (_swigobj->IsEnding())
521 static PyObject
*_wrap_wxHtmlTag_IsEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
525 PyObject
* _argo0
= 0;
526 char *_kwnames
[] = { "self", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_IsEnding",_kwnames
,&_argo0
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_IsEnding. Expected _wxHtmlTag_p.");
539 wxPy_BEGIN_ALLOW_THREADS
;
540 _result
= (bool )wxHtmlTag_IsEnding(_arg0
);
542 wxPy_END_ALLOW_THREADS
;
543 } _resultobj
= Py_BuildValue("i",_result
);
547 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
548 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
552 PyObject
* _argo0
= 0;
553 char *_kwnames
[] = { "self", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
566 wxPy_BEGIN_ALLOW_THREADS
;
567 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
569 wxPy_END_ALLOW_THREADS
;
570 } _resultobj
= Py_BuildValue("i",_result
);
574 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
575 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
579 PyObject
* _argo0
= 0;
580 char *_kwnames
[] = { "self", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
593 wxPy_BEGIN_ALLOW_THREADS
;
594 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
596 wxPy_END_ALLOW_THREADS
;
597 } _resultobj
= Py_BuildValue("i",_result
);
601 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
602 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
606 PyObject
* _argo0
= 0;
607 char *_kwnames
[] = { "self", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
620 wxPy_BEGIN_ALLOW_THREADS
;
621 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
623 wxPy_END_ALLOW_THREADS
;
624 } _resultobj
= Py_BuildValue("i",_result
);
628 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
629 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
633 PyObject
* _argo0
= 0;
634 char *_kwnames
[] = { "self", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
647 wxPy_BEGIN_ALLOW_THREADS
;
648 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
650 wxPy_END_ALLOW_THREADS
;
651 } _resultobj
= Py_BuildValue("i",_result
);
655 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
656 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
658 wxHtmlParser
* _arg0
;
659 wxFileSystem
* _arg1
;
660 PyObject
* _argo0
= 0;
661 PyObject
* _argo1
= 0;
662 char *_kwnames
[] = { "self","fs", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
682 wxPy_BEGIN_ALLOW_THREADS
;
683 wxHtmlParser_SetFS(_arg0
,_arg1
);
685 wxPy_END_ALLOW_THREADS
;
686 } Py_INCREF(Py_None
);
687 _resultobj
= Py_None
;
691 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
692 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
694 wxFileSystem
* _result
;
695 wxHtmlParser
* _arg0
;
696 PyObject
* _argo0
= 0;
697 char *_kwnames
[] = { "self", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
711 wxPy_BEGIN_ALLOW_THREADS
;
712 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
714 wxPy_END_ALLOW_THREADS
;
716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileSystem_p");
717 _resultobj
= Py_BuildValue("s",_ptemp
);
720 _resultobj
= Py_None
;
725 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
726 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
729 wxHtmlParser
* _arg0
;
731 PyObject
* _argo0
= 0;
732 PyObject
* _obj1
= 0;
733 char *_kwnames
[] = { "self","source", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
747 if (!PyString_Check(_obj1
)) {
748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
751 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
754 wxPy_BEGIN_ALLOW_THREADS
;
755 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
757 wxPy_END_ALLOW_THREADS
;
759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
760 _resultobj
= Py_BuildValue("s",_ptemp
);
763 _resultobj
= Py_None
;
772 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
773 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
775 wxHtmlParser
* _arg0
;
777 PyObject
* _argo0
= 0;
778 PyObject
* _obj1
= 0;
779 char *_kwnames
[] = { "self","source", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
792 if (!PyString_Check(_obj1
)) {
793 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
796 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
799 wxPy_BEGIN_ALLOW_THREADS
;
800 wxHtmlParser_InitParser(_arg0
,*_arg1
);
802 wxPy_END_ALLOW_THREADS
;
803 } Py_INCREF(Py_None
);
804 _resultobj
= Py_None
;
812 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
813 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
814 PyObject
* _resultobj
;
815 wxHtmlParser
* _arg0
;
816 PyObject
* _argo0
= 0;
817 char *_kwnames
[] = { "self", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
830 wxPy_BEGIN_ALLOW_THREADS
;
831 wxHtmlParser_DoneParser(_arg0
);
833 wxPy_END_ALLOW_THREADS
;
834 } Py_INCREF(Py_None
);
835 _resultobj
= Py_None
;
839 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
840 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
842 wxHtmlParser
* _arg0
;
845 PyObject
* _argo0
= 0;
846 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
859 wxPy_BEGIN_ALLOW_THREADS
;
860 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
862 wxPy_END_ALLOW_THREADS
;
863 } Py_INCREF(Py_None
);
864 _resultobj
= Py_None
;
868 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
869 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
871 wxHtmlParser
* _arg0
;
872 wxHtmlTagHandler
* _arg1
;
873 PyObject
* _argo0
= 0;
874 PyObject
* _argo1
= 0;
875 char *_kwnames
[] = { "self","handler", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
895 wxPy_BEGIN_ALLOW_THREADS
;
896 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
898 wxPy_END_ALLOW_THREADS
;
899 } Py_INCREF(Py_None
);
900 _resultobj
= Py_None
;
904 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
905 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
908 wxHtmlParser
* _arg0
;
909 PyObject
* _argo0
= 0;
910 char *_kwnames
[] = { "self", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
923 wxPy_BEGIN_ALLOW_THREADS
;
924 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
926 wxPy_END_ALLOW_THREADS
;
928 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
933 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
934 wxHtmlWinParser
*src
;
936 src
= (wxHtmlWinParser
*) ptr
;
937 dest
= (wxHtmlParser
*) src
;
938 return (void *) dest
;
941 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
942 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
944 wxHtmlWinParser
* _result
;
946 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "wnd", NULL
};
951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
961 wxPy_BEGIN_ALLOW_THREADS
;
962 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
964 wxPy_END_ALLOW_THREADS
;
966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
967 _resultobj
= Py_BuildValue("s",_ptemp
);
970 _resultobj
= Py_None
;
975 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
976 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
977 PyObject
* _resultobj
;
978 wxHtmlWinParser
* _arg0
;
980 PyObject
* _argo0
= 0;
981 PyObject
* _argo1
= 0;
982 char *_kwnames
[] = { "self","dc", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1005 wxPy_END_ALLOW_THREADS
;
1006 } Py_INCREF(Py_None
);
1007 _resultobj
= Py_None
;
1011 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1012 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1015 wxHtmlWinParser
* _arg0
;
1016 PyObject
* _argo0
= 0;
1017 char *_kwnames
[] = { "self", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1031 wxPy_BEGIN_ALLOW_THREADS
;
1032 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1034 wxPy_END_ALLOW_THREADS
;
1036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDC_p");
1037 _resultobj
= Py_BuildValue("s",_ptemp
);
1040 _resultobj
= Py_None
;
1045 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1046 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1049 wxHtmlWinParser
* _arg0
;
1050 PyObject
* _argo0
= 0;
1051 char *_kwnames
[] = { "self", NULL
};
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1067 wxPy_END_ALLOW_THREADS
;
1068 } _resultobj
= Py_BuildValue("i",_result
);
1072 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1073 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1076 wxHtmlWinParser
* _arg0
;
1077 PyObject
* _argo0
= 0;
1078 char *_kwnames
[] = { "self", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1091 wxPy_BEGIN_ALLOW_THREADS
;
1092 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1094 wxPy_END_ALLOW_THREADS
;
1095 } _resultobj
= Py_BuildValue("i",_result
);
1099 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1100 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 wxHtmlWinParser
* _arg0
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1122 wxPy_END_ALLOW_THREADS
;
1124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1125 _resultobj
= Py_BuildValue("s",_ptemp
);
1128 _resultobj
= Py_None
;
1133 #define wxHtmlWinParser_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1134 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1136 wxHtmlWinParser
* _arg0
;
1142 PyObject
* _argo0
= 0;
1143 PyObject
* _obj1
= 0;
1144 PyObject
* _obj3
= 0;
1145 PyObject
* _obj5
= 0;
1146 char *_kwnames
[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiOiO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
,&_arg4
,&_obj5
))
1152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1159 if (!PyString_Check(_obj1
)) {
1160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1163 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1166 if (!PyString_Check(_obj3
)) {
1167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1170 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1173 _arg5
= int_LIST_helper(_obj5
);
1174 if (_arg5
== NULL
) {
1179 wxPy_BEGIN_ALLOW_THREADS
;
1180 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
1182 wxPy_END_ALLOW_THREADS
;
1183 } Py_INCREF(Py_None
);
1184 _resultobj
= Py_None
;
1199 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1200 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1202 wxHtmlContainerCell
* _result
;
1203 wxHtmlWinParser
* _arg0
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1219 wxPy_BEGIN_ALLOW_THREADS
;
1220 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1222 wxPy_END_ALLOW_THREADS
;
1224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1225 _resultobj
= Py_BuildValue("s",_ptemp
);
1228 _resultobj
= Py_None
;
1233 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1234 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 wxHtmlContainerCell
* _result
;
1237 wxHtmlWinParser
* _arg0
;
1238 PyObject
* _argo0
= 0;
1239 char *_kwnames
[] = { "self", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1253 wxPy_BEGIN_ALLOW_THREADS
;
1254 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1256 wxPy_END_ALLOW_THREADS
;
1258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1259 _resultobj
= Py_BuildValue("s",_ptemp
);
1262 _resultobj
= Py_None
;
1267 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1268 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1270 wxHtmlContainerCell
* _result
;
1271 wxHtmlWinParser
* _arg0
;
1272 PyObject
* _argo0
= 0;
1273 char *_kwnames
[] = { "self", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1287 wxPy_BEGIN_ALLOW_THREADS
;
1288 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1290 wxPy_END_ALLOW_THREADS
;
1292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1293 _resultobj
= Py_BuildValue("s",_ptemp
);
1296 _resultobj
= Py_None
;
1301 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1302 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1305 wxHtmlWinParser
* _arg0
;
1306 PyObject
* _argo0
= 0;
1307 char *_kwnames
[] = { "self", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1320 wxPy_BEGIN_ALLOW_THREADS
;
1321 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1323 wxPy_END_ALLOW_THREADS
;
1324 } _resultobj
= Py_BuildValue("i",_result
);
1328 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1329 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1331 wxHtmlWinParser
* _arg0
;
1333 PyObject
* _argo0
= 0;
1334 char *_kwnames
[] = { "self","s", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1350 wxPy_END_ALLOW_THREADS
;
1351 } Py_INCREF(Py_None
);
1352 _resultobj
= Py_None
;
1356 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1357 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1360 wxHtmlWinParser
* _arg0
;
1361 PyObject
* _argo0
= 0;
1362 char *_kwnames
[] = { "self", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1375 wxPy_BEGIN_ALLOW_THREADS
;
1376 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1378 wxPy_END_ALLOW_THREADS
;
1379 } _resultobj
= Py_BuildValue("i",_result
);
1383 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1384 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1386 wxHtmlWinParser
* _arg0
;
1388 PyObject
* _argo0
= 0;
1389 char *_kwnames
[] = { "self","x", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1402 wxPy_BEGIN_ALLOW_THREADS
;
1403 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1405 wxPy_END_ALLOW_THREADS
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1411 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1412 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1415 wxHtmlWinParser
* _arg0
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1433 wxPy_END_ALLOW_THREADS
;
1434 } _resultobj
= Py_BuildValue("i",_result
);
1438 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1439 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1441 wxHtmlWinParser
* _arg0
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "self","x", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1460 wxPy_END_ALLOW_THREADS
;
1461 } Py_INCREF(Py_None
);
1462 _resultobj
= Py_None
;
1466 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1467 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
* _resultobj
;
1470 wxHtmlWinParser
* _arg0
;
1471 PyObject
* _argo0
= 0;
1472 char *_kwnames
[] = { "self", NULL
};
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1488 wxPy_END_ALLOW_THREADS
;
1489 } _resultobj
= Py_BuildValue("i",_result
);
1493 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1494 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1496 wxHtmlWinParser
* _arg0
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self","x", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1512 wxPy_BEGIN_ALLOW_THREADS
;
1513 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1515 wxPy_END_ALLOW_THREADS
;
1516 } Py_INCREF(Py_None
);
1517 _resultobj
= Py_None
;
1521 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1522 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1525 wxHtmlWinParser
* _arg0
;
1526 PyObject
* _argo0
= 0;
1527 char *_kwnames
[] = { "self", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1540 wxPy_BEGIN_ALLOW_THREADS
;
1541 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1543 wxPy_END_ALLOW_THREADS
;
1544 } _resultobj
= Py_BuildValue("i",_result
);
1548 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1549 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1551 wxHtmlWinParser
* _arg0
;
1553 PyObject
* _argo0
= 0;
1554 char *_kwnames
[] = { "self","x", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1567 wxPy_BEGIN_ALLOW_THREADS
;
1568 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1570 wxPy_END_ALLOW_THREADS
;
1571 } Py_INCREF(Py_None
);
1572 _resultobj
= Py_None
;
1576 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1577 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
* _resultobj
;
1580 wxHtmlWinParser
* _arg0
;
1581 PyObject
* _argo0
= 0;
1582 char *_kwnames
[] = { "self", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1598 wxPy_END_ALLOW_THREADS
;
1599 } _resultobj
= Py_BuildValue("i",_result
);
1603 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1604 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1606 wxHtmlWinParser
* _arg0
;
1608 PyObject
* _argo0
= 0;
1609 char *_kwnames
[] = { "self","a", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
1622 wxPy_BEGIN_ALLOW_THREADS
;
1623 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
1625 wxPy_END_ALLOW_THREADS
;
1626 } Py_INCREF(Py_None
);
1627 _resultobj
= Py_None
;
1631 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
1632 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1635 wxHtmlWinParser
* _arg0
;
1636 PyObject
* _argo0
= 0;
1637 char *_kwnames
[] = { "self", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
1653 _result
= (wxColour
*) &_result_ref
;
1655 wxPy_END_ALLOW_THREADS
;
1657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1658 _resultobj
= Py_BuildValue("s",_ptemp
);
1661 _resultobj
= Py_None
;
1666 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
1667 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1669 wxHtmlWinParser
* _arg0
;
1671 PyObject
* _argo0
= 0;
1672 PyObject
* _argo1
= 0;
1673 char *_kwnames
[] = { "self","clr", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_argo1
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
1686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetLinkColor. Expected _wxColour_p.");
1693 wxPy_BEGIN_ALLOW_THREADS
;
1694 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
1696 wxPy_END_ALLOW_THREADS
;
1697 } Py_INCREF(Py_None
);
1698 _resultobj
= Py_None
;
1702 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
1703 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1706 wxHtmlWinParser
* _arg0
;
1707 PyObject
* _argo0
= 0;
1708 char *_kwnames
[] = { "self", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
1722 wxPy_BEGIN_ALLOW_THREADS
;
1723 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
1724 _result
= (wxColour
*) &_result_ref
;
1726 wxPy_END_ALLOW_THREADS
;
1728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
1729 _resultobj
= Py_BuildValue("s",_ptemp
);
1732 _resultobj
= Py_None
;
1737 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
1738 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1740 wxHtmlWinParser
* _arg0
;
1742 PyObject
* _argo0
= 0;
1743 PyObject
* _argo1
= 0;
1744 char *_kwnames
[] = { "self","clr", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_argo1
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
1757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetActualColor. Expected _wxColour_p.");
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
1767 wxPy_END_ALLOW_THREADS
;
1768 } Py_INCREF(Py_None
);
1769 _resultobj
= Py_None
;
1773 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
1774 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1777 wxHtmlWinParser
* _arg0
;
1778 PyObject
* _argo0
= 0;
1779 char *_kwnames
[] = { "self", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
1792 wxPy_BEGIN_ALLOW_THREADS
;
1793 const wxString
& _result_ref
= wxHtmlWinParser_GetLink(_arg0
);
1794 _result
= (wxString
*) &_result_ref
;
1796 wxPy_END_ALLOW_THREADS
;
1798 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1803 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
1804 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1806 wxHtmlWinParser
* _arg0
;
1808 PyObject
* _argo0
= 0;
1809 PyObject
* _obj1
= 0;
1810 char *_kwnames
[] = { "self","link", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
1823 if (!PyString_Check(_obj1
)) {
1824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1827 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } Py_INCREF(Py_None
);
1835 _resultobj
= Py_None
;
1843 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
1844 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1847 wxHtmlWinParser
* _arg0
;
1848 PyObject
* _argo0
= 0;
1849 char *_kwnames
[] = { "self", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
1863 wxPy_BEGIN_ALLOW_THREADS
;
1864 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
1866 wxPy_END_ALLOW_THREADS
;
1868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
1869 _resultobj
= Py_BuildValue("s",_ptemp
);
1872 _resultobj
= Py_None
;
1877 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
1878 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxPyHtmlTagHandler
* _result
;
1881 char *_kwnames
[] = { NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
1888 wxPy_BEGIN_ALLOW_THREADS
;
1889 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
1891 wxPy_END_ALLOW_THREADS
;
1893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
1894 _resultobj
= Py_BuildValue("s",_ptemp
);
1897 _resultobj
= Py_None
;
1902 #define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1903 static PyObject
*_wrap_wxHtmlTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
* _resultobj
;
1905 wxPyHtmlTagHandler
* _arg0
;
1907 PyObject
* _argo0
= 0;
1908 PyObject
* _obj1
= 0;
1909 char *_kwnames
[] = { "self","self", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setSelf. Expected _wxPyHtmlTagHandler_p.");
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 wxHtmlTagHandler__setSelf(_arg0
,_arg1
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } Py_INCREF(Py_None
);
1930 _resultobj
= Py_None
;
1934 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
1935 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1937 wxPyHtmlTagHandler
* _arg0
;
1938 wxHtmlParser
* _arg1
;
1939 PyObject
* _argo0
= 0;
1940 PyObject
* _argo1
= 0;
1941 char *_kwnames
[] = { "self","parser", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
1954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } Py_INCREF(Py_None
);
1966 _resultobj
= Py_None
;
1970 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
1971 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1973 wxHtmlParser
* _result
;
1974 wxPyHtmlTagHandler
* _arg0
;
1975 PyObject
* _argo0
= 0;
1976 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
1993 wxPy_END_ALLOW_THREADS
;
1995 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
1996 _resultobj
= Py_BuildValue("s",_ptemp
);
1999 _resultobj
= Py_None
;
2004 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2005 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2007 wxPyHtmlTagHandler
* _arg0
;
2009 PyObject
* _argo0
= 0;
2010 PyObject
* _argo1
= 0;
2011 char *_kwnames
[] = { "self","tag", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2024 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2025 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2031 wxPy_BEGIN_ALLOW_THREADS
;
2032 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2034 wxPy_END_ALLOW_THREADS
;
2035 } Py_INCREF(Py_None
);
2036 _resultobj
= Py_None
;
2040 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2041 wxPyHtmlWinTagHandler
*src
;
2042 wxPyHtmlTagHandler
*dest
;
2043 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2044 dest
= (wxPyHtmlTagHandler
*) src
;
2045 return (void *) dest
;
2048 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2049 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2051 wxPyHtmlWinTagHandler
* _result
;
2052 char *_kwnames
[] = { NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2059 wxPy_BEGIN_ALLOW_THREADS
;
2060 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2062 wxPy_END_ALLOW_THREADS
;
2064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2065 _resultobj
= Py_BuildValue("s",_ptemp
);
2068 _resultobj
= Py_None
;
2073 #define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2074 static PyObject
*_wrap_wxHtmlWinTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2076 wxPyHtmlWinTagHandler
* _arg0
;
2078 PyObject
* _argo0
= 0;
2079 PyObject
* _obj1
= 0;
2080 char *_kwnames
[] = { "self","self", NULL
};
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
))
2086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setSelf. Expected _wxPyHtmlWinTagHandler_p.");
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 wxHtmlWinTagHandler__setSelf(_arg0
,_arg1
);
2099 wxPy_END_ALLOW_THREADS
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2105 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2106 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2108 wxPyHtmlWinTagHandler
* _arg0
;
2109 wxHtmlParser
* _arg1
;
2110 PyObject
* _argo0
= 0;
2111 PyObject
* _argo1
= 0;
2112 char *_kwnames
[] = { "self","parser", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2132 wxPy_BEGIN_ALLOW_THREADS
;
2133 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2135 wxPy_END_ALLOW_THREADS
;
2136 } Py_INCREF(Py_None
);
2137 _resultobj
= Py_None
;
2141 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2142 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2144 wxHtmlWinParser
* _result
;
2145 wxPyHtmlWinTagHandler
* _arg0
;
2146 PyObject
* _argo0
= 0;
2147 char *_kwnames
[] = { "self", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2161 wxPy_BEGIN_ALLOW_THREADS
;
2162 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2164 wxPy_END_ALLOW_THREADS
;
2166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2167 _resultobj
= Py_BuildValue("s",_ptemp
);
2170 _resultobj
= Py_None
;
2175 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2176 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2178 wxPyHtmlWinTagHandler
* _arg0
;
2180 PyObject
* _argo0
= 0;
2181 PyObject
* _argo1
= 0;
2182 char *_kwnames
[] = { "self","tag", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2202 wxPy_BEGIN_ALLOW_THREADS
;
2203 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2205 wxPy_END_ALLOW_THREADS
;
2206 } Py_INCREF(Py_None
);
2207 _resultobj
= Py_None
;
2211 #define new_wxHtmlCell() (new wxHtmlCell())
2212 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2214 wxHtmlCell
* _result
;
2215 char *_kwnames
[] = { NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2222 wxPy_BEGIN_ALLOW_THREADS
;
2223 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2225 wxPy_END_ALLOW_THREADS
;
2227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2228 _resultobj
= Py_BuildValue("s",_ptemp
);
2231 _resultobj
= Py_None
;
2236 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2237 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2240 wxHtmlContainerCell
* _arg1
;
2241 PyObject
* _argo0
= 0;
2242 PyObject
* _argo1
= 0;
2243 char *_kwnames
[] = { "self","p", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 wxHtmlCell_SetParent(_arg0
,_arg1
);
2266 wxPy_END_ALLOW_THREADS
;
2267 } Py_INCREF(Py_None
);
2268 _resultobj
= Py_None
;
2272 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2273 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
* _resultobj
;
2275 wxHtmlContainerCell
* _result
;
2277 PyObject
* _argo0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2292 wxPy_BEGIN_ALLOW_THREADS
;
2293 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2295 wxPy_END_ALLOW_THREADS
;
2297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2301 _resultobj
= Py_None
;
2306 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2307 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2311 PyObject
* _argo0
= 0;
2312 char *_kwnames
[] = { "self", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2328 wxPy_END_ALLOW_THREADS
;
2329 } _resultobj
= Py_BuildValue("i",_result
);
2333 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2334 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2338 PyObject
* _argo0
= 0;
2339 char *_kwnames
[] = { "self", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2355 wxPy_END_ALLOW_THREADS
;
2356 } _resultobj
= Py_BuildValue("i",_result
);
2360 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2361 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2365 PyObject
* _argo0
= 0;
2366 char *_kwnames
[] = { "self", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2379 wxPy_BEGIN_ALLOW_THREADS
;
2380 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2382 wxPy_END_ALLOW_THREADS
;
2383 } _resultobj
= Py_BuildValue("i",_result
);
2387 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2388 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2392 PyObject
* _argo0
= 0;
2393 char *_kwnames
[] = { "self", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2409 wxPy_END_ALLOW_THREADS
;
2410 } _resultobj
= Py_BuildValue("i",_result
);
2414 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2415 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2419 PyObject
* _argo0
= 0;
2420 char *_kwnames
[] = { "self", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2433 wxPy_BEGIN_ALLOW_THREADS
;
2434 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2436 wxPy_END_ALLOW_THREADS
;
2437 } _resultobj
= Py_BuildValue("i",_result
);
2441 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2442 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2446 int _arg1
= (int ) 0;
2447 int _arg2
= (int ) 0;
2448 PyObject
* _argo0
= 0;
2449 char *_kwnames
[] = { "self","x","y", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 _result
= new wxString (wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
));
2465 wxPy_END_ALLOW_THREADS
;
2467 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2475 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2476 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2478 wxHtmlCell
* _result
;
2480 PyObject
* _argo0
= 0;
2481 char *_kwnames
[] = { "self", NULL
};
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2495 wxPy_BEGIN_ALLOW_THREADS
;
2496 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2498 wxPy_END_ALLOW_THREADS
;
2500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2501 _resultobj
= Py_BuildValue("s",_ptemp
);
2504 _resultobj
= Py_None
;
2509 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
2510 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
* _resultobj
;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "self","x","y", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
2529 wxPy_BEGIN_ALLOW_THREADS
;
2530 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
2532 wxPy_END_ALLOW_THREADS
;
2533 } Py_INCREF(Py_None
);
2534 _resultobj
= Py_None
;
2538 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2539 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2543 PyObject
* _argo0
= 0;
2544 PyObject
* _obj1
= 0;
2545 char *_kwnames
[] = { "self","link", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_obj1
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2558 if (!PyString_Check(_obj1
)) {
2559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2562 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2565 wxPy_BEGIN_ALLOW_THREADS
;
2566 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2568 wxPy_END_ALLOW_THREADS
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2578 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2579 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2583 PyObject
* _argo0
= 0;
2584 PyObject
* _argo1
= 0;
2585 char *_kwnames
[] = { "self","cell", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2605 wxPy_BEGIN_ALLOW_THREADS
;
2606 wxHtmlCell_SetNext(_arg0
,_arg1
);
2608 wxPy_END_ALLOW_THREADS
;
2609 } Py_INCREF(Py_None
);
2610 _resultobj
= Py_None
;
2614 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
2615 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2619 PyObject
* _argo0
= 0;
2620 char *_kwnames
[] = { "self","w", NULL
};
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
2626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
2633 wxPy_BEGIN_ALLOW_THREADS
;
2634 wxHtmlCell_Layout(_arg0
,_arg1
);
2636 wxPy_END_ALLOW_THREADS
;
2637 } Py_INCREF(Py_None
);
2638 _resultobj
= Py_None
;
2642 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2643 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2651 PyObject
* _argo0
= 0;
2652 PyObject
* _argo1
= 0;
2653 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
2666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
2673 wxPy_BEGIN_ALLOW_THREADS
;
2674 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2676 wxPy_END_ALLOW_THREADS
;
2677 } Py_INCREF(Py_None
);
2678 _resultobj
= Py_None
;
2682 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
2683 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
* _resultobj
;
2689 PyObject
* _argo0
= 0;
2690 PyObject
* _argo1
= 0;
2691 char *_kwnames
[] = { "self","dc","x","y", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
2704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
2711 wxPy_BEGIN_ALLOW_THREADS
;
2712 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
2714 wxPy_END_ALLOW_THREADS
;
2715 } Py_INCREF(Py_None
);
2716 _resultobj
= Py_None
;
2720 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
2721 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
* _resultobj
;
2723 wxHtmlCell
* _result
;
2727 PyObject
* _argo0
= 0;
2728 PyObject
* _argo2
= 0;
2729 char *_kwnames
[] = { "self","condition","param", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
2736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
2743 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
2750 wxPy_BEGIN_ALLOW_THREADS
;
2751 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
2753 wxPy_END_ALLOW_THREADS
;
2755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2756 _resultobj
= Py_BuildValue("s",_ptemp
);
2759 _resultobj
= Py_None
;
2764 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
2765 wxHtmlContainerCell
*src
;
2767 src
= (wxHtmlContainerCell
*) ptr
;
2768 dest
= (wxHtmlCell
*) src
;
2769 return (void *) dest
;
2772 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
2773 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2775 wxHtmlContainerCell
* _result
;
2776 wxHtmlContainerCell
* _arg0
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "parent", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
2792 wxPy_BEGIN_ALLOW_THREADS
;
2793 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
2795 wxPy_END_ALLOW_THREADS
;
2797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 _resultobj
= Py_None
;
2806 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
2807 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2809 wxHtmlContainerCell
* _arg0
;
2811 PyObject
* _argo0
= 0;
2812 PyObject
* _argo1
= 0;
2813 char *_kwnames
[] = { "self","cell", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
2826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
2836 wxPy_END_ALLOW_THREADS
;
2837 } Py_INCREF(Py_None
);
2838 _resultobj
= Py_None
;
2842 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
2843 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2845 wxHtmlContainerCell
* _arg0
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self","al", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } Py_INCREF(Py_None
);
2866 _resultobj
= Py_None
;
2870 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
2871 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2874 wxHtmlContainerCell
* _arg0
;
2875 PyObject
* _argo0
= 0;
2876 char *_kwnames
[] = { "self", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
2889 wxPy_BEGIN_ALLOW_THREADS
;
2890 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
2892 wxPy_END_ALLOW_THREADS
;
2893 } _resultobj
= Py_BuildValue("i",_result
);
2897 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
2898 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2900 wxHtmlContainerCell
* _arg0
;
2902 PyObject
* _argo0
= 0;
2903 char *_kwnames
[] = { "self","al", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
2919 wxPy_END_ALLOW_THREADS
;
2920 } Py_INCREF(Py_None
);
2921 _resultobj
= Py_None
;
2925 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
2926 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
* _resultobj
;
2929 wxHtmlContainerCell
* _arg0
;
2930 PyObject
* _argo0
= 0;
2931 char *_kwnames
[] = { "self", NULL
};
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
2937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
2939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
2944 wxPy_BEGIN_ALLOW_THREADS
;
2945 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
2947 wxPy_END_ALLOW_THREADS
;
2948 } _resultobj
= Py_BuildValue("i",_result
);
2952 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
2953 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2955 wxHtmlContainerCell
* _arg0
;
2958 int _arg3
= (int ) (HTML_UNITS_PIXELS
);
2959 PyObject
* _argo0
= 0;
2960 char *_kwnames
[] = { "self","i","what","units", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
2973 wxPy_BEGIN_ALLOW_THREADS
;
2974 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
2976 wxPy_END_ALLOW_THREADS
;
2977 } Py_INCREF(Py_None
);
2978 _resultobj
= Py_None
;
2982 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
2983 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2986 wxHtmlContainerCell
* _arg0
;
2988 PyObject
* _argo0
= 0;
2989 char *_kwnames
[] = { "self","ind", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3002 wxPy_BEGIN_ALLOW_THREADS
;
3003 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3005 wxPy_END_ALLOW_THREADS
;
3006 } _resultobj
= Py_BuildValue("i",_result
);
3010 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3011 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3014 wxHtmlContainerCell
* _arg0
;
3016 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self","ind", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3033 wxPy_END_ALLOW_THREADS
;
3034 } _resultobj
= Py_BuildValue("i",_result
);
3038 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3039 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3041 wxHtmlContainerCell
* _arg0
;
3043 PyObject
* _argo0
= 0;
3044 PyObject
* _argo1
= 0;
3045 char *_kwnames
[] = { "self","tag", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3065 wxPy_BEGIN_ALLOW_THREADS
;
3066 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3068 wxPy_END_ALLOW_THREADS
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3075 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3077 wxHtmlContainerCell
* _arg0
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self","w","units", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3097 wxPy_END_ALLOW_THREADS
;
3098 } Py_INCREF(Py_None
);
3099 _resultobj
= Py_None
;
3103 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3104 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3106 wxHtmlContainerCell
* _arg0
;
3108 PyObject
* _argo0
= 0;
3109 PyObject
* _argo1
= 0;
3110 char *_kwnames
[] = { "self","tag", NULL
};
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3130 wxPy_BEGIN_ALLOW_THREADS
;
3131 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3133 wxPy_END_ALLOW_THREADS
;
3134 } Py_INCREF(Py_None
);
3135 _resultobj
= Py_None
;
3139 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3140 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3142 wxHtmlContainerCell
* _arg0
;
3144 int _arg2
= (int ) (HTML_ALIGN_TOP
);
3145 PyObject
* _argo0
= 0;
3146 char *_kwnames
[] = { "self","h","align", NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3159 wxPy_BEGIN_ALLOW_THREADS
;
3160 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3162 wxPy_END_ALLOW_THREADS
;
3163 } Py_INCREF(Py_None
);
3164 _resultobj
= Py_None
;
3168 #define wxHtmlContainerCell_GetMaxLineWidth(_swigobj) (_swigobj->GetMaxLineWidth())
3169 static PyObject
*_wrap_wxHtmlContainerCell_GetMaxLineWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3172 wxHtmlContainerCell
* _arg0
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetMaxLineWidth",_kwnames
,&_argo0
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetMaxLineWidth. Expected _wxHtmlContainerCell_p.");
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 _result
= (int )wxHtmlContainerCell_GetMaxLineWidth(_arg0
);
3190 wxPy_END_ALLOW_THREADS
;
3191 } _resultobj
= Py_BuildValue("i",_result
);
3195 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3196 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxHtmlContainerCell
* _arg0
;
3200 PyObject
* _argo0
= 0;
3201 PyObject
* _argo1
= 0;
3202 char *_kwnames
[] = { "self","clr", NULL
};
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_argo1
))
3208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxColour_p.");
3222 wxPy_BEGIN_ALLOW_THREADS
;
3223 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3225 wxPy_END_ALLOW_THREADS
;
3226 } Py_INCREF(Py_None
);
3227 _resultobj
= Py_None
;
3231 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3232 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3234 wxHtmlContainerCell
* _arg0
;
3237 PyObject
* _argo0
= 0;
3238 PyObject
* _argo1
= 0;
3239 PyObject
* _argo2
= 0;
3240 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxColour_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetBorder. Expected _wxColour_p.");
3260 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxColour_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlContainerCell_SetBorder. Expected _wxColour_p.");
3267 wxPy_BEGIN_ALLOW_THREADS
;
3268 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3270 wxPy_END_ALLOW_THREADS
;
3271 } Py_INCREF(Py_None
);
3272 _resultobj
= Py_None
;
3276 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3277 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3279 wxHtmlCell
* _result
;
3280 wxHtmlContainerCell
* _arg0
;
3281 PyObject
* _argo0
= 0;
3282 char *_kwnames
[] = { "self", NULL
};
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3296 wxPy_BEGIN_ALLOW_THREADS
;
3297 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3299 wxPy_END_ALLOW_THREADS
;
3301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3302 _resultobj
= Py_BuildValue("s",_ptemp
);
3305 _resultobj
= Py_None
;
3310 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3311 wxHtmlWidgetCell
*src
;
3313 src
= (wxHtmlWidgetCell
*) ptr
;
3314 dest
= (wxHtmlCell
*) src
;
3315 return (void *) dest
;
3318 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3319 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3321 wxHtmlWidgetCell
* _result
;
3323 int _arg1
= (int ) 0;
3324 PyObject
* _argo0
= 0;
3325 char *_kwnames
[] = { "wnd","w", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3342 wxPy_END_ALLOW_THREADS
;
3344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3345 _resultobj
= Py_BuildValue("s",_ptemp
);
3348 _resultobj
= Py_None
;
3353 #define new_HtmlHistoryItem(_swigarg0,_swigarg1) (new HtmlHistoryItem(_swigarg0,_swigarg1))
3354 static PyObject
*_wrap_new_HtmlHistoryItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3356 HtmlHistoryItem
* _result
;
3359 char *_kwnames
[] = { "p","a", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss:new_HtmlHistoryItem",_kwnames
,&_arg0
,&_arg1
))
3366 wxPy_BEGIN_ALLOW_THREADS
;
3367 _result
= (HtmlHistoryItem
*)new_HtmlHistoryItem(_arg0
,_arg1
);
3369 wxPy_END_ALLOW_THREADS
;
3371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_HtmlHistoryItem_p");
3372 _resultobj
= Py_BuildValue("s",_ptemp
);
3375 _resultobj
= Py_None
;
3380 #define HtmlHistoryItem_GetPos(_swigobj) (_swigobj->GetPos())
3381 static PyObject
*_wrap_HtmlHistoryItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3384 HtmlHistoryItem
* _arg0
;
3385 PyObject
* _argo0
= 0;
3386 char *_kwnames
[] = { "self", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:HtmlHistoryItem_GetPos",_kwnames
,&_argo0
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_HtmlHistoryItem_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of HtmlHistoryItem_GetPos. Expected _HtmlHistoryItem_p.");
3399 wxPy_BEGIN_ALLOW_THREADS
;
3400 _result
= (int )HtmlHistoryItem_GetPos(_arg0
);
3402 wxPy_END_ALLOW_THREADS
;
3403 } _resultobj
= Py_BuildValue("i",_result
);
3407 #define HtmlHistoryItem_SetPos(_swigobj,_swigarg0) (_swigobj->SetPos(_swigarg0))
3408 static PyObject
*_wrap_HtmlHistoryItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3410 HtmlHistoryItem
* _arg0
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self","p", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:HtmlHistoryItem_SetPos",_kwnames
,&_argo0
,&_arg1
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_HtmlHistoryItem_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of HtmlHistoryItem_SetPos. Expected _HtmlHistoryItem_p.");
3426 wxPy_BEGIN_ALLOW_THREADS
;
3427 HtmlHistoryItem_SetPos(_arg0
,_arg1
);
3429 wxPy_END_ALLOW_THREADS
;
3430 } Py_INCREF(Py_None
);
3431 _resultobj
= Py_None
;
3435 #define HtmlHistoryItem_GetPage(_swigobj) (_swigobj->GetPage())
3436 static PyObject
*_wrap_HtmlHistoryItem_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3439 HtmlHistoryItem
* _arg0
;
3440 PyObject
* _argo0
= 0;
3441 char *_kwnames
[] = { "self", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:HtmlHistoryItem_GetPage",_kwnames
,&_argo0
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_HtmlHistoryItem_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of HtmlHistoryItem_GetPage. Expected _HtmlHistoryItem_p.");
3454 wxPy_BEGIN_ALLOW_THREADS
;
3455 const wxString
& _result_ref
= HtmlHistoryItem_GetPage(_arg0
);
3456 _result
= (wxString
*) &_result_ref
;
3458 wxPy_END_ALLOW_THREADS
;
3460 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3465 #define HtmlHistoryItem_GetAnchor(_swigobj) (_swigobj->GetAnchor())
3466 static PyObject
*_wrap_HtmlHistoryItem_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
* _resultobj
;
3469 HtmlHistoryItem
* _arg0
;
3470 PyObject
* _argo0
= 0;
3471 char *_kwnames
[] = { "self", NULL
};
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:HtmlHistoryItem_GetAnchor",_kwnames
,&_argo0
))
3477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_HtmlHistoryItem_p")) {
3479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of HtmlHistoryItem_GetAnchor. Expected _HtmlHistoryItem_p.");
3484 wxPy_BEGIN_ALLOW_THREADS
;
3485 const wxString
& _result_ref
= HtmlHistoryItem_GetAnchor(_arg0
);
3486 _result
= (wxString
*) &_result_ref
;
3488 wxPy_END_ALLOW_THREADS
;
3490 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
3495 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
3496 wxPyHtmlWindow
*src
;
3497 wxScrolledWindow
*dest
;
3498 src
= (wxPyHtmlWindow
*) ptr
;
3499 dest
= (wxScrolledWindow
*) src
;
3500 return (void *) dest
;
3503 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
3504 wxPyHtmlWindow
*src
;
3506 src
= (wxPyHtmlWindow
*) ptr
;
3507 dest
= (wxPanel
*) src
;
3508 return (void *) dest
;
3511 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
3512 wxPyHtmlWindow
*src
;
3514 src
= (wxPyHtmlWindow
*) ptr
;
3515 dest
= (wxWindow
*) src
;
3516 return (void *) dest
;
3519 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
3520 wxPyHtmlWindow
*src
;
3522 src
= (wxPyHtmlWindow
*) ptr
;
3523 dest
= (wxEvtHandler
*) src
;
3524 return (void *) dest
;
3527 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3528 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3530 wxPyHtmlWindow
* _result
;
3532 int _arg1
= (int ) -1;
3533 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3534 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3535 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
3536 char * _arg5
= (char *) "htmlWindow";
3537 PyObject
* _argo0
= 0;
3538 PyObject
* _argo2
= 0;
3539 PyObject
* _argo3
= 0;
3540 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
3547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
3554 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxHtmlWindow. Expected _wxPoint_p.");
3561 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxHtmlWindow. Expected _wxSize_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3571 wxPy_END_ALLOW_THREADS
;
3573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
3574 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 _resultobj
= Py_None
;
3582 #define wxHtmlWindow__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
3583 static PyObject
*_wrap_wxHtmlWindow__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3585 wxPyHtmlWindow
* _arg0
;
3587 PyObject
* _argo0
= 0;
3588 PyObject
* _obj1
= 0;
3589 char *_kwnames
[] = { "self","self", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow__setSelf",_kwnames
,&_argo0
,&_obj1
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setSelf. Expected _wxPyHtmlWindow_p.");
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 wxHtmlWindow__setSelf(_arg0
,_arg1
);
3608 wxPy_END_ALLOW_THREADS
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
3615 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3618 wxPyHtmlWindow
* _arg0
;
3620 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self","source", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_arg1
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
3634 wxPy_BEGIN_ALLOW_THREADS
;
3635 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,_arg1
);
3637 wxPy_END_ALLOW_THREADS
;
3638 } _resultobj
= Py_BuildValue("i",_result
);
3642 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
3643 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
* _resultobj
;
3646 wxPyHtmlWindow
* _arg0
;
3648 PyObject
* _argo0
= 0;
3649 char *_kwnames
[] = { "self","location", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_arg1
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
3662 wxPy_BEGIN_ALLOW_THREADS
;
3663 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,_arg1
);
3665 wxPy_END_ALLOW_THREADS
;
3666 } _resultobj
= Py_BuildValue("i",_result
);
3670 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
3671 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
* _resultobj
;
3674 wxPyHtmlWindow
* _arg0
;
3675 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
3689 wxPy_BEGIN_ALLOW_THREADS
;
3690 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
3692 wxPy_END_ALLOW_THREADS
;
3694 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3702 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
3703 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
* _resultobj
;
3705 wxPyHtmlWindow
* _arg0
;
3708 PyObject
* _argo0
= 0;
3709 PyObject
* _argo1
= 0;
3710 char *_kwnames
[] = { "self","frame","format", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
3723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
3730 wxPy_BEGIN_ALLOW_THREADS
;
3731 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
3733 wxPy_END_ALLOW_THREADS
;
3734 } Py_INCREF(Py_None
);
3735 _resultobj
= Py_None
;
3739 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
3740 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
* _resultobj
;
3743 wxPyHtmlWindow
* _arg0
;
3744 PyObject
* _argo0
= 0;
3745 char *_kwnames
[] = { "self", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
3759 wxPy_BEGIN_ALLOW_THREADS
;
3760 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
3762 wxPy_END_ALLOW_THREADS
;
3764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3765 _resultobj
= Py_BuildValue("s",_ptemp
);
3768 _resultobj
= Py_None
;
3773 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
3774 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3776 wxPyHtmlWindow
* _arg0
;
3778 PyObject
* _argo0
= 0;
3779 char *_kwnames
[] = { "self","bar", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
3792 wxPy_BEGIN_ALLOW_THREADS
;
3793 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
3795 wxPy_END_ALLOW_THREADS
;
3796 } Py_INCREF(Py_None
);
3797 _resultobj
= Py_None
;
3801 #define wxHtmlWindow_SetFonts(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetFonts(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3802 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3804 wxPyHtmlWindow
* _arg0
;
3810 PyObject
* _argo0
= 0;
3811 PyObject
* _obj1
= 0;
3812 PyObject
* _obj3
= 0;
3813 PyObject
* _obj5
= 0;
3814 char *_kwnames
[] = { "self","normal_face","normal_italic_mode","fixed_face","fixed_italic_mode","LIST", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiOiO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_arg2
,&_obj3
,&_arg4
,&_obj5
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
3827 if (!PyString_Check(_obj1
)) {
3828 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3831 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3834 if (!PyString_Check(_obj3
)) {
3835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3838 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
3841 _arg5
= int_LIST_helper(_obj5
);
3842 if (_arg5
== NULL
) {
3847 wxPy_BEGIN_ALLOW_THREADS
;
3848 wxHtmlWindow_SetFonts(_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
,_arg5
);
3850 wxPy_END_ALLOW_THREADS
;
3851 } Py_INCREF(Py_None
);
3852 _resultobj
= Py_None
;
3867 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
3868 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3870 wxPyHtmlWindow
* _arg0
;
3872 PyObject
* _argo0
= 0;
3873 char *_kwnames
[] = { "self","title", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_arg1
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 wxHtmlWindow_SetTitle(_arg0
,_arg1
);
3889 wxPy_END_ALLOW_THREADS
;
3890 } Py_INCREF(Py_None
);
3891 _resultobj
= Py_None
;
3895 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
3896 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
* _resultobj
;
3898 wxPyHtmlWindow
* _arg0
;
3900 PyObject
* _argo0
= 0;
3901 char *_kwnames
[] = { "self","b", NULL
};
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
3907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
3914 wxPy_BEGIN_ALLOW_THREADS
;
3915 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
3917 wxPy_END_ALLOW_THREADS
;
3918 } Py_INCREF(Py_None
);
3919 _resultobj
= Py_None
;
3923 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
3924 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
* _resultobj
;
3926 wxPyHtmlWindow
* _arg0
;
3927 wxConfigBase
* _arg1
;
3928 char * _arg2
= (char *) "";
3929 PyObject
* _argo0
= 0;
3930 PyObject
* _argo1
= 0;
3931 char *_kwnames
[] = { "self","cfg","path", NULL
};
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
3944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
3951 wxPy_BEGIN_ALLOW_THREADS
;
3952 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,_arg2
);
3954 wxPy_END_ALLOW_THREADS
;
3955 } Py_INCREF(Py_None
);
3956 _resultobj
= Py_None
;
3960 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
3961 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
* _resultobj
;
3963 wxPyHtmlWindow
* _arg0
;
3964 wxConfigBase
* _arg1
;
3965 char * _arg2
= (char *) "";
3966 PyObject
* _argo0
= 0;
3967 PyObject
* _argo1
= 0;
3968 char *_kwnames
[] = { "self","cfg","path", NULL
};
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|s:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
3981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
3988 wxPy_BEGIN_ALLOW_THREADS
;
3989 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,_arg2
);
3991 wxPy_END_ALLOW_THREADS
;
3992 } Py_INCREF(Py_None
);
3993 _resultobj
= Py_None
;
3997 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
3998 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4001 wxPyHtmlWindow
* _arg0
;
4002 PyObject
* _argo0
= 0;
4003 char *_kwnames
[] = { "self", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4016 wxPy_BEGIN_ALLOW_THREADS
;
4017 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4019 wxPy_END_ALLOW_THREADS
;
4020 } _resultobj
= Py_BuildValue("i",_result
);
4024 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4025 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4028 wxPyHtmlWindow
* _arg0
;
4029 PyObject
* _argo0
= 0;
4030 char *_kwnames
[] = { "self", NULL
};
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4043 wxPy_BEGIN_ALLOW_THREADS
;
4044 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4046 wxPy_END_ALLOW_THREADS
;
4047 } _resultobj
= Py_BuildValue("i",_result
);
4051 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4052 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4054 wxPyHtmlWindow
* _arg0
;
4055 PyObject
* _argo0
= 0;
4056 char *_kwnames
[] = { "self", NULL
};
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4069 wxPy_BEGIN_ALLOW_THREADS
;
4070 wxHtmlWindow_HistoryClear(_arg0
);
4072 wxPy_END_ALLOW_THREADS
;
4073 } Py_INCREF(Py_None
);
4074 _resultobj
= Py_None
;
4078 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4079 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
* _resultobj
;
4081 wxHtmlContainerCell
* _result
;
4082 wxPyHtmlWindow
* _arg0
;
4083 PyObject
* _argo0
= 0;
4084 char *_kwnames
[] = { "self", NULL
};
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4098 wxPy_BEGIN_ALLOW_THREADS
;
4099 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4101 wxPy_END_ALLOW_THREADS
;
4103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4104 _resultobj
= Py_BuildValue("s",_ptemp
);
4107 _resultobj
= Py_None
;
4112 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4113 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
* _resultobj
;
4115 wxHtmlWinParser
* _result
;
4116 wxPyHtmlWindow
* _arg0
;
4117 PyObject
* _argo0
= 0;
4118 char *_kwnames
[] = { "self", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4132 wxPy_BEGIN_ALLOW_THREADS
;
4133 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4135 wxPy_END_ALLOW_THREADS
;
4137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4138 _resultobj
= Py_BuildValue("s",_ptemp
);
4141 _resultobj
= Py_None
;
4146 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4147 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4149 wxPyHtmlWindow
* _arg0
;
4151 PyObject
* _argo0
= 0;
4152 char *_kwnames
[] = { "self","link", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_arg1
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4165 wxPy_BEGIN_ALLOW_THREADS
;
4166 wxHtmlWindow_base_OnLinkClicked(_arg0
,_arg1
);
4168 wxPy_END_ALLOW_THREADS
;
4169 } Py_INCREF(Py_None
);
4170 _resultobj
= Py_None
;
4174 static PyMethodDef htmlcMethods
[] = {
4175 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxHtmlWindow__setSelf", (PyCFunction
) _wrap_wxHtmlWindow__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "HtmlHistoryItem_GetAnchor", (PyCFunction
) _wrap_HtmlHistoryItem_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "HtmlHistoryItem_GetPage", (PyCFunction
) _wrap_HtmlHistoryItem_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "HtmlHistoryItem_SetPos", (PyCFunction
) _wrap_HtmlHistoryItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "HtmlHistoryItem_GetPos", (PyCFunction
) _wrap_HtmlHistoryItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "new_HtmlHistoryItem", (PyCFunction
) _wrap_new_HtmlHistoryItem
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxHtmlContainerCell_GetMaxLineWidth", (PyCFunction
) _wrap_wxHtmlContainerCell_GetMaxLineWidth
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxHtmlWinTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxHtmlTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxHtmlTag_IsEnding", (PyCFunction
) _wrap_wxHtmlTag_IsEnding
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
4298 * This table is used by the pointer type-checker
4300 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4301 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4302 { "_wxEvent","_class_wxEvent",0},
4303 { "_class_wxActivateEvent","_wxActivateEvent",0},
4304 { "_class_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
4305 { "_class_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
4306 { "_class_wxHtmlParser","_wxHtmlParser",0},
4307 { "_signed_long","_long",0},
4308 { "_wxMenuEvent","_class_wxMenuEvent",0},
4309 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
4310 { "_wxBMPHandler","_class_wxBMPHandler",0},
4311 { "_wxImage","_class_wxImage",0},
4312 { "_wxPrintQuality","_int",0},
4313 { "_wxPrintQuality","_signed_int",0},
4314 { "_wxPrintQuality","_unsigned_int",0},
4315 { "_wxPrintQuality","_wxWindowID",0},
4316 { "_wxPrintQuality","_uint",0},
4317 { "_wxPrintQuality","_EBool",0},
4318 { "_wxPrintQuality","_size_t",0},
4319 { "_wxFontData","_class_wxFontData",0},
4320 { "___wxPyCleanup","_class___wxPyCleanup",0},
4321 { "_class_HtmlHistoryItem","_HtmlHistoryItem",0},
4322 { "_class_wxRegionIterator","_wxRegionIterator",0},
4323 { "_class_wxMenuBar","_wxMenuBar",0},
4324 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
4325 { "_class_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
4326 { "_class_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
4327 { "_class_wxEvtHandler","_wxEvtHandler",0},
4328 { "_wxPaintEvent","_class_wxPaintEvent",0},
4329 { "_wxGIFHandler","_class_wxGIFHandler",0},
4330 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4331 { "_wxCursor","_class_wxCursor",0},
4332 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4333 { "_wxImageHandler","_class_wxImageHandler",0},
4334 { "_wxHtmlWidgetCell","_class_wxHtmlWidgetCell",0},
4335 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
4336 { "_wxMask","_class_wxMask",0},
4337 { "_wxToolTip","_class_wxToolTip",0},
4338 { "_wxGrid","_class_wxGrid",0},
4339 { "_wxPNGHandler","_class_wxPNGHandler",0},
4340 { "_class_wxColourData","_wxColourData",0},
4341 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
4342 { "_wxPrinter","_class_wxPrinter",0},
4343 { "_wxPen","_class_wxPen",0},
4344 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4345 { "_byte","_unsigned_char",0},
4346 { "_wxStaticBox","_class_wxStaticBox",0},
4347 { "_wxChoice","_class_wxChoice",0},
4348 { "_wxSlider","_class_wxSlider",0},
4349 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
4350 { "_wxPyPrintout","_class_wxPyPrintout",0},
4351 { "_long","_wxDash",0},
4352 { "_long","_unsigned_long",0},
4353 { "_long","_signed_long",0},
4354 { "_wxImageList","_class_wxImageList",0},
4355 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4356 { "_wxBitmapButton","_class_wxBitmapButton",0},
4357 { "_wxSashWindow","_class_wxSashWindow",0},
4358 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
4359 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4360 { "_class_wxGauge","_wxGauge",0},
4361 { "_class_wxSashEvent","_wxSashEvent",0},
4362 { "_wxDC","_class_wxDC",0},
4363 { "_wxListEvent","_class_wxListEvent",0},
4364 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
4365 { "_wxProgressDialog","_class_wxProgressDialog",0},
4366 { "_class_wxBMPHandler","_wxBMPHandler",0},
4367 { "_wxPrintPreview","_class_wxPrintPreview",0},
4368 { "_wxSpinEvent","_class_wxSpinEvent",0},
4369 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
4370 { "_size_t","_wxPrintQuality",0},
4371 { "_size_t","_unsigned_int",0},
4372 { "_size_t","_int",0},
4373 { "_size_t","_wxWindowID",0},
4374 { "_size_t","_uint",0},
4375 { "_class_wxRealPoint","_wxRealPoint",0},
4376 { "_class_wxMenuItem","_wxMenuItem",0},
4377 { "_class_wxPaintEvent","_wxPaintEvent",0},
4378 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4379 { "_class_wxStatusBar","_wxStatusBar",0},
4380 { "_class_wxGIFHandler","_wxGIFHandler",0},
4381 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
4382 { "_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
4383 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
4384 { "_wxPanel","_class_wxPanel",0},
4385 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4386 { "_wxCheckBox","_class_wxCheckBox",0},
4387 { "_wxPyEvent","_class_wxPyEvent",0},
4388 { "_wxTextCtrl","_class_wxTextCtrl",0},
4389 { "_class_wxMask","_wxMask",0},
4390 { "_class_wxToolTip","_wxToolTip",0},
4391 { "_class_wxKeyEvent","_wxKeyEvent",0},
4392 { "_class_wxGrid","_wxGrid",0},
4393 { "_class_wxPNGHandler","_wxPNGHandler",0},
4394 { "_wxColour","_class_wxColour",0},
4395 { "_class_wxDialog","_wxDialog",0},
4396 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
4397 { "_class_wxPrinter","_wxPrinter",0},
4398 { "_wxIdleEvent","_class_wxIdleEvent",0},
4399 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4400 { "_wxToolBar","_class_wxToolBar",0},
4401 { "_wxStaticLine","_class_wxStaticLine",0},
4402 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
4403 { "_wxBrush","_class_wxBrush",0},
4404 { "_wxMiniFrame","_class_wxMiniFrame",0},
4405 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
4406 { "_class_wxPyPrintout","_wxPyPrintout",0},
4407 { "_class_wxSashWindow","_wxSashWindow",0},
4408 { "_wxShowEvent","_class_wxShowEvent",0},
4409 { "_uint","_wxPrintQuality",0},
4410 { "_uint","_size_t",0},
4411 { "_uint","_unsigned_int",0},
4412 { "_uint","_int",0},
4413 { "_uint","_wxWindowID",0},
4414 { "_class_wxEvent","_wxEvent",0},
4415 { "_wxCheckListBox","_class_wxCheckListBox",0},
4416 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
4417 { "_wxGridEvent","_class_wxGridEvent",0},
4418 { "_wxRect","_class_wxRect",0},
4419 { "_wxCommandEvent","_class_wxCommandEvent",0},
4420 { "_wxSizeEvent","_class_wxSizeEvent",0},
4421 { "_class_wxImage","_wxImage",0},
4422 { "_wxPoint","_class_wxPoint",0},
4423 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
4424 { "_class_wxButton","_wxButton",0},
4425 { "_wxRadioBox","_class_wxRadioBox",0},
4426 { "_class_wxFontData","_wxFontData",0},
4427 { "_class___wxPyCleanup","___wxPyCleanup",0},
4428 { "_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
4429 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
4430 { "_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
4431 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
4432 { "_wxHtmlCell","_class_wxHtmlCell",0},
4433 { "_wxBitmap","_class_wxBitmap",0},
4434 { "_wxPrintDialog","_class_wxPrintDialog",0},
4435 { "_wxPyTimer","_class_wxPyTimer",0},
4436 { "_wxWindowDC","_class_wxWindowDC",0},
4437 { "_wxScrollBar","_class_wxScrollBar",0},
4438 { "_wxSpinButton","_class_wxSpinButton",0},
4439 { "_wxToolBarTool","_class_wxToolBarTool",0},
4440 { "_wxColourDialog","_class_wxColourDialog",0},
4441 { "_wxPrintData","_class_wxPrintData",0},
4442 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4443 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4444 { "_wxMessageDialog","_class_wxMessageDialog",0},
4445 { "_class_wxHtmlWidgetCell","_wxHtmlWidgetCell",0},
4446 { "_class_wxPyEvent","_wxPyEvent",0},
4447 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
4448 { "_wxConfig","_class_wxConfig",0},
4449 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4450 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
4451 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
4452 { "_wxListItem","_class_wxListItem",0},
4453 { "_class_wxToolBar","_wxToolBar",0},
4454 { "_class_wxStaticLine","_wxStaticLine",0},
4455 { "_wxScrollEvent","_class_wxScrollEvent",0},
4456 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
4457 { "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
4458 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
4459 { "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0},
4460 { "_EBool","_wxPrintQuality",0},
4461 { "_EBool","_signed_int",0},
4462 { "_EBool","_int",0},
4463 { "_EBool","_wxWindowID",0},
4464 { "_class_wxRegion","_wxRegion",0},
4465 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4466 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
4467 { "_wxHtmlContainerCell","_class_wxHtmlContainerCell",0},
4468 { "_wxStaticText","_class_wxStaticText",0},
4469 { "_wxFont","_class_wxFont",0},
4470 { "_wxCloseEvent","_class_wxCloseEvent",0},
4471 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
4472 { "_wxNotebook","_class_wxNotebook",0},
4473 { "_unsigned_long","_wxDash",0},
4474 { "_unsigned_long","_long",0},
4475 { "_class_wxRect","_wxRect",0},
4476 { "_class_wxDC","_wxDC",0},
4477 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4478 { "_class_wxProgressDialog","_wxProgressDialog",0},
4479 { "_wxPyApp","_class_wxPyApp",0},
4480 { "_wxHtmlWinParser","_class_wxHtmlWinParser",0},
4481 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
4482 { "_class_wxTreeEvent","_wxTreeEvent",0},
4483 { "_class_wxDirDialog","_wxDirDialog",0},
4484 { "_class_wxPyTimer","_wxPyTimer",0},
4485 { "_wxFocusEvent","_class_wxFocusEvent",0},
4486 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4487 { "_class_wxSpinButton","_wxSpinButton",0},
4488 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4489 { "_class_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
4490 { "_class_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
4491 { "_class_wxPanel","_wxPanel",0},
4492 { "_class_wxCheckBox","_wxCheckBox",0},
4493 { "_wxComboBox","_class_wxComboBox",0},
4494 { "_wxRadioButton","_class_wxRadioButton",0},
4495 { "_class_wxMessageDialog","_wxMessageDialog",0},
4496 { "_wxHtmlTag","_class_wxHtmlTag",0},
4497 { "_signed_int","_wxPrintQuality",0},
4498 { "_signed_int","_EBool",0},
4499 { "_signed_int","_wxWindowID",0},
4500 { "_signed_int","_int",0},
4501 { "_class_wxTextCtrl","_wxTextCtrl",0},
4502 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4503 { "_wxMenu","_class_wxMenu",0},
4504 { "_class_wxMoveEvent","_wxMoveEvent",0},
4505 { "_wxListBox","_class_wxListBox",0},
4506 { "_wxScreenDC","_class_wxScreenDC",0},
4507 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
4508 { "_class_wxPyHtmlWindow","_wxPyHtmlWindow",0},
4509 { "_WXTYPE","_short",0},
4510 { "_WXTYPE","_signed_short",0},
4511 { "_WXTYPE","_unsigned_short",0},
4512 { "_wxFileDialog","_class_wxFileDialog",0},
4513 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
4514 { "_class_wxBrush","_wxBrush",0},
4515 { "_class_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
4516 { "_class_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
4517 { "_class_wxPyHtmlTagHandler","_wxPyHtmlTagHandler",0},
4518 { "_unsigned_short","_WXTYPE",0},
4519 { "_unsigned_short","_short",0},
4520 { "_class_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
4521 { "_class_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
4522 { "_class_wxWindow","_wxWindow",0},
4523 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
4524 { "_class_wxStaticText","_wxStaticText",0},
4525 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
4526 { "_class_wxFont","_wxFont",0},
4527 { "_class_wxCloseEvent","_wxCloseEvent",0},
4528 { "_wxSashEvent","_class_wxSashEvent",0},
4529 { "_class_wxMenuEvent","_wxMenuEvent",0},
4530 { "_wxClientDC","_class_wxClientDC",0},
4531 { "_wxMouseEvent","_class_wxMouseEvent",0},
4532 { "_wxListCtrl","_class_wxListCtrl",0},
4533 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
4534 { "_class_wxPoint","_wxPoint",0},
4535 { "_wxRealPoint","_class_wxRealPoint",0},
4536 { "_class_wxRadioBox","_wxRadioBox",0},
4537 { "_wxGridCell","_class_wxGridCell",0},
4538 { "_class_wxHtmlWinParser","_wxHtmlWinParser",0},
4539 { "_class_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
4540 { "_class_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
4541 { "_class_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
4542 { "_class_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
4543 { "_class_wxHtmlCell","_wxHtmlCell",0},
4544 { "_signed_short","_WXTYPE",0},
4545 { "_signed_short","_short",0},
4546 { "_wxMemoryDC","_class_wxMemoryDC",0},
4547 { "_class_wxPrintDialog","_wxPrintDialog",0},
4548 { "_wxPaintDC","_class_wxPaintDC",0},
4549 { "_class_wxWindowDC","_wxWindowDC",0},
4550 { "_class_wxFocusEvent","_wxFocusEvent",0},
4551 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4552 { "_wxStatusBar","_class_wxStatusBar",0},
4553 { "_class_wxToolBarTool","_wxToolBarTool",0},
4554 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4555 { "_class_wxCursor","_wxCursor",0},
4556 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4557 { "_class_wxImageHandler","_wxImageHandler",0},
4558 { "_class_wxHtmlTag","_wxHtmlTag",0},
4559 { "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
4560 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
4561 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4562 { "_wxTreeItemId","_class_wxTreeItemId",0},
4563 { "_unsigned_char","_byte",0},
4564 { "_class_wxMenu","_wxMenu",0},
4565 { "_wxControl","_class_wxControl",0},
4566 { "_class_wxListBox","_wxListBox",0},
4567 { "_unsigned_int","_wxPrintQuality",0},
4568 { "_unsigned_int","_size_t",0},
4569 { "_unsigned_int","_uint",0},
4570 { "_unsigned_int","_wxWindowID",0},
4571 { "_unsigned_int","_int",0},
4572 { "_wxIcon","_class_wxIcon",0},
4573 { "_wxDialog","_class_wxDialog",0},
4574 { "_class_wxListItem","_wxListItem",0},
4575 { "_class_wxPen","_wxPen",0},
4576 { "_class_wxFileDialog","_wxFileDialog",0},
4577 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
4578 { "_short","_WXTYPE",0},
4579 { "_short","_unsigned_short",0},
4580 { "_short","_signed_short",0},
4581 { "_class_wxStaticBox","_wxStaticBox",0},
4582 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
4583 { "_class_wxScrollEvent","_wxScrollEvent",0},
4584 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4585 { "_class_wxChoice","_wxChoice",0},
4586 { "_class_wxSlider","_wxSlider",0},
4587 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
4588 { "_class_wxImageList","_wxImageList",0},
4589 { "_class_wxBitmapButton","_wxBitmapButton",0},
4590 { "_class_wxHtmlContainerCell","_wxHtmlContainerCell",0},
4591 { "_wxFrame","_class_wxFrame",0},
4592 { "_class_wxNotebook","_wxNotebook",0},
4593 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
4594 { "_wxWindowID","_wxPrintQuality",0},
4595 { "_wxWindowID","_size_t",0},
4596 { "_wxWindowID","_EBool",0},
4597 { "_wxWindowID","_uint",0},
4598 { "_wxWindowID","_int",0},
4599 { "_wxWindowID","_signed_int",0},
4600 { "_wxWindowID","_unsigned_int",0},
4601 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4602 { "_int","_wxPrintQuality",0},
4603 { "_int","_size_t",0},
4604 { "_int","_EBool",0},
4605 { "_int","_uint",0},
4606 { "_int","_wxWindowID",0},
4607 { "_int","_unsigned_int",0},
4608 { "_int","_signed_int",0},
4609 { "_class_wxMouseEvent","_wxMouseEvent",0},
4610 { "_class_wxListEvent","_wxListEvent",0},
4611 { "_class_wxPrintPreview","_wxPrintPreview",0},
4612 { "_class_wxSpinEvent","_wxSpinEvent",0},
4613 { "_wxPyHtmlWinTagHandler","_class_wxPyHtmlWinTagHandler",0},
4614 { "_wxButton","_class_wxButton",0},
4615 { "_class_wxPyApp","_wxPyApp",0},
4616 { "_wxSize","_class_wxSize",0},
4617 { "_wxRegionIterator","_class_wxRegionIterator",0},
4618 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
4619 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
4620 { "_class_wxPaintDC","_wxPaintDC",0},
4621 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4622 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4623 { "_class_wxComboBox","_wxComboBox",0},
4624 { "_class_wxRadioButton","_wxRadioButton",0},
4625 { "_class_wxTreeItemId","_wxTreeItemId",0},
4626 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
4627 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4628 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4629 { "_class_wxControl","_wxControl",0},
4630 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
4631 { "_class_wxIcon","_wxIcon",0},
4632 { "_class_wxColour","_wxColour",0},
4633 { "_class_wxScreenDC","_wxScreenDC",0},
4634 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
4635 { "_wxPalette","_class_wxPalette",0},
4636 { "_class_wxIdleEvent","_wxIdleEvent",0},
4637 { "_wxEraseEvent","_class_wxEraseEvent",0},
4638 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4639 { "_class_wxMiniFrame","_wxMiniFrame",0},
4640 { "_wxFontDialog","_class_wxFontDialog",0},
4641 { "_wxRegion","_class_wxRegion",0},
4642 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
4643 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
4644 { "_class_wxShowEvent","_wxShowEvent",0},
4645 { "_wxActivateEvent","_class_wxActivateEvent",0},
4646 { "_wxGauge","_class_wxGauge",0},
4647 { "_class_wxCheckListBox","_wxCheckListBox",0},
4648 { "_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
4649 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
4650 { "_wxHtmlParser","_class_wxHtmlParser",0},
4651 { "_class_wxGridEvent","_wxGridEvent",0},
4652 { "_class_wxCommandEvent","_wxCommandEvent",0},
4653 { "_class_wxClientDC","_wxClientDC",0},
4654 { "_class_wxSizeEvent","_wxSizeEvent",0},
4655 { "_class_wxListCtrl","_wxListCtrl",0},
4656 { "_class_wxPyHtmlWinTagHandler","_wxPyHtmlWinTagHandler",0},
4657 { "_class_wxGridCell","_wxGridCell",0},
4658 { "_HtmlHistoryItem","_class_HtmlHistoryItem",0},
4659 { "_class_wxSize","_wxSize",0},
4660 { "_class_wxBitmap","_wxBitmap",0},
4661 { "_class_wxMemoryDC","_wxMemoryDC",0},
4662 { "_wxMenuBar","_class_wxMenuBar",0},
4663 { "_wxTreeEvent","_class_wxTreeEvent",0},
4664 { "_wxDirDialog","_class_wxDirDialog",0},
4665 { "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
4666 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
4667 { "_wxEvtHandler","_class_wxEvtHandler",0},
4668 { "_wxMenuItem","_class_wxMenuItem",0},
4669 { "_class_wxScrollBar","_wxScrollBar",0},
4670 { "_class_wxColourDialog","_wxColourDialog",0},
4671 { "_class_wxPrintData","_wxPrintData",0},
4672 { "_wxDash","_unsigned_long",0},
4673 { "_wxDash","_long",0},
4674 { "_class_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
4675 { "_class_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
4676 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4677 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
4678 { "_class_wxConfig","_wxConfig",0},
4679 { "_wxKeyEvent","_class_wxKeyEvent",0},
4680 { "_wxMoveEvent","_class_wxMoveEvent",0},
4681 { "_wxColourData","_class_wxColourData",0},
4682 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
4683 { "_wxPyHtmlWindow","_class_wxPyHtmlWindow",0},
4684 { "_class_wxPalette","_wxPalette",0},
4685 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
4686 { "_class_wxEraseEvent","_wxEraseEvent",0},
4687 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
4688 { "_class_wxFontDialog","_wxFontDialog",0},
4689 { "_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
4690 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
4691 { "_wxWindow","_class_wxWindow",0},
4692 { "_class_wxFrame","_wxFrame",0},
4695 static PyObject
*SWIG_globals
;
4699 SWIGEXPORT(void) inithtmlc() {
4701 SWIG_globals
= SWIG_newvarlink();
4702 m
= Py_InitModule("htmlc", htmlcMethods
);
4703 d
= PyModule_GetDict(m
);
4704 PyDict_SetItemString(d
,"HTML_ALIGN_LEFT", PyInt_FromLong((long) HTML_ALIGN_LEFT
));
4705 PyDict_SetItemString(d
,"HTML_ALIGN_CENTER", PyInt_FromLong((long) HTML_ALIGN_CENTER
));
4706 PyDict_SetItemString(d
,"HTML_ALIGN_RIGHT", PyInt_FromLong((long) HTML_ALIGN_RIGHT
));
4707 PyDict_SetItemString(d
,"HTML_ALIGN_BOTTOM", PyInt_FromLong((long) HTML_ALIGN_BOTTOM
));
4708 PyDict_SetItemString(d
,"HTML_ALIGN_TOP", PyInt_FromLong((long) HTML_ALIGN_TOP
));
4709 PyDict_SetItemString(d
,"HTML_CLR_FOREGROUND", PyInt_FromLong((long) HTML_CLR_FOREGROUND
));
4710 PyDict_SetItemString(d
,"HTML_CLR_BACKGROUND", PyInt_FromLong((long) HTML_CLR_BACKGROUND
));
4711 PyDict_SetItemString(d
,"HTML_UNITS_PIXELS", PyInt_FromLong((long) HTML_UNITS_PIXELS
));
4712 PyDict_SetItemString(d
,"HTML_UNITS_PERCENT", PyInt_FromLong((long) HTML_UNITS_PERCENT
));
4713 PyDict_SetItemString(d
,"HTML_INDENT_LEFT", PyInt_FromLong((long) HTML_INDENT_LEFT
));
4714 PyDict_SetItemString(d
,"HTML_INDENT_RIGHT", PyInt_FromLong((long) HTML_INDENT_RIGHT
));
4715 PyDict_SetItemString(d
,"HTML_INDENT_TOP", PyInt_FromLong((long) HTML_INDENT_TOP
));
4716 PyDict_SetItemString(d
,"HTML_INDENT_BOTTOM", PyInt_FromLong((long) HTML_INDENT_BOTTOM
));
4717 PyDict_SetItemString(d
,"HTML_INDENT_HORIZONTAL", PyInt_FromLong((long) HTML_INDENT_HORIZONTAL
));
4718 PyDict_SetItemString(d
,"HTML_INDENT_VERTICAL", PyInt_FromLong((long) HTML_INDENT_VERTICAL
));
4719 PyDict_SetItemString(d
,"HTML_INDENT_ALL", PyInt_FromLong((long) HTML_INDENT_ALL
));
4720 PyDict_SetItemString(d
,"HTML_COND_ISANCHOR", PyInt_FromLong((long) HTML_COND_ISANCHOR
));
4721 PyDict_SetItemString(d
,"HTML_COND_ISIMAGEMAP", PyInt_FromLong((long) HTML_COND_ISIMAGEMAP
));
4722 PyDict_SetItemString(d
,"HTML_COND_USER", PyInt_FromLong((long) HTML_COND_USER
));
4726 /* This is a bit cheesy. SWIG happens to call the dictionary d...
4727 * I save it here, 'cause I don't know how to get it back later! */
4733 wxClassInfo::CleanUpClasses();
4734 wxClassInfo::InitializeClasses();
4737 /* specifically add our python tag handler; it doesn't seem to
4738 * happen by itself... */
4739 wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
4742 // Until wxFileSystem is wrapped...
4744 wxFileSystem::AddHandler(new wxZipFSHandler
);
4748 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4749 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);