2 * FILE : src/gtk/html.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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>
58 #include <wx/html/htmprint.h>
60 #include <wx/fs_zip.h>
61 #include <wx/fs_inet.h>
62 #include <wx/wfstream.h>
66 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyList_Check(target
)) {
76 target
= PyList_New(0);
77 PyList_Append(target
, o2
);
80 PyList_Append(target
,o
);
86 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
92 } else if (target
== Py_None
) {
96 if (!PyTuple_Check(target
)) {
98 target
= PyTuple_New(1);
99 PyTuple_SetItem(target
, 0, o2
);
102 PyTuple_SetItem(o3
, 0, o
);
105 target
= PySequence_Concat(o2
, o3
);
112 #if PYTHON_API_VERSION >= 1009
113 static char* wxStringErrorMsg
= "String or Unicode type required";
115 static char* wxStringErrorMsg
= "String type required";
118 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
119 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
121 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
123 wxHtmlParser
* GetParser() { return m_Parser
; }
124 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
126 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
127 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
132 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
134 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
135 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
137 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
138 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
140 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
142 wxHtmlWinParser
* GetParser() { return m_WParser
; }
143 void ParseInner(const wxHtmlTag
& tag
)
144 { wxHtmlWinTagHandler::ParseInner(tag
); }
146 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
147 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
152 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
154 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
155 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
158 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
160 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
161 m_tagHandlerClass
= thc
;
162 Py_INCREF(m_tagHandlerClass
);
163 RegisterModule(this);
164 wxHtmlWinParser::AddModule(this);
168 wxPyTState
* state
= wxPyBeginBlockThreads();
169 Py_DECREF(m_tagHandlerClass
);
170 m_tagHandlerClass
= NULL
;
171 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
172 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
175 wxPyEndBlockThreads(state
);
178 void FillHandlersTable(wxHtmlWinParser
*parser
) {
179 // Wave our magic wand... (if it works it's a miracle! ;-)
181 // First, make a new instance of the tag handler
182 wxPyTState
* state
= wxPyBeginBlockThreads();
183 PyObject
* arg
= Py_BuildValue("()");
184 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
186 wxPyEndBlockThreads(state
);
188 // now figure out where it's C++ object is...
189 wxPyHtmlWinTagHandler
* thPtr
;
190 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
194 parser
->AddTagHandler(thPtr
);
201 PyObject
* m_tagHandlerClass
;
202 wxArrayPtrVoid m_objArray
;
206 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
207 // Dynamically create a new wxModule. Refcounts tagHandlerClass
208 // and adds itself to the wxModules list and to the wxHtmlWinParser.
209 new wxPyHtmlTagsModule(tagHandlerClass
);
212 class wxPyHtmlWindow
: public wxHtmlWindow
{
213 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
215 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
216 const wxPoint
& pos
= wxDefaultPosition
,
217 const wxSize
& size
= wxDefaultSize
,
218 long style
= wxHW_SCROLLBAR_AUTO
,
219 const wxString
& name
= "htmlWindow")
220 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
222 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
223 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
225 DEC_PYCALLBACK__STRING(OnSetTitle
);
226 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
227 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
231 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
232 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
233 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
234 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
237 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
239 wxPyTState
* state
= wxPyBeginBlockThreads();
240 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
241 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
242 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
245 wxPyEndBlockThreads(state
);
247 wxHtmlWindow::OnLinkClicked(link
);
249 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
250 wxHtmlWindow::OnLinkClicked(link
);
254 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
255 wxHtmlWindow::AddFilter(filter
);
258 extern "C" SWIGEXPORT(void) inithtmlhelpc();
262 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
265 PyObject
* _obj0
= 0;
266 char *_kwnames
[] = { "tagHandlerClass", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
275 wxPy_BEGIN_ALLOW_THREADS
;
276 wxHtmlWinParser_AddTagHandler(_arg0
);
278 wxPy_END_ALLOW_THREADS
;
279 } Py_INCREF(Py_None
);
280 _resultobj
= Py_None
;
284 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
286 wxHtmlFilter
* _arg0
;
287 PyObject
* _argo0
= 0;
288 char *_kwnames
[] = { "filter", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
301 wxPy_BEGIN_ALLOW_THREADS
;
302 wxHtmlWindow_AddFilter(_arg0
);
304 wxPy_END_ALLOW_THREADS
;
305 } Py_INCREF(Py_None
);
306 _resultobj
= Py_None
;
310 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
313 src
= (wxHtmlLinkInfo
*) ptr
;
314 dest
= (wxObject
*) src
;
315 return (void *) dest
;
318 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
319 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
321 wxHtmlLinkInfo
* _result
;
323 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
324 PyObject
* _obj0
= 0;
325 PyObject
* _obj1
= 0;
326 char *_kwnames
[] = { "href","target", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
333 #if PYTHON_API_VERSION >= 1009
334 char* tmpPtr
; int tmpSize
;
335 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
336 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
339 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
341 _arg0
= new wxString(tmpPtr
, tmpSize
);
343 if (!PyString_Check(_obj0
)) {
344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
347 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
352 #if PYTHON_API_VERSION >= 1009
353 char* tmpPtr
; int tmpSize
;
354 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
358 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
360 _arg1
= new wxString(tmpPtr
, tmpSize
);
362 if (!PyString_Check(_obj1
)) {
363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
366 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
370 wxPy_BEGIN_ALLOW_THREADS
;
371 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
373 wxPy_END_ALLOW_THREADS
;
375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
376 _resultobj
= Py_BuildValue("s",_ptemp
);
379 _resultobj
= Py_None
;
392 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
393 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
394 PyObject
* _resultobj
;
396 wxHtmlLinkInfo
* _arg0
;
397 PyObject
* _argo0
= 0;
398 char *_kwnames
[] = { "self", NULL
};
401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
411 wxPy_BEGIN_ALLOW_THREADS
;
412 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
414 wxPy_END_ALLOW_THREADS
;
416 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
424 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
425 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
428 wxHtmlLinkInfo
* _arg0
;
429 PyObject
* _argo0
= 0;
430 char *_kwnames
[] = { "self", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
443 wxPy_BEGIN_ALLOW_THREADS
;
444 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
446 wxPy_END_ALLOW_THREADS
;
448 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
456 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
457 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
458 PyObject
* _resultobj
;
459 wxMouseEvent
* _result
;
460 wxHtmlLinkInfo
* _arg0
;
461 PyObject
* _argo0
= 0;
462 char *_kwnames
[] = { "self", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
475 wxPy_BEGIN_ALLOW_THREADS
;
476 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
478 wxPy_END_ALLOW_THREADS
;
479 }{ _resultobj
= wxPyMake_wxObject(_result
); }
483 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
484 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
486 wxHtmlCell
* _result
;
487 wxHtmlLinkInfo
* _arg0
;
488 PyObject
* _argo0
= 0;
489 char *_kwnames
[] = { "self", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
503 wxPy_BEGIN_ALLOW_THREADS
;
504 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
506 wxPy_END_ALLOW_THREADS
;
508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
509 _resultobj
= Py_BuildValue("s",_ptemp
);
512 _resultobj
= Py_None
;
517 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
518 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
520 wxHtmlLinkInfo
* _arg0
;
521 wxMouseEvent
* _arg1
;
522 PyObject
* _argo0
= 0;
523 PyObject
* _argo1
= 0;
524 char *_kwnames
[] = { "self","e", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
544 wxPy_BEGIN_ALLOW_THREADS
;
545 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
547 wxPy_END_ALLOW_THREADS
;
548 } Py_INCREF(Py_None
);
549 _resultobj
= Py_None
;
553 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
554 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxHtmlLinkInfo
* _arg0
;
558 PyObject
* _argo0
= 0;
559 PyObject
* _argo1
= 0;
560 char *_kwnames
[] = { "self","e", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
580 wxPy_BEGIN_ALLOW_THREADS
;
581 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
583 wxPy_END_ALLOW_THREADS
;
584 } Py_INCREF(Py_None
);
585 _resultobj
= Py_None
;
589 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
592 src
= (wxHtmlTag
*) ptr
;
593 dest
= (wxObject
*) src
;
594 return (void *) dest
;
597 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
598 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
616 wxPy_BEGIN_ALLOW_THREADS
;
617 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
619 wxPy_END_ALLOW_THREADS
;
621 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
629 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
630 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
635 PyObject
* _argo0
= 0;
636 PyObject
* _obj1
= 0;
637 char *_kwnames
[] = { "self","par", NULL
};
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
650 #if PYTHON_API_VERSION >= 1009
651 char* tmpPtr
; int tmpSize
;
652 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
656 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
658 _arg1
= new wxString(tmpPtr
, tmpSize
);
660 if (!PyString_Check(_obj1
)) {
661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
664 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
668 wxPy_BEGIN_ALLOW_THREADS
;
669 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
671 wxPy_END_ALLOW_THREADS
;
672 } _resultobj
= Py_BuildValue("i",_result
);
680 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
681 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 PyObject
* _resultobj
;
686 int _arg2
= (int ) FALSE
;
687 PyObject
* _argo0
= 0;
688 PyObject
* _obj1
= 0;
689 char *_kwnames
[] = { "self","par","with_commas", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
702 #if PYTHON_API_VERSION >= 1009
703 char* tmpPtr
; int tmpSize
;
704 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
708 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
710 _arg1
= new wxString(tmpPtr
, tmpSize
);
712 if (!PyString_Check(_obj1
)) {
713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
716 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
720 wxPy_BEGIN_ALLOW_THREADS
;
721 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
723 wxPy_END_ALLOW_THREADS
;
725 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
737 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
738 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 PyObject
* _resultobj
;
742 PyObject
* _argo0
= 0;
743 char *_kwnames
[] = { "self", NULL
};
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
756 wxPy_BEGIN_ALLOW_THREADS
;
757 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
759 wxPy_END_ALLOW_THREADS
;
761 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
769 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
770 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self", NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
788 wxPy_BEGIN_ALLOW_THREADS
;
789 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
791 wxPy_END_ALLOW_THREADS
;
792 } _resultobj
= Py_BuildValue("i",_result
);
796 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
797 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
798 PyObject
* _resultobj
;
801 PyObject
* _argo0
= 0;
802 char *_kwnames
[] = { "self", NULL
};
805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
815 wxPy_BEGIN_ALLOW_THREADS
;
816 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
818 wxPy_END_ALLOW_THREADS
;
819 } _resultobj
= Py_BuildValue("i",_result
);
823 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
824 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
825 PyObject
* _resultobj
;
828 PyObject
* _argo0
= 0;
829 char *_kwnames
[] = { "self", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
845 wxPy_END_ALLOW_THREADS
;
846 } _resultobj
= Py_BuildValue("i",_result
);
850 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
851 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 PyObject
* _resultobj
;
855 PyObject
* _argo0
= 0;
856 char *_kwnames
[] = { "self", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
869 wxPy_BEGIN_ALLOW_THREADS
;
870 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
872 wxPy_END_ALLOW_THREADS
;
873 } _resultobj
= Py_BuildValue("i",_result
);
877 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
880 src
= (wxHtmlParser
*) ptr
;
881 dest
= (wxObject
*) src
;
882 return (void *) dest
;
885 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
886 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
888 wxHtmlParser
* _arg0
;
889 wxFileSystem
* _arg1
;
890 PyObject
* _argo0
= 0;
891 PyObject
* _argo1
= 0;
892 char *_kwnames
[] = { "self","fs", NULL
};
895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
912 wxPy_BEGIN_ALLOW_THREADS
;
913 wxHtmlParser_SetFS(_arg0
,_arg1
);
915 wxPy_END_ALLOW_THREADS
;
916 } Py_INCREF(Py_None
);
917 _resultobj
= Py_None
;
921 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
922 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
924 wxFileSystem
* _result
;
925 wxHtmlParser
* _arg0
;
926 PyObject
* _argo0
= 0;
927 char *_kwnames
[] = { "self", NULL
};
930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
940 wxPy_BEGIN_ALLOW_THREADS
;
941 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
943 wxPy_END_ALLOW_THREADS
;
944 }{ _resultobj
= wxPyMake_wxObject(_result
); }
948 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
949 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
952 wxHtmlParser
* _arg0
;
954 PyObject
* _argo0
= 0;
955 PyObject
* _obj1
= 0;
956 char *_kwnames
[] = { "self","source", NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
969 #if PYTHON_API_VERSION >= 1009
970 char* tmpPtr
; int tmpSize
;
971 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
975 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
977 _arg1
= new wxString(tmpPtr
, tmpSize
);
979 if (!PyString_Check(_obj1
)) {
980 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
983 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
990 wxPy_END_ALLOW_THREADS
;
991 }{ _resultobj
= wxPyMake_wxObject(_result
); }
999 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1000 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1002 wxHtmlParser
* _arg0
;
1004 PyObject
* _argo0
= 0;
1005 PyObject
* _obj1
= 0;
1006 char *_kwnames
[] = { "self","source", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1019 #if PYTHON_API_VERSION >= 1009
1020 char* tmpPtr
; int tmpSize
;
1021 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1025 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1027 _arg1
= new wxString(tmpPtr
, tmpSize
);
1029 if (!PyString_Check(_obj1
)) {
1030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1033 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1040 wxPy_END_ALLOW_THREADS
;
1041 } Py_INCREF(Py_None
);
1042 _resultobj
= Py_None
;
1050 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1051 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1053 wxHtmlParser
* _arg0
;
1054 PyObject
* _argo0
= 0;
1055 char *_kwnames
[] = { "self", NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1068 wxPy_BEGIN_ALLOW_THREADS
;
1069 wxHtmlParser_DoneParser(_arg0
);
1071 wxPy_END_ALLOW_THREADS
;
1072 } Py_INCREF(Py_None
);
1073 _resultobj
= Py_None
;
1077 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1078 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1080 wxHtmlParser
* _arg0
;
1083 PyObject
* _argo0
= 0;
1084 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1100 wxPy_END_ALLOW_THREADS
;
1101 } Py_INCREF(Py_None
);
1102 _resultobj
= Py_None
;
1106 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1107 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1109 wxHtmlParser
* _arg0
;
1110 wxHtmlTagHandler
* _arg1
;
1111 PyObject
* _argo0
= 0;
1112 PyObject
* _argo1
= 0;
1113 char *_kwnames
[] = { "self","handler", NULL
};
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1136 wxPy_END_ALLOW_THREADS
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1143 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1146 wxHtmlParser
* _arg0
;
1147 PyObject
* _argo0
= 0;
1148 char *_kwnames
[] = { "self", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1161 wxPy_BEGIN_ALLOW_THREADS
;
1162 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1164 wxPy_END_ALLOW_THREADS
;
1166 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1171 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1172 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1174 wxHtmlParser
* _arg0
;
1175 wxHtmlTagHandler
* _arg1
;
1177 PyObject
* _argo0
= 0;
1178 PyObject
* _argo1
= 0;
1179 PyObject
* _obj2
= 0;
1180 char *_kwnames
[] = { "self","handler","tags", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1200 #if PYTHON_API_VERSION >= 1009
1201 char* tmpPtr
; int tmpSize
;
1202 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1206 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1208 _arg2
= new wxString(tmpPtr
, tmpSize
);
1210 if (!PyString_Check(_obj2
)) {
1211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1214 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1221 wxPy_END_ALLOW_THREADS
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1231 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1232 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1234 wxHtmlParser
* _arg0
;
1235 PyObject
* _argo0
= 0;
1236 char *_kwnames
[] = { "self", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 wxHtmlParser_PopTagHandler(_arg0
);
1252 wxPy_END_ALLOW_THREADS
;
1253 } Py_INCREF(Py_None
);
1254 _resultobj
= Py_None
;
1258 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1259 wxHtmlWinParser
*src
;
1261 src
= (wxHtmlWinParser
*) ptr
;
1262 dest
= (wxHtmlParser
*) src
;
1263 return (void *) dest
;
1266 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1267 wxHtmlWinParser
*src
;
1269 src
= (wxHtmlWinParser
*) ptr
;
1270 dest
= (wxObject
*) src
;
1271 return (void *) dest
;
1274 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1275 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1277 wxHtmlWinParser
* _result
;
1279 PyObject
* _argo0
= 0;
1280 char *_kwnames
[] = { "wnd", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1297 wxPy_END_ALLOW_THREADS
;
1299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1300 _resultobj
= Py_BuildValue("s",_ptemp
);
1303 _resultobj
= Py_None
;
1308 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1309 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1311 wxHtmlWinParser
* _arg0
;
1313 PyObject
* _argo0
= 0;
1314 PyObject
* _argo1
= 0;
1315 char *_kwnames
[] = { "self","dc", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1335 wxPy_BEGIN_ALLOW_THREADS
;
1336 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1338 wxPy_END_ALLOW_THREADS
;
1339 } Py_INCREF(Py_None
);
1340 _resultobj
= Py_None
;
1344 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1345 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1348 wxHtmlWinParser
* _arg0
;
1349 PyObject
* _argo0
= 0;
1350 char *_kwnames
[] = { "self", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1366 wxPy_END_ALLOW_THREADS
;
1367 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1371 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1372 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1375 wxHtmlWinParser
* _arg0
;
1376 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1390 wxPy_BEGIN_ALLOW_THREADS
;
1391 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1393 wxPy_END_ALLOW_THREADS
;
1394 } _resultobj
= Py_BuildValue("i",_result
);
1398 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1399 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1402 wxHtmlWinParser
* _arg0
;
1403 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1417 wxPy_BEGIN_ALLOW_THREADS
;
1418 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1420 wxPy_END_ALLOW_THREADS
;
1421 } _resultobj
= Py_BuildValue("i",_result
);
1425 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1426 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1429 wxHtmlWinParser
* _arg0
;
1430 PyObject
* _argo0
= 0;
1431 char *_kwnames
[] = { "self", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1447 wxPy_END_ALLOW_THREADS
;
1448 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1452 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1453 int* temp
= int_LIST_helper(sizes
);
1455 self
->SetFonts(normal_face
, fixed_face
, temp
);
1459 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1461 wxHtmlWinParser
* _arg0
;
1465 PyObject
* _argo0
= 0;
1466 PyObject
* _obj1
= 0;
1467 PyObject
* _obj2
= 0;
1468 PyObject
* _obj3
= 0;
1469 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1482 #if PYTHON_API_VERSION >= 1009
1483 char* tmpPtr
; int tmpSize
;
1484 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1488 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1490 _arg1
= new wxString(tmpPtr
, tmpSize
);
1492 if (!PyString_Check(_obj1
)) {
1493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1496 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1500 #if PYTHON_API_VERSION >= 1009
1501 char* tmpPtr
; int tmpSize
;
1502 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1503 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1506 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1508 _arg2
= new wxString(tmpPtr
, tmpSize
);
1510 if (!PyString_Check(_obj2
)) {
1511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1514 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1521 wxPy_BEGIN_ALLOW_THREADS
;
1522 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1524 wxPy_END_ALLOW_THREADS
;
1525 } Py_INCREF(Py_None
);
1526 _resultobj
= Py_None
;
1538 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1539 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1541 wxHtmlContainerCell
* _result
;
1542 wxHtmlWinParser
* _arg0
;
1543 PyObject
* _argo0
= 0;
1544 char *_kwnames
[] = { "self", NULL
};
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1558 wxPy_BEGIN_ALLOW_THREADS
;
1559 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1561 wxPy_END_ALLOW_THREADS
;
1563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1564 _resultobj
= Py_BuildValue("s",_ptemp
);
1567 _resultobj
= Py_None
;
1572 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1573 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1575 wxHtmlContainerCell
* _result
;
1576 wxHtmlWinParser
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1595 wxPy_END_ALLOW_THREADS
;
1597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1601 _resultobj
= Py_None
;
1606 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1607 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1609 wxHtmlContainerCell
* _result
;
1610 wxHtmlWinParser
* _arg0
;
1611 wxHtmlContainerCell
* _arg1
;
1612 PyObject
* _argo0
= 0;
1613 PyObject
* _argo1
= 0;
1614 char *_kwnames
[] = { "self","c", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1638 wxPy_END_ALLOW_THREADS
;
1640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1641 _resultobj
= Py_BuildValue("s",_ptemp
);
1644 _resultobj
= Py_None
;
1649 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1650 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1652 wxHtmlContainerCell
* _result
;
1653 wxHtmlWinParser
* _arg0
;
1654 PyObject
* _argo0
= 0;
1655 char *_kwnames
[] = { "self", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1669 wxPy_BEGIN_ALLOW_THREADS
;
1670 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1672 wxPy_END_ALLOW_THREADS
;
1674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1675 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 _resultobj
= Py_None
;
1683 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1684 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1687 wxHtmlWinParser
* _arg0
;
1688 PyObject
* _argo0
= 0;
1689 char *_kwnames
[] = { "self", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1705 wxPy_END_ALLOW_THREADS
;
1706 } _resultobj
= Py_BuildValue("i",_result
);
1710 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1711 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1713 wxHtmlWinParser
* _arg0
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self","s", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } Py_INCREF(Py_None
);
1734 _resultobj
= Py_None
;
1738 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1739 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1742 wxHtmlWinParser
* _arg0
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "self", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
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_GetFontBold. Expected _wxHtmlWinParser_p.");
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1760 wxPy_END_ALLOW_THREADS
;
1761 } _resultobj
= Py_BuildValue("i",_result
);
1765 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1766 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxHtmlWinParser
* _arg0
;
1770 PyObject
* _argo0
= 0;
1771 char *_kwnames
[] = { "self","x", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1784 wxPy_BEGIN_ALLOW_THREADS
;
1785 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1787 wxPy_END_ALLOW_THREADS
;
1788 } Py_INCREF(Py_None
);
1789 _resultobj
= Py_None
;
1793 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1794 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
* _resultobj
;
1797 wxHtmlWinParser
* _arg0
;
1798 PyObject
* _argo0
= 0;
1799 char *_kwnames
[] = { "self", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1812 wxPy_BEGIN_ALLOW_THREADS
;
1813 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1815 wxPy_END_ALLOW_THREADS
;
1816 } _resultobj
= Py_BuildValue("i",_result
);
1820 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1821 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1823 wxHtmlWinParser
* _arg0
;
1825 PyObject
* _argo0
= 0;
1826 char *_kwnames
[] = { "self","x", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1839 wxPy_BEGIN_ALLOW_THREADS
;
1840 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1842 wxPy_END_ALLOW_THREADS
;
1843 } Py_INCREF(Py_None
);
1844 _resultobj
= Py_None
;
1848 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1849 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1852 wxHtmlWinParser
* _arg0
;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1867 wxPy_BEGIN_ALLOW_THREADS
;
1868 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1870 wxPy_END_ALLOW_THREADS
;
1871 } _resultobj
= Py_BuildValue("i",_result
);
1875 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1876 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1878 wxHtmlWinParser
* _arg0
;
1880 PyObject
* _argo0
= 0;
1881 char *_kwnames
[] = { "self","x", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1894 wxPy_BEGIN_ALLOW_THREADS
;
1895 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1897 wxPy_END_ALLOW_THREADS
;
1898 } Py_INCREF(Py_None
);
1899 _resultobj
= Py_None
;
1903 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1904 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1907 wxHtmlWinParser
* _arg0
;
1908 PyObject
* _argo0
= 0;
1909 char *_kwnames
[] = { "self", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1922 wxPy_BEGIN_ALLOW_THREADS
;
1923 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1925 wxPy_END_ALLOW_THREADS
;
1926 } _resultobj
= Py_BuildValue("i",_result
);
1930 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1931 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1933 wxHtmlWinParser
* _arg0
;
1935 PyObject
* _argo0
= 0;
1936 char *_kwnames
[] = { "self","x", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1952 wxPy_END_ALLOW_THREADS
;
1953 } Py_INCREF(Py_None
);
1954 _resultobj
= Py_None
;
1958 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1959 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1962 wxHtmlWinParser
* _arg0
;
1963 PyObject
* _argo0
= 0;
1964 char *_kwnames
[] = { "self", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1977 wxPy_BEGIN_ALLOW_THREADS
;
1978 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1980 wxPy_END_ALLOW_THREADS
;
1981 } _resultobj
= Py_BuildValue("i",_result
);
1985 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1986 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1988 wxHtmlWinParser
* _arg0
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self","a", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2013 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2014 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2017 wxHtmlWinParser
* _arg0
;
2018 PyObject
* _argo0
= 0;
2019 char *_kwnames
[] = { "self", NULL
};
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2033 wxPy_BEGIN_ALLOW_THREADS
;
2034 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
2035 _result
= (wxColour
*) &_result_ref
;
2037 wxPy_END_ALLOW_THREADS
;
2039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2040 _resultobj
= Py_BuildValue("s",_ptemp
);
2043 _resultobj
= Py_None
;
2048 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2049 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2051 wxHtmlWinParser
* _arg0
;
2053 PyObject
* _argo0
= 0;
2055 PyObject
* _obj1
= 0;
2056 char *_kwnames
[] = { "self","clr", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2070 if (! wxColour_helper(_obj1
, &_arg1
))
2074 wxPy_BEGIN_ALLOW_THREADS
;
2075 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2077 wxPy_END_ALLOW_THREADS
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2083 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2084 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2087 wxHtmlWinParser
* _arg0
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
2105 _result
= (wxColour
*) &_result_ref
;
2107 wxPy_END_ALLOW_THREADS
;
2109 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2110 _resultobj
= Py_BuildValue("s",_ptemp
);
2113 _resultobj
= Py_None
;
2118 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2119 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
* _resultobj
;
2121 wxHtmlWinParser
* _arg0
;
2123 PyObject
* _argo0
= 0;
2125 PyObject
* _obj1
= 0;
2126 char *_kwnames
[] = { "self","clr", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2140 if (! wxColour_helper(_obj1
, &_arg1
))
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2154 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2156 wxHtmlWinParser
* _arg0
;
2158 PyObject
* _argo0
= 0;
2159 PyObject
* _obj1
= 0;
2160 char *_kwnames
[] = { "self","link", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2173 #if PYTHON_API_VERSION >= 1009
2174 char* tmpPtr
; int tmpSize
;
2175 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2176 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2179 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2181 _arg1
= new wxString(tmpPtr
, tmpSize
);
2183 if (!PyString_Check(_obj1
)) {
2184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2187 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2191 wxPy_BEGIN_ALLOW_THREADS
;
2192 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2194 wxPy_END_ALLOW_THREADS
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2204 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2205 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
* _resultobj
;
2208 wxHtmlWinParser
* _arg0
;
2209 PyObject
* _argo0
= 0;
2210 char *_kwnames
[] = { "self", NULL
};
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2227 wxPy_END_ALLOW_THREADS
;
2229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2230 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 _resultobj
= Py_None
;
2238 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2239 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2241 wxHtmlLinkInfo
* _result
;
2242 wxHtmlWinParser
* _arg0
;
2243 PyObject
* _argo0
= 0;
2244 char *_kwnames
[] = { "self", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2258 wxPy_BEGIN_ALLOW_THREADS
;
2259 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2261 wxPy_END_ALLOW_THREADS
;
2262 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2263 _resultobj
= Py_BuildValue("s",_ptemp
);
2267 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2268 wxPyHtmlTagHandler
*src
;
2270 src
= (wxPyHtmlTagHandler
*) ptr
;
2271 dest
= (wxObject
*) src
;
2272 return (void *) dest
;
2275 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2276 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2278 wxPyHtmlTagHandler
* _result
;
2279 char *_kwnames
[] = { NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2286 wxPy_BEGIN_ALLOW_THREADS
;
2287 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2289 wxPy_END_ALLOW_THREADS
;
2291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2292 _resultobj
= Py_BuildValue("s",_ptemp
);
2295 _resultobj
= Py_None
;
2300 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2301 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2303 wxPyHtmlTagHandler
* _arg0
;
2306 PyObject
* _argo0
= 0;
2307 PyObject
* _obj1
= 0;
2308 PyObject
* _obj2
= 0;
2309 char *_kwnames
[] = { "self","self","_class", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2328 wxPy_BEGIN_ALLOW_THREADS
;
2329 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2331 wxPy_END_ALLOW_THREADS
;
2332 } Py_INCREF(Py_None
);
2333 _resultobj
= Py_None
;
2337 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2338 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2340 wxPyHtmlTagHandler
* _arg0
;
2341 wxHtmlParser
* _arg1
;
2342 PyObject
* _argo0
= 0;
2343 PyObject
* _argo1
= 0;
2344 char *_kwnames
[] = { "self","parser", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2364 wxPy_BEGIN_ALLOW_THREADS
;
2365 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2367 wxPy_END_ALLOW_THREADS
;
2368 } Py_INCREF(Py_None
);
2369 _resultobj
= Py_None
;
2373 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2374 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2376 wxHtmlParser
* _result
;
2377 wxPyHtmlTagHandler
* _arg0
;
2378 PyObject
* _argo0
= 0;
2379 char *_kwnames
[] = { "self", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2393 wxPy_BEGIN_ALLOW_THREADS
;
2394 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2396 wxPy_END_ALLOW_THREADS
;
2398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2399 _resultobj
= Py_BuildValue("s",_ptemp
);
2402 _resultobj
= Py_None
;
2407 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2408 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2410 wxPyHtmlTagHandler
* _arg0
;
2412 PyObject
* _argo0
= 0;
2413 PyObject
* _argo1
= 0;
2414 char *_kwnames
[] = { "self","tag", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } Py_INCREF(Py_None
);
2439 _resultobj
= Py_None
;
2443 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2444 wxPyHtmlWinTagHandler
*src
;
2445 wxPyHtmlTagHandler
*dest
;
2446 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2447 dest
= (wxPyHtmlTagHandler
*) src
;
2448 return (void *) dest
;
2451 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2452 wxPyHtmlWinTagHandler
*src
;
2454 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2455 dest
= (wxObject
*) src
;
2456 return (void *) dest
;
2459 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2460 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2462 wxPyHtmlWinTagHandler
* _result
;
2463 char *_kwnames
[] = { NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2470 wxPy_BEGIN_ALLOW_THREADS
;
2471 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2473 wxPy_END_ALLOW_THREADS
;
2475 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2476 _resultobj
= Py_BuildValue("s",_ptemp
);
2479 _resultobj
= Py_None
;
2484 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2485 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2487 wxPyHtmlWinTagHandler
* _arg0
;
2490 PyObject
* _argo0
= 0;
2491 PyObject
* _obj1
= 0;
2492 PyObject
* _obj2
= 0;
2493 char *_kwnames
[] = { "self","self","_class", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2512 wxPy_BEGIN_ALLOW_THREADS
;
2513 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2515 wxPy_END_ALLOW_THREADS
;
2516 } Py_INCREF(Py_None
);
2517 _resultobj
= Py_None
;
2521 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2522 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2524 wxPyHtmlWinTagHandler
* _arg0
;
2525 wxHtmlParser
* _arg1
;
2526 PyObject
* _argo0
= 0;
2527 PyObject
* _argo1
= 0;
2528 char *_kwnames
[] = { "self","parser", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2548 wxPy_BEGIN_ALLOW_THREADS
;
2549 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2551 wxPy_END_ALLOW_THREADS
;
2552 } Py_INCREF(Py_None
);
2553 _resultobj
= Py_None
;
2557 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2558 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
* _resultobj
;
2560 wxHtmlWinParser
* _result
;
2561 wxPyHtmlWinTagHandler
* _arg0
;
2562 PyObject
* _argo0
= 0;
2563 char *_kwnames
[] = { "self", NULL
};
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2577 wxPy_BEGIN_ALLOW_THREADS
;
2578 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2580 wxPy_END_ALLOW_THREADS
;
2582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2583 _resultobj
= Py_BuildValue("s",_ptemp
);
2586 _resultobj
= Py_None
;
2591 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2592 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2594 wxPyHtmlWinTagHandler
* _arg0
;
2596 PyObject
* _argo0
= 0;
2597 PyObject
* _argo1
= 0;
2598 char *_kwnames
[] = { "self","tag", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2621 wxPy_END_ALLOW_THREADS
;
2622 } Py_INCREF(Py_None
);
2623 _resultobj
= Py_None
;
2627 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2630 src
= (wxHtmlCell
*) ptr
;
2631 dest
= (wxObject
*) src
;
2632 return (void *) dest
;
2635 #define new_wxHtmlCell() (new wxHtmlCell())
2636 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2638 wxHtmlCell
* _result
;
2639 char *_kwnames
[] = { NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2649 wxPy_END_ALLOW_THREADS
;
2651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2652 _resultobj
= Py_BuildValue("s",_ptemp
);
2655 _resultobj
= Py_None
;
2660 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2661 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2682 wxPy_END_ALLOW_THREADS
;
2683 } _resultobj
= Py_BuildValue("i",_result
);
2687 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2688 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2692 PyObject
* _argo0
= 0;
2693 char *_kwnames
[] = { "self", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2709 wxPy_END_ALLOW_THREADS
;
2710 } _resultobj
= Py_BuildValue("i",_result
);
2714 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2715 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2719 PyObject
* _argo0
= 0;
2720 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2736 wxPy_END_ALLOW_THREADS
;
2737 } _resultobj
= Py_BuildValue("i",_result
);
2741 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2742 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2763 wxPy_END_ALLOW_THREADS
;
2764 } _resultobj
= Py_BuildValue("i",_result
);
2768 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2769 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2787 wxPy_BEGIN_ALLOW_THREADS
;
2788 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2790 wxPy_END_ALLOW_THREADS
;
2791 } _resultobj
= Py_BuildValue("i",_result
);
2795 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2796 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2798 wxHtmlLinkInfo
* _result
;
2800 int _arg1
= (int ) 0;
2801 int _arg2
= (int ) 0;
2802 PyObject
* _argo0
= 0;
2803 char *_kwnames
[] = { "self","x","y", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2817 wxPy_BEGIN_ALLOW_THREADS
;
2818 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2820 wxPy_END_ALLOW_THREADS
;
2822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2823 _resultobj
= Py_BuildValue("s",_ptemp
);
2826 _resultobj
= Py_None
;
2831 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2832 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2834 wxHtmlCell
* _result
;
2836 PyObject
* _argo0
= 0;
2837 char *_kwnames
[] = { "self", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2854 wxPy_END_ALLOW_THREADS
;
2856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2857 _resultobj
= Py_BuildValue("s",_ptemp
);
2860 _resultobj
= Py_None
;
2865 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2866 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2868 wxHtmlContainerCell
* _result
;
2870 PyObject
* _argo0
= 0;
2871 char *_kwnames
[] = { "self", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2885 wxPy_BEGIN_ALLOW_THREADS
;
2886 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2888 wxPy_END_ALLOW_THREADS
;
2890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2891 _resultobj
= Py_BuildValue("s",_ptemp
);
2894 _resultobj
= Py_None
;
2899 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2900 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
* _resultobj
;
2903 wxHtmlLinkInfo
* _arg1
;
2904 PyObject
* _argo0
= 0;
2905 PyObject
* _argo1
= 0;
2906 char *_kwnames
[] = { "self","link", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2929 wxPy_END_ALLOW_THREADS
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2936 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2940 PyObject
* _argo0
= 0;
2941 PyObject
* _argo1
= 0;
2942 char *_kwnames
[] = { "self","cell", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2962 wxPy_BEGIN_ALLOW_THREADS
;
2963 wxHtmlCell_SetNext(_arg0
,_arg1
);
2965 wxPy_END_ALLOW_THREADS
;
2966 } Py_INCREF(Py_None
);
2967 _resultobj
= Py_None
;
2971 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2972 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2975 wxHtmlContainerCell
* _arg1
;
2976 PyObject
* _argo0
= 0;
2977 PyObject
* _argo1
= 0;
2978 char *_kwnames
[] = { "self","p", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
2998 wxPy_BEGIN_ALLOW_THREADS
;
2999 wxHtmlCell_SetParent(_arg0
,_arg1
);
3001 wxPy_END_ALLOW_THREADS
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3008 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self","x","y", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3030 wxPy_END_ALLOW_THREADS
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3036 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3037 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3041 PyObject
* _argo0
= 0;
3042 char *_kwnames
[] = { "self","w", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3055 wxPy_BEGIN_ALLOW_THREADS
;
3056 wxHtmlCell_Layout(_arg0
,_arg1
);
3058 wxPy_END_ALLOW_THREADS
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3065 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3073 PyObject
* _argo0
= 0;
3074 PyObject
* _argo1
= 0;
3075 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3088 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3098 wxPy_END_ALLOW_THREADS
;
3099 } Py_INCREF(Py_None
);
3100 _resultobj
= Py_None
;
3104 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3105 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3111 PyObject
* _argo0
= 0;
3112 PyObject
* _argo1
= 0;
3113 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3133 wxPy_BEGIN_ALLOW_THREADS
;
3134 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3136 wxPy_END_ALLOW_THREADS
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3143 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3145 wxHtmlCell
* _result
;
3149 PyObject
* _argo0
= 0;
3150 PyObject
* _argo2
= 0;
3151 char *_kwnames
[] = { "self","condition","param", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3165 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3172 wxPy_BEGIN_ALLOW_THREADS
;
3173 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3175 wxPy_END_ALLOW_THREADS
;
3177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3178 _resultobj
= Py_BuildValue("s",_ptemp
);
3181 _resultobj
= Py_None
;
3186 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3187 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3192 PyObject
* _argo0
= 0;
3193 PyObject
* _argo1
= 0;
3194 char *_kwnames
[] = { "self","pagebreak", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3207 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3217 wxPy_END_ALLOW_THREADS
;
3218 } _resultobj
= Py_BuildValue("i",_result
);
3222 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3223 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3227 PyObject
* _argo0
= 0;
3229 char *_kwnames
[] = { "self","can", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3241 _arg1
= (bool ) tempbool1
;
3243 wxPy_BEGIN_ALLOW_THREADS
;
3244 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3246 wxPy_END_ALLOW_THREADS
;
3247 } Py_INCREF(Py_None
);
3248 _resultobj
= Py_None
;
3252 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3253 wxHtmlWordCell
*src
;
3255 src
= (wxHtmlWordCell
*) ptr
;
3256 dest
= (wxHtmlCell
*) src
;
3257 return (void *) dest
;
3260 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3261 wxHtmlWordCell
*src
;
3263 src
= (wxHtmlWordCell
*) ptr
;
3264 dest
= (wxObject
*) src
;
3265 return (void *) dest
;
3268 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3269 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3271 wxHtmlWordCell
* _result
;
3274 PyObject
* _obj0
= 0;
3275 PyObject
* _argo1
= 0;
3276 char *_kwnames
[] = { "word","dc", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3283 #if PYTHON_API_VERSION >= 1009
3284 char* tmpPtr
; int tmpSize
;
3285 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3289 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3291 _arg0
= new wxString(tmpPtr
, tmpSize
);
3293 if (!PyString_Check(_obj0
)) {
3294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3297 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3308 wxPy_BEGIN_ALLOW_THREADS
;
3309 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3311 wxPy_END_ALLOW_THREADS
;
3313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3314 _resultobj
= Py_BuildValue("s",_ptemp
);
3317 _resultobj
= Py_None
;
3326 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3327 wxHtmlContainerCell
*src
;
3329 src
= (wxHtmlContainerCell
*) ptr
;
3330 dest
= (wxHtmlCell
*) src
;
3331 return (void *) dest
;
3334 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3335 wxHtmlContainerCell
*src
;
3337 src
= (wxHtmlContainerCell
*) ptr
;
3338 dest
= (wxObject
*) src
;
3339 return (void *) dest
;
3342 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3343 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3345 wxHtmlContainerCell
* _result
;
3346 wxHtmlContainerCell
* _arg0
;
3347 PyObject
* _argo0
= 0;
3348 char *_kwnames
[] = { "parent", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3362 wxPy_BEGIN_ALLOW_THREADS
;
3363 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3365 wxPy_END_ALLOW_THREADS
;
3367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3368 _resultobj
= Py_BuildValue("s",_ptemp
);
3371 _resultobj
= Py_None
;
3376 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3377 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3379 wxHtmlContainerCell
* _arg0
;
3381 PyObject
* _argo0
= 0;
3382 PyObject
* _argo1
= 0;
3383 char *_kwnames
[] = { "self","cell", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3403 wxPy_BEGIN_ALLOW_THREADS
;
3404 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3406 wxPy_END_ALLOW_THREADS
;
3407 } Py_INCREF(Py_None
);
3408 _resultobj
= Py_None
;
3412 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3413 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3415 wxHtmlContainerCell
* _arg0
;
3417 PyObject
* _argo0
= 0;
3418 char *_kwnames
[] = { "self","al", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3431 wxPy_BEGIN_ALLOW_THREADS
;
3432 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3434 wxPy_END_ALLOW_THREADS
;
3435 } Py_INCREF(Py_None
);
3436 _resultobj
= Py_None
;
3440 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3441 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3444 wxHtmlContainerCell
* _arg0
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3459 wxPy_BEGIN_ALLOW_THREADS
;
3460 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3462 wxPy_END_ALLOW_THREADS
;
3463 } _resultobj
= Py_BuildValue("i",_result
);
3467 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3468 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3470 wxHtmlContainerCell
* _arg0
;
3472 PyObject
* _argo0
= 0;
3473 char *_kwnames
[] = { "self","al", NULL
};
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3486 wxPy_BEGIN_ALLOW_THREADS
;
3487 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3489 wxPy_END_ALLOW_THREADS
;
3490 } Py_INCREF(Py_None
);
3491 _resultobj
= Py_None
;
3495 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3496 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3499 wxHtmlContainerCell
* _arg0
;
3500 PyObject
* _argo0
= 0;
3501 char *_kwnames
[] = { "self", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3514 wxPy_BEGIN_ALLOW_THREADS
;
3515 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3517 wxPy_END_ALLOW_THREADS
;
3518 } _resultobj
= Py_BuildValue("i",_result
);
3522 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3523 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3525 wxHtmlContainerCell
* _arg0
;
3528 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3529 PyObject
* _argo0
= 0;
3530 char *_kwnames
[] = { "self","i","what","units", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3546 wxPy_END_ALLOW_THREADS
;
3547 } Py_INCREF(Py_None
);
3548 _resultobj
= Py_None
;
3552 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3553 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3556 wxHtmlContainerCell
* _arg0
;
3558 PyObject
* _argo0
= 0;
3559 char *_kwnames
[] = { "self","ind", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3572 wxPy_BEGIN_ALLOW_THREADS
;
3573 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3575 wxPy_END_ALLOW_THREADS
;
3576 } _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3581 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3584 wxHtmlContainerCell
* _arg0
;
3586 PyObject
* _argo0
= 0;
3587 char *_kwnames
[] = { "self","ind", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3603 wxPy_END_ALLOW_THREADS
;
3604 } _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3609 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3611 wxHtmlContainerCell
* _arg0
;
3613 PyObject
* _argo0
= 0;
3614 PyObject
* _argo1
= 0;
3615 char *_kwnames
[] = { "self","tag", NULL
};
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3635 wxPy_BEGIN_ALLOW_THREADS
;
3636 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3638 wxPy_END_ALLOW_THREADS
;
3639 } Py_INCREF(Py_None
);
3640 _resultobj
= Py_None
;
3644 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3645 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
* _resultobj
;
3647 wxHtmlContainerCell
* _arg0
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self","w","units", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3664 wxPy_BEGIN_ALLOW_THREADS
;
3665 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3667 wxPy_END_ALLOW_THREADS
;
3668 } Py_INCREF(Py_None
);
3669 _resultobj
= Py_None
;
3673 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3674 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3676 wxHtmlContainerCell
* _arg0
;
3678 PyObject
* _argo0
= 0;
3679 PyObject
* _argo1
= 0;
3680 char *_kwnames
[] = { "self","tag", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3700 wxPy_BEGIN_ALLOW_THREADS
;
3701 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3703 wxPy_END_ALLOW_THREADS
;
3704 } Py_INCREF(Py_None
);
3705 _resultobj
= Py_None
;
3709 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3710 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
* _resultobj
;
3712 wxHtmlContainerCell
* _arg0
;
3714 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3715 PyObject
* _argo0
= 0;
3716 char *_kwnames
[] = { "self","h","align", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3729 wxPy_BEGIN_ALLOW_THREADS
;
3730 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3732 wxPy_END_ALLOW_THREADS
;
3733 } Py_INCREF(Py_None
);
3734 _resultobj
= Py_None
;
3738 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3739 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3741 wxHtmlContainerCell
* _arg0
;
3743 PyObject
* _argo0
= 0;
3745 PyObject
* _obj1
= 0;
3746 char *_kwnames
[] = { "self","clr", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3760 if (! wxColour_helper(_obj1
, &_arg1
))
3764 wxPy_BEGIN_ALLOW_THREADS
;
3765 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3767 wxPy_END_ALLOW_THREADS
;
3768 } Py_INCREF(Py_None
);
3769 _resultobj
= Py_None
;
3773 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3774 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3776 wxHtmlContainerCell
* _arg0
;
3779 PyObject
* _argo0
= 0;
3781 PyObject
* _obj1
= 0;
3783 PyObject
* _obj2
= 0;
3784 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3798 if (! wxColour_helper(_obj1
, &_arg1
))
3803 if (! wxColour_helper(_obj2
, &_arg2
))
3807 wxPy_BEGIN_ALLOW_THREADS
;
3808 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3810 wxPy_END_ALLOW_THREADS
;
3811 } Py_INCREF(Py_None
);
3812 _resultobj
= Py_None
;
3816 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3817 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3819 wxHtmlCell
* _result
;
3820 wxHtmlContainerCell
* _arg0
;
3821 PyObject
* _argo0
= 0;
3822 char *_kwnames
[] = { "self", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3839 wxPy_END_ALLOW_THREADS
;
3841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3842 _resultobj
= Py_BuildValue("s",_ptemp
);
3845 _resultobj
= Py_None
;
3850 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3851 wxHtmlColourCell
*src
;
3853 src
= (wxHtmlColourCell
*) ptr
;
3854 dest
= (wxHtmlCell
*) src
;
3855 return (void *) dest
;
3858 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3859 wxHtmlColourCell
*src
;
3861 src
= (wxHtmlColourCell
*) ptr
;
3862 dest
= (wxObject
*) src
;
3863 return (void *) dest
;
3866 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3867 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxHtmlColourCell
* _result
;
3871 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3873 PyObject
* _obj0
= 0;
3874 char *_kwnames
[] = { "clr","flags", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3882 if (! wxColour_helper(_obj0
, &_arg0
))
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3889 wxPy_END_ALLOW_THREADS
;
3891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3892 _resultobj
= Py_BuildValue("s",_ptemp
);
3895 _resultobj
= Py_None
;
3900 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3901 wxHtmlFontCell
*src
;
3903 src
= (wxHtmlFontCell
*) ptr
;
3904 dest
= (wxHtmlCell
*) src
;
3905 return (void *) dest
;
3908 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3909 wxHtmlFontCell
*src
;
3911 src
= (wxHtmlFontCell
*) ptr
;
3912 dest
= (wxObject
*) src
;
3913 return (void *) dest
;
3916 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3917 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3919 wxHtmlFontCell
* _result
;
3921 PyObject
* _argo0
= 0;
3922 char *_kwnames
[] = { "font", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3936 wxPy_BEGIN_ALLOW_THREADS
;
3937 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3939 wxPy_END_ALLOW_THREADS
;
3941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3942 _resultobj
= Py_BuildValue("s",_ptemp
);
3945 _resultobj
= Py_None
;
3950 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3951 wxHtmlWidgetCell
*src
;
3953 src
= (wxHtmlWidgetCell
*) ptr
;
3954 dest
= (wxHtmlCell
*) src
;
3955 return (void *) dest
;
3958 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3959 wxHtmlWidgetCell
*src
;
3961 src
= (wxHtmlWidgetCell
*) ptr
;
3962 dest
= (wxObject
*) src
;
3963 return (void *) dest
;
3966 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3967 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3969 wxHtmlWidgetCell
* _result
;
3971 int _arg1
= (int ) 0;
3972 PyObject
* _argo0
= 0;
3973 char *_kwnames
[] = { "wnd","w", NULL
};
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3987 wxPy_BEGIN_ALLOW_THREADS
;
3988 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3990 wxPy_END_ALLOW_THREADS
;
3992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3993 _resultobj
= Py_BuildValue("s",_ptemp
);
3996 _resultobj
= Py_None
;
4001 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4002 wxPyHtmlWindow
*src
;
4003 wxScrolledWindow
*dest
;
4004 src
= (wxPyHtmlWindow
*) ptr
;
4005 dest
= (wxScrolledWindow
*) src
;
4006 return (void *) dest
;
4009 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4010 wxPyHtmlWindow
*src
;
4012 src
= (wxPyHtmlWindow
*) ptr
;
4013 dest
= (wxPanel
*) src
;
4014 return (void *) dest
;
4017 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4018 wxPyHtmlWindow
*src
;
4020 src
= (wxPyHtmlWindow
*) ptr
;
4021 dest
= (wxWindow
*) src
;
4022 return (void *) dest
;
4025 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4026 wxPyHtmlWindow
*src
;
4028 src
= (wxPyHtmlWindow
*) ptr
;
4029 dest
= (wxEvtHandler
*) src
;
4030 return (void *) dest
;
4033 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4034 wxPyHtmlWindow
*src
;
4036 src
= (wxPyHtmlWindow
*) ptr
;
4037 dest
= (wxObject
*) src
;
4038 return (void *) dest
;
4041 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4042 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4044 wxPyHtmlWindow
* _result
;
4046 int _arg1
= (int ) -1;
4047 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4048 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4049 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4050 char * _arg5
= (char *) "htmlWindow";
4051 PyObject
* _argo0
= 0;
4053 PyObject
* _obj2
= 0;
4055 PyObject
* _obj3
= 0;
4056 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4072 if (! wxPoint_helper(_obj2
, &_arg2
))
4078 if (! wxSize_helper(_obj3
, &_arg3
))
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4085 wxPy_END_ALLOW_THREADS
;
4087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4088 _resultobj
= Py_BuildValue("s",_ptemp
);
4091 _resultobj
= Py_None
;
4096 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4097 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
* _resultobj
;
4099 wxPyHtmlWindow
* _arg0
;
4102 PyObject
* _argo0
= 0;
4103 PyObject
* _obj1
= 0;
4104 PyObject
* _obj2
= 0;
4105 char *_kwnames
[] = { "self","self","_class", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4124 wxPy_BEGIN_ALLOW_THREADS
;
4125 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4127 wxPy_END_ALLOW_THREADS
;
4128 } Py_INCREF(Py_None
);
4129 _resultobj
= Py_None
;
4133 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4134 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
* _resultobj
;
4137 wxPyHtmlWindow
* _arg0
;
4139 PyObject
* _argo0
= 0;
4140 PyObject
* _obj1
= 0;
4141 char *_kwnames
[] = { "self","source", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4154 #if PYTHON_API_VERSION >= 1009
4155 char* tmpPtr
; int tmpSize
;
4156 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4160 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4162 _arg1
= new wxString(tmpPtr
, tmpSize
);
4164 if (!PyString_Check(_obj1
)) {
4165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4168 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4172 wxPy_BEGIN_ALLOW_THREADS
;
4173 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4175 wxPy_END_ALLOW_THREADS
;
4176 } _resultobj
= Py_BuildValue("i",_result
);
4184 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4185 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
* _resultobj
;
4188 wxPyHtmlWindow
* _arg0
;
4190 PyObject
* _argo0
= 0;
4191 PyObject
* _obj1
= 0;
4192 char *_kwnames
[] = { "self","location", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4205 #if PYTHON_API_VERSION >= 1009
4206 char* tmpPtr
; int tmpSize
;
4207 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4211 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4213 _arg1
= new wxString(tmpPtr
, tmpSize
);
4215 if (!PyString_Check(_obj1
)) {
4216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4219 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4223 wxPy_BEGIN_ALLOW_THREADS
;
4224 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4226 wxPy_END_ALLOW_THREADS
;
4227 } _resultobj
= Py_BuildValue("i",_result
);
4235 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4236 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4239 wxPyHtmlWindow
* _arg0
;
4240 PyObject
* _argo0
= 0;
4241 char *_kwnames
[] = { "self", NULL
};
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4254 wxPy_BEGIN_ALLOW_THREADS
;
4255 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4257 wxPy_END_ALLOW_THREADS
;
4259 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4267 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4268 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4271 wxPyHtmlWindow
* _arg0
;
4272 PyObject
* _argo0
= 0;
4273 char *_kwnames
[] = { "self", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4286 wxPy_BEGIN_ALLOW_THREADS
;
4287 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4289 wxPy_END_ALLOW_THREADS
;
4291 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4299 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4300 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4303 wxPyHtmlWindow
* _arg0
;
4304 PyObject
* _argo0
= 0;
4305 char *_kwnames
[] = { "self", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4318 wxPy_BEGIN_ALLOW_THREADS
;
4319 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4321 wxPy_END_ALLOW_THREADS
;
4323 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4331 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4332 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
* _resultobj
;
4334 wxPyHtmlWindow
* _arg0
;
4337 PyObject
* _argo0
= 0;
4338 PyObject
* _argo1
= 0;
4339 char *_kwnames
[] = { "self","frame","format", NULL
};
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4362 wxPy_END_ALLOW_THREADS
;
4363 } Py_INCREF(Py_None
);
4364 _resultobj
= Py_None
;
4368 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4369 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4372 wxPyHtmlWindow
* _arg0
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4387 wxPy_BEGIN_ALLOW_THREADS
;
4388 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4390 wxPy_END_ALLOW_THREADS
;
4391 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4395 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4396 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4398 wxPyHtmlWindow
* _arg0
;
4400 PyObject
* _argo0
= 0;
4401 char *_kwnames
[] = { "self","bar", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4414 wxPy_BEGIN_ALLOW_THREADS
;
4415 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4417 wxPy_END_ALLOW_THREADS
;
4418 } Py_INCREF(Py_None
);
4419 _resultobj
= Py_None
;
4423 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4424 int* temp
= int_LIST_helper(sizes
);
4426 self
->SetFonts(normal_face
, fixed_face
, temp
);
4430 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4432 wxPyHtmlWindow
* _arg0
;
4436 PyObject
* _argo0
= 0;
4437 PyObject
* _obj1
= 0;
4438 PyObject
* _obj2
= 0;
4439 PyObject
* _obj3
= 0;
4440 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4453 #if PYTHON_API_VERSION >= 1009
4454 char* tmpPtr
; int tmpSize
;
4455 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4459 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4461 _arg1
= new wxString(tmpPtr
, tmpSize
);
4463 if (!PyString_Check(_obj1
)) {
4464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4467 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4471 #if PYTHON_API_VERSION >= 1009
4472 char* tmpPtr
; int tmpSize
;
4473 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4477 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4479 _arg2
= new wxString(tmpPtr
, tmpSize
);
4481 if (!PyString_Check(_obj2
)) {
4482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4485 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4492 wxPy_BEGIN_ALLOW_THREADS
;
4493 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4495 wxPy_END_ALLOW_THREADS
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4509 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4510 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
* _resultobj
;
4512 wxPyHtmlWindow
* _arg0
;
4514 PyObject
* _argo0
= 0;
4515 PyObject
* _obj1
= 0;
4516 char *_kwnames
[] = { "self","title", NULL
};
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4529 #if PYTHON_API_VERSION >= 1009
4530 char* tmpPtr
; int tmpSize
;
4531 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4535 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4537 _arg1
= new wxString(tmpPtr
, tmpSize
);
4539 if (!PyString_Check(_obj1
)) {
4540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4543 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4547 wxPy_BEGIN_ALLOW_THREADS
;
4548 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4550 wxPy_END_ALLOW_THREADS
;
4551 } Py_INCREF(Py_None
);
4552 _resultobj
= Py_None
;
4560 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4561 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
* _resultobj
;
4563 wxPyHtmlWindow
* _arg0
;
4565 PyObject
* _argo0
= 0;
4566 char *_kwnames
[] = { "self","b", NULL
};
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4579 wxPy_BEGIN_ALLOW_THREADS
;
4580 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4582 wxPy_END_ALLOW_THREADS
;
4583 } Py_INCREF(Py_None
);
4584 _resultobj
= Py_None
;
4588 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4589 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4591 wxPyHtmlWindow
* _arg0
;
4592 wxConfigBase
* _arg1
;
4593 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4594 PyObject
* _argo0
= 0;
4595 PyObject
* _argo1
= 0;
4596 PyObject
* _obj2
= 0;
4597 char *_kwnames
[] = { "self","cfg","path", NULL
};
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4618 #if PYTHON_API_VERSION >= 1009
4619 char* tmpPtr
; int tmpSize
;
4620 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4624 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4626 _arg2
= new wxString(tmpPtr
, tmpSize
);
4628 if (!PyString_Check(_obj2
)) {
4629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4632 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4636 wxPy_BEGIN_ALLOW_THREADS
;
4637 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4639 wxPy_END_ALLOW_THREADS
;
4640 } Py_INCREF(Py_None
);
4641 _resultobj
= Py_None
;
4649 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4650 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4652 wxPyHtmlWindow
* _arg0
;
4653 wxConfigBase
* _arg1
;
4654 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4655 PyObject
* _argo0
= 0;
4656 PyObject
* _argo1
= 0;
4657 PyObject
* _obj2
= 0;
4658 char *_kwnames
[] = { "self","cfg","path", NULL
};
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4679 #if PYTHON_API_VERSION >= 1009
4680 char* tmpPtr
; int tmpSize
;
4681 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4682 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4685 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4687 _arg2
= new wxString(tmpPtr
, tmpSize
);
4689 if (!PyString_Check(_obj2
)) {
4690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4693 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4697 wxPy_BEGIN_ALLOW_THREADS
;
4698 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4700 wxPy_END_ALLOW_THREADS
;
4701 } Py_INCREF(Py_None
);
4702 _resultobj
= Py_None
;
4710 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4711 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4714 wxPyHtmlWindow
* _arg0
;
4715 PyObject
* _argo0
= 0;
4716 char *_kwnames
[] = { "self", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4729 wxPy_BEGIN_ALLOW_THREADS
;
4730 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4732 wxPy_END_ALLOW_THREADS
;
4733 } _resultobj
= Py_BuildValue("i",_result
);
4737 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4738 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
* _resultobj
;
4741 wxPyHtmlWindow
* _arg0
;
4742 PyObject
* _argo0
= 0;
4743 char *_kwnames
[] = { "self", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4756 wxPy_BEGIN_ALLOW_THREADS
;
4757 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4759 wxPy_END_ALLOW_THREADS
;
4760 } _resultobj
= Py_BuildValue("i",_result
);
4764 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4765 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4768 wxPyHtmlWindow
* _arg0
;
4769 PyObject
* _argo0
= 0;
4770 char *_kwnames
[] = { "self", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4783 wxPy_BEGIN_ALLOW_THREADS
;
4784 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4786 wxPy_END_ALLOW_THREADS
;
4787 } _resultobj
= Py_BuildValue("i",_result
);
4791 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4792 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4795 wxPyHtmlWindow
* _arg0
;
4796 PyObject
* _argo0
= 0;
4797 char *_kwnames
[] = { "self", NULL
};
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4810 wxPy_BEGIN_ALLOW_THREADS
;
4811 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4813 wxPy_END_ALLOW_THREADS
;
4814 } _resultobj
= Py_BuildValue("i",_result
);
4818 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4819 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
* _resultobj
;
4821 wxPyHtmlWindow
* _arg0
;
4822 PyObject
* _argo0
= 0;
4823 char *_kwnames
[] = { "self", NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4836 wxPy_BEGIN_ALLOW_THREADS
;
4837 wxHtmlWindow_HistoryClear(_arg0
);
4839 wxPy_END_ALLOW_THREADS
;
4840 } Py_INCREF(Py_None
);
4841 _resultobj
= Py_None
;
4845 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4846 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4848 wxHtmlContainerCell
* _result
;
4849 wxPyHtmlWindow
* _arg0
;
4850 PyObject
* _argo0
= 0;
4851 char *_kwnames
[] = { "self", NULL
};
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4865 wxPy_BEGIN_ALLOW_THREADS
;
4866 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4868 wxPy_END_ALLOW_THREADS
;
4870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4871 _resultobj
= Py_BuildValue("s",_ptemp
);
4874 _resultobj
= Py_None
;
4879 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4880 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4882 wxHtmlWinParser
* _result
;
4883 wxPyHtmlWindow
* _arg0
;
4884 PyObject
* _argo0
= 0;
4885 char *_kwnames
[] = { "self", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4899 wxPy_BEGIN_ALLOW_THREADS
;
4900 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4902 wxPy_END_ALLOW_THREADS
;
4904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4905 _resultobj
= Py_BuildValue("s",_ptemp
);
4908 _resultobj
= Py_None
;
4913 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4914 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4916 wxPyHtmlWindow
* _arg0
;
4917 wxHtmlLinkInfo
* _arg1
;
4918 PyObject
* _argo0
= 0;
4919 PyObject
* _argo1
= 0;
4920 char *_kwnames
[] = { "self","link", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4933 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
4940 wxPy_BEGIN_ALLOW_THREADS
;
4941 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
4943 wxPy_END_ALLOW_THREADS
;
4944 } Py_INCREF(Py_None
);
4945 _resultobj
= Py_None
;
4949 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
4950 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4952 wxPyHtmlWindow
* _arg0
;
4954 PyObject
* _argo0
= 0;
4955 char *_kwnames
[] = { "self","title", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
4971 wxPy_END_ALLOW_THREADS
;
4972 } Py_INCREF(Py_None
);
4973 _resultobj
= Py_None
;
4977 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
4978 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4980 wxPyHtmlWindow
* _arg0
;
4984 PyObject
* _argo0
= 0;
4985 PyObject
* _argo1
= 0;
4986 char *_kwnames
[] = { "self","cell","x","y", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
4999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5006 wxPy_BEGIN_ALLOW_THREADS
;
5007 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5009 wxPy_END_ALLOW_THREADS
;
5010 } Py_INCREF(Py_None
);
5011 _resultobj
= Py_None
;
5015 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5016 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5018 wxPyHtmlWindow
* _arg0
;
5022 wxMouseEvent
* _arg4
;
5023 PyObject
* _argo0
= 0;
5024 PyObject
* _argo1
= 0;
5025 PyObject
* _argo4
= 0;
5026 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5046 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5053 wxPy_BEGIN_ALLOW_THREADS
;
5054 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5056 wxPy_END_ALLOW_THREADS
;
5057 } Py_INCREF(Py_None
);
5058 _resultobj
= Py_None
;
5062 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5063 wxHtmlDCRenderer
*src
;
5065 src
= (wxHtmlDCRenderer
*) ptr
;
5066 dest
= (wxObject
*) src
;
5067 return (void *) dest
;
5070 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5071 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
* _resultobj
;
5073 wxHtmlDCRenderer
* _result
;
5074 char *_kwnames
[] = { NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5081 wxPy_BEGIN_ALLOW_THREADS
;
5082 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5084 wxPy_END_ALLOW_THREADS
;
5086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5087 _resultobj
= Py_BuildValue("s",_ptemp
);
5090 _resultobj
= Py_None
;
5095 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5096 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5098 wxHtmlDCRenderer
* _arg0
;
5099 PyObject
* _argo0
= 0;
5100 char *_kwnames
[] = { "self", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5113 wxPy_BEGIN_ALLOW_THREADS
;
5114 delete_wxHtmlDCRenderer(_arg0
);
5116 wxPy_END_ALLOW_THREADS
;
5117 } Py_INCREF(Py_None
);
5118 _resultobj
= Py_None
;
5122 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5123 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5125 wxHtmlDCRenderer
* _arg0
;
5128 PyObject
* _argo0
= 0;
5129 PyObject
* _argo1
= 0;
5130 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5150 wxPy_BEGIN_ALLOW_THREADS
;
5151 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5153 wxPy_END_ALLOW_THREADS
;
5154 } Py_INCREF(Py_None
);
5155 _resultobj
= Py_None
;
5159 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5160 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5162 wxHtmlDCRenderer
* _arg0
;
5165 PyObject
* _argo0
= 0;
5166 char *_kwnames
[] = { "self","width","height", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5182 wxPy_END_ALLOW_THREADS
;
5183 } Py_INCREF(Py_None
);
5184 _resultobj
= Py_None
;
5188 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5189 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5191 wxHtmlDCRenderer
* _arg0
;
5193 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5194 bool _arg3
= (bool ) TRUE
;
5195 PyObject
* _argo0
= 0;
5196 PyObject
* _obj1
= 0;
5197 PyObject
* _obj2
= 0;
5198 int tempbool3
= (int) TRUE
;
5199 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5212 #if PYTHON_API_VERSION >= 1009
5213 char* tmpPtr
; int tmpSize
;
5214 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5218 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5220 _arg1
= new wxString(tmpPtr
, tmpSize
);
5222 if (!PyString_Check(_obj1
)) {
5223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5226 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5231 #if PYTHON_API_VERSION >= 1009
5232 char* tmpPtr
; int tmpSize
;
5233 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5237 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5239 _arg2
= new wxString(tmpPtr
, tmpSize
);
5241 if (!PyString_Check(_obj2
)) {
5242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5245 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5248 _arg3
= (bool ) tempbool3
;
5250 wxPy_BEGIN_ALLOW_THREADS
;
5251 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5253 wxPy_END_ALLOW_THREADS
;
5254 } Py_INCREF(Py_None
);
5255 _resultobj
= Py_None
;
5267 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5268 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
* _resultobj
;
5271 wxHtmlDCRenderer
* _arg0
;
5274 int _arg3
= (int ) 0;
5275 int _arg4
= (int ) FALSE
;
5276 PyObject
* _argo0
= 0;
5277 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5293 wxPy_END_ALLOW_THREADS
;
5294 } _resultobj
= Py_BuildValue("i",_result
);
5298 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5299 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
* _resultobj
;
5302 wxHtmlDCRenderer
* _arg0
;
5303 PyObject
* _argo0
= 0;
5304 char *_kwnames
[] = { "self", NULL
};
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5317 wxPy_BEGIN_ALLOW_THREADS
;
5318 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5320 wxPy_END_ALLOW_THREADS
;
5321 } _resultobj
= Py_BuildValue("i",_result
);
5325 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5326 wxHtmlPrintout
*src
;
5328 src
= (wxHtmlPrintout
*) ptr
;
5329 dest
= (wxPyPrintout
*) src
;
5330 return (void *) dest
;
5333 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5334 wxHtmlPrintout
*src
;
5336 src
= (wxHtmlPrintout
*) ptr
;
5337 dest
= (wxObject
*) src
;
5338 return (void *) dest
;
5341 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5342 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5344 wxHtmlPrintout
* _result
;
5345 char * _arg0
= (char *) "Printout";
5346 char *_kwnames
[] = { "title", NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5356 wxPy_END_ALLOW_THREADS
;
5358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5359 _resultobj
= Py_BuildValue("s",_ptemp
);
5362 _resultobj
= Py_None
;
5367 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5368 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5370 wxHtmlPrintout
* _arg0
;
5372 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5373 bool _arg3
= (bool ) TRUE
;
5374 PyObject
* _argo0
= 0;
5375 PyObject
* _obj1
= 0;
5376 PyObject
* _obj2
= 0;
5377 int tempbool3
= (int) TRUE
;
5378 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5391 #if PYTHON_API_VERSION >= 1009
5392 char* tmpPtr
; int tmpSize
;
5393 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5397 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5399 _arg1
= new wxString(tmpPtr
, tmpSize
);
5401 if (!PyString_Check(_obj1
)) {
5402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5405 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5410 #if PYTHON_API_VERSION >= 1009
5411 char* tmpPtr
; int tmpSize
;
5412 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5416 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5418 _arg2
= new wxString(tmpPtr
, tmpSize
);
5420 if (!PyString_Check(_obj2
)) {
5421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5424 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5427 _arg3
= (bool ) tempbool3
;
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5432 wxPy_END_ALLOW_THREADS
;
5433 } Py_INCREF(Py_None
);
5434 _resultobj
= Py_None
;
5446 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5447 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
* _resultobj
;
5449 wxHtmlPrintout
* _arg0
;
5451 PyObject
* _argo0
= 0;
5452 PyObject
* _obj1
= 0;
5453 char *_kwnames
[] = { "self","htmlfile", NULL
};
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5466 #if PYTHON_API_VERSION >= 1009
5467 char* tmpPtr
; int tmpSize
;
5468 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5472 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5474 _arg1
= new wxString(tmpPtr
, tmpSize
);
5476 if (!PyString_Check(_obj1
)) {
5477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5480 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5484 wxPy_BEGIN_ALLOW_THREADS
;
5485 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5487 wxPy_END_ALLOW_THREADS
;
5488 } Py_INCREF(Py_None
);
5489 _resultobj
= Py_None
;
5497 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5498 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
* _resultobj
;
5500 wxHtmlPrintout
* _arg0
;
5502 int _arg2
= (int ) (wxPAGE_ALL
);
5503 PyObject
* _argo0
= 0;
5504 PyObject
* _obj1
= 0;
5505 char *_kwnames
[] = { "self","header","pg", NULL
};
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5518 #if PYTHON_API_VERSION >= 1009
5519 char* tmpPtr
; int tmpSize
;
5520 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5521 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5524 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5526 _arg1
= new wxString(tmpPtr
, tmpSize
);
5528 if (!PyString_Check(_obj1
)) {
5529 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5532 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5536 wxPy_BEGIN_ALLOW_THREADS
;
5537 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5539 wxPy_END_ALLOW_THREADS
;
5540 } Py_INCREF(Py_None
);
5541 _resultobj
= Py_None
;
5549 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5550 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5552 wxHtmlPrintout
* _arg0
;
5554 int _arg2
= (int ) (wxPAGE_ALL
);
5555 PyObject
* _argo0
= 0;
5556 PyObject
* _obj1
= 0;
5557 char *_kwnames
[] = { "self","footer","pg", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5570 #if PYTHON_API_VERSION >= 1009
5571 char* tmpPtr
; int tmpSize
;
5572 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5573 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5576 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5578 _arg1
= new wxString(tmpPtr
, tmpSize
);
5580 if (!PyString_Check(_obj1
)) {
5581 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5584 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5588 wxPy_BEGIN_ALLOW_THREADS
;
5589 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5591 wxPy_END_ALLOW_THREADS
;
5592 } Py_INCREF(Py_None
);
5593 _resultobj
= Py_None
;
5601 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5602 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5604 wxHtmlPrintout
* _arg0
;
5605 float _arg1
= (float ) 25.2;
5606 float _arg2
= (float ) 25.2;
5607 float _arg3
= (float ) 25.2;
5608 float _arg4
= (float ) 25.2;
5609 float _arg5
= (float ) 5;
5610 PyObject
* _argo0
= 0;
5611 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5624 wxPy_BEGIN_ALLOW_THREADS
;
5625 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5627 wxPy_END_ALLOW_THREADS
;
5628 } Py_INCREF(Py_None
);
5629 _resultobj
= Py_None
;
5633 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5634 wxHtmlEasyPrinting
*src
;
5636 src
= (wxHtmlEasyPrinting
*) ptr
;
5637 dest
= (wxObject
*) src
;
5638 return (void *) dest
;
5641 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5642 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5644 wxHtmlEasyPrinting
* _result
;
5645 char * _arg0
= (char *) "Printing";
5646 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5647 PyObject
* _argo1
= 0;
5648 char *_kwnames
[] = { "name","parent_frame", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5662 wxPy_BEGIN_ALLOW_THREADS
;
5663 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5665 wxPy_END_ALLOW_THREADS
;
5667 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5668 _resultobj
= Py_BuildValue("s",_ptemp
);
5671 _resultobj
= Py_None
;
5676 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5677 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
* _resultobj
;
5679 wxHtmlEasyPrinting
* _arg0
;
5680 PyObject
* _argo0
= 0;
5681 char *_kwnames
[] = { "self", NULL
};
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5694 wxPy_BEGIN_ALLOW_THREADS
;
5695 delete_wxHtmlEasyPrinting(_arg0
);
5697 wxPy_END_ALLOW_THREADS
;
5698 } Py_INCREF(Py_None
);
5699 _resultobj
= Py_None
;
5703 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5704 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
* _resultobj
;
5706 wxHtmlEasyPrinting
* _arg0
;
5708 PyObject
* _argo0
= 0;
5709 PyObject
* _obj1
= 0;
5710 char *_kwnames
[] = { "self","htmlfile", NULL
};
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5723 #if PYTHON_API_VERSION >= 1009
5724 char* tmpPtr
; int tmpSize
;
5725 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5729 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5731 _arg1
= new wxString(tmpPtr
, tmpSize
);
5733 if (!PyString_Check(_obj1
)) {
5734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5737 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5741 wxPy_BEGIN_ALLOW_THREADS
;
5742 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5744 wxPy_END_ALLOW_THREADS
;
5745 } Py_INCREF(Py_None
);
5746 _resultobj
= Py_None
;
5754 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5755 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
* _resultobj
;
5757 wxHtmlEasyPrinting
* _arg0
;
5759 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5760 PyObject
* _argo0
= 0;
5761 PyObject
* _obj1
= 0;
5762 PyObject
* _obj2
= 0;
5763 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5776 #if PYTHON_API_VERSION >= 1009
5777 char* tmpPtr
; int tmpSize
;
5778 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5782 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5784 _arg1
= new wxString(tmpPtr
, tmpSize
);
5786 if (!PyString_Check(_obj1
)) {
5787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5790 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5795 #if PYTHON_API_VERSION >= 1009
5796 char* tmpPtr
; int tmpSize
;
5797 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5801 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5803 _arg2
= new wxString(tmpPtr
, tmpSize
);
5805 if (!PyString_Check(_obj2
)) {
5806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5809 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5813 wxPy_BEGIN_ALLOW_THREADS
;
5814 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5816 wxPy_END_ALLOW_THREADS
;
5817 } Py_INCREF(Py_None
);
5818 _resultobj
= Py_None
;
5830 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5831 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5833 wxHtmlEasyPrinting
* _arg0
;
5835 PyObject
* _argo0
= 0;
5836 PyObject
* _obj1
= 0;
5837 char *_kwnames
[] = { "self","htmlfile", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5850 #if PYTHON_API_VERSION >= 1009
5851 char* tmpPtr
; int tmpSize
;
5852 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5856 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5858 _arg1
= new wxString(tmpPtr
, tmpSize
);
5860 if (!PyString_Check(_obj1
)) {
5861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5864 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5868 wxPy_BEGIN_ALLOW_THREADS
;
5869 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5871 wxPy_END_ALLOW_THREADS
;
5872 } Py_INCREF(Py_None
);
5873 _resultobj
= Py_None
;
5881 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5882 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
* _resultobj
;
5884 wxHtmlEasyPrinting
* _arg0
;
5886 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5887 PyObject
* _argo0
= 0;
5888 PyObject
* _obj1
= 0;
5889 PyObject
* _obj2
= 0;
5890 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5903 #if PYTHON_API_VERSION >= 1009
5904 char* tmpPtr
; int tmpSize
;
5905 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5909 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5911 _arg1
= new wxString(tmpPtr
, tmpSize
);
5913 if (!PyString_Check(_obj1
)) {
5914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5917 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5922 #if PYTHON_API_VERSION >= 1009
5923 char* tmpPtr
; int tmpSize
;
5924 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5928 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5930 _arg2
= new wxString(tmpPtr
, tmpSize
);
5932 if (!PyString_Check(_obj2
)) {
5933 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5936 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5940 wxPy_BEGIN_ALLOW_THREADS
;
5941 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
5943 wxPy_END_ALLOW_THREADS
;
5944 } Py_INCREF(Py_None
);
5945 _resultobj
= Py_None
;
5957 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5958 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
* _resultobj
;
5960 wxHtmlEasyPrinting
* _arg0
;
5961 PyObject
* _argo0
= 0;
5962 char *_kwnames
[] = { "self", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
5975 wxPy_BEGIN_ALLOW_THREADS
;
5976 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
5978 wxPy_END_ALLOW_THREADS
;
5979 } Py_INCREF(Py_None
);
5980 _resultobj
= Py_None
;
5984 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
5985 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxHtmlEasyPrinting
* _arg0
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 wxHtmlEasyPrinting_PageSetup(_arg0
);
6005 wxPy_END_ALLOW_THREADS
;
6006 } Py_INCREF(Py_None
);
6007 _resultobj
= Py_None
;
6011 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6012 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
* _resultobj
;
6014 wxHtmlEasyPrinting
* _arg0
;
6016 int _arg2
= (int ) (wxPAGE_ALL
);
6017 PyObject
* _argo0
= 0;
6018 PyObject
* _obj1
= 0;
6019 char *_kwnames
[] = { "self","header","pg", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6032 #if PYTHON_API_VERSION >= 1009
6033 char* tmpPtr
; int tmpSize
;
6034 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6038 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6040 _arg1
= new wxString(tmpPtr
, tmpSize
);
6042 if (!PyString_Check(_obj1
)) {
6043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6046 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6050 wxPy_BEGIN_ALLOW_THREADS
;
6051 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6053 wxPy_END_ALLOW_THREADS
;
6054 } Py_INCREF(Py_None
);
6055 _resultobj
= Py_None
;
6063 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6064 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6066 wxHtmlEasyPrinting
* _arg0
;
6068 int _arg2
= (int ) (wxPAGE_ALL
);
6069 PyObject
* _argo0
= 0;
6070 PyObject
* _obj1
= 0;
6071 char *_kwnames
[] = { "self","footer","pg", NULL
};
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6084 #if PYTHON_API_VERSION >= 1009
6085 char* tmpPtr
; int tmpSize
;
6086 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6090 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6092 _arg1
= new wxString(tmpPtr
, tmpSize
);
6094 if (!PyString_Check(_obj1
)) {
6095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6098 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6102 wxPy_BEGIN_ALLOW_THREADS
;
6103 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6105 wxPy_END_ALLOW_THREADS
;
6106 } Py_INCREF(Py_None
);
6107 _resultobj
= Py_None
;
6115 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6116 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
* _resultobj
;
6118 wxPrintData
* _result
;
6119 wxHtmlEasyPrinting
* _arg0
;
6120 PyObject
* _argo0
= 0;
6121 char *_kwnames
[] = { "self", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6135 wxPy_BEGIN_ALLOW_THREADS
;
6136 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6138 wxPy_END_ALLOW_THREADS
;
6140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6141 _resultobj
= Py_BuildValue("s",_ptemp
);
6144 _resultobj
= Py_None
;
6149 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6150 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
* _resultobj
;
6152 wxPageSetupDialogData
* _result
;
6153 wxHtmlEasyPrinting
* _arg0
;
6154 PyObject
* _argo0
= 0;
6155 char *_kwnames
[] = { "self", NULL
};
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6169 wxPy_BEGIN_ALLOW_THREADS
;
6170 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6172 wxPy_END_ALLOW_THREADS
;
6174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6175 _resultobj
= Py_BuildValue("s",_ptemp
);
6178 _resultobj
= Py_None
;
6183 static PyMethodDef htmlcMethods
[] = {
6184 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6257 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6258 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6259 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6260 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6261 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6262 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6263 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6264 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6265 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6266 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6267 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6268 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6269 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6270 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6271 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6272 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6273 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6274 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6275 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6276 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6277 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6278 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6279 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6280 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6281 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6282 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6283 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6284 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6285 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6286 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6287 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6288 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6289 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6290 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6291 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6292 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6293 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6294 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6295 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6296 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6297 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6298 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6299 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6300 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6301 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6302 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6303 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6304 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6305 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6306 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6307 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6308 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6309 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6310 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6311 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6312 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6313 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6314 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6315 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6316 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6317 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6318 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6319 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6320 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6321 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6322 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6323 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6324 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6325 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6326 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6327 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6328 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6329 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6330 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6331 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6332 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6333 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6334 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6335 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6336 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6337 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6338 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6339 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6340 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6347 * This table is used by the pointer type-checker
6349 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6350 { "_class_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6351 { "_class_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6352 { "_signed_long","_long",0},
6353 { "_wxPrintQuality","_wxCoord",0},
6354 { "_wxPrintQuality","_int",0},
6355 { "_wxPrintQuality","_signed_int",0},
6356 { "_wxPrintQuality","_unsigned_int",0},
6357 { "_wxPrintQuality","_wxWindowID",0},
6358 { "_wxPrintQuality","_uint",0},
6359 { "_wxPrintQuality","_EBool",0},
6360 { "_wxPrintQuality","_size_t",0},
6361 { "_wxPrintQuality","_time_t",0},
6362 { "_class_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6363 { "_class_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6364 { "_byte","_unsigned_char",0},
6365 { "_wxPyPrintout","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6366 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6367 { "_long","_unsigned_long",0},
6368 { "_long","_signed_long",0},
6369 { "_class_wxObject","_class_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6370 { "_class_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6371 { "_class_wxObject","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6372 { "_class_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6373 { "_class_wxObject","_class_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6374 { "_class_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6375 { "_class_wxObject","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6376 { "_class_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6377 { "_class_wxObject","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6378 { "_class_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6379 { "_class_wxObject","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6380 { "_class_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6381 { "_class_wxObject","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6382 { "_class_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6383 { "_class_wxObject","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6384 { "_class_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6385 { "_class_wxObject","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6386 { "_class_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6387 { "_class_wxObject","_class_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6388 { "_class_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6389 { "_class_wxObject","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6390 { "_class_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6391 { "_class_wxObject","_class_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6392 { "_class_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6393 { "_class_wxObject","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6394 { "_class_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6395 { "_class_wxObject","_class_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6396 { "_class_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6397 { "_class_wxObject","_class_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6398 { "_class_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6399 { "_class_wxObject","_class_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6400 { "_class_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6401 { "_size_t","_wxCoord",0},
6402 { "_size_t","_wxPrintQuality",0},
6403 { "_size_t","_time_t",0},
6404 { "_size_t","_unsigned_int",0},
6405 { "_size_t","_int",0},
6406 { "_size_t","_wxWindowID",0},
6407 { "_size_t","_uint",0},
6408 { "_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6409 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6410 { "_class_wxPyPrintout","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6411 { "_class_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6412 { "_uint","_wxCoord",0},
6413 { "_uint","_wxPrintQuality",0},
6414 { "_uint","_time_t",0},
6415 { "_uint","_size_t",0},
6416 { "_uint","_unsigned_int",0},
6417 { "_uint","_int",0},
6418 { "_uint","_wxWindowID",0},
6419 { "_wxChar","_char",0},
6420 { "_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6421 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6422 { "_wxHtmlCell","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6423 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6424 { "_wxHtmlCell","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6425 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6426 { "_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6427 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6428 { "_wxHtmlCell","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6429 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6430 { "_char","_wxChar",0},
6431 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6432 { "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6433 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6434 { "_EBool","_wxCoord",0},
6435 { "_EBool","_wxPrintQuality",0},
6436 { "_EBool","_signed_int",0},
6437 { "_EBool","_int",0},
6438 { "_EBool","_wxWindowID",0},
6439 { "_unsigned_long","_long",0},
6440 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6441 { "_class_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6442 { "_class_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6443 { "_signed_int","_wxCoord",0},
6444 { "_signed_int","_wxPrintQuality",0},
6445 { "_signed_int","_EBool",0},
6446 { "_signed_int","_wxWindowID",0},
6447 { "_signed_int","_int",0},
6448 { "_WXTYPE","_wxDateTime_t",0},
6449 { "_WXTYPE","_short",0},
6450 { "_WXTYPE","_signed_short",0},
6451 { "_WXTYPE","_unsigned_short",0},
6452 { "_class_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6453 { "_class_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6454 { "_unsigned_short","_wxDateTime_t",0},
6455 { "_unsigned_short","_WXTYPE",0},
6456 { "_unsigned_short","_short",0},
6457 { "_class_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6458 { "_class_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6459 { "_wxObject","_class_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6460 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6461 { "_wxObject","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6462 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6463 { "_wxObject","_class_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6464 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6465 { "_wxObject","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6466 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6467 { "_wxObject","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6468 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6469 { "_wxObject","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6470 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6471 { "_wxObject","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6472 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6473 { "_wxObject","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6474 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6475 { "_wxObject","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6476 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6477 { "_wxObject","_class_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6478 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6479 { "_wxObject","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6480 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6481 { "_wxObject","_class_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6482 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6483 { "_wxObject","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6484 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6485 { "_wxObject","_class_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6486 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6487 { "_wxObject","_class_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6488 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6489 { "_wxObject","_class_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6490 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6491 { "_class_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6492 { "_class_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6493 { "_class_wxHtmlCell","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6494 { "_class_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6495 { "_class_wxHtmlCell","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6496 { "_class_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6497 { "_class_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6498 { "_class_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6499 { "_class_wxHtmlCell","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6500 { "_class_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6501 { "_signed_short","_WXTYPE",0},
6502 { "_signed_short","_short",0},
6503 { "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6504 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6505 { "_unsigned_char","_byte",0},
6506 { "_unsigned_int","_wxCoord",0},
6507 { "_unsigned_int","_wxPrintQuality",0},
6508 { "_unsigned_int","_time_t",0},
6509 { "_unsigned_int","_size_t",0},
6510 { "_unsigned_int","_uint",0},
6511 { "_unsigned_int","_wxWindowID",0},
6512 { "_unsigned_int","_int",0},
6513 { "_short","_wxDateTime_t",0},
6514 { "_short","_WXTYPE",0},
6515 { "_short","_unsigned_short",0},
6516 { "_short","_signed_short",0},
6517 { "_wxWindowID","_wxCoord",0},
6518 { "_wxWindowID","_wxPrintQuality",0},
6519 { "_wxWindowID","_time_t",0},
6520 { "_wxWindowID","_size_t",0},
6521 { "_wxWindowID","_EBool",0},
6522 { "_wxWindowID","_uint",0},
6523 { "_wxWindowID","_int",0},
6524 { "_wxWindowID","_signed_int",0},
6525 { "_wxWindowID","_unsigned_int",0},
6526 { "_int","_wxCoord",0},
6527 { "_int","_wxPrintQuality",0},
6528 { "_int","_time_t",0},
6529 { "_int","_size_t",0},
6530 { "_int","_EBool",0},
6531 { "_int","_uint",0},
6532 { "_int","_wxWindowID",0},
6533 { "_int","_unsigned_int",0},
6534 { "_int","_signed_int",0},
6535 { "_wxDateTime_t","_unsigned_short",0},
6536 { "_wxDateTime_t","_short",0},
6537 { "_wxDateTime_t","_WXTYPE",0},
6538 { "_time_t","_wxCoord",0},
6539 { "_time_t","_wxPrintQuality",0},
6540 { "_time_t","_unsigned_int",0},
6541 { "_time_t","_int",0},
6542 { "_time_t","_wxWindowID",0},
6543 { "_time_t","_uint",0},
6544 { "_time_t","_size_t",0},
6545 { "_wxCoord","_int",0},
6546 { "_wxCoord","_signed_int",0},
6547 { "_wxCoord","_unsigned_int",0},
6548 { "_wxCoord","_wxWindowID",0},
6549 { "_wxCoord","_uint",0},
6550 { "_wxCoord","_EBool",0},
6551 { "_wxCoord","_size_t",0},
6552 { "_wxCoord","_time_t",0},
6553 { "_wxCoord","_wxPrintQuality",0},
6554 { "_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6555 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6556 { "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6557 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6558 { "_class_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6559 { "_class_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6560 { "_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6561 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6564 static PyObject
*SWIG_globals
;
6568 SWIGEXPORT(void) inithtmlc() {
6570 SWIG_globals
= SWIG_newvarlink();
6571 m
= Py_InitModule("htmlc", htmlcMethods
);
6572 d
= PyModule_GetDict(m
);
6573 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6574 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6575 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6576 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6577 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6578 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6579 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6580 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6581 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6582 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6583 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6584 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6585 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6586 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6587 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6588 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6589 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6590 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6591 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6592 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6593 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6594 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6599 wxClassInfo::CleanUpClasses();
6600 wxClassInfo::InitializeClasses();
6602 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6603 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6604 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6607 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6608 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);