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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init inithtmlc
56 #define SWIG_name "htmlc"
59 #include <wx/html/htmlwin.h>
60 #include <wx/html/htmprint.h>
62 #include <wx/fs_zip.h>
63 #include <wx/fs_inet.h>
64 #include <wx/wfstream.h>
69 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyTuple_Check(target
)) {
81 target
= PyTuple_New(1);
82 PyTuple_SetItem(target
, 0, o2
);
85 PyTuple_SetItem(o3
, 0, o
);
88 target
= PySequence_Concat(o2
, o3
);
95 #if PYTHON_API_VERSION >= 1009
96 static char* wxStringErrorMsg
= "String or Unicode type required";
98 static char* wxStringErrorMsg
= "string type is required for parameter";
101 class wxPyHtmlTagHandler
: public wxHtmlTagHandler
{
102 DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler
);
104 wxPyHtmlTagHandler() : wxHtmlTagHandler() {};
106 wxHtmlParser
* GetParser() { return m_Parser
; }
107 void ParseInner(const wxHtmlTag
& tag
) { wxHtmlTagHandler::ParseInner(tag
); }
109 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
110 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
115 IMPLEMENT_DYNAMIC_CLASS(wxPyHtmlTagHandler
, wxHtmlTagHandler
);
117 IMP_PYCALLBACK_STRING__pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, GetSupportedTags
);
118 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler
, wxHtmlTagHandler
, HandleTag
);
120 class wxPyHtmlWinTagHandler
: public wxHtmlWinTagHandler
{
121 DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler
);
123 wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {};
125 wxHtmlWinParser
* GetParser() { return m_WParser
; }
126 void ParseInner(const wxHtmlTag
& tag
)
127 { wxHtmlWinTagHandler::ParseInner(tag
); }
129 DEC_PYCALLBACK_STRING__pure(GetSupportedTags
);
130 DEC_PYCALLBACK_BOOL_TAG_pure(HandleTag
);
135 IMPLEMENT_DYNAMIC_CLASS( wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
);
137 IMP_PYCALLBACK_STRING__pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, GetSupportedTags
);
138 IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlWinTagHandler
, wxHtmlWinTagHandler
, HandleTag
);
141 class wxPyHtmlTagsModule
: public wxHtmlTagsModule
{
143 wxPyHtmlTagsModule(PyObject
* thc
) : wxHtmlTagsModule() {
144 m_tagHandlerClass
= thc
;
145 Py_INCREF(m_tagHandlerClass
);
146 RegisterModule(this);
147 wxHtmlWinParser::AddModule(this);
151 bool doSave
= wxPyRestoreThread();
152 Py_DECREF(m_tagHandlerClass
);
153 m_tagHandlerClass
= NULL
;
154 for (size_t x
=0; x
< m_objArray
.GetCount(); x
++) {
155 PyObject
* obj
= (PyObject
*)m_objArray
.Item(x
);
158 wxPySaveThread(doSave
);
161 void FillHandlersTable(wxHtmlWinParser
*parser
) {
162 // Wave our magic wand... (if it works it's a miracle! ;-)
164 // First, make a new instance of the tag handler
165 bool doSave
= wxPyRestoreThread();
166 PyObject
* arg
= Py_BuildValue("()");
167 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
169 wxPySaveThread(doSave
);
171 // now figure out where it's C++ object is...
172 wxPyHtmlWinTagHandler
* thPtr
;
173 if (SWIG_GetPtrObj(obj
, (void **)&thPtr
, "_wxPyHtmlWinTagHandler_p"))
177 parser
->AddTagHandler(thPtr
);
184 PyObject
* m_tagHandlerClass
;
185 wxArrayPtrVoid m_objArray
;
189 void wxHtmlWinParser_AddTagHandler(PyObject
* tagHandlerClass
) {
190 // Dynamically create a new wxModule. Refcounts tagHandlerClass
191 // and adds itself to the wxModules list and to the wxHtmlWinParser.
192 new wxPyHtmlTagsModule(tagHandlerClass
);
195 class wxPyHtmlWindow
: public wxHtmlWindow
{
197 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
198 const wxPoint
& pos
= wxDefaultPosition
,
199 const wxSize
& size
= wxDefaultSize
,
200 long style
= wxHW_SCROLLBAR_AUTO
,
201 const wxString
& name
= "htmlWindow")
202 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
204 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
205 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
207 DEC_PYCALLBACK__STRING(OnSetTitle
);
212 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
214 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
215 bool doSave
= wxPyRestoreThread();
216 if (wxPyCBH_findCallback(m_myInst
, "OnLinkClicked")) {
217 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
218 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
222 wxHtmlWindow::OnLinkClicked(link
);
223 wxPySaveThread(doSave
);
225 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
226 wxHtmlWindow::OnLinkClicked(link
);
229 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
230 wxHtmlWindow::AddFilter(filter
);
233 extern "C" SWIGEXPORT(void) inithtmlhelpc();
237 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
240 PyObject
* _obj0
= 0;
241 char *_kwnames
[] = { "tagHandlerClass", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
250 wxPy_BEGIN_ALLOW_THREADS
;
251 wxHtmlWinParser_AddTagHandler(_arg0
);
253 wxPy_END_ALLOW_THREADS
;
254 } Py_INCREF(Py_None
);
255 _resultobj
= Py_None
;
259 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 wxHtmlFilter
* _arg0
;
262 PyObject
* _argo0
= 0;
263 char *_kwnames
[] = { "filter", NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
276 wxPy_BEGIN_ALLOW_THREADS
;
277 wxHtmlWindow_AddFilter(_arg0
);
279 wxPy_END_ALLOW_THREADS
;
280 } Py_INCREF(Py_None
);
281 _resultobj
= Py_None
;
285 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
288 src
= (wxHtmlLinkInfo
*) ptr
;
289 dest
= (wxObject
*) src
;
290 return (void *) dest
;
293 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
294 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
296 wxHtmlLinkInfo
* _result
;
298 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
299 PyObject
* _obj0
= 0;
300 PyObject
* _obj1
= 0;
301 char *_kwnames
[] = { "href","target", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
308 #if PYTHON_API_VERSION >= 1009
309 char* tmpPtr
; int tmpSize
;
310 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
314 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
316 _arg0
= new wxString(tmpPtr
, tmpSize
);
318 if (!PyString_Check(_obj0
)) {
319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
322 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
327 #if PYTHON_API_VERSION >= 1009
328 char* tmpPtr
; int tmpSize
;
329 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
333 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
335 _arg1
= new wxString(tmpPtr
, tmpSize
);
337 if (!PyString_Check(_obj1
)) {
338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
341 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
348 wxPy_END_ALLOW_THREADS
;
350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
351 _resultobj
= Py_BuildValue("s",_ptemp
);
354 _resultobj
= Py_None
;
367 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
368 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxHtmlLinkInfo
* _arg0
;
372 PyObject
* _argo0
= 0;
373 char *_kwnames
[] = { "self", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
386 wxPy_BEGIN_ALLOW_THREADS
;
387 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
389 wxPy_END_ALLOW_THREADS
;
391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
399 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
400 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxHtmlLinkInfo
* _arg0
;
404 PyObject
* _argo0
= 0;
405 char *_kwnames
[] = { "self", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
421 wxPy_END_ALLOW_THREADS
;
423 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
431 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
432 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
434 wxMouseEvent
* _result
;
435 wxHtmlLinkInfo
* _arg0
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
450 wxPy_BEGIN_ALLOW_THREADS
;
451 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
453 wxPy_END_ALLOW_THREADS
;
454 }{ _resultobj
= wxPyMake_wxObject(_result
); }
458 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
459 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 wxHtmlCell
* _result
;
462 wxHtmlLinkInfo
* _arg0
;
463 PyObject
* _argo0
= 0;
464 char *_kwnames
[] = { "self", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
478 wxPy_BEGIN_ALLOW_THREADS
;
479 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
481 wxPy_END_ALLOW_THREADS
;
483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
484 _resultobj
= Py_BuildValue("s",_ptemp
);
487 _resultobj
= Py_None
;
492 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
493 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
495 wxHtmlLinkInfo
* _arg0
;
496 wxMouseEvent
* _arg1
;
497 PyObject
* _argo0
= 0;
498 PyObject
* _argo1
= 0;
499 char *_kwnames
[] = { "self","e", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
519 wxPy_BEGIN_ALLOW_THREADS
;
520 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
522 wxPy_END_ALLOW_THREADS
;
523 } Py_INCREF(Py_None
);
524 _resultobj
= Py_None
;
528 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
529 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
530 PyObject
* _resultobj
;
531 wxHtmlLinkInfo
* _arg0
;
533 PyObject
* _argo0
= 0;
534 PyObject
* _argo1
= 0;
535 char *_kwnames
[] = { "self","e", NULL
};
538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
555 wxPy_BEGIN_ALLOW_THREADS
;
556 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
558 wxPy_END_ALLOW_THREADS
;
559 } Py_INCREF(Py_None
);
560 _resultobj
= Py_None
;
564 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
567 src
= (wxHtmlTag
*) ptr
;
568 dest
= (wxObject
*) src
;
569 return (void *) dest
;
572 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
573 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
577 PyObject
* _argo0
= 0;
578 char *_kwnames
[] = { "self", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
591 wxPy_BEGIN_ALLOW_THREADS
;
592 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
594 wxPy_END_ALLOW_THREADS
;
596 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
604 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
605 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
610 PyObject
* _argo0
= 0;
611 PyObject
* _obj1
= 0;
612 char *_kwnames
[] = { "self","par", NULL
};
615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
625 #if PYTHON_API_VERSION >= 1009
626 char* tmpPtr
; int tmpSize
;
627 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
628 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
631 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
633 _arg1
= new wxString(tmpPtr
, tmpSize
);
635 if (!PyString_Check(_obj1
)) {
636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
639 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
643 wxPy_BEGIN_ALLOW_THREADS
;
644 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
646 wxPy_END_ALLOW_THREADS
;
647 } _resultobj
= Py_BuildValue("i",_result
);
655 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
656 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
661 int _arg2
= (int ) FALSE
;
662 PyObject
* _argo0
= 0;
663 PyObject
* _obj1
= 0;
664 char *_kwnames
[] = { "self","par","with_commas", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
677 #if PYTHON_API_VERSION >= 1009
678 char* tmpPtr
; int tmpSize
;
679 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
680 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
683 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
685 _arg1
= new wxString(tmpPtr
, tmpSize
);
687 if (!PyString_Check(_obj1
)) {
688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
691 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
695 wxPy_BEGIN_ALLOW_THREADS
;
696 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
698 wxPy_END_ALLOW_THREADS
;
700 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
712 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
713 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
717 PyObject
* _argo0
= 0;
718 char *_kwnames
[] = { "self", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
731 wxPy_BEGIN_ALLOW_THREADS
;
732 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
734 wxPy_END_ALLOW_THREADS
;
736 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
744 #define wxHtmlTag_IsEnding(_swigobj) (_swigobj->IsEnding())
745 static PyObject
*_wrap_wxHtmlTag_IsEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_IsEnding",_kwnames
,&_argo0
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_IsEnding. Expected _wxHtmlTag_p.");
763 wxPy_BEGIN_ALLOW_THREADS
;
764 _result
= (bool )wxHtmlTag_IsEnding(_arg0
);
766 wxPy_END_ALLOW_THREADS
;
767 } _resultobj
= Py_BuildValue("i",_result
);
771 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
772 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
776 PyObject
* _argo0
= 0;
777 char *_kwnames
[] = { "self", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
790 wxPy_BEGIN_ALLOW_THREADS
;
791 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
793 wxPy_END_ALLOW_THREADS
;
794 } _resultobj
= Py_BuildValue("i",_result
);
798 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
799 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 char *_kwnames
[] = { "self", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
817 wxPy_BEGIN_ALLOW_THREADS
;
818 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
820 wxPy_END_ALLOW_THREADS
;
821 } _resultobj
= Py_BuildValue("i",_result
);
825 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
826 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
830 PyObject
* _argo0
= 0;
831 char *_kwnames
[] = { "self", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
847 wxPy_END_ALLOW_THREADS
;
848 } _resultobj
= Py_BuildValue("i",_result
);
852 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
853 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
857 PyObject
* _argo0
= 0;
858 char *_kwnames
[] = { "self", NULL
};
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
871 wxPy_BEGIN_ALLOW_THREADS
;
872 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
874 wxPy_END_ALLOW_THREADS
;
875 } _resultobj
= Py_BuildValue("i",_result
);
879 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
882 src
= (wxHtmlParser
*) ptr
;
883 dest
= (wxObject
*) src
;
884 return (void *) dest
;
887 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
888 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
890 wxHtmlParser
* _arg0
;
891 wxFileSystem
* _arg1
;
892 PyObject
* _argo0
= 0;
893 PyObject
* _argo1
= 0;
894 char *_kwnames
[] = { "self","fs", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
907 if (_argo1
== Py_None
) { _arg1
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
914 wxPy_BEGIN_ALLOW_THREADS
;
915 wxHtmlParser_SetFS(_arg0
,_arg1
);
917 wxPy_END_ALLOW_THREADS
;
918 } Py_INCREF(Py_None
);
919 _resultobj
= Py_None
;
923 #define wxHtmlParser_GetFS(_swigobj) (_swigobj->GetFS())
924 static PyObject
*_wrap_wxHtmlParser_GetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 PyObject
* _resultobj
;
926 wxFileSystem
* _result
;
927 wxHtmlParser
* _arg0
;
928 PyObject
* _argo0
= 0;
929 char *_kwnames
[] = { "self", NULL
};
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetFS",_kwnames
,&_argo0
))
935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetFS. Expected _wxHtmlParser_p.");
942 wxPy_BEGIN_ALLOW_THREADS
;
943 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
945 wxPy_END_ALLOW_THREADS
;
946 }{ _resultobj
= wxPyMake_wxObject(_result
); }
950 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
951 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
954 wxHtmlParser
* _arg0
;
956 PyObject
* _argo0
= 0;
957 PyObject
* _obj1
= 0;
958 char *_kwnames
[] = { "self","source", NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
971 #if PYTHON_API_VERSION >= 1009
972 char* tmpPtr
; int tmpSize
;
973 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
974 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
977 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
979 _arg1
= new wxString(tmpPtr
, tmpSize
);
981 if (!PyString_Check(_obj1
)) {
982 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
985 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
989 wxPy_BEGIN_ALLOW_THREADS
;
990 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
992 wxPy_END_ALLOW_THREADS
;
993 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1001 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1002 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1004 wxHtmlParser
* _arg0
;
1006 PyObject
* _argo0
= 0;
1007 PyObject
* _obj1
= 0;
1008 char *_kwnames
[] = { "self","source", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1021 #if PYTHON_API_VERSION >= 1009
1022 char* tmpPtr
; int tmpSize
;
1023 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1024 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1027 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1029 _arg1
= new wxString(tmpPtr
, tmpSize
);
1031 if (!PyString_Check(_obj1
)) {
1032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1035 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1039 wxPy_BEGIN_ALLOW_THREADS
;
1040 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1042 wxPy_END_ALLOW_THREADS
;
1043 } Py_INCREF(Py_None
);
1044 _resultobj
= Py_None
;
1052 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1053 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1055 wxHtmlParser
* _arg0
;
1056 PyObject
* _argo0
= 0;
1057 char *_kwnames
[] = { "self", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 wxHtmlParser_DoneParser(_arg0
);
1073 wxPy_END_ALLOW_THREADS
;
1074 } Py_INCREF(Py_None
);
1075 _resultobj
= Py_None
;
1079 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1080 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1082 wxHtmlParser
* _arg0
;
1085 PyObject
* _argo0
= 0;
1086 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1099 wxPy_BEGIN_ALLOW_THREADS
;
1100 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1102 wxPy_END_ALLOW_THREADS
;
1103 } Py_INCREF(Py_None
);
1104 _resultobj
= Py_None
;
1108 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1109 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1111 wxHtmlParser
* _arg0
;
1112 wxHtmlTagHandler
* _arg1
;
1113 PyObject
* _argo0
= 0;
1114 PyObject
* _argo1
= 0;
1115 char *_kwnames
[] = { "self","handler", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1135 wxPy_BEGIN_ALLOW_THREADS
;
1136 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1138 wxPy_END_ALLOW_THREADS
;
1139 } Py_INCREF(Py_None
);
1140 _resultobj
= Py_None
;
1144 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1145 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
* _resultobj
;
1148 wxHtmlParser
* _arg0
;
1149 PyObject
* _argo0
= 0;
1150 char *_kwnames
[] = { "self", NULL
};
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1163 wxPy_BEGIN_ALLOW_THREADS
;
1164 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1166 wxPy_END_ALLOW_THREADS
;
1168 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1173 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1174 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1176 wxHtmlParser
* _arg0
;
1177 wxHtmlTagHandler
* _arg1
;
1179 PyObject
* _argo0
= 0;
1180 PyObject
* _argo1
= 0;
1181 PyObject
* _obj2
= 0;
1182 char *_kwnames
[] = { "self","handler","tags", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1202 #if PYTHON_API_VERSION >= 1009
1203 char* tmpPtr
; int tmpSize
;
1204 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1208 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1210 _arg2
= new wxString(tmpPtr
, tmpSize
);
1212 if (!PyString_Check(_obj2
)) {
1213 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1216 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1220 wxPy_BEGIN_ALLOW_THREADS
;
1221 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1223 wxPy_END_ALLOW_THREADS
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1233 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1234 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 wxHtmlParser
* _arg0
;
1237 PyObject
* _argo0
= 0;
1238 char *_kwnames
[] = { "self", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 wxHtmlParser_PopTagHandler(_arg0
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } Py_INCREF(Py_None
);
1256 _resultobj
= Py_None
;
1260 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1261 wxHtmlWinParser
*src
;
1263 src
= (wxHtmlWinParser
*) ptr
;
1264 dest
= (wxHtmlParser
*) src
;
1265 return (void *) dest
;
1268 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1269 wxHtmlWinParser
*src
;
1271 src
= (wxHtmlWinParser
*) ptr
;
1272 dest
= (wxObject
*) src
;
1273 return (void *) dest
;
1276 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1277 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1279 wxHtmlWinParser
* _result
;
1281 PyObject
* _argo0
= 0;
1282 char *_kwnames
[] = { "wnd", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1296 wxPy_BEGIN_ALLOW_THREADS
;
1297 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1299 wxPy_END_ALLOW_THREADS
;
1301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1302 _resultobj
= Py_BuildValue("s",_ptemp
);
1305 _resultobj
= Py_None
;
1310 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1311 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1313 wxHtmlWinParser
* _arg0
;
1315 PyObject
* _argo0
= 0;
1316 PyObject
* _argo1
= 0;
1317 char *_kwnames
[] = { "self","dc", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1340 wxPy_END_ALLOW_THREADS
;
1341 } Py_INCREF(Py_None
);
1342 _resultobj
= Py_None
;
1346 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1347 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1350 wxHtmlWinParser
* _arg0
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1368 wxPy_END_ALLOW_THREADS
;
1369 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1373 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1374 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1377 wxHtmlWinParser
* _arg0
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1401 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1404 wxHtmlWinParser
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1419 wxPy_BEGIN_ALLOW_THREADS
;
1420 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1422 wxPy_END_ALLOW_THREADS
;
1423 } _resultobj
= Py_BuildValue("i",_result
);
1427 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1428 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1431 wxHtmlWinParser
* _arg0
;
1432 PyObject
* _argo0
= 0;
1433 char *_kwnames
[] = { "self", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1446 wxPy_BEGIN_ALLOW_THREADS
;
1447 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1449 wxPy_END_ALLOW_THREADS
;
1450 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1454 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1455 int* temp
= int_LIST_helper(sizes
);
1457 self
->SetFonts(normal_face
, fixed_face
, temp
);
1461 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1463 wxHtmlWinParser
* _arg0
;
1467 PyObject
* _argo0
= 0;
1468 PyObject
* _obj1
= 0;
1469 PyObject
* _obj2
= 0;
1470 PyObject
* _obj3
= 0;
1471 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1484 #if PYTHON_API_VERSION >= 1009
1485 char* tmpPtr
; int tmpSize
;
1486 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1490 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1492 _arg1
= new wxString(tmpPtr
, tmpSize
);
1494 if (!PyString_Check(_obj1
)) {
1495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1498 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1502 #if PYTHON_API_VERSION >= 1009
1503 char* tmpPtr
; int tmpSize
;
1504 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1508 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1510 _arg2
= new wxString(tmpPtr
, tmpSize
);
1512 if (!PyString_Check(_obj2
)) {
1513 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1516 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1523 wxPy_BEGIN_ALLOW_THREADS
;
1524 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1526 wxPy_END_ALLOW_THREADS
;
1527 } Py_INCREF(Py_None
);
1528 _resultobj
= Py_None
;
1540 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1541 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1543 wxHtmlContainerCell
* _result
;
1544 wxHtmlWinParser
* _arg0
;
1545 PyObject
* _argo0
= 0;
1546 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1563 wxPy_END_ALLOW_THREADS
;
1565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1566 _resultobj
= Py_BuildValue("s",_ptemp
);
1569 _resultobj
= Py_None
;
1574 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1575 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1577 wxHtmlContainerCell
* _result
;
1578 wxHtmlWinParser
* _arg0
;
1579 PyObject
* _argo0
= 0;
1580 char *_kwnames
[] = { "self", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1597 wxPy_END_ALLOW_THREADS
;
1599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1600 _resultobj
= Py_BuildValue("s",_ptemp
);
1603 _resultobj
= Py_None
;
1608 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1609 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1611 wxHtmlContainerCell
* _result
;
1612 wxHtmlWinParser
* _arg0
;
1613 wxHtmlContainerCell
* _arg1
;
1614 PyObject
* _argo0
= 0;
1615 PyObject
* _argo1
= 0;
1616 char *_kwnames
[] = { "self","c", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1637 wxPy_BEGIN_ALLOW_THREADS
;
1638 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1640 wxPy_END_ALLOW_THREADS
;
1642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1643 _resultobj
= Py_BuildValue("s",_ptemp
);
1646 _resultobj
= Py_None
;
1651 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1652 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1654 wxHtmlContainerCell
* _result
;
1655 wxHtmlWinParser
* _arg0
;
1656 PyObject
* _argo0
= 0;
1657 char *_kwnames
[] = { "self", NULL
};
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1671 wxPy_BEGIN_ALLOW_THREADS
;
1672 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1674 wxPy_END_ALLOW_THREADS
;
1676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1677 _resultobj
= Py_BuildValue("s",_ptemp
);
1680 _resultobj
= Py_None
;
1685 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1686 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1689 wxHtmlWinParser
* _arg0
;
1690 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1707 wxPy_END_ALLOW_THREADS
;
1708 } _resultobj
= Py_BuildValue("i",_result
);
1712 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1713 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1715 wxHtmlWinParser
* _arg0
;
1717 PyObject
* _argo0
= 0;
1718 char *_kwnames
[] = { "self","s", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1731 wxPy_BEGIN_ALLOW_THREADS
;
1732 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1734 wxPy_END_ALLOW_THREADS
;
1735 } Py_INCREF(Py_None
);
1736 _resultobj
= Py_None
;
1740 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1741 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1744 wxHtmlWinParser
* _arg0
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "self", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1762 wxPy_END_ALLOW_THREADS
;
1763 } _resultobj
= Py_BuildValue("i",_result
);
1767 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1768 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1770 wxHtmlWinParser
* _arg0
;
1772 PyObject
* _argo0
= 0;
1773 char *_kwnames
[] = { "self","x", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1786 wxPy_BEGIN_ALLOW_THREADS
;
1787 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1789 wxPy_END_ALLOW_THREADS
;
1790 } Py_INCREF(Py_None
);
1791 _resultobj
= Py_None
;
1795 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1796 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1799 wxHtmlWinParser
* _arg0
;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1817 wxPy_END_ALLOW_THREADS
;
1818 } _resultobj
= Py_BuildValue("i",_result
);
1822 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1823 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1825 wxHtmlWinParser
* _arg0
;
1827 PyObject
* _argo0
= 0;
1828 char *_kwnames
[] = { "self","x", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1841 wxPy_BEGIN_ALLOW_THREADS
;
1842 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1844 wxPy_END_ALLOW_THREADS
;
1845 } Py_INCREF(Py_None
);
1846 _resultobj
= Py_None
;
1850 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1851 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1854 wxHtmlWinParser
* _arg0
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1872 wxPy_END_ALLOW_THREADS
;
1873 } _resultobj
= Py_BuildValue("i",_result
);
1877 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1878 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxHtmlWinParser
* _arg0
;
1882 PyObject
* _argo0
= 0;
1883 char *_kwnames
[] = { "self","x", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1899 wxPy_END_ALLOW_THREADS
;
1900 } Py_INCREF(Py_None
);
1901 _resultobj
= Py_None
;
1905 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1906 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1909 wxHtmlWinParser
* _arg0
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1927 wxPy_END_ALLOW_THREADS
;
1928 } _resultobj
= Py_BuildValue("i",_result
);
1932 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1933 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1935 wxHtmlWinParser
* _arg0
;
1937 PyObject
* _argo0
= 0;
1938 char *_kwnames
[] = { "self","x", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1951 wxPy_BEGIN_ALLOW_THREADS
;
1952 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1954 wxPy_END_ALLOW_THREADS
;
1955 } Py_INCREF(Py_None
);
1956 _resultobj
= Py_None
;
1960 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1961 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1964 wxHtmlWinParser
* _arg0
;
1965 PyObject
* _argo0
= 0;
1966 char *_kwnames
[] = { "self", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
1972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
1979 wxPy_BEGIN_ALLOW_THREADS
;
1980 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
1982 wxPy_END_ALLOW_THREADS
;
1983 } _resultobj
= Py_BuildValue("i",_result
);
1987 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
1988 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1990 wxHtmlWinParser
* _arg0
;
1992 PyObject
* _argo0
= 0;
1993 char *_kwnames
[] = { "self","a", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2006 wxPy_BEGIN_ALLOW_THREADS
;
2007 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2009 wxPy_END_ALLOW_THREADS
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2016 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2019 wxHtmlWinParser
* _arg0
;
2020 PyObject
* _argo0
= 0;
2021 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 const wxColour
& _result_ref
= wxHtmlWinParser_GetLinkColor(_arg0
);
2037 _result
= (wxColour
*) &_result_ref
;
2039 wxPy_END_ALLOW_THREADS
;
2041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2042 _resultobj
= Py_BuildValue("s",_ptemp
);
2045 _resultobj
= Py_None
;
2050 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2051 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2053 wxHtmlWinParser
* _arg0
;
2055 PyObject
* _argo0
= 0;
2057 PyObject
* _obj1
= 0;
2058 char *_kwnames
[] = { "self","clr", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2072 if (! wxColour_helper(_obj1
, &_arg1
))
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2079 wxPy_END_ALLOW_THREADS
;
2080 } Py_INCREF(Py_None
);
2081 _resultobj
= Py_None
;
2085 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2086 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2089 wxHtmlWinParser
* _arg0
;
2090 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 const wxColour
& _result_ref
= wxHtmlWinParser_GetActualColor(_arg0
);
2107 _result
= (wxColour
*) &_result_ref
;
2109 wxPy_END_ALLOW_THREADS
;
2111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
2112 _resultobj
= Py_BuildValue("s",_ptemp
);
2115 _resultobj
= Py_None
;
2120 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2121 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2123 wxHtmlWinParser
* _arg0
;
2125 PyObject
* _argo0
= 0;
2127 PyObject
* _obj1
= 0;
2128 char *_kwnames
[] = { "self","clr", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2142 if (! wxColour_helper(_obj1
, &_arg1
))
2146 wxPy_BEGIN_ALLOW_THREADS
;
2147 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2149 wxPy_END_ALLOW_THREADS
;
2150 } Py_INCREF(Py_None
);
2151 _resultobj
= Py_None
;
2155 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2156 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
* _resultobj
;
2158 wxHtmlWinParser
* _arg0
;
2160 PyObject
* _argo0
= 0;
2161 PyObject
* _obj1
= 0;
2162 char *_kwnames
[] = { "self","link", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2175 #if PYTHON_API_VERSION >= 1009
2176 char* tmpPtr
; int tmpSize
;
2177 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2181 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2183 _arg1
= new wxString(tmpPtr
, tmpSize
);
2185 if (!PyString_Check(_obj1
)) {
2186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2189 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2193 wxPy_BEGIN_ALLOW_THREADS
;
2194 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2196 wxPy_END_ALLOW_THREADS
;
2197 } Py_INCREF(Py_None
);
2198 _resultobj
= Py_None
;
2206 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2207 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2210 wxHtmlWinParser
* _arg0
;
2211 PyObject
* _argo0
= 0;
2212 char *_kwnames
[] = { "self", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2226 wxPy_BEGIN_ALLOW_THREADS
;
2227 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2229 wxPy_END_ALLOW_THREADS
;
2231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2232 _resultobj
= Py_BuildValue("s",_ptemp
);
2235 _resultobj
= Py_None
;
2240 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2241 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2243 wxHtmlLinkInfo
* _result
;
2244 wxHtmlWinParser
* _arg0
;
2245 PyObject
* _argo0
= 0;
2246 char *_kwnames
[] = { "self", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2260 wxPy_BEGIN_ALLOW_THREADS
;
2261 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2263 wxPy_END_ALLOW_THREADS
;
2264 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2265 _resultobj
= Py_BuildValue("s",_ptemp
);
2269 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2270 wxPyHtmlTagHandler
*src
;
2272 src
= (wxPyHtmlTagHandler
*) ptr
;
2273 dest
= (wxObject
*) src
;
2274 return (void *) dest
;
2277 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2278 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2280 wxPyHtmlTagHandler
* _result
;
2281 char *_kwnames
[] = { NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2291 wxPy_END_ALLOW_THREADS
;
2293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2294 _resultobj
= Py_BuildValue("s",_ptemp
);
2297 _resultobj
= Py_None
;
2302 #define wxHtmlTagHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2303 static PyObject
*_wrap_wxHtmlTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2305 wxPyHtmlTagHandler
* _arg0
;
2308 PyObject
* _argo0
= 0;
2309 PyObject
* _obj1
= 0;
2310 PyObject
* _obj2
= 0;
2311 char *_kwnames
[] = { "self","self","_class", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setSelf. Expected _wxPyHtmlTagHandler_p.");
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 wxHtmlTagHandler__setSelf(_arg0
,_arg1
,_arg2
);
2333 wxPy_END_ALLOW_THREADS
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2340 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2342 wxPyHtmlTagHandler
* _arg0
;
2343 wxHtmlParser
* _arg1
;
2344 PyObject
* _argo0
= 0;
2345 PyObject
* _argo1
= 0;
2346 char *_kwnames
[] = { "self","parser", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2366 wxPy_BEGIN_ALLOW_THREADS
;
2367 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2369 wxPy_END_ALLOW_THREADS
;
2370 } Py_INCREF(Py_None
);
2371 _resultobj
= Py_None
;
2375 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2376 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2378 wxHtmlParser
* _result
;
2379 wxPyHtmlTagHandler
* _arg0
;
2380 PyObject
* _argo0
= 0;
2381 char *_kwnames
[] = { "self", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2398 wxPy_END_ALLOW_THREADS
;
2400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2401 _resultobj
= Py_BuildValue("s",_ptemp
);
2404 _resultobj
= Py_None
;
2409 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2410 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
* _resultobj
;
2412 wxPyHtmlTagHandler
* _arg0
;
2414 PyObject
* _argo0
= 0;
2415 PyObject
* _argo1
= 0;
2416 char *_kwnames
[] = { "self","tag", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2436 wxPy_BEGIN_ALLOW_THREADS
;
2437 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2439 wxPy_END_ALLOW_THREADS
;
2440 } Py_INCREF(Py_None
);
2441 _resultobj
= Py_None
;
2445 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2446 wxPyHtmlWinTagHandler
*src
;
2447 wxPyHtmlTagHandler
*dest
;
2448 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2449 dest
= (wxPyHtmlTagHandler
*) src
;
2450 return (void *) dest
;
2453 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2454 wxPyHtmlWinTagHandler
*src
;
2456 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2457 dest
= (wxObject
*) src
;
2458 return (void *) dest
;
2461 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2462 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2464 wxPyHtmlWinTagHandler
* _result
;
2465 char *_kwnames
[] = { NULL
};
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2475 wxPy_END_ALLOW_THREADS
;
2477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2478 _resultobj
= Py_BuildValue("s",_ptemp
);
2481 _resultobj
= Py_None
;
2486 #define wxHtmlWinTagHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2487 static PyObject
*_wrap_wxHtmlWinTagHandler__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2489 wxPyHtmlWinTagHandler
* _arg0
;
2492 PyObject
* _argo0
= 0;
2493 PyObject
* _obj1
= 0;
2494 PyObject
* _obj2
= 0;
2495 char *_kwnames
[] = { "self","self","_class", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setSelf. Expected _wxPyHtmlWinTagHandler_p.");
2514 wxPy_BEGIN_ALLOW_THREADS
;
2515 wxHtmlWinTagHandler__setSelf(_arg0
,_arg1
,_arg2
);
2517 wxPy_END_ALLOW_THREADS
;
2518 } Py_INCREF(Py_None
);
2519 _resultobj
= Py_None
;
2523 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2524 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2526 wxPyHtmlWinTagHandler
* _arg0
;
2527 wxHtmlParser
* _arg1
;
2528 PyObject
* _argo0
= 0;
2529 PyObject
* _argo1
= 0;
2530 char *_kwnames
[] = { "self","parser", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2543 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2553 wxPy_END_ALLOW_THREADS
;
2554 } Py_INCREF(Py_None
);
2555 _resultobj
= Py_None
;
2559 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2560 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2562 wxHtmlWinParser
* _result
;
2563 wxPyHtmlWinTagHandler
* _arg0
;
2564 PyObject
* _argo0
= 0;
2565 char *_kwnames
[] = { "self", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2582 wxPy_END_ALLOW_THREADS
;
2584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2585 _resultobj
= Py_BuildValue("s",_ptemp
);
2588 _resultobj
= Py_None
;
2593 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2594 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2596 wxPyHtmlWinTagHandler
* _arg0
;
2598 PyObject
* _argo0
= 0;
2599 PyObject
* _argo1
= 0;
2600 char *_kwnames
[] = { "self","tag", NULL
};
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2620 wxPy_BEGIN_ALLOW_THREADS
;
2621 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2623 wxPy_END_ALLOW_THREADS
;
2624 } Py_INCREF(Py_None
);
2625 _resultobj
= Py_None
;
2629 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2632 src
= (wxHtmlCell
*) ptr
;
2633 dest
= (wxObject
*) src
;
2634 return (void *) dest
;
2637 #define new_wxHtmlCell() (new wxHtmlCell())
2638 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2640 wxHtmlCell
* _result
;
2641 char *_kwnames
[] = { NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2651 wxPy_END_ALLOW_THREADS
;
2653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2654 _resultobj
= Py_BuildValue("s",_ptemp
);
2657 _resultobj
= Py_None
;
2662 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2663 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2667 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2681 wxPy_BEGIN_ALLOW_THREADS
;
2682 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2684 wxPy_END_ALLOW_THREADS
;
2685 } _resultobj
= Py_BuildValue("i",_result
);
2689 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2690 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2694 PyObject
* _argo0
= 0;
2695 char *_kwnames
[] = { "self", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2708 wxPy_BEGIN_ALLOW_THREADS
;
2709 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2711 wxPy_END_ALLOW_THREADS
;
2712 } _resultobj
= Py_BuildValue("i",_result
);
2716 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2717 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2735 wxPy_BEGIN_ALLOW_THREADS
;
2736 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2738 wxPy_END_ALLOW_THREADS
;
2739 } _resultobj
= Py_BuildValue("i",_result
);
2743 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2744 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2748 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2762 wxPy_BEGIN_ALLOW_THREADS
;
2763 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2765 wxPy_END_ALLOW_THREADS
;
2766 } _resultobj
= Py_BuildValue("i",_result
);
2770 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2771 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2792 wxPy_END_ALLOW_THREADS
;
2793 } _resultobj
= Py_BuildValue("i",_result
);
2797 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2798 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2800 wxHtmlLinkInfo
* _result
;
2802 int _arg1
= (int ) 0;
2803 int _arg2
= (int ) 0;
2804 PyObject
* _argo0
= 0;
2805 char *_kwnames
[] = { "self","x","y", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2819 wxPy_BEGIN_ALLOW_THREADS
;
2820 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2822 wxPy_END_ALLOW_THREADS
;
2824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2825 _resultobj
= Py_BuildValue("s",_ptemp
);
2828 _resultobj
= Py_None
;
2833 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2834 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2836 wxHtmlCell
* _result
;
2838 PyObject
* _argo0
= 0;
2839 char *_kwnames
[] = { "self", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2853 wxPy_BEGIN_ALLOW_THREADS
;
2854 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2856 wxPy_END_ALLOW_THREADS
;
2858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2859 _resultobj
= Py_BuildValue("s",_ptemp
);
2862 _resultobj
= Py_None
;
2867 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2868 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2870 wxHtmlContainerCell
* _result
;
2872 PyObject
* _argo0
= 0;
2873 char *_kwnames
[] = { "self", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2887 wxPy_BEGIN_ALLOW_THREADS
;
2888 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2890 wxPy_END_ALLOW_THREADS
;
2892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2893 _resultobj
= Py_BuildValue("s",_ptemp
);
2896 _resultobj
= Py_None
;
2901 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2902 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2905 wxHtmlLinkInfo
* _arg1
;
2906 PyObject
* _argo0
= 0;
2907 PyObject
* _argo1
= 0;
2908 char *_kwnames
[] = { "self","link", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2928 wxPy_BEGIN_ALLOW_THREADS
;
2929 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2931 wxPy_END_ALLOW_THREADS
;
2932 } Py_INCREF(Py_None
);
2933 _resultobj
= Py_None
;
2937 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2938 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2942 PyObject
* _argo0
= 0;
2943 PyObject
* _argo1
= 0;
2944 char *_kwnames
[] = { "self","cell", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2957 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
2964 wxPy_BEGIN_ALLOW_THREADS
;
2965 wxHtmlCell_SetNext(_arg0
,_arg1
);
2967 wxPy_END_ALLOW_THREADS
;
2968 } Py_INCREF(Py_None
);
2969 _resultobj
= Py_None
;
2973 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
2974 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
* _resultobj
;
2977 wxHtmlContainerCell
* _arg1
;
2978 PyObject
* _argo0
= 0;
2979 PyObject
* _argo1
= 0;
2980 char *_kwnames
[] = { "self","p", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
2993 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2994 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
3000 wxPy_BEGIN_ALLOW_THREADS
;
3001 wxHtmlCell_SetParent(_arg0
,_arg1
);
3003 wxPy_END_ALLOW_THREADS
;
3004 } Py_INCREF(Py_None
);
3005 _resultobj
= Py_None
;
3009 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3010 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
* _resultobj
;
3015 PyObject
* _argo0
= 0;
3016 char *_kwnames
[] = { "self","x","y", NULL
};
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3029 wxPy_BEGIN_ALLOW_THREADS
;
3030 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3032 wxPy_END_ALLOW_THREADS
;
3033 } Py_INCREF(Py_None
);
3034 _resultobj
= Py_None
;
3038 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3039 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3043 PyObject
* _argo0
= 0;
3044 char *_kwnames
[] = { "self","w", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3057 wxPy_BEGIN_ALLOW_THREADS
;
3058 wxHtmlCell_Layout(_arg0
,_arg1
);
3060 wxPy_END_ALLOW_THREADS
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3067 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3075 PyObject
* _argo0
= 0;
3076 PyObject
* _argo1
= 0;
3077 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3097 wxPy_BEGIN_ALLOW_THREADS
;
3098 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3100 wxPy_END_ALLOW_THREADS
;
3101 } Py_INCREF(Py_None
);
3102 _resultobj
= Py_None
;
3106 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3107 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3113 PyObject
* _argo0
= 0;
3114 PyObject
* _argo1
= 0;
3115 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3138 wxPy_END_ALLOW_THREADS
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3145 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3147 wxHtmlCell
* _result
;
3151 PyObject
* _argo0
= 0;
3152 PyObject
* _argo2
= 0;
3153 char *_kwnames
[] = { "self","condition","param", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3167 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3174 wxPy_BEGIN_ALLOW_THREADS
;
3175 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3177 wxPy_END_ALLOW_THREADS
;
3179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3180 _resultobj
= Py_BuildValue("s",_ptemp
);
3183 _resultobj
= Py_None
;
3188 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3189 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3194 PyObject
* _argo0
= 0;
3195 PyObject
* _argo1
= 0;
3196 char *_kwnames
[] = { "self","pagebreak", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3219 wxPy_END_ALLOW_THREADS
;
3220 } _resultobj
= Py_BuildValue("i",_result
);
3224 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3225 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
* _resultobj
;
3229 PyObject
* _argo0
= 0;
3231 char *_kwnames
[] = { "self","can", NULL
};
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3243 _arg1
= (bool ) tempbool1
;
3245 wxPy_BEGIN_ALLOW_THREADS
;
3246 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3248 wxPy_END_ALLOW_THREADS
;
3249 } Py_INCREF(Py_None
);
3250 _resultobj
= Py_None
;
3254 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3255 wxHtmlWordCell
*src
;
3257 src
= (wxHtmlWordCell
*) ptr
;
3258 dest
= (wxHtmlCell
*) src
;
3259 return (void *) dest
;
3262 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3263 wxHtmlWordCell
*src
;
3265 src
= (wxHtmlWordCell
*) ptr
;
3266 dest
= (wxObject
*) src
;
3267 return (void *) dest
;
3270 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3271 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3273 wxHtmlWordCell
* _result
;
3276 PyObject
* _obj0
= 0;
3277 PyObject
* _argo1
= 0;
3278 char *_kwnames
[] = { "word","dc", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3285 #if PYTHON_API_VERSION >= 1009
3286 char* tmpPtr
; int tmpSize
;
3287 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3291 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3293 _arg0
= new wxString(tmpPtr
, tmpSize
);
3295 if (!PyString_Check(_obj0
)) {
3296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3299 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3310 wxPy_BEGIN_ALLOW_THREADS
;
3311 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3313 wxPy_END_ALLOW_THREADS
;
3315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3316 _resultobj
= Py_BuildValue("s",_ptemp
);
3319 _resultobj
= Py_None
;
3328 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3329 wxHtmlContainerCell
*src
;
3331 src
= (wxHtmlContainerCell
*) ptr
;
3332 dest
= (wxHtmlCell
*) src
;
3333 return (void *) dest
;
3336 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3337 wxHtmlContainerCell
*src
;
3339 src
= (wxHtmlContainerCell
*) ptr
;
3340 dest
= (wxObject
*) src
;
3341 return (void *) dest
;
3344 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3345 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3347 wxHtmlContainerCell
* _result
;
3348 wxHtmlContainerCell
* _arg0
;
3349 PyObject
* _argo0
= 0;
3350 char *_kwnames
[] = { "parent", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3364 wxPy_BEGIN_ALLOW_THREADS
;
3365 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3367 wxPy_END_ALLOW_THREADS
;
3369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3370 _resultobj
= Py_BuildValue("s",_ptemp
);
3373 _resultobj
= Py_None
;
3378 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3379 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3381 wxHtmlContainerCell
* _arg0
;
3383 PyObject
* _argo0
= 0;
3384 PyObject
* _argo1
= 0;
3385 char *_kwnames
[] = { "self","cell", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3405 wxPy_BEGIN_ALLOW_THREADS
;
3406 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3408 wxPy_END_ALLOW_THREADS
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3415 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3417 wxHtmlContainerCell
* _arg0
;
3419 PyObject
* _argo0
= 0;
3420 char *_kwnames
[] = { "self","al", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3436 wxPy_END_ALLOW_THREADS
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3443 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3446 wxHtmlContainerCell
* _arg0
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3461 wxPy_BEGIN_ALLOW_THREADS
;
3462 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3464 wxPy_END_ALLOW_THREADS
;
3465 } _resultobj
= Py_BuildValue("i",_result
);
3469 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3470 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3472 wxHtmlContainerCell
* _arg0
;
3474 PyObject
* _argo0
= 0;
3475 char *_kwnames
[] = { "self","al", NULL
};
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3491 wxPy_END_ALLOW_THREADS
;
3492 } Py_INCREF(Py_None
);
3493 _resultobj
= Py_None
;
3497 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3498 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3501 wxHtmlContainerCell
* _arg0
;
3502 PyObject
* _argo0
= 0;
3503 char *_kwnames
[] = { "self", NULL
};
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3516 wxPy_BEGIN_ALLOW_THREADS
;
3517 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3519 wxPy_END_ALLOW_THREADS
;
3520 } _resultobj
= Py_BuildValue("i",_result
);
3524 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3525 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
* _resultobj
;
3527 wxHtmlContainerCell
* _arg0
;
3530 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3531 PyObject
* _argo0
= 0;
3532 char *_kwnames
[] = { "self","i","what","units", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3545 wxPy_BEGIN_ALLOW_THREADS
;
3546 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3548 wxPy_END_ALLOW_THREADS
;
3549 } Py_INCREF(Py_None
);
3550 _resultobj
= Py_None
;
3554 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3555 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
* _resultobj
;
3558 wxHtmlContainerCell
* _arg0
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self","ind", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3574 wxPy_BEGIN_ALLOW_THREADS
;
3575 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3577 wxPy_END_ALLOW_THREADS
;
3578 } _resultobj
= Py_BuildValue("i",_result
);
3582 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3583 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3586 wxHtmlContainerCell
* _arg0
;
3588 PyObject
* _argo0
= 0;
3589 char *_kwnames
[] = { "self","ind", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3602 wxPy_BEGIN_ALLOW_THREADS
;
3603 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3605 wxPy_END_ALLOW_THREADS
;
3606 } _resultobj
= Py_BuildValue("i",_result
);
3610 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3611 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
* _resultobj
;
3613 wxHtmlContainerCell
* _arg0
;
3615 PyObject
* _argo0
= 0;
3616 PyObject
* _argo1
= 0;
3617 char *_kwnames
[] = { "self","tag", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3637 wxPy_BEGIN_ALLOW_THREADS
;
3638 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3640 wxPy_END_ALLOW_THREADS
;
3641 } Py_INCREF(Py_None
);
3642 _resultobj
= Py_None
;
3646 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3647 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3649 wxHtmlContainerCell
* _arg0
;
3652 PyObject
* _argo0
= 0;
3653 char *_kwnames
[] = { "self","w","units", NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3666 wxPy_BEGIN_ALLOW_THREADS
;
3667 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3669 wxPy_END_ALLOW_THREADS
;
3670 } Py_INCREF(Py_None
);
3671 _resultobj
= Py_None
;
3675 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3676 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3678 wxHtmlContainerCell
* _arg0
;
3680 PyObject
* _argo0
= 0;
3681 PyObject
* _argo1
= 0;
3682 char *_kwnames
[] = { "self","tag", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3702 wxPy_BEGIN_ALLOW_THREADS
;
3703 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3705 wxPy_END_ALLOW_THREADS
;
3706 } Py_INCREF(Py_None
);
3707 _resultobj
= Py_None
;
3711 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3712 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
* _resultobj
;
3714 wxHtmlContainerCell
* _arg0
;
3716 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3717 PyObject
* _argo0
= 0;
3718 char *_kwnames
[] = { "self","h","align", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3731 wxPy_BEGIN_ALLOW_THREADS
;
3732 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3734 wxPy_END_ALLOW_THREADS
;
3735 } Py_INCREF(Py_None
);
3736 _resultobj
= Py_None
;
3740 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3741 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3743 wxHtmlContainerCell
* _arg0
;
3745 PyObject
* _argo0
= 0;
3747 PyObject
* _obj1
= 0;
3748 char *_kwnames
[] = { "self","clr", NULL
};
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3762 if (! wxColour_helper(_obj1
, &_arg1
))
3766 wxPy_BEGIN_ALLOW_THREADS
;
3767 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3769 wxPy_END_ALLOW_THREADS
;
3770 } Py_INCREF(Py_None
);
3771 _resultobj
= Py_None
;
3775 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3776 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
* _resultobj
;
3778 wxHtmlContainerCell
* _arg0
;
3781 PyObject
* _argo0
= 0;
3783 PyObject
* _obj1
= 0;
3785 PyObject
* _obj2
= 0;
3786 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3800 if (! wxColour_helper(_obj1
, &_arg1
))
3805 if (! wxColour_helper(_obj2
, &_arg2
))
3809 wxPy_BEGIN_ALLOW_THREADS
;
3810 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3812 wxPy_END_ALLOW_THREADS
;
3813 } Py_INCREF(Py_None
);
3814 _resultobj
= Py_None
;
3818 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3819 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
* _resultobj
;
3821 wxHtmlCell
* _result
;
3822 wxHtmlContainerCell
* _arg0
;
3823 PyObject
* _argo0
= 0;
3824 char *_kwnames
[] = { "self", NULL
};
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3838 wxPy_BEGIN_ALLOW_THREADS
;
3839 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3841 wxPy_END_ALLOW_THREADS
;
3843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3844 _resultobj
= Py_BuildValue("s",_ptemp
);
3847 _resultobj
= Py_None
;
3852 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3853 wxHtmlColourCell
*src
;
3855 src
= (wxHtmlColourCell
*) ptr
;
3856 dest
= (wxHtmlCell
*) src
;
3857 return (void *) dest
;
3860 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3861 wxHtmlColourCell
*src
;
3863 src
= (wxHtmlColourCell
*) ptr
;
3864 dest
= (wxObject
*) src
;
3865 return (void *) dest
;
3868 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3869 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3871 wxHtmlColourCell
* _result
;
3873 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3875 PyObject
* _obj0
= 0;
3876 char *_kwnames
[] = { "clr","flags", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3884 if (! wxColour_helper(_obj0
, &_arg0
))
3888 wxPy_BEGIN_ALLOW_THREADS
;
3889 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3891 wxPy_END_ALLOW_THREADS
;
3893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3894 _resultobj
= Py_BuildValue("s",_ptemp
);
3897 _resultobj
= Py_None
;
3902 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3903 wxHtmlFontCell
*src
;
3905 src
= (wxHtmlFontCell
*) ptr
;
3906 dest
= (wxHtmlCell
*) src
;
3907 return (void *) dest
;
3910 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3911 wxHtmlFontCell
*src
;
3913 src
= (wxHtmlFontCell
*) ptr
;
3914 dest
= (wxObject
*) src
;
3915 return (void *) dest
;
3918 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3919 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
* _resultobj
;
3921 wxHtmlFontCell
* _result
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "font", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
3938 wxPy_BEGIN_ALLOW_THREADS
;
3939 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
3941 wxPy_END_ALLOW_THREADS
;
3943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
3944 _resultobj
= Py_BuildValue("s",_ptemp
);
3947 _resultobj
= Py_None
;
3952 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
3953 wxHtmlWidgetCell
*src
;
3955 src
= (wxHtmlWidgetCell
*) ptr
;
3956 dest
= (wxHtmlCell
*) src
;
3957 return (void *) dest
;
3960 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
3961 wxHtmlWidgetCell
*src
;
3963 src
= (wxHtmlWidgetCell
*) ptr
;
3964 dest
= (wxObject
*) src
;
3965 return (void *) dest
;
3968 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
3969 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
* _resultobj
;
3971 wxHtmlWidgetCell
* _result
;
3973 int _arg1
= (int ) 0;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "wnd","w", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
3989 wxPy_BEGIN_ALLOW_THREADS
;
3990 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
3992 wxPy_END_ALLOW_THREADS
;
3994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
3995 _resultobj
= Py_BuildValue("s",_ptemp
);
3998 _resultobj
= Py_None
;
4003 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4004 wxPyHtmlWindow
*src
;
4005 wxScrolledWindow
*dest
;
4006 src
= (wxPyHtmlWindow
*) ptr
;
4007 dest
= (wxScrolledWindow
*) src
;
4008 return (void *) dest
;
4011 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4012 wxPyHtmlWindow
*src
;
4014 src
= (wxPyHtmlWindow
*) ptr
;
4015 dest
= (wxPanel
*) src
;
4016 return (void *) dest
;
4019 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4020 wxPyHtmlWindow
*src
;
4022 src
= (wxPyHtmlWindow
*) ptr
;
4023 dest
= (wxWindow
*) src
;
4024 return (void *) dest
;
4027 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4028 wxPyHtmlWindow
*src
;
4030 src
= (wxPyHtmlWindow
*) ptr
;
4031 dest
= (wxEvtHandler
*) src
;
4032 return (void *) dest
;
4035 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4036 wxPyHtmlWindow
*src
;
4038 src
= (wxPyHtmlWindow
*) ptr
;
4039 dest
= (wxObject
*) src
;
4040 return (void *) dest
;
4043 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4044 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4046 wxPyHtmlWindow
* _result
;
4048 int _arg1
= (int ) -1;
4049 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4050 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4051 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4052 char * _arg5
= (char *) "htmlWindow";
4053 PyObject
* _argo0
= 0;
4055 PyObject
* _obj2
= 0;
4057 PyObject
* _obj3
= 0;
4058 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4074 if (! wxPoint_helper(_obj2
, &_arg2
))
4080 if (! wxSize_helper(_obj3
, &_arg3
))
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4087 wxPy_END_ALLOW_THREADS
;
4089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4090 _resultobj
= Py_BuildValue("s",_ptemp
);
4093 _resultobj
= Py_None
;
4098 #define wxHtmlWindow__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4099 static PyObject
*_wrap_wxHtmlWindow__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4101 wxPyHtmlWindow
* _arg0
;
4104 PyObject
* _argo0
= 0;
4105 PyObject
* _obj1
= 0;
4106 PyObject
* _obj2
= 0;
4107 char *_kwnames
[] = { "self","self","_class", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setSelf. Expected _wxPyHtmlWindow_p.");
4126 wxPy_BEGIN_ALLOW_THREADS
;
4127 wxHtmlWindow__setSelf(_arg0
,_arg1
,_arg2
);
4129 wxPy_END_ALLOW_THREADS
;
4130 } Py_INCREF(Py_None
);
4131 _resultobj
= Py_None
;
4135 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4136 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4139 wxPyHtmlWindow
* _arg0
;
4141 PyObject
* _argo0
= 0;
4142 PyObject
* _obj1
= 0;
4143 char *_kwnames
[] = { "self","source", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4156 #if PYTHON_API_VERSION >= 1009
4157 char* tmpPtr
; int tmpSize
;
4158 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4162 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4164 _arg1
= new wxString(tmpPtr
, tmpSize
);
4166 if (!PyString_Check(_obj1
)) {
4167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4170 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4174 wxPy_BEGIN_ALLOW_THREADS
;
4175 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4177 wxPy_END_ALLOW_THREADS
;
4178 } _resultobj
= Py_BuildValue("i",_result
);
4186 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4187 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4190 wxPyHtmlWindow
* _arg0
;
4192 PyObject
* _argo0
= 0;
4193 PyObject
* _obj1
= 0;
4194 char *_kwnames
[] = { "self","location", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4207 #if PYTHON_API_VERSION >= 1009
4208 char* tmpPtr
; int tmpSize
;
4209 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4210 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4213 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4215 _arg1
= new wxString(tmpPtr
, tmpSize
);
4217 if (!PyString_Check(_obj1
)) {
4218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4221 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } _resultobj
= Py_BuildValue("i",_result
);
4237 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4238 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
* _resultobj
;
4241 wxPyHtmlWindow
* _arg0
;
4242 PyObject
* _argo0
= 0;
4243 char *_kwnames
[] = { "self", NULL
};
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4256 wxPy_BEGIN_ALLOW_THREADS
;
4257 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4259 wxPy_END_ALLOW_THREADS
;
4261 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4269 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4270 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4273 wxPyHtmlWindow
* _arg0
;
4274 PyObject
* _argo0
= 0;
4275 char *_kwnames
[] = { "self", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4291 wxPy_END_ALLOW_THREADS
;
4293 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4301 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4302 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4305 wxPyHtmlWindow
* _arg0
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4320 wxPy_BEGIN_ALLOW_THREADS
;
4321 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4323 wxPy_END_ALLOW_THREADS
;
4325 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4333 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4334 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxPyHtmlWindow
* _arg0
;
4339 PyObject
* _argo0
= 0;
4340 PyObject
* _argo1
= 0;
4341 char *_kwnames
[] = { "self","frame","format", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4364 wxPy_END_ALLOW_THREADS
;
4365 } Py_INCREF(Py_None
);
4366 _resultobj
= Py_None
;
4370 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4371 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4374 wxPyHtmlWindow
* _arg0
;
4375 PyObject
* _argo0
= 0;
4376 char *_kwnames
[] = { "self", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4389 wxPy_BEGIN_ALLOW_THREADS
;
4390 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4392 wxPy_END_ALLOW_THREADS
;
4393 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4397 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4398 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4400 wxPyHtmlWindow
* _arg0
;
4402 PyObject
* _argo0
= 0;
4403 char *_kwnames
[] = { "self","bar", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4416 wxPy_BEGIN_ALLOW_THREADS
;
4417 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4419 wxPy_END_ALLOW_THREADS
;
4420 } Py_INCREF(Py_None
);
4421 _resultobj
= Py_None
;
4425 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4426 int* temp
= int_LIST_helper(sizes
);
4428 self
->SetFonts(normal_face
, fixed_face
, temp
);
4432 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4434 wxPyHtmlWindow
* _arg0
;
4438 PyObject
* _argo0
= 0;
4439 PyObject
* _obj1
= 0;
4440 PyObject
* _obj2
= 0;
4441 PyObject
* _obj3
= 0;
4442 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4455 #if PYTHON_API_VERSION >= 1009
4456 char* tmpPtr
; int tmpSize
;
4457 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4458 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4461 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4463 _arg1
= new wxString(tmpPtr
, tmpSize
);
4465 if (!PyString_Check(_obj1
)) {
4466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4469 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4473 #if PYTHON_API_VERSION >= 1009
4474 char* tmpPtr
; int tmpSize
;
4475 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4476 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4479 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4481 _arg2
= new wxString(tmpPtr
, tmpSize
);
4483 if (!PyString_Check(_obj2
)) {
4484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4487 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } Py_INCREF(Py_None
);
4499 _resultobj
= Py_None
;
4511 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4512 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
* _resultobj
;
4514 wxPyHtmlWindow
* _arg0
;
4516 PyObject
* _argo0
= 0;
4517 PyObject
* _obj1
= 0;
4518 char *_kwnames
[] = { "self","title", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4531 #if PYTHON_API_VERSION >= 1009
4532 char* tmpPtr
; int tmpSize
;
4533 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4534 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4537 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4539 _arg1
= new wxString(tmpPtr
, tmpSize
);
4541 if (!PyString_Check(_obj1
)) {
4542 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4545 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4549 wxPy_BEGIN_ALLOW_THREADS
;
4550 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4552 wxPy_END_ALLOW_THREADS
;
4553 } Py_INCREF(Py_None
);
4554 _resultobj
= Py_None
;
4562 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4563 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4565 wxPyHtmlWindow
* _arg0
;
4567 PyObject
* _argo0
= 0;
4568 char *_kwnames
[] = { "self","b", NULL
};
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4581 wxPy_BEGIN_ALLOW_THREADS
;
4582 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4584 wxPy_END_ALLOW_THREADS
;
4585 } Py_INCREF(Py_None
);
4586 _resultobj
= Py_None
;
4590 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4591 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4593 wxPyHtmlWindow
* _arg0
;
4594 wxConfigBase
* _arg1
;
4595 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4596 PyObject
* _argo0
= 0;
4597 PyObject
* _argo1
= 0;
4598 PyObject
* _obj2
= 0;
4599 char *_kwnames
[] = { "self","cfg","path", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4620 #if PYTHON_API_VERSION >= 1009
4621 char* tmpPtr
; int tmpSize
;
4622 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4623 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4626 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4628 _arg2
= new wxString(tmpPtr
, tmpSize
);
4630 if (!PyString_Check(_obj2
)) {
4631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4634 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4638 wxPy_BEGIN_ALLOW_THREADS
;
4639 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4641 wxPy_END_ALLOW_THREADS
;
4642 } Py_INCREF(Py_None
);
4643 _resultobj
= Py_None
;
4651 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4652 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4654 wxPyHtmlWindow
* _arg0
;
4655 wxConfigBase
* _arg1
;
4656 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4657 PyObject
* _argo0
= 0;
4658 PyObject
* _argo1
= 0;
4659 PyObject
* _obj2
= 0;
4660 char *_kwnames
[] = { "self","cfg","path", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4681 #if PYTHON_API_VERSION >= 1009
4682 char* tmpPtr
; int tmpSize
;
4683 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4687 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4689 _arg2
= new wxString(tmpPtr
, tmpSize
);
4691 if (!PyString_Check(_obj2
)) {
4692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4695 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4699 wxPy_BEGIN_ALLOW_THREADS
;
4700 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4702 wxPy_END_ALLOW_THREADS
;
4703 } Py_INCREF(Py_None
);
4704 _resultobj
= Py_None
;
4712 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4713 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
* _resultobj
;
4716 wxPyHtmlWindow
* _arg0
;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "self", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4734 wxPy_END_ALLOW_THREADS
;
4735 } _resultobj
= Py_BuildValue("i",_result
);
4739 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4740 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4743 wxPyHtmlWindow
* _arg0
;
4744 PyObject
* _argo0
= 0;
4745 char *_kwnames
[] = { "self", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4758 wxPy_BEGIN_ALLOW_THREADS
;
4759 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4761 wxPy_END_ALLOW_THREADS
;
4762 } _resultobj
= Py_BuildValue("i",_result
);
4766 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4767 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4770 wxPyHtmlWindow
* _arg0
;
4771 PyObject
* _argo0
= 0;
4772 char *_kwnames
[] = { "self", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
4778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
4785 wxPy_BEGIN_ALLOW_THREADS
;
4786 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
4788 wxPy_END_ALLOW_THREADS
;
4789 } _resultobj
= Py_BuildValue("i",_result
);
4793 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
4794 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4797 wxPyHtmlWindow
* _arg0
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "self", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
4815 wxPy_END_ALLOW_THREADS
;
4816 } _resultobj
= Py_BuildValue("i",_result
);
4820 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
4821 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
* _resultobj
;
4823 wxPyHtmlWindow
* _arg0
;
4824 PyObject
* _argo0
= 0;
4825 char *_kwnames
[] = { "self", NULL
};
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
4831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
4838 wxPy_BEGIN_ALLOW_THREADS
;
4839 wxHtmlWindow_HistoryClear(_arg0
);
4841 wxPy_END_ALLOW_THREADS
;
4842 } Py_INCREF(Py_None
);
4843 _resultobj
= Py_None
;
4847 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
4848 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
* _resultobj
;
4850 wxHtmlContainerCell
* _result
;
4851 wxPyHtmlWindow
* _arg0
;
4852 PyObject
* _argo0
= 0;
4853 char *_kwnames
[] = { "self", NULL
};
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
4860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
4867 wxPy_BEGIN_ALLOW_THREADS
;
4868 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
4870 wxPy_END_ALLOW_THREADS
;
4872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
4873 _resultobj
= Py_BuildValue("s",_ptemp
);
4876 _resultobj
= Py_None
;
4881 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
4882 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4884 wxHtmlWinParser
* _result
;
4885 wxPyHtmlWindow
* _arg0
;
4886 PyObject
* _argo0
= 0;
4887 char *_kwnames
[] = { "self", NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
4894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
4901 wxPy_BEGIN_ALLOW_THREADS
;
4902 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
4904 wxPy_END_ALLOW_THREADS
;
4906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
4907 _resultobj
= Py_BuildValue("s",_ptemp
);
4910 _resultobj
= Py_None
;
4915 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
4916 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4918 wxPyHtmlWindow
* _arg0
;
4919 wxHtmlLinkInfo
* _arg1
;
4920 PyObject
* _argo0
= 0;
4921 PyObject
* _argo1
= 0;
4922 char *_kwnames
[] = { "self","link", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
4935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
4937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
4942 wxPy_BEGIN_ALLOW_THREADS
;
4943 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
4945 wxPy_END_ALLOW_THREADS
;
4946 } Py_INCREF(Py_None
);
4947 _resultobj
= Py_None
;
4951 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
4952 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4954 wxPyHtmlWindow
* _arg0
;
4956 PyObject
* _argo0
= 0;
4957 char *_kwnames
[] = { "self","title", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
4963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
4970 wxPy_BEGIN_ALLOW_THREADS
;
4971 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
4973 wxPy_END_ALLOW_THREADS
;
4974 } Py_INCREF(Py_None
);
4975 _resultobj
= Py_None
;
4979 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
4980 wxHtmlDCRenderer
*src
;
4982 src
= (wxHtmlDCRenderer
*) ptr
;
4983 dest
= (wxObject
*) src
;
4984 return (void *) dest
;
4987 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
4988 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4990 wxHtmlDCRenderer
* _result
;
4991 char *_kwnames
[] = { NULL
};
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
4998 wxPy_BEGIN_ALLOW_THREADS
;
4999 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5001 wxPy_END_ALLOW_THREADS
;
5003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5004 _resultobj
= Py_BuildValue("s",_ptemp
);
5007 _resultobj
= Py_None
;
5012 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5013 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5015 wxHtmlDCRenderer
* _arg0
;
5016 PyObject
* _argo0
= 0;
5017 char *_kwnames
[] = { "self", NULL
};
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5030 wxPy_BEGIN_ALLOW_THREADS
;
5031 delete_wxHtmlDCRenderer(_arg0
);
5033 wxPy_END_ALLOW_THREADS
;
5034 } Py_INCREF(Py_None
);
5035 _resultobj
= Py_None
;
5039 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5040 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
* _resultobj
;
5042 wxHtmlDCRenderer
* _arg0
;
5045 PyObject
* _argo0
= 0;
5046 PyObject
* _argo1
= 0;
5047 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5067 wxPy_BEGIN_ALLOW_THREADS
;
5068 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5070 wxPy_END_ALLOW_THREADS
;
5071 } Py_INCREF(Py_None
);
5072 _resultobj
= Py_None
;
5076 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5077 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
* _resultobj
;
5079 wxHtmlDCRenderer
* _arg0
;
5082 PyObject
* _argo0
= 0;
5083 char *_kwnames
[] = { "self","width","height", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5096 wxPy_BEGIN_ALLOW_THREADS
;
5097 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5099 wxPy_END_ALLOW_THREADS
;
5100 } Py_INCREF(Py_None
);
5101 _resultobj
= Py_None
;
5105 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5106 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5108 wxHtmlDCRenderer
* _arg0
;
5110 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5111 bool _arg3
= (bool ) TRUE
;
5112 PyObject
* _argo0
= 0;
5113 PyObject
* _obj1
= 0;
5114 PyObject
* _obj2
= 0;
5115 int tempbool3
= (int) TRUE
;
5116 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5129 #if PYTHON_API_VERSION >= 1009
5130 char* tmpPtr
; int tmpSize
;
5131 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5135 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5137 _arg1
= new wxString(tmpPtr
, tmpSize
);
5139 if (!PyString_Check(_obj1
)) {
5140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5143 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5148 #if PYTHON_API_VERSION >= 1009
5149 char* tmpPtr
; int tmpSize
;
5150 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5154 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5156 _arg2
= new wxString(tmpPtr
, tmpSize
);
5158 if (!PyString_Check(_obj2
)) {
5159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5162 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5165 _arg3
= (bool ) tempbool3
;
5167 wxPy_BEGIN_ALLOW_THREADS
;
5168 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5170 wxPy_END_ALLOW_THREADS
;
5171 } Py_INCREF(Py_None
);
5172 _resultobj
= Py_None
;
5184 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5185 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
* _resultobj
;
5188 wxHtmlDCRenderer
* _arg0
;
5191 int _arg3
= (int ) 0;
5192 int _arg4
= (int ) FALSE
;
5193 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5207 wxPy_BEGIN_ALLOW_THREADS
;
5208 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5210 wxPy_END_ALLOW_THREADS
;
5211 } _resultobj
= Py_BuildValue("i",_result
);
5215 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5216 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
* _resultobj
;
5219 wxHtmlDCRenderer
* _arg0
;
5220 PyObject
* _argo0
= 0;
5221 char *_kwnames
[] = { "self", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5237 wxPy_END_ALLOW_THREADS
;
5238 } _resultobj
= Py_BuildValue("i",_result
);
5242 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5243 wxHtmlPrintout
*src
;
5245 src
= (wxHtmlPrintout
*) ptr
;
5246 dest
= (wxPyPrintout
*) src
;
5247 return (void *) dest
;
5250 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5251 wxHtmlPrintout
*src
;
5253 src
= (wxHtmlPrintout
*) ptr
;
5254 dest
= (wxObject
*) src
;
5255 return (void *) dest
;
5258 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5259 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5261 wxHtmlPrintout
* _result
;
5262 char * _arg0
= (char *) "Printout";
5263 char *_kwnames
[] = { "title", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5270 wxPy_BEGIN_ALLOW_THREADS
;
5271 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5273 wxPy_END_ALLOW_THREADS
;
5275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5276 _resultobj
= Py_BuildValue("s",_ptemp
);
5279 _resultobj
= Py_None
;
5284 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5285 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5287 wxHtmlPrintout
* _arg0
;
5289 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5290 bool _arg3
= (bool ) TRUE
;
5291 PyObject
* _argo0
= 0;
5292 PyObject
* _obj1
= 0;
5293 PyObject
* _obj2
= 0;
5294 int tempbool3
= (int) TRUE
;
5295 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5308 #if PYTHON_API_VERSION >= 1009
5309 char* tmpPtr
; int tmpSize
;
5310 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5314 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5316 _arg1
= new wxString(tmpPtr
, tmpSize
);
5318 if (!PyString_Check(_obj1
)) {
5319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5322 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5327 #if PYTHON_API_VERSION >= 1009
5328 char* tmpPtr
; int tmpSize
;
5329 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5333 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5335 _arg2
= new wxString(tmpPtr
, tmpSize
);
5337 if (!PyString_Check(_obj2
)) {
5338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5341 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5344 _arg3
= (bool ) tempbool3
;
5346 wxPy_BEGIN_ALLOW_THREADS
;
5347 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5349 wxPy_END_ALLOW_THREADS
;
5350 } Py_INCREF(Py_None
);
5351 _resultobj
= Py_None
;
5363 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5364 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5366 wxHtmlPrintout
* _arg0
;
5368 PyObject
* _argo0
= 0;
5369 PyObject
* _obj1
= 0;
5370 char *_kwnames
[] = { "self","htmlfile", NULL
};
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5383 #if PYTHON_API_VERSION >= 1009
5384 char* tmpPtr
; int tmpSize
;
5385 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5386 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5389 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5391 _arg1
= new wxString(tmpPtr
, tmpSize
);
5393 if (!PyString_Check(_obj1
)) {
5394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5397 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5404 wxPy_END_ALLOW_THREADS
;
5405 } Py_INCREF(Py_None
);
5406 _resultobj
= Py_None
;
5414 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5415 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
* _resultobj
;
5417 wxHtmlPrintout
* _arg0
;
5419 int _arg2
= (int ) (wxPAGE_ALL
);
5420 PyObject
* _argo0
= 0;
5421 PyObject
* _obj1
= 0;
5422 char *_kwnames
[] = { "self","header","pg", NULL
};
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5435 #if PYTHON_API_VERSION >= 1009
5436 char* tmpPtr
; int tmpSize
;
5437 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5441 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5443 _arg1
= new wxString(tmpPtr
, tmpSize
);
5445 if (!PyString_Check(_obj1
)) {
5446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5449 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5453 wxPy_BEGIN_ALLOW_THREADS
;
5454 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5456 wxPy_END_ALLOW_THREADS
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5466 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5467 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
* _resultobj
;
5469 wxHtmlPrintout
* _arg0
;
5471 int _arg2
= (int ) (wxPAGE_ALL
);
5472 PyObject
* _argo0
= 0;
5473 PyObject
* _obj1
= 0;
5474 char *_kwnames
[] = { "self","footer","pg", NULL
};
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5487 #if PYTHON_API_VERSION >= 1009
5488 char* tmpPtr
; int tmpSize
;
5489 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5493 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5495 _arg1
= new wxString(tmpPtr
, tmpSize
);
5497 if (!PyString_Check(_obj1
)) {
5498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5501 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5505 wxPy_BEGIN_ALLOW_THREADS
;
5506 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5508 wxPy_END_ALLOW_THREADS
;
5509 } Py_INCREF(Py_None
);
5510 _resultobj
= Py_None
;
5518 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5519 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
* _resultobj
;
5521 wxHtmlPrintout
* _arg0
;
5522 float _arg1
= (float ) 25.2;
5523 float _arg2
= (float ) 25.2;
5524 float _arg3
= (float ) 25.2;
5525 float _arg4
= (float ) 25.2;
5526 float _arg5
= (float ) 5;
5527 PyObject
* _argo0
= 0;
5528 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5541 wxPy_BEGIN_ALLOW_THREADS
;
5542 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5544 wxPy_END_ALLOW_THREADS
;
5545 } Py_INCREF(Py_None
);
5546 _resultobj
= Py_None
;
5550 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5551 wxHtmlEasyPrinting
*src
;
5553 src
= (wxHtmlEasyPrinting
*) ptr
;
5554 dest
= (wxObject
*) src
;
5555 return (void *) dest
;
5558 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5559 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
* _resultobj
;
5561 wxHtmlEasyPrinting
* _result
;
5562 char * _arg0
= (char *) "Printing";
5563 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5564 PyObject
* _argo1
= 0;
5565 char *_kwnames
[] = { "name","parent_frame", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5579 wxPy_BEGIN_ALLOW_THREADS
;
5580 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5582 wxPy_END_ALLOW_THREADS
;
5584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5585 _resultobj
= Py_BuildValue("s",_ptemp
);
5588 _resultobj
= Py_None
;
5593 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5594 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5596 wxHtmlEasyPrinting
* _arg0
;
5597 PyObject
* _argo0
= 0;
5598 char *_kwnames
[] = { "self", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5611 wxPy_BEGIN_ALLOW_THREADS
;
5612 delete_wxHtmlEasyPrinting(_arg0
);
5614 wxPy_END_ALLOW_THREADS
;
5615 } Py_INCREF(Py_None
);
5616 _resultobj
= Py_None
;
5620 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5621 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
* _resultobj
;
5623 wxHtmlEasyPrinting
* _arg0
;
5625 PyObject
* _argo0
= 0;
5626 PyObject
* _obj1
= 0;
5627 char *_kwnames
[] = { "self","htmlfile", NULL
};
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5640 #if PYTHON_API_VERSION >= 1009
5641 char* tmpPtr
; int tmpSize
;
5642 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5646 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5648 _arg1
= new wxString(tmpPtr
, tmpSize
);
5650 if (!PyString_Check(_obj1
)) {
5651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5654 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5658 wxPy_BEGIN_ALLOW_THREADS
;
5659 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5661 wxPy_END_ALLOW_THREADS
;
5662 } Py_INCREF(Py_None
);
5663 _resultobj
= Py_None
;
5671 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
5672 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5674 wxHtmlEasyPrinting
* _arg0
;
5676 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5677 PyObject
* _argo0
= 0;
5678 PyObject
* _obj1
= 0;
5679 PyObject
* _obj2
= 0;
5680 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
5693 #if PYTHON_API_VERSION >= 1009
5694 char* tmpPtr
; int tmpSize
;
5695 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5699 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5701 _arg1
= new wxString(tmpPtr
, tmpSize
);
5703 if (!PyString_Check(_obj1
)) {
5704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5707 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5712 #if PYTHON_API_VERSION >= 1009
5713 char* tmpPtr
; int tmpSize
;
5714 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5718 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5720 _arg2
= new wxString(tmpPtr
, tmpSize
);
5722 if (!PyString_Check(_obj2
)) {
5723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5726 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5730 wxPy_BEGIN_ALLOW_THREADS
;
5731 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
5733 wxPy_END_ALLOW_THREADS
;
5734 } Py_INCREF(Py_None
);
5735 _resultobj
= Py_None
;
5747 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
5748 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5750 wxHtmlEasyPrinting
* _arg0
;
5752 PyObject
* _argo0
= 0;
5753 PyObject
* _obj1
= 0;
5754 char *_kwnames
[] = { "self","htmlfile", NULL
};
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
5760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
5767 #if PYTHON_API_VERSION >= 1009
5768 char* tmpPtr
; int tmpSize
;
5769 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5770 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5773 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5775 _arg1
= new wxString(tmpPtr
, tmpSize
);
5777 if (!PyString_Check(_obj1
)) {
5778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5781 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5785 wxPy_BEGIN_ALLOW_THREADS
;
5786 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
5788 wxPy_END_ALLOW_THREADS
;
5789 } Py_INCREF(Py_None
);
5790 _resultobj
= Py_None
;
5798 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
5799 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
* _resultobj
;
5801 wxHtmlEasyPrinting
* _arg0
;
5803 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5804 PyObject
* _argo0
= 0;
5805 PyObject
* _obj1
= 0;
5806 PyObject
* _obj2
= 0;
5807 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
5820 #if PYTHON_API_VERSION >= 1009
5821 char* tmpPtr
; int tmpSize
;
5822 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5826 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5828 _arg1
= new wxString(tmpPtr
, tmpSize
);
5830 if (!PyString_Check(_obj1
)) {
5831 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5834 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5839 #if PYTHON_API_VERSION >= 1009
5840 char* tmpPtr
; int tmpSize
;
5841 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5842 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5845 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5847 _arg2
= new wxString(tmpPtr
, tmpSize
);
5849 if (!PyString_Check(_obj2
)) {
5850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5853 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5857 wxPy_BEGIN_ALLOW_THREADS
;
5858 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
5860 wxPy_END_ALLOW_THREADS
;
5861 } Py_INCREF(Py_None
);
5862 _resultobj
= Py_None
;
5874 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
5875 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5877 wxHtmlEasyPrinting
* _arg0
;
5878 PyObject
* _argo0
= 0;
5879 char *_kwnames
[] = { "self", NULL
};
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
5885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
5892 wxPy_BEGIN_ALLOW_THREADS
;
5893 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
5895 wxPy_END_ALLOW_THREADS
;
5896 } Py_INCREF(Py_None
);
5897 _resultobj
= Py_None
;
5901 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
5902 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
* _resultobj
;
5904 wxHtmlEasyPrinting
* _arg0
;
5905 PyObject
* _argo0
= 0;
5906 char *_kwnames
[] = { "self", NULL
};
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
5912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
5919 wxPy_BEGIN_ALLOW_THREADS
;
5920 wxHtmlEasyPrinting_PageSetup(_arg0
);
5922 wxPy_END_ALLOW_THREADS
;
5923 } Py_INCREF(Py_None
);
5924 _resultobj
= Py_None
;
5928 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5929 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
* _resultobj
;
5931 wxHtmlEasyPrinting
* _arg0
;
5933 int _arg2
= (int ) (wxPAGE_ALL
);
5934 PyObject
* _argo0
= 0;
5935 PyObject
* _obj1
= 0;
5936 char *_kwnames
[] = { "self","header","pg", NULL
};
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
5949 #if PYTHON_API_VERSION >= 1009
5950 char* tmpPtr
; int tmpSize
;
5951 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5955 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5957 _arg1
= new wxString(tmpPtr
, tmpSize
);
5959 if (!PyString_Check(_obj1
)) {
5960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5963 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5967 wxPy_BEGIN_ALLOW_THREADS
;
5968 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
5970 wxPy_END_ALLOW_THREADS
;
5971 } Py_INCREF(Py_None
);
5972 _resultobj
= Py_None
;
5980 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5981 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
* _resultobj
;
5983 wxHtmlEasyPrinting
* _arg0
;
5985 int _arg2
= (int ) (wxPAGE_ALL
);
5986 PyObject
* _argo0
= 0;
5987 PyObject
* _obj1
= 0;
5988 char *_kwnames
[] = { "self","footer","pg", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6001 #if PYTHON_API_VERSION >= 1009
6002 char* tmpPtr
; int tmpSize
;
6003 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6004 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6007 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6009 _arg1
= new wxString(tmpPtr
, tmpSize
);
6011 if (!PyString_Check(_obj1
)) {
6012 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6015 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6019 wxPy_BEGIN_ALLOW_THREADS
;
6020 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6022 wxPy_END_ALLOW_THREADS
;
6023 } Py_INCREF(Py_None
);
6024 _resultobj
= Py_None
;
6032 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6033 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
* _resultobj
;
6035 wxPrintData
* _result
;
6036 wxHtmlEasyPrinting
* _arg0
;
6037 PyObject
* _argo0
= 0;
6038 char *_kwnames
[] = { "self", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6052 wxPy_BEGIN_ALLOW_THREADS
;
6053 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6055 wxPy_END_ALLOW_THREADS
;
6057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6058 _resultobj
= Py_BuildValue("s",_ptemp
);
6061 _resultobj
= Py_None
;
6066 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6067 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
* _resultobj
;
6069 wxPageSetupDialogData
* _result
;
6070 wxHtmlEasyPrinting
* _arg0
;
6071 PyObject
* _argo0
= 0;
6072 char *_kwnames
[] = { "self", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6086 wxPy_BEGIN_ALLOW_THREADS
;
6087 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6089 wxPy_END_ALLOW_THREADS
;
6091 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6092 _resultobj
= Py_BuildValue("s",_ptemp
);
6095 _resultobj
= Py_None
;
6100 static PyMethodDef htmlcMethods
[] = {
6101 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6102 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6103 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6104 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6105 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6106 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6107 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6108 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6109 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6110 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6111 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6112 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6113 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6114 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6115 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6116 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6117 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6118 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6119 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6120 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6121 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6122 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6123 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6124 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6125 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6126 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6127 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6128 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6129 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6130 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6131 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6132 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6133 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6134 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6135 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6136 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6137 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6138 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6139 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6140 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6141 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6142 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6143 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6144 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6145 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6146 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6147 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6148 { "wxHtmlWindow__setSelf", (PyCFunction
) _wrap_wxHtmlWindow__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6149 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6150 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6151 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6152 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6153 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6154 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6155 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6156 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6157 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6158 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6159 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6160 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6161 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6162 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6163 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6164 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6165 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6166 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6167 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6168 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6169 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6170 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6171 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6172 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6173 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6174 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6175 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6176 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6177 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6178 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6179 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6180 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6181 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6182 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6183 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6184 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6185 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6186 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6187 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6188 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6189 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6190 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6191 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6192 { "wxHtmlWinTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6193 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6194 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6195 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6196 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6197 { "wxHtmlTagHandler__setSelf", (PyCFunction
) _wrap_wxHtmlTagHandler__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6198 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6199 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6200 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6201 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6202 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6203 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6204 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6205 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6206 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6207 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6208 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6209 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6210 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6211 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6212 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6213 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6214 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6215 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6216 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6217 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6218 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6219 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6220 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6221 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6222 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6223 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6224 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6225 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6226 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6227 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6228 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6229 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6230 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6231 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6232 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6233 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6234 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6235 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6236 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6237 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6238 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6239 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6240 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6241 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6242 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6243 { "wxHtmlTag_IsEnding", (PyCFunction
) _wrap_wxHtmlTag_IsEnding
, METH_VARARGS
| METH_KEYWORDS
},
6244 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6245 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6246 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6247 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6248 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6249 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6250 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6251 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6252 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6253 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6254 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6255 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6256 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6263 * This table is used by the pointer type-checker
6265 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6266 { "_class_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6267 { "_class_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6268 { "_signed_long","_long",0},
6269 { "_wxPrintQuality","_wxCoord",0},
6270 { "_wxPrintQuality","_int",0},
6271 { "_wxPrintQuality","_signed_int",0},
6272 { "_wxPrintQuality","_unsigned_int",0},
6273 { "_wxPrintQuality","_wxWindowID",0},
6274 { "_wxPrintQuality","_uint",0},
6275 { "_wxPrintQuality","_EBool",0},
6276 { "_wxPrintQuality","_size_t",0},
6277 { "_wxPrintQuality","_time_t",0},
6278 { "_class_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6279 { "_class_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6280 { "_byte","_unsigned_char",0},
6281 { "_wxPyPrintout","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6282 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6283 { "_long","_unsigned_long",0},
6284 { "_long","_signed_long",0},
6285 { "_class_wxObject","_class_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6286 { "_class_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6287 { "_class_wxObject","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6288 { "_class_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6289 { "_class_wxObject","_class_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6290 { "_class_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6291 { "_class_wxObject","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6292 { "_class_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6293 { "_class_wxObject","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6294 { "_class_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6295 { "_class_wxObject","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6296 { "_class_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6297 { "_class_wxObject","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6298 { "_class_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6299 { "_class_wxObject","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6300 { "_class_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6301 { "_class_wxObject","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6302 { "_class_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6303 { "_class_wxObject","_class_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6304 { "_class_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6305 { "_class_wxObject","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6306 { "_class_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6307 { "_class_wxObject","_class_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6308 { "_class_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6309 { "_class_wxObject","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6310 { "_class_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6311 { "_class_wxObject","_class_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6312 { "_class_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6313 { "_class_wxObject","_class_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6314 { "_class_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6315 { "_class_wxObject","_class_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6316 { "_class_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6317 { "_size_t","_wxCoord",0},
6318 { "_size_t","_wxPrintQuality",0},
6319 { "_size_t","_time_t",0},
6320 { "_size_t","_unsigned_int",0},
6321 { "_size_t","_int",0},
6322 { "_size_t","_wxWindowID",0},
6323 { "_size_t","_uint",0},
6324 { "_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6325 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6326 { "_class_wxPyPrintout","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6327 { "_class_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6328 { "_uint","_wxCoord",0},
6329 { "_uint","_wxPrintQuality",0},
6330 { "_uint","_time_t",0},
6331 { "_uint","_size_t",0},
6332 { "_uint","_unsigned_int",0},
6333 { "_uint","_int",0},
6334 { "_uint","_wxWindowID",0},
6335 { "_wxChar","_char",0},
6336 { "_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6337 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6338 { "_wxHtmlCell","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6339 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6340 { "_wxHtmlCell","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6341 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6342 { "_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6343 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6344 { "_wxHtmlCell","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6345 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6346 { "_char","_wxChar",0},
6347 { "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6348 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6349 { "_EBool","_wxCoord",0},
6350 { "_EBool","_wxPrintQuality",0},
6351 { "_EBool","_signed_int",0},
6352 { "_EBool","_int",0},
6353 { "_EBool","_wxWindowID",0},
6354 { "_unsigned_long","_long",0},
6355 { "_class_wxPanel","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6356 { "_class_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6357 { "_signed_int","_wxCoord",0},
6358 { "_signed_int","_wxPrintQuality",0},
6359 { "_signed_int","_EBool",0},
6360 { "_signed_int","_wxWindowID",0},
6361 { "_signed_int","_int",0},
6362 { "_WXTYPE","_wxDateTime_t",0},
6363 { "_WXTYPE","_short",0},
6364 { "_WXTYPE","_signed_short",0},
6365 { "_WXTYPE","_unsigned_short",0},
6366 { "_class_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6367 { "_class_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6368 { "_unsigned_short","_wxDateTime_t",0},
6369 { "_unsigned_short","_WXTYPE",0},
6370 { "_unsigned_short","_short",0},
6371 { "_class_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6372 { "_class_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6373 { "_wxObject","_class_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6374 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6375 { "_wxObject","_class_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6376 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6377 { "_wxObject","_class_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6378 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6379 { "_wxObject","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6380 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6381 { "_wxObject","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6382 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6383 { "_wxObject","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6384 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6385 { "_wxObject","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6386 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6387 { "_wxObject","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6388 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6389 { "_wxObject","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6390 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6391 { "_wxObject","_class_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6392 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6393 { "_wxObject","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6394 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6395 { "_wxObject","_class_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6396 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6397 { "_wxObject","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6398 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6399 { "_wxObject","_class_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6400 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6401 { "_wxObject","_class_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6402 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6403 { "_wxObject","_class_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6404 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6405 { "_class_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6406 { "_class_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6407 { "_class_wxHtmlCell","_class_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6408 { "_class_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6409 { "_class_wxHtmlCell","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6410 { "_class_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6411 { "_class_wxHtmlCell","_class_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6412 { "_class_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6413 { "_class_wxHtmlCell","_class_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6414 { "_class_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6415 { "_signed_short","_WXTYPE",0},
6416 { "_signed_short","_short",0},
6417 { "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6418 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6419 { "_unsigned_char","_byte",0},
6420 { "_unsigned_int","_wxCoord",0},
6421 { "_unsigned_int","_wxPrintQuality",0},
6422 { "_unsigned_int","_time_t",0},
6423 { "_unsigned_int","_size_t",0},
6424 { "_unsigned_int","_uint",0},
6425 { "_unsigned_int","_wxWindowID",0},
6426 { "_unsigned_int","_int",0},
6427 { "_short","_wxDateTime_t",0},
6428 { "_short","_WXTYPE",0},
6429 { "_short","_unsigned_short",0},
6430 { "_short","_signed_short",0},
6431 { "_wxWindowID","_wxCoord",0},
6432 { "_wxWindowID","_wxPrintQuality",0},
6433 { "_wxWindowID","_time_t",0},
6434 { "_wxWindowID","_size_t",0},
6435 { "_wxWindowID","_EBool",0},
6436 { "_wxWindowID","_uint",0},
6437 { "_wxWindowID","_int",0},
6438 { "_wxWindowID","_signed_int",0},
6439 { "_wxWindowID","_unsigned_int",0},
6440 { "_int","_wxCoord",0},
6441 { "_int","_wxPrintQuality",0},
6442 { "_int","_time_t",0},
6443 { "_int","_size_t",0},
6444 { "_int","_EBool",0},
6445 { "_int","_uint",0},
6446 { "_int","_wxWindowID",0},
6447 { "_int","_unsigned_int",0},
6448 { "_int","_signed_int",0},
6449 { "_wxDateTime_t","_unsigned_short",0},
6450 { "_wxDateTime_t","_short",0},
6451 { "_wxDateTime_t","_WXTYPE",0},
6452 { "_time_t","_wxCoord",0},
6453 { "_time_t","_wxPrintQuality",0},
6454 { "_time_t","_unsigned_int",0},
6455 { "_time_t","_int",0},
6456 { "_time_t","_wxWindowID",0},
6457 { "_time_t","_uint",0},
6458 { "_time_t","_size_t",0},
6459 { "_wxCoord","_int",0},
6460 { "_wxCoord","_signed_int",0},
6461 { "_wxCoord","_unsigned_int",0},
6462 { "_wxCoord","_wxWindowID",0},
6463 { "_wxCoord","_uint",0},
6464 { "_wxCoord","_EBool",0},
6465 { "_wxCoord","_size_t",0},
6466 { "_wxCoord","_time_t",0},
6467 { "_wxCoord","_wxPrintQuality",0},
6468 { "_wxHtmlParser","_class_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6469 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6470 { "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6471 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6472 { "_class_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6473 { "_class_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6474 { "_wxWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6475 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6478 static PyObject
*SWIG_globals
;
6482 SWIGEXPORT(void) inithtmlc() {
6484 SWIG_globals
= SWIG_newvarlink();
6485 m
= Py_InitModule("htmlc", htmlcMethods
);
6486 d
= PyModule_GetDict(m
);
6487 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6488 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6489 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6490 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6491 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6492 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6493 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6494 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6495 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6496 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6497 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6498 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6499 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6500 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6501 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6502 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6503 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6504 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6505 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6506 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6507 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6508 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6513 wxClassInfo::CleanUpClasses();
6514 wxClassInfo::InitializeClasses();
6516 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6517 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6518 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6521 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6522 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);