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 required";
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 wxPyBeginBlockThreads();
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 wxPyEndBlockThreads();
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 wxPyBeginBlockThreads();
166 PyObject
* arg
= Py_BuildValue("()");
167 PyObject
* obj
= PyInstance_New(m_tagHandlerClass
, arg
, NULL
);
169 wxPyEndBlockThreads();
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
{
196 DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow
);
198 wxPyHtmlWindow(wxWindow
*parent
, wxWindowID id
= -1,
199 const wxPoint
& pos
= wxDefaultPosition
,
200 const wxSize
& size
= wxDefaultSize
,
201 long style
= wxHW_SCROLLBAR_AUTO
,
202 const wxString
& name
= "htmlWindow")
203 : wxHtmlWindow(parent
, id
, pos
, size
, style
, name
) {};
204 wxPyHtmlWindow() : wxHtmlWindow() {};
206 void OnLinkClicked(const wxHtmlLinkInfo
& link
);
207 void base_OnLinkClicked(const wxHtmlLinkInfo
& link
);
209 DEC_PYCALLBACK__STRING(OnSetTitle
);
210 DEC_PYCALLBACK__CELLINTINT(OnCellMouseHover
);
211 DEC_PYCALLBACK__CELLINTINTME(OnCellClicked
);
215 IMPLEMENT_ABSTRACT_CLASS( wxPyHtmlWindow
, wxHtmlWindow
);
216 IMP_PYCALLBACK__STRING(wxPyHtmlWindow
, wxHtmlWindow
, OnSetTitle
);
217 IMP_PYCALLBACK__CELLINTINT(wxPyHtmlWindow
, wxHtmlWindow
, OnCellMouseHover
);
218 IMP_PYCALLBACK__CELLINTINTME(wxPyHtmlWindow
, wxHtmlWindow
, OnCellClicked
);
221 void wxPyHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo
& link
) {
223 wxPyBeginBlockThreads();
224 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
225 PyObject
* obj
= wxPyConstructObject((void*)&link
, "wxHtmlLinkInfo", 0);
226 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", obj
));
229 wxPyEndBlockThreads();
231 wxHtmlWindow::OnLinkClicked(link
);
233 void wxPyHtmlWindow::base_OnLinkClicked(const wxHtmlLinkInfo
& link
) {
234 wxHtmlWindow::OnLinkClicked(link
);
238 void wxHtmlWindow_AddFilter(wxHtmlFilter
*filter
) {
239 wxHtmlWindow::AddFilter(filter
);
242 extern "C" SWIGEXPORT(void) inithtmlhelpc();
246 static PyObject
*_wrap_wxHtmlWinParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
249 PyObject
* _obj0
= 0;
250 char *_kwnames
[] = { "tagHandlerClass", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_AddTagHandler",_kwnames
,&_obj0
))
259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
260 wxHtmlWinParser_AddTagHandler(_arg0
);
262 wxPyEndAllowThreads(__tstate
);
263 if (PyErr_Occurred()) return NULL
;
264 } Py_INCREF(Py_None
);
265 _resultobj
= Py_None
;
269 static PyObject
*_wrap_wxHtmlWindow_AddFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
270 PyObject
* _resultobj
;
271 wxHtmlFilter
* _arg0
;
272 PyObject
* _argo0
= 0;
273 char *_kwnames
[] = { "filter", NULL
};
276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_AddFilter",_kwnames
,&_argo0
))
279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlFilter_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AddFilter. Expected _wxHtmlFilter_p.");
286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
287 wxHtmlWindow_AddFilter(_arg0
);
289 wxPyEndAllowThreads(__tstate
);
290 if (PyErr_Occurred()) return NULL
;
291 } Py_INCREF(Py_None
);
292 _resultobj
= Py_None
;
296 static void *SwigwxHtmlLinkInfoTowxObject(void *ptr
) {
299 src
= (wxHtmlLinkInfo
*) ptr
;
300 dest
= (wxObject
*) src
;
301 return (void *) dest
;
304 #define new_wxHtmlLinkInfo(_swigarg0,_swigarg1) (new wxHtmlLinkInfo(_swigarg0,_swigarg1))
305 static PyObject
*_wrap_new_wxHtmlLinkInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
307 wxHtmlLinkInfo
* _result
;
309 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
310 PyObject
* _obj0
= 0;
311 PyObject
* _obj1
= 0;
312 char *_kwnames
[] = { "href","target", NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxHtmlLinkInfo",_kwnames
,&_obj0
,&_obj1
))
319 #if PYTHON_API_VERSION >= 1009
320 char* tmpPtr
; int tmpSize
;
321 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
325 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
327 _arg0
= new wxString(tmpPtr
, tmpSize
);
329 if (!PyString_Check(_obj0
)) {
330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
333 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
338 #if PYTHON_API_VERSION >= 1009
339 char* tmpPtr
; int tmpSize
;
340 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
344 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
346 _arg1
= new wxString(tmpPtr
, tmpSize
);
348 if (!PyString_Check(_obj1
)) {
349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
352 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 _result
= (wxHtmlLinkInfo
*)new_wxHtmlLinkInfo(*_arg0
,*_arg1
);
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
363 _resultobj
= Py_BuildValue("s",_ptemp
);
366 _resultobj
= Py_None
;
379 #define wxHtmlLinkInfo_GetHref(_swigobj) (_swigobj->GetHref())
380 static PyObject
*_wrap_wxHtmlLinkInfo_GetHref(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
383 wxHtmlLinkInfo
* _arg0
;
384 PyObject
* _argo0
= 0;
385 char *_kwnames
[] = { "self", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHref",_kwnames
,&_argo0
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHref. Expected _wxHtmlLinkInfo_p.");
398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
399 _result
= new wxString (wxHtmlLinkInfo_GetHref(_arg0
));
401 wxPyEndAllowThreads(__tstate
);
402 if (PyErr_Occurred()) return NULL
;
404 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
412 #define wxHtmlLinkInfo_GetTarget(_swigobj) (_swigobj->GetTarget())
413 static PyObject
*_wrap_wxHtmlLinkInfo_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
416 wxHtmlLinkInfo
* _arg0
;
417 PyObject
* _argo0
= 0;
418 char *_kwnames
[] = { "self", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetTarget",_kwnames
,&_argo0
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetTarget. Expected _wxHtmlLinkInfo_p.");
431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
432 _result
= new wxString (wxHtmlLinkInfo_GetTarget(_arg0
));
434 wxPyEndAllowThreads(__tstate
);
435 if (PyErr_Occurred()) return NULL
;
437 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
445 #define wxHtmlLinkInfo_GetEvent(_swigobj) (_swigobj->GetEvent())
446 static PyObject
*_wrap_wxHtmlLinkInfo_GetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
447 PyObject
* _resultobj
;
448 wxMouseEvent
* _result
;
449 wxHtmlLinkInfo
* _arg0
;
450 PyObject
* _argo0
= 0;
451 char *_kwnames
[] = { "self", NULL
};
454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetEvent",_kwnames
,&_argo0
))
457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetEvent. Expected _wxHtmlLinkInfo_p.");
464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
465 _result
= (wxMouseEvent
*)wxHtmlLinkInfo_GetEvent(_arg0
);
467 wxPyEndAllowThreads(__tstate
);
468 if (PyErr_Occurred()) return NULL
;
469 }{ _resultobj
= wxPyMake_wxObject(_result
); }
473 #define wxHtmlLinkInfo_GetHtmlCell(_swigobj) (_swigobj->GetHtmlCell())
474 static PyObject
*_wrap_wxHtmlLinkInfo_GetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
475 PyObject
* _resultobj
;
476 wxHtmlCell
* _result
;
477 wxHtmlLinkInfo
* _arg0
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlLinkInfo_GetHtmlCell",_kwnames
,&_argo0
))
486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_GetHtmlCell. Expected _wxHtmlLinkInfo_p.");
493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
494 _result
= (wxHtmlCell
*)wxHtmlLinkInfo_GetHtmlCell(_arg0
);
496 wxPyEndAllowThreads(__tstate
);
497 if (PyErr_Occurred()) return NULL
;
499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
500 _resultobj
= Py_BuildValue("s",_ptemp
);
503 _resultobj
= Py_None
;
508 #define wxHtmlLinkInfo_SetEvent(_swigobj,_swigarg0) (_swigobj->SetEvent(_swigarg0))
509 static PyObject
*_wrap_wxHtmlLinkInfo_SetEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
511 wxHtmlLinkInfo
* _arg0
;
512 wxMouseEvent
* _arg1
;
513 PyObject
* _argo0
= 0;
514 PyObject
* _argo1
= 0;
515 char *_kwnames
[] = { "self","e", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetEvent",_kwnames
,&_argo0
,&_argo1
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetEvent. Expected _wxHtmlLinkInfo_p.");
528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMouseEvent_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetEvent. Expected _wxMouseEvent_p.");
535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
536 wxHtmlLinkInfo_SetEvent(_arg0
,_arg1
);
538 wxPyEndAllowThreads(__tstate
);
539 if (PyErr_Occurred()) return NULL
;
540 } Py_INCREF(Py_None
);
541 _resultobj
= Py_None
;
545 #define wxHtmlLinkInfo_SetHtmlCell(_swigobj,_swigarg0) (_swigobj->SetHtmlCell(_swigarg0))
546 static PyObject
*_wrap_wxHtmlLinkInfo_SetHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
548 wxHtmlLinkInfo
* _arg0
;
550 PyObject
* _argo0
= 0;
551 PyObject
* _argo1
= 0;
552 char *_kwnames
[] = { "self","e", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlLinkInfo_SetHtmlCell",_kwnames
,&_argo0
,&_argo1
))
558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlLinkInfo_p")) {
560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlLinkInfo_p.");
565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlLinkInfo_SetHtmlCell. Expected _wxHtmlCell_p.");
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 wxHtmlLinkInfo_SetHtmlCell(_arg0
,_arg1
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) return NULL
;
577 } Py_INCREF(Py_None
);
578 _resultobj
= Py_None
;
582 static void *SwigwxHtmlTagTowxObject(void *ptr
) {
585 src
= (wxHtmlTag
*) ptr
;
586 dest
= (wxObject
*) src
;
587 return (void *) dest
;
590 #define wxHtmlTag_GetName(_swigobj) (_swigobj->GetName())
591 static PyObject
*_wrap_wxHtmlTag_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetName",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetName. Expected _wxHtmlTag_p.");
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 _result
= new wxString (wxHtmlTag_GetName(_arg0
));
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
615 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
623 #define wxHtmlTag_HasParam(_swigobj,_swigarg0) (_swigobj->HasParam(_swigarg0))
624 static PyObject
*_wrap_wxHtmlTag_HasParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
629 PyObject
* _argo0
= 0;
630 PyObject
* _obj1
= 0;
631 char *_kwnames
[] = { "self","par", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTag_HasParam",_kwnames
,&_argo0
,&_obj1
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasParam. Expected _wxHtmlTag_p.");
644 #if PYTHON_API_VERSION >= 1009
645 char* tmpPtr
; int tmpSize
;
646 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
650 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
652 _arg1
= new wxString(tmpPtr
, tmpSize
);
654 if (!PyString_Check(_obj1
)) {
655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
658 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
663 _result
= (bool )wxHtmlTag_HasParam(_arg0
,*_arg1
);
665 wxPyEndAllowThreads(__tstate
);
666 if (PyErr_Occurred()) return NULL
;
667 } _resultobj
= Py_BuildValue("i",_result
);
675 #define wxHtmlTag_GetParam(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetParam(_swigarg0,_swigarg1))
676 static PyObject
*_wrap_wxHtmlTag_GetParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
681 int _arg2
= (int ) FALSE
;
682 PyObject
* _argo0
= 0;
683 PyObject
* _obj1
= 0;
684 char *_kwnames
[] = { "self","par","with_commas", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlTag_GetParam",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetParam. Expected _wxHtmlTag_p.");
697 #if PYTHON_API_VERSION >= 1009
698 char* tmpPtr
; int tmpSize
;
699 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
703 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
705 _arg1
= new wxString(tmpPtr
, tmpSize
);
707 if (!PyString_Check(_obj1
)) {
708 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
711 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
716 _result
= new wxString (wxHtmlTag_GetParam(_arg0
,*_arg1
,_arg2
));
718 wxPyEndAllowThreads(__tstate
);
719 if (PyErr_Occurred()) return NULL
;
721 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
733 #define wxHtmlTag_GetAllParams(_swigobj) (_swigobj->GetAllParams())
734 static PyObject
*_wrap_wxHtmlTag_GetAllParams(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
738 PyObject
* _argo0
= 0;
739 char *_kwnames
[] = { "self", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetAllParams",_kwnames
,&_argo0
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetAllParams. Expected _wxHtmlTag_p.");
752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
753 _result
= new wxString (wxHtmlTag_GetAllParams(_arg0
));
755 wxPyEndAllowThreads(__tstate
);
756 if (PyErr_Occurred()) return NULL
;
758 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
766 #define wxHtmlTag_HasEnding(_swigobj) (_swigobj->HasEnding())
767 static PyObject
*_wrap_wxHtmlTag_HasEnding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 PyObject
* _resultobj
;
771 PyObject
* _argo0
= 0;
772 char *_kwnames
[] = { "self", NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_HasEnding",_kwnames
,&_argo0
))
778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_HasEnding. Expected _wxHtmlTag_p.");
785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
786 _result
= (bool )wxHtmlTag_HasEnding(_arg0
);
788 wxPyEndAllowThreads(__tstate
);
789 if (PyErr_Occurred()) return NULL
;
790 } _resultobj
= Py_BuildValue("i",_result
);
794 #define wxHtmlTag_GetBeginPos(_swigobj) (_swigobj->GetBeginPos())
795 static PyObject
*_wrap_wxHtmlTag_GetBeginPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
799 PyObject
* _argo0
= 0;
800 char *_kwnames
[] = { "self", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetBeginPos",_kwnames
,&_argo0
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetBeginPos. Expected _wxHtmlTag_p.");
813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
814 _result
= (int )wxHtmlTag_GetBeginPos(_arg0
);
816 wxPyEndAllowThreads(__tstate
);
817 if (PyErr_Occurred()) return NULL
;
818 } _resultobj
= Py_BuildValue("i",_result
);
822 #define wxHtmlTag_GetEndPos1(_swigobj) (_swigobj->GetEndPos1())
823 static PyObject
*_wrap_wxHtmlTag_GetEndPos1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos1",_kwnames
,&_argo0
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos1. Expected _wxHtmlTag_p.");
841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
842 _result
= (int )wxHtmlTag_GetEndPos1(_arg0
);
844 wxPyEndAllowThreads(__tstate
);
845 if (PyErr_Occurred()) return NULL
;
846 } _resultobj
= Py_BuildValue("i",_result
);
850 #define wxHtmlTag_GetEndPos2(_swigobj) (_swigobj->GetEndPos2())
851 static PyObject
*_wrap_wxHtmlTag_GetEndPos2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 PyObject
* _resultobj
;
855 PyObject
* _argo0
= 0;
856 char *_kwnames
[] = { "self", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTag_GetEndPos2",_kwnames
,&_argo0
))
862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlTag_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTag_GetEndPos2. Expected _wxHtmlTag_p.");
869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
870 _result
= (int )wxHtmlTag_GetEndPos2(_arg0
);
872 wxPyEndAllowThreads(__tstate
);
873 if (PyErr_Occurred()) return NULL
;
874 } _resultobj
= Py_BuildValue("i",_result
);
878 static void *SwigwxHtmlParserTowxObject(void *ptr
) {
881 src
= (wxHtmlParser
*) ptr
;
882 dest
= (wxObject
*) src
;
883 return (void *) dest
;
886 #define wxHtmlParser_SetFS(_swigobj,_swigarg0) (_swigobj->SetFS(_swigarg0))
887 static PyObject
*_wrap_wxHtmlParser_SetFS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 PyObject
* _resultobj
;
889 wxHtmlParser
* _arg0
;
890 wxFileSystem
* _arg1
;
891 PyObject
* _argo0
= 0;
892 PyObject
* _argo1
= 0;
893 char *_kwnames
[] = { "self","fs", NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_SetFS",_kwnames
,&_argo0
,&_argo1
))
899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_SetFS. Expected _wxHtmlParser_p.");
906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileSystem_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_SetFS. Expected _wxFileSystem_p.");
913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
914 wxHtmlParser_SetFS(_arg0
,_arg1
);
916 wxPyEndAllowThreads(__tstate
);
917 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
943 _result
= (wxFileSystem
*)wxHtmlParser_GetFS(_arg0
);
945 wxPyEndAllowThreads(__tstate
);
946 if (PyErr_Occurred()) return NULL
;
947 }{ _resultobj
= wxPyMake_wxObject(_result
); }
951 #define wxHtmlParser_Parse(_swigobj,_swigarg0) (_swigobj->Parse(_swigarg0))
952 static PyObject
*_wrap_wxHtmlParser_Parse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
955 wxHtmlParser
* _arg0
;
957 PyObject
* _argo0
= 0;
958 PyObject
* _obj1
= 0;
959 char *_kwnames
[] = { "self","source", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_Parse",_kwnames
,&_argo0
,&_obj1
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_Parse. Expected _wxHtmlParser_p.");
972 #if PYTHON_API_VERSION >= 1009
973 char* tmpPtr
; int tmpSize
;
974 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
978 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
980 _arg1
= new wxString(tmpPtr
, tmpSize
);
982 if (!PyString_Check(_obj1
)) {
983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
986 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 _result
= (wxObject
*)wxHtmlParser_Parse(_arg0
,*_arg1
);
993 wxPyEndAllowThreads(__tstate
);
994 if (PyErr_Occurred()) return NULL
;
995 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1003 #define wxHtmlParser_InitParser(_swigobj,_swigarg0) (_swigobj->InitParser(_swigarg0))
1004 static PyObject
*_wrap_wxHtmlParser_InitParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1006 wxHtmlParser
* _arg0
;
1008 PyObject
* _argo0
= 0;
1009 PyObject
* _obj1
= 0;
1010 char *_kwnames
[] = { "self","source", NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_InitParser",_kwnames
,&_argo0
,&_obj1
))
1016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_InitParser. Expected _wxHtmlParser_p.");
1023 #if PYTHON_API_VERSION >= 1009
1024 char* tmpPtr
; int tmpSize
;
1025 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1026 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1029 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1031 _arg1
= new wxString(tmpPtr
, tmpSize
);
1033 if (!PyString_Check(_obj1
)) {
1034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1037 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1042 wxHtmlParser_InitParser(_arg0
,*_arg1
);
1044 wxPyEndAllowThreads(__tstate
);
1045 if (PyErr_Occurred()) return NULL
;
1046 } Py_INCREF(Py_None
);
1047 _resultobj
= Py_None
;
1055 #define wxHtmlParser_DoneParser(_swigobj) (_swigobj->DoneParser())
1056 static PyObject
*_wrap_wxHtmlParser_DoneParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1058 wxHtmlParser
* _arg0
;
1059 PyObject
* _argo0
= 0;
1060 char *_kwnames
[] = { "self", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_DoneParser",_kwnames
,&_argo0
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoneParser. Expected _wxHtmlParser_p.");
1073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1074 wxHtmlParser_DoneParser(_arg0
);
1076 wxPyEndAllowThreads(__tstate
);
1077 if (PyErr_Occurred()) return NULL
;
1078 } Py_INCREF(Py_None
);
1079 _resultobj
= Py_None
;
1083 #define wxHtmlParser_DoParsing(_swigobj,_swigarg0,_swigarg1) (_swigobj->DoParsing(_swigarg0,_swigarg1))
1084 static PyObject
*_wrap_wxHtmlParser_DoParsing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1086 wxHtmlParser
* _arg0
;
1089 PyObject
* _argo0
= 0;
1090 char *_kwnames
[] = { "self","begin_pos","end_pos", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlParser_DoParsing",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_DoParsing. Expected _wxHtmlParser_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 wxHtmlParser_DoParsing(_arg0
,_arg1
,_arg2
);
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } Py_INCREF(Py_None
);
1109 _resultobj
= Py_None
;
1113 #define wxHtmlParser_AddTagHandler(_swigobj,_swigarg0) (_swigobj->AddTagHandler(_swigarg0))
1114 static PyObject
*_wrap_wxHtmlParser_AddTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1116 wxHtmlParser
* _arg0
;
1117 wxHtmlTagHandler
* _arg1
;
1118 PyObject
* _argo0
= 0;
1119 PyObject
* _argo1
= 0;
1120 char *_kwnames
[] = { "self","handler", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlParser_AddTagHandler",_kwnames
,&_argo0
,&_argo1
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_AddTagHandler. Expected _wxHtmlParser_p.");
1133 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_AddTagHandler. Expected _wxHtmlTagHandler_p.");
1140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1141 wxHtmlParser_AddTagHandler(_arg0
,_arg1
);
1143 wxPyEndAllowThreads(__tstate
);
1144 if (PyErr_Occurred()) return NULL
;
1145 } Py_INCREF(Py_None
);
1146 _resultobj
= Py_None
;
1150 #define wxHtmlParser_GetSource(_swigobj) (_swigobj->GetSource())
1151 static PyObject
*_wrap_wxHtmlParser_GetSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1154 wxHtmlParser
* _arg0
;
1155 PyObject
* _argo0
= 0;
1156 char *_kwnames
[] = { "self", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_GetSource",_kwnames
,&_argo0
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_GetSource. Expected _wxHtmlParser_p.");
1169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1170 _result
= (wxString
*)wxHtmlParser_GetSource(_arg0
);
1172 wxPyEndAllowThreads(__tstate
);
1173 if (PyErr_Occurred()) return NULL
;
1175 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1180 #define wxHtmlParser_PushTagHandler(_swigobj,_swigarg0,_swigarg1) (_swigobj->PushTagHandler(_swigarg0,_swigarg1))
1181 static PyObject
*_wrap_wxHtmlParser_PushTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1183 wxHtmlParser
* _arg0
;
1184 wxHtmlTagHandler
* _arg1
;
1186 PyObject
* _argo0
= 0;
1187 PyObject
* _argo1
= 0;
1188 PyObject
* _obj2
= 0;
1189 char *_kwnames
[] = { "self","handler","tags", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlParser_PushTagHandler",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PushTagHandler. Expected _wxHtmlParser_p.");
1202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTagHandler_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlParser_PushTagHandler. Expected _wxHtmlTagHandler_p.");
1209 #if PYTHON_API_VERSION >= 1009
1210 char* tmpPtr
; int tmpSize
;
1211 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1212 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1215 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1217 _arg2
= new wxString(tmpPtr
, tmpSize
);
1219 if (!PyString_Check(_obj2
)) {
1220 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1223 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1228 wxHtmlParser_PushTagHandler(_arg0
,_arg1
,*_arg2
);
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) return NULL
;
1232 } Py_INCREF(Py_None
);
1233 _resultobj
= Py_None
;
1241 #define wxHtmlParser_PopTagHandler(_swigobj) (_swigobj->PopTagHandler())
1242 static PyObject
*_wrap_wxHtmlParser_PopTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1244 wxHtmlParser
* _arg0
;
1245 PyObject
* _argo0
= 0;
1246 char *_kwnames
[] = { "self", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlParser_PopTagHandler",_kwnames
,&_argo0
))
1252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlParser_p")) {
1254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlParser_PopTagHandler. Expected _wxHtmlParser_p.");
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 wxHtmlParser_PopTagHandler(_arg0
);
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) return NULL
;
1264 } Py_INCREF(Py_None
);
1265 _resultobj
= Py_None
;
1269 static void *SwigwxHtmlWinParserTowxHtmlParser(void *ptr
) {
1270 wxHtmlWinParser
*src
;
1272 src
= (wxHtmlWinParser
*) ptr
;
1273 dest
= (wxHtmlParser
*) src
;
1274 return (void *) dest
;
1277 static void *SwigwxHtmlWinParserTowxObject(void *ptr
) {
1278 wxHtmlWinParser
*src
;
1280 src
= (wxHtmlWinParser
*) ptr
;
1281 dest
= (wxObject
*) src
;
1282 return (void *) dest
;
1285 #define new_wxHtmlWinParser(_swigarg0) (new wxHtmlWinParser(_swigarg0))
1286 static PyObject
*_wrap_new_wxHtmlWinParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1288 wxHtmlWinParser
* _result
;
1290 PyObject
* _argo0
= 0;
1291 char *_kwnames
[] = { "wnd", NULL
};
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlWinParser",_kwnames
,&_argo0
))
1298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWinParser. Expected _wxWindow_p.");
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 _result
= (wxHtmlWinParser
*)new_wxHtmlWinParser(_arg0
);
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) return NULL
;
1311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
1312 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 _resultobj
= Py_None
;
1320 #define wxHtmlWinParser_SetDC(_swigobj,_swigarg0) (_swigobj->SetDC(_swigarg0))
1321 static PyObject
*_wrap_wxHtmlWinParser_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1323 wxHtmlWinParser
* _arg0
;
1325 PyObject
* _argo0
= 0;
1326 PyObject
* _argo1
= 0;
1327 char *_kwnames
[] = { "self","dc", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetDC",_kwnames
,&_argo0
,&_argo1
))
1333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetDC. Expected _wxHtmlWinParser_p.");
1340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetDC. Expected _wxDC_p.");
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 wxHtmlWinParser_SetDC(_arg0
,_arg1
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1352 } Py_INCREF(Py_None
);
1353 _resultobj
= Py_None
;
1357 #define wxHtmlWinParser_GetDC(_swigobj) (_swigobj->GetDC())
1358 static PyObject
*_wrap_wxHtmlWinParser_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1361 wxHtmlWinParser
* _arg0
;
1362 PyObject
* _argo0
= 0;
1363 char *_kwnames
[] = { "self", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetDC",_kwnames
,&_argo0
))
1369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetDC. Expected _wxHtmlWinParser_p.");
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 _result
= (wxDC
*)wxHtmlWinParser_GetDC(_arg0
);
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) return NULL
;
1381 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1385 #define wxHtmlWinParser_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1386 static PyObject
*_wrap_wxHtmlWinParser_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
* _resultobj
;
1389 wxHtmlWinParser
* _arg0
;
1390 PyObject
* _argo0
= 0;
1391 char *_kwnames
[] = { "self", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharHeight",_kwnames
,&_argo0
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharHeight. Expected _wxHtmlWinParser_p.");
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (int )wxHtmlWinParser_GetCharHeight(_arg0
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 } _resultobj
= Py_BuildValue("i",_result
);
1413 #define wxHtmlWinParser_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1414 static PyObject
*_wrap_wxHtmlWinParser_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1417 wxHtmlWinParser
* _arg0
;
1418 PyObject
* _argo0
= 0;
1419 char *_kwnames
[] = { "self", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetCharWidth",_kwnames
,&_argo0
))
1425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetCharWidth. Expected _wxHtmlWinParser_p.");
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 _result
= (int )wxHtmlWinParser_GetCharWidth(_arg0
);
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) return NULL
;
1437 } _resultobj
= Py_BuildValue("i",_result
);
1441 #define wxHtmlWinParser_GetWindow(_swigobj) (_swigobj->GetWindow())
1442 static PyObject
*_wrap_wxHtmlWinParser_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1445 wxHtmlWinParser
* _arg0
;
1446 PyObject
* _argo0
= 0;
1447 char *_kwnames
[] = { "self", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetWindow",_kwnames
,&_argo0
))
1453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetWindow. Expected _wxHtmlWinParser_p.");
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1461 _result
= (wxWindow
*)wxHtmlWinParser_GetWindow(_arg0
);
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) return NULL
;
1465 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1469 static void wxHtmlWinParser_SetFonts(wxHtmlWinParser
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
1470 int* temp
= int_LIST_helper(sizes
);
1472 self
->SetFonts(normal_face
, fixed_face
, temp
);
1476 static PyObject
*_wrap_wxHtmlWinParser_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1478 wxHtmlWinParser
* _arg0
;
1482 PyObject
* _argo0
= 0;
1483 PyObject
* _obj1
= 0;
1484 PyObject
* _obj2
= 0;
1485 PyObject
* _obj3
= 0;
1486 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWinParser_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
1492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFonts. Expected _wxHtmlWinParser_p.");
1499 #if PYTHON_API_VERSION >= 1009
1500 char* tmpPtr
; int tmpSize
;
1501 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1505 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1507 _arg1
= new wxString(tmpPtr
, tmpSize
);
1509 if (!PyString_Check(_obj1
)) {
1510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1513 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1517 #if PYTHON_API_VERSION >= 1009
1518 char* tmpPtr
; int tmpSize
;
1519 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1520 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1523 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1525 _arg2
= new wxString(tmpPtr
, tmpSize
);
1527 if (!PyString_Check(_obj2
)) {
1528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1531 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 wxHtmlWinParser_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) return NULL
;
1543 } Py_INCREF(Py_None
);
1544 _resultobj
= Py_None
;
1556 #define wxHtmlWinParser_GetContainer(_swigobj) (_swigobj->GetContainer())
1557 static PyObject
*_wrap_wxHtmlWinParser_GetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1559 wxHtmlContainerCell
* _result
;
1560 wxHtmlWinParser
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 char *_kwnames
[] = { "self", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetContainer",_kwnames
,&_argo0
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetContainer. Expected _wxHtmlWinParser_p.");
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_GetContainer(_arg0
);
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) return NULL
;
1582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1583 _resultobj
= Py_BuildValue("s",_ptemp
);
1586 _resultobj
= Py_None
;
1591 #define wxHtmlWinParser_OpenContainer(_swigobj) (_swigobj->OpenContainer())
1592 static PyObject
*_wrap_wxHtmlWinParser_OpenContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1594 wxHtmlContainerCell
* _result
;
1595 wxHtmlWinParser
* _arg0
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_OpenContainer",_kwnames
,&_argo0
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_OpenContainer. Expected _wxHtmlWinParser_p.");
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_OpenContainer(_arg0
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) return NULL
;
1617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1618 _resultobj
= Py_BuildValue("s",_ptemp
);
1621 _resultobj
= Py_None
;
1626 #define wxHtmlWinParser_SetContainer(_swigobj,_swigarg0) (_swigobj->SetContainer(_swigarg0))
1627 static PyObject
*_wrap_wxHtmlWinParser_SetContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1629 wxHtmlContainerCell
* _result
;
1630 wxHtmlWinParser
* _arg0
;
1631 wxHtmlContainerCell
* _arg1
;
1632 PyObject
* _argo0
= 0;
1633 PyObject
* _argo1
= 0;
1634 char *_kwnames
[] = { "self","c", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetContainer",_kwnames
,&_argo0
,&_argo1
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetContainer. Expected _wxHtmlWinParser_p.");
1648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinParser_SetContainer. Expected _wxHtmlContainerCell_p.");
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_SetContainer(_arg0
,_arg1
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) return NULL
;
1661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1662 _resultobj
= Py_BuildValue("s",_ptemp
);
1665 _resultobj
= Py_None
;
1670 #define wxHtmlWinParser_CloseContainer(_swigobj) (_swigobj->CloseContainer())
1671 static PyObject
*_wrap_wxHtmlWinParser_CloseContainer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1673 wxHtmlContainerCell
* _result
;
1674 wxHtmlWinParser
* _arg0
;
1675 PyObject
* _argo0
= 0;
1676 char *_kwnames
[] = { "self", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CloseContainer",_kwnames
,&_argo0
))
1683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CloseContainer. Expected _wxHtmlWinParser_p.");
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 _result
= (wxHtmlContainerCell
*)wxHtmlWinParser_CloseContainer(_arg0
);
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) return NULL
;
1696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
1697 _resultobj
= Py_BuildValue("s",_ptemp
);
1700 _resultobj
= Py_None
;
1705 #define wxHtmlWinParser_GetFontSize(_swigobj) (_swigobj->GetFontSize())
1706 static PyObject
*_wrap_wxHtmlWinParser_GetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 wxHtmlWinParser
* _arg0
;
1710 PyObject
* _argo0
= 0;
1711 char *_kwnames
[] = { "self", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontSize",_kwnames
,&_argo0
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontSize. Expected _wxHtmlWinParser_p.");
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 _result
= (int )wxHtmlWinParser_GetFontSize(_arg0
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) return NULL
;
1729 } _resultobj
= Py_BuildValue("i",_result
);
1733 #define wxHtmlWinParser_SetFontSize(_swigobj,_swigarg0) (_swigobj->SetFontSize(_swigarg0))
1734 static PyObject
*_wrap_wxHtmlWinParser_SetFontSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1736 wxHtmlWinParser
* _arg0
;
1738 PyObject
* _argo0
= 0;
1739 char *_kwnames
[] = { "self","s", NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontSize",_kwnames
,&_argo0
,&_arg1
))
1745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontSize. Expected _wxHtmlWinParser_p.");
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 wxHtmlWinParser_SetFontSize(_arg0
,_arg1
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) return NULL
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxHtmlWinParser_GetFontBold(_swigobj) (_swigobj->GetFontBold())
1763 static PyObject
*_wrap_wxHtmlWinParser_GetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1766 wxHtmlWinParser
* _arg0
;
1767 PyObject
* _argo0
= 0;
1768 char *_kwnames
[] = { "self", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontBold",_kwnames
,&_argo0
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontBold. Expected _wxHtmlWinParser_p.");
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 _result
= (int )wxHtmlWinParser_GetFontBold(_arg0
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1786 } _resultobj
= Py_BuildValue("i",_result
);
1790 #define wxHtmlWinParser_SetFontBold(_swigobj,_swigarg0) (_swigobj->SetFontBold(_swigarg0))
1791 static PyObject
*_wrap_wxHtmlWinParser_SetFontBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
* _resultobj
;
1793 wxHtmlWinParser
* _arg0
;
1795 PyObject
* _argo0
= 0;
1796 char *_kwnames
[] = { "self","x", NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontBold",_kwnames
,&_argo0
,&_arg1
))
1802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontBold. Expected _wxHtmlWinParser_p.");
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 wxHtmlWinParser_SetFontBold(_arg0
,_arg1
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) return NULL
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 #define wxHtmlWinParser_GetFontItalic(_swigobj) (_swigobj->GetFontItalic())
1820 static PyObject
*_wrap_wxHtmlWinParser_GetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1823 wxHtmlWinParser
* _arg0
;
1824 PyObject
* _argo0
= 0;
1825 char *_kwnames
[] = { "self", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontItalic",_kwnames
,&_argo0
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontItalic. Expected _wxHtmlWinParser_p.");
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 _result
= (int )wxHtmlWinParser_GetFontItalic(_arg0
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) return NULL
;
1843 } _resultobj
= Py_BuildValue("i",_result
);
1847 #define wxHtmlWinParser_SetFontItalic(_swigobj,_swigarg0) (_swigobj->SetFontItalic(_swigarg0))
1848 static PyObject
*_wrap_wxHtmlWinParser_SetFontItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1850 wxHtmlWinParser
* _arg0
;
1852 PyObject
* _argo0
= 0;
1853 char *_kwnames
[] = { "self","x", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontItalic",_kwnames
,&_argo0
,&_arg1
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontItalic. Expected _wxHtmlWinParser_p.");
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 wxHtmlWinParser_SetFontItalic(_arg0
,_arg1
);
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) return NULL
;
1871 } Py_INCREF(Py_None
);
1872 _resultobj
= Py_None
;
1876 #define wxHtmlWinParser_GetFontUnderlined(_swigobj) (_swigobj->GetFontUnderlined())
1877 static PyObject
*_wrap_wxHtmlWinParser_GetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1880 wxHtmlWinParser
* _arg0
;
1881 PyObject
* _argo0
= 0;
1882 char *_kwnames
[] = { "self", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontUnderlined",_kwnames
,&_argo0
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontUnderlined. Expected _wxHtmlWinParser_p.");
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= (int )wxHtmlWinParser_GetFontUnderlined(_arg0
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1900 } _resultobj
= Py_BuildValue("i",_result
);
1904 #define wxHtmlWinParser_SetFontUnderlined(_swigobj,_swigarg0) (_swigobj->SetFontUnderlined(_swigarg0))
1905 static PyObject
*_wrap_wxHtmlWinParser_SetFontUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1907 wxHtmlWinParser
* _arg0
;
1909 PyObject
* _argo0
= 0;
1910 char *_kwnames
[] = { "self","x", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontUnderlined",_kwnames
,&_argo0
,&_arg1
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontUnderlined. Expected _wxHtmlWinParser_p.");
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 wxHtmlWinParser_SetFontUnderlined(_arg0
,_arg1
);
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) return NULL
;
1928 } Py_INCREF(Py_None
);
1929 _resultobj
= Py_None
;
1933 #define wxHtmlWinParser_GetFontFixed(_swigobj) (_swigobj->GetFontFixed())
1934 static PyObject
*_wrap_wxHtmlWinParser_GetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1937 wxHtmlWinParser
* _arg0
;
1938 PyObject
* _argo0
= 0;
1939 char *_kwnames
[] = { "self", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetFontFixed",_kwnames
,&_argo0
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetFontFixed. Expected _wxHtmlWinParser_p.");
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 _result
= (int )wxHtmlWinParser_GetFontFixed(_arg0
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) return NULL
;
1957 } _resultobj
= Py_BuildValue("i",_result
);
1961 #define wxHtmlWinParser_SetFontFixed(_swigobj,_swigarg0) (_swigobj->SetFontFixed(_swigarg0))
1962 static PyObject
*_wrap_wxHtmlWinParser_SetFontFixed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1964 wxHtmlWinParser
* _arg0
;
1966 PyObject
* _argo0
= 0;
1967 char *_kwnames
[] = { "self","x", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetFontFixed",_kwnames
,&_argo0
,&_arg1
))
1973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetFontFixed. Expected _wxHtmlWinParser_p.");
1980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 wxHtmlWinParser_SetFontFixed(_arg0
,_arg1
);
1983 wxPyEndAllowThreads(__tstate
);
1984 if (PyErr_Occurred()) return NULL
;
1985 } Py_INCREF(Py_None
);
1986 _resultobj
= Py_None
;
1990 #define wxHtmlWinParser_GetAlign(_swigobj) (_swigobj->GetAlign())
1991 static PyObject
*_wrap_wxHtmlWinParser_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1994 wxHtmlWinParser
* _arg0
;
1995 PyObject
* _argo0
= 0;
1996 char *_kwnames
[] = { "self", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetAlign",_kwnames
,&_argo0
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetAlign. Expected _wxHtmlWinParser_p.");
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 _result
= (int )wxHtmlWinParser_GetAlign(_arg0
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) return NULL
;
2014 } _resultobj
= Py_BuildValue("i",_result
);
2018 #define wxHtmlWinParser_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
2019 static PyObject
*_wrap_wxHtmlWinParser_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2021 wxHtmlWinParser
* _arg0
;
2023 PyObject
* _argo0
= 0;
2024 char *_kwnames
[] = { "self","a", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWinParser_SetAlign",_kwnames
,&_argo0
,&_arg1
))
2030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetAlign. Expected _wxHtmlWinParser_p.");
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 wxHtmlWinParser_SetAlign(_arg0
,_arg1
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) return NULL
;
2042 } Py_INCREF(Py_None
);
2043 _resultobj
= Py_None
;
2047 #define wxHtmlWinParser_GetLinkColor(_swigobj) (_swigobj->GetLinkColor())
2048 static PyObject
*_wrap_wxHtmlWinParser_GetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2051 wxHtmlWinParser
* _arg0
;
2052 PyObject
* _argo0
= 0;
2053 char *_kwnames
[] = { "self", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLinkColor",_kwnames
,&_argo0
))
2060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLinkColor. Expected _wxHtmlWinParser_p.");
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 _result
= new wxColour (wxHtmlWinParser_GetLinkColor(_arg0
));
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) return NULL
;
2072 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2073 _resultobj
= Py_BuildValue("s",_ptemp
);
2077 #define wxHtmlWinParser_SetLinkColor(_swigobj,_swigarg0) (_swigobj->SetLinkColor(_swigarg0))
2078 static PyObject
*_wrap_wxHtmlWinParser_SetLinkColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
* _resultobj
;
2080 wxHtmlWinParser
* _arg0
;
2082 PyObject
* _argo0
= 0;
2084 PyObject
* _obj1
= 0;
2085 char *_kwnames
[] = { "self","clr", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLinkColor",_kwnames
,&_argo0
,&_obj1
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLinkColor. Expected _wxHtmlWinParser_p.");
2099 if (! wxColour_helper(_obj1
, &_arg1
))
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 wxHtmlWinParser_SetLinkColor(_arg0
,*_arg1
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) return NULL
;
2108 } Py_INCREF(Py_None
);
2109 _resultobj
= Py_None
;
2113 #define wxHtmlWinParser_GetActualColor(_swigobj) (_swigobj->GetActualColor())
2114 static PyObject
*_wrap_wxHtmlWinParser_GetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2117 wxHtmlWinParser
* _arg0
;
2118 PyObject
* _argo0
= 0;
2119 char *_kwnames
[] = { "self", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetActualColor",_kwnames
,&_argo0
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetActualColor. Expected _wxHtmlWinParser_p.");
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 _result
= new wxColour (wxHtmlWinParser_GetActualColor(_arg0
));
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) return NULL
;
2138 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2139 _resultobj
= Py_BuildValue("s",_ptemp
);
2143 #define wxHtmlWinParser_SetActualColor(_swigobj,_swigarg0) (_swigobj->SetActualColor(_swigarg0))
2144 static PyObject
*_wrap_wxHtmlWinParser_SetActualColor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2146 wxHtmlWinParser
* _arg0
;
2148 PyObject
* _argo0
= 0;
2150 PyObject
* _obj1
= 0;
2151 char *_kwnames
[] = { "self","clr", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetActualColor",_kwnames
,&_argo0
,&_obj1
))
2157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetActualColor. Expected _wxHtmlWinParser_p.");
2165 if (! wxColour_helper(_obj1
, &_arg1
))
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 wxHtmlWinParser_SetActualColor(_arg0
,*_arg1
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) return NULL
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2179 #define wxHtmlWinParser_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2180 static PyObject
*_wrap_wxHtmlWinParser_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2182 wxHtmlWinParser
* _arg0
;
2184 PyObject
* _argo0
= 0;
2185 PyObject
* _obj1
= 0;
2186 char *_kwnames
[] = { "self","link", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinParser_SetLink",_kwnames
,&_argo0
,&_obj1
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_SetLink. Expected _wxHtmlWinParser_p.");
2199 #if PYTHON_API_VERSION >= 1009
2200 char* tmpPtr
; int tmpSize
;
2201 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2205 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2207 _arg1
= new wxString(tmpPtr
, tmpSize
);
2209 if (!PyString_Check(_obj1
)) {
2210 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2213 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 wxHtmlWinParser_SetLink(_arg0
,*_arg1
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } Py_INCREF(Py_None
);
2223 _resultobj
= Py_None
;
2231 #define wxHtmlWinParser_CreateCurrentFont(_swigobj) (_swigobj->CreateCurrentFont())
2232 static PyObject
*_wrap_wxHtmlWinParser_CreateCurrentFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2235 wxHtmlWinParser
* _arg0
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "self", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_CreateCurrentFont",_kwnames
,&_argo0
))
2244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_CreateCurrentFont. Expected _wxHtmlWinParser_p.");
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 _result
= (wxFont
*)wxHtmlWinParser_CreateCurrentFont(_arg0
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
2258 _resultobj
= Py_BuildValue("s",_ptemp
);
2261 _resultobj
= Py_None
;
2266 #define wxHtmlWinParser_GetLink(_swigobj) (_swigobj->GetLink())
2267 static PyObject
*_wrap_wxHtmlWinParser_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2269 wxHtmlLinkInfo
* _result
;
2270 wxHtmlWinParser
* _arg0
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinParser_GetLink",_kwnames
,&_argo0
))
2279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlWinParser_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinParser_GetLink. Expected _wxHtmlWinParser_p.");
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 _result
= new wxHtmlLinkInfo (wxHtmlWinParser_GetLink(_arg0
));
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) return NULL
;
2291 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxHtmlLinkInfo_p");
2292 _resultobj
= Py_BuildValue("s",_ptemp
);
2296 static void *SwigwxPyHtmlTagHandlerTowxObject(void *ptr
) {
2297 wxPyHtmlTagHandler
*src
;
2299 src
= (wxPyHtmlTagHandler
*) ptr
;
2300 dest
= (wxObject
*) src
;
2301 return (void *) dest
;
2304 #define new_wxHtmlTagHandler() (new wxPyHtmlTagHandler())
2305 static PyObject
*_wrap_new_wxHtmlTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2307 wxPyHtmlTagHandler
* _result
;
2308 char *_kwnames
[] = { NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlTagHandler",_kwnames
))
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 _result
= (wxPyHtmlTagHandler
*)new_wxHtmlTagHandler();
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) return NULL
;
2321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlTagHandler_p");
2322 _resultobj
= Py_BuildValue("s",_ptemp
);
2325 _resultobj
= Py_None
;
2330 #define wxHtmlTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2331 static PyObject
*_wrap_wxHtmlTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2333 wxPyHtmlTagHandler
* _arg0
;
2336 PyObject
* _argo0
= 0;
2337 PyObject
* _obj1
= 0;
2338 PyObject
* _obj2
= 0;
2339 char *_kwnames
[] = { "self","self","_class", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler__setCallbackInfo. Expected _wxPyHtmlTagHandler_p.");
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 wxHtmlTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } Py_INCREF(Py_None
);
2364 _resultobj
= Py_None
;
2368 #define wxHtmlTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2369 static PyObject
*_wrap_wxHtmlTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2371 wxPyHtmlTagHandler
* _arg0
;
2372 wxHtmlParser
* _arg1
;
2373 PyObject
* _argo0
= 0;
2374 PyObject
* _argo1
= 0;
2375 char *_kwnames
[] = { "self","parser", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_SetParser. Expected _wxPyHtmlTagHandler_p.");
2388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_SetParser. Expected _wxHtmlParser_p.");
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxHtmlTagHandler_SetParser(_arg0
,_arg1
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 #define wxHtmlTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2406 static PyObject
*_wrap_wxHtmlTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2408 wxHtmlParser
* _result
;
2409 wxPyHtmlTagHandler
* _arg0
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlTagHandler_GetParser",_kwnames
,&_argo0
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_GetParser. Expected _wxPyHtmlTagHandler_p.");
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 _result
= (wxHtmlParser
*)wxHtmlTagHandler_GetParser(_arg0
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) return NULL
;
2431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlParser_p");
2432 _resultobj
= Py_BuildValue("s",_ptemp
);
2435 _resultobj
= Py_None
;
2440 #define wxHtmlTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2441 static PyObject
*_wrap_wxHtmlTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2443 wxPyHtmlTagHandler
* _arg0
;
2445 PyObject
* _argo0
= 0;
2446 PyObject
* _argo1
= 0;
2447 char *_kwnames
[] = { "self","tag", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlTagHandler_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlTagHandler_ParseInner. Expected _wxPyHtmlTagHandler_p.");
2460 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2461 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 wxHtmlTagHandler_ParseInner(_arg0
,*_arg1
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) return NULL
;
2472 } Py_INCREF(Py_None
);
2473 _resultobj
= Py_None
;
2477 static void *SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler(void *ptr
) {
2478 wxPyHtmlWinTagHandler
*src
;
2479 wxPyHtmlTagHandler
*dest
;
2480 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2481 dest
= (wxPyHtmlTagHandler
*) src
;
2482 return (void *) dest
;
2485 static void *SwigwxPyHtmlWinTagHandlerTowxObject(void *ptr
) {
2486 wxPyHtmlWinTagHandler
*src
;
2488 src
= (wxPyHtmlWinTagHandler
*) ptr
;
2489 dest
= (wxObject
*) src
;
2490 return (void *) dest
;
2493 #define new_wxHtmlWinTagHandler() (new wxPyHtmlWinTagHandler())
2494 static PyObject
*_wrap_new_wxHtmlWinTagHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2496 wxPyHtmlWinTagHandler
* _result
;
2497 char *_kwnames
[] = { NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlWinTagHandler",_kwnames
))
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 _result
= (wxPyHtmlWinTagHandler
*)new_wxHtmlWinTagHandler();
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) return NULL
;
2510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWinTagHandler_p");
2511 _resultobj
= Py_BuildValue("s",_ptemp
);
2514 _resultobj
= Py_None
;
2519 #define wxHtmlWinTagHandler__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2520 static PyObject
*_wrap_wxHtmlWinTagHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2522 wxPyHtmlWinTagHandler
* _arg0
;
2525 PyObject
* _argo0
= 0;
2526 PyObject
* _obj1
= 0;
2527 PyObject
* _obj2
= 0;
2528 char *_kwnames
[] = { "self","self","_class", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWinTagHandler__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler__setCallbackInfo. Expected _wxPyHtmlWinTagHandler_p.");
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 wxHtmlWinTagHandler__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) return NULL
;
2552 } Py_INCREF(Py_None
);
2553 _resultobj
= Py_None
;
2557 #define wxHtmlWinTagHandler_SetParser(_swigobj,_swigarg0) (_swigobj->SetParser(_swigarg0))
2558 static PyObject
*_wrap_wxHtmlWinTagHandler_SetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
* _resultobj
;
2560 wxPyHtmlWinTagHandler
* _arg0
;
2561 wxHtmlParser
* _arg1
;
2562 PyObject
* _argo0
= 0;
2563 PyObject
* _argo1
= 0;
2564 char *_kwnames
[] = { "self","parser", NULL
};
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_SetParser",_kwnames
,&_argo0
,&_argo1
))
2570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_SetParser. Expected _wxPyHtmlWinTagHandler_p.");
2577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlParser_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_SetParser. Expected _wxHtmlParser_p.");
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxHtmlWinTagHandler_SetParser(_arg0
,_arg1
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2594 #define wxHtmlWinTagHandler_GetParser(_swigobj) (_swigobj->GetParser())
2595 static PyObject
*_wrap_wxHtmlWinTagHandler_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2597 wxHtmlWinParser
* _result
;
2598 wxPyHtmlWinTagHandler
* _arg0
;
2599 PyObject
* _argo0
= 0;
2600 char *_kwnames
[] = { "self", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWinTagHandler_GetParser",_kwnames
,&_argo0
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_GetParser. Expected _wxPyHtmlWinTagHandler_p.");
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 _result
= (wxHtmlWinParser
*)wxHtmlWinTagHandler_GetParser(_arg0
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) return NULL
;
2620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
2621 _resultobj
= Py_BuildValue("s",_ptemp
);
2624 _resultobj
= Py_None
;
2629 #define wxHtmlWinTagHandler_ParseInner(_swigobj,_swigarg0) (_swigobj->ParseInner(_swigarg0))
2630 static PyObject
*_wrap_wxHtmlWinTagHandler_ParseInner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2632 wxPyHtmlWinTagHandler
* _arg0
;
2634 PyObject
* _argo0
= 0;
2635 PyObject
* _argo1
= 0;
2636 char *_kwnames
[] = { "self","tag", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWinTagHandler_ParseInner",_kwnames
,&_argo0
,&_argo1
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWinTagHandler_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWinTagHandler_ParseInner. Expected _wxPyHtmlWinTagHandler_p.");
2649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWinTagHandler_ParseInner. Expected _wxHtmlTag_p.");
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 wxHtmlWinTagHandler_ParseInner(_arg0
,*_arg1
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) return NULL
;
2661 } Py_INCREF(Py_None
);
2662 _resultobj
= Py_None
;
2666 static void *SwigwxHtmlCellTowxObject(void *ptr
) {
2669 src
= (wxHtmlCell
*) ptr
;
2670 dest
= (wxObject
*) src
;
2671 return (void *) dest
;
2674 #define new_wxHtmlCell() (new wxHtmlCell())
2675 static PyObject
*_wrap_new_wxHtmlCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2677 wxHtmlCell
* _result
;
2678 char *_kwnames
[] = { NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlCell",_kwnames
))
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 _result
= (wxHtmlCell
*)new_wxHtmlCell();
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) return NULL
;
2691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2692 _resultobj
= Py_BuildValue("s",_ptemp
);
2695 _resultobj
= Py_None
;
2700 #define wxHtmlCell_GetPosX(_swigobj) (_swigobj->GetPosX())
2701 static PyObject
*_wrap_wxHtmlCell_GetPosX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosX",_kwnames
,&_argo0
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosX. Expected _wxHtmlCell_p.");
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 _result
= (int )wxHtmlCell_GetPosX(_arg0
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxHtmlCell_GetPosY(_swigobj) (_swigobj->GetPosY())
2729 static PyObject
*_wrap_wxHtmlCell_GetPosY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetPosY",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetPosY. Expected _wxHtmlCell_p.");
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 _result
= (int )wxHtmlCell_GetPosY(_arg0
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) return NULL
;
2752 } _resultobj
= Py_BuildValue("i",_result
);
2756 #define wxHtmlCell_GetWidth(_swigobj) (_swigobj->GetWidth())
2757 static PyObject
*_wrap_wxHtmlCell_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetWidth",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetWidth. Expected _wxHtmlCell_p.");
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 _result
= (int )wxHtmlCell_GetWidth(_arg0
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) return NULL
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxHtmlCell_GetHeight(_swigobj) (_swigobj->GetHeight())
2785 static PyObject
*_wrap_wxHtmlCell_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetHeight",_kwnames
,&_argo0
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetHeight. Expected _wxHtmlCell_p.");
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 _result
= (int )wxHtmlCell_GetHeight(_arg0
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) return NULL
;
2808 } _resultobj
= Py_BuildValue("i",_result
);
2812 #define wxHtmlCell_GetDescent(_swigobj) (_swigobj->GetDescent())
2813 static PyObject
*_wrap_wxHtmlCell_GetDescent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
* _resultobj
;
2817 PyObject
* _argo0
= 0;
2818 char *_kwnames
[] = { "self", NULL
};
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetDescent",_kwnames
,&_argo0
))
2824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetDescent. Expected _wxHtmlCell_p.");
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 _result
= (int )wxHtmlCell_GetDescent(_arg0
);
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) return NULL
;
2836 } _resultobj
= Py_BuildValue("i",_result
);
2840 #define wxHtmlCell_GetLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLink(_swigarg0,_swigarg1))
2841 static PyObject
*_wrap_wxHtmlCell_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2843 wxHtmlLinkInfo
* _result
;
2845 int _arg1
= (int ) 0;
2846 int _arg2
= (int ) 0;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self","x","y", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxHtmlCell_GetLink",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetLink. Expected _wxHtmlCell_p.");
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 _result
= (wxHtmlLinkInfo
*)wxHtmlCell_GetLink(_arg0
,_arg1
,_arg2
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) return NULL
;
2868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlLinkInfo_p");
2869 _resultobj
= Py_BuildValue("s",_ptemp
);
2872 _resultobj
= Py_None
;
2877 #define wxHtmlCell_GetNext(_swigobj) (_swigobj->GetNext())
2878 static PyObject
*_wrap_wxHtmlCell_GetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2880 wxHtmlCell
* _result
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self", NULL
};
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetNext",_kwnames
,&_argo0
))
2890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetNext. Expected _wxHtmlCell_p.");
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 _result
= (wxHtmlCell
*)wxHtmlCell_GetNext(_arg0
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) return NULL
;
2903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
2904 _resultobj
= Py_BuildValue("s",_ptemp
);
2907 _resultobj
= Py_None
;
2912 #define wxHtmlCell_GetParent(_swigobj) (_swigobj->GetParent())
2913 static PyObject
*_wrap_wxHtmlCell_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2915 wxHtmlContainerCell
* _result
;
2917 PyObject
* _argo0
= 0;
2918 char *_kwnames
[] = { "self", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlCell_GetParent",_kwnames
,&_argo0
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_GetParent. Expected _wxHtmlCell_p.");
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 _result
= (wxHtmlContainerCell
*)wxHtmlCell_GetParent(_arg0
);
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) return NULL
;
2938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
2939 _resultobj
= Py_BuildValue("s",_ptemp
);
2942 _resultobj
= Py_None
;
2947 #define wxHtmlCell_SetLink(_swigobj,_swigarg0) (_swigobj->SetLink(_swigarg0))
2948 static PyObject
*_wrap_wxHtmlCell_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2951 wxHtmlLinkInfo
* _arg1
;
2952 PyObject
* _argo0
= 0;
2953 PyObject
* _argo1
= 0;
2954 char *_kwnames
[] = { "self","link", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetLink",_kwnames
,&_argo0
,&_argo1
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetLink. Expected _wxHtmlCell_p.");
2967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetLink. Expected _wxHtmlLinkInfo_p.");
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 wxHtmlCell_SetLink(_arg0
,*_arg1
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) return NULL
;
2979 } Py_INCREF(Py_None
);
2980 _resultobj
= Py_None
;
2984 #define wxHtmlCell_SetNext(_swigobj,_swigarg0) (_swigobj->SetNext(_swigarg0))
2985 static PyObject
*_wrap_wxHtmlCell_SetNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2990 PyObject
* _argo1
= 0;
2991 char *_kwnames
[] = { "self","cell", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetNext",_kwnames
,&_argo0
,&_argo1
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
3004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetNext. Expected _wxHtmlCell_p.");
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 wxHtmlCell_SetNext(_arg0
,_arg1
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) return NULL
;
3016 } Py_INCREF(Py_None
);
3017 _resultobj
= Py_None
;
3021 #define wxHtmlCell_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
3022 static PyObject
*_wrap_wxHtmlCell_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3025 wxHtmlContainerCell
* _arg1
;
3026 PyObject
* _argo0
= 0;
3027 PyObject
* _argo1
= 0;
3028 char *_kwnames
[] = { "self","p", NULL
};
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_SetParent",_kwnames
,&_argo0
,&_argo1
))
3034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetParent. Expected _wxHtmlCell_p.");
3041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlContainerCell_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_SetParent. Expected _wxHtmlContainerCell_p.");
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 wxHtmlCell_SetParent(_arg0
,_arg1
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) return NULL
;
3053 } Py_INCREF(Py_None
);
3054 _resultobj
= Py_None
;
3058 #define wxHtmlCell_SetPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPos(_swigarg0,_swigarg1))
3059 static PyObject
*_wrap_wxHtmlCell_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3064 PyObject
* _argo0
= 0;
3065 char *_kwnames
[] = { "self","x","y", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlCell_SetPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetPos. Expected _wxHtmlCell_p.");
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 wxHtmlCell_SetPos(_arg0
,_arg1
,_arg2
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) return NULL
;
3083 } Py_INCREF(Py_None
);
3084 _resultobj
= Py_None
;
3088 #define wxHtmlCell_Layout(_swigobj,_swigarg0) (_swigobj->Layout(_swigarg0))
3089 static PyObject
*_wrap_wxHtmlCell_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3093 PyObject
* _argo0
= 0;
3094 char *_kwnames
[] = { "self","w", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_Layout",_kwnames
,&_argo0
,&_arg1
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Layout. Expected _wxHtmlCell_p.");
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 wxHtmlCell_Layout(_arg0
,_arg1
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxHtmlCell_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3118 static PyObject
*_wrap_wxHtmlCell_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3126 PyObject
* _argo0
= 0;
3127 PyObject
* _argo1
= 0;
3128 char *_kwnames
[] = { "self","dc","x","y","view_y1","view_y2", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii:wxHtmlCell_Draw",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Draw. Expected _wxHtmlCell_p.");
3141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_Draw. Expected _wxDC_p.");
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 wxHtmlCell_Draw(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) return NULL
;
3153 } Py_INCREF(Py_None
);
3154 _resultobj
= Py_None
;
3158 #define wxHtmlCell_DrawInvisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawInvisible(_swigarg0,_swigarg1,_swigarg2))
3159 static PyObject
*_wrap_wxHtmlCell_DrawInvisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3165 PyObject
* _argo0
= 0;
3166 PyObject
* _argo1
= 0;
3167 char *_kwnames
[] = { "self","dc","x","y", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlCell_DrawInvisible",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_DrawInvisible. Expected _wxHtmlCell_p.");
3180 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_DrawInvisible. Expected _wxDC_p.");
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 wxHtmlCell_DrawInvisible(_arg0
,*_arg1
,_arg2
,_arg3
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) return NULL
;
3192 } Py_INCREF(Py_None
);
3193 _resultobj
= Py_None
;
3197 #define wxHtmlCell_Find(_swigobj,_swigarg0,_swigarg1) (_swigobj->Find(_swigarg0,_swigarg1))
3198 static PyObject
*_wrap_wxHtmlCell_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3200 wxHtmlCell
* _result
;
3204 PyObject
* _argo0
= 0;
3205 PyObject
* _argo2
= 0;
3206 char *_kwnames
[] = { "self","condition","param", NULL
};
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxHtmlCell_Find",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
3213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_Find. Expected _wxHtmlCell_p.");
3220 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,(char *) 0 )) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxHtmlCell_Find. Expected _void_p.");
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 _result
= (wxHtmlCell
*)wxHtmlCell_Find(_arg0
,_arg1
,_arg2
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) return NULL
;
3233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3234 _resultobj
= Py_BuildValue("s",_ptemp
);
3237 _resultobj
= Py_None
;
3242 #define wxHtmlCell_AdjustPagebreak(_swigobj,_swigarg0) (_swigobj->AdjustPagebreak(_swigarg0))
3243 static PyObject
*_wrap_wxHtmlCell_AdjustPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
* _resultobj
;
3248 PyObject
* _argo0
= 0;
3249 PyObject
* _argo1
= 0;
3250 char *_kwnames
[] = { "self","pagebreak", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlCell_AdjustPagebreak",_kwnames
,&_argo0
,&_argo1
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_AdjustPagebreak. Expected _wxHtmlCell_p.");
3263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlCell_AdjustPagebreak. Expected _int_p.");
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 _result
= (bool )wxHtmlCell_AdjustPagebreak(_arg0
,_arg1
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) return NULL
;
3275 } _resultobj
= Py_BuildValue("i",_result
);
3279 #define wxHtmlCell_SetCanLiveOnPagebreak(_swigobj,_swigarg0) (_swigobj->SetCanLiveOnPagebreak(_swigarg0))
3280 static PyObject
*_wrap_wxHtmlCell_SetCanLiveOnPagebreak(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3284 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self","can", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlCell_SetCanLiveOnPagebreak",_kwnames
,&_argo0
,&tempbool1
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlCell_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlCell_SetCanLiveOnPagebreak. Expected _wxHtmlCell_p.");
3298 _arg1
= (bool ) tempbool1
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 wxHtmlCell_SetCanLiveOnPagebreak(_arg0
,_arg1
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) return NULL
;
3305 } Py_INCREF(Py_None
);
3306 _resultobj
= Py_None
;
3310 static void *SwigwxHtmlWordCellTowxHtmlCell(void *ptr
) {
3311 wxHtmlWordCell
*src
;
3313 src
= (wxHtmlWordCell
*) ptr
;
3314 dest
= (wxHtmlCell
*) src
;
3315 return (void *) dest
;
3318 static void *SwigwxHtmlWordCellTowxObject(void *ptr
) {
3319 wxHtmlWordCell
*src
;
3321 src
= (wxHtmlWordCell
*) ptr
;
3322 dest
= (wxObject
*) src
;
3323 return (void *) dest
;
3326 #define new_wxHtmlWordCell(_swigarg0,_swigarg1) (new wxHtmlWordCell(_swigarg0,_swigarg1))
3327 static PyObject
*_wrap_new_wxHtmlWordCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3329 wxHtmlWordCell
* _result
;
3332 PyObject
* _obj0
= 0;
3333 PyObject
* _argo1
= 0;
3334 char *_kwnames
[] = { "word","dc", NULL
};
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxHtmlWordCell",_kwnames
,&_obj0
,&_argo1
))
3341 #if PYTHON_API_VERSION >= 1009
3342 char* tmpPtr
; int tmpSize
;
3343 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3347 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3349 _arg0
= new wxString(tmpPtr
, tmpSize
);
3351 if (!PyString_Check(_obj0
)) {
3352 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3355 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlWordCell. Expected _wxDC_p.");
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 _result
= (wxHtmlWordCell
*)new_wxHtmlWordCell(*_arg0
,*_arg1
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) return NULL
;
3372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWordCell_p");
3373 _resultobj
= Py_BuildValue("s",_ptemp
);
3376 _resultobj
= Py_None
;
3385 static void *SwigwxHtmlContainerCellTowxHtmlCell(void *ptr
) {
3386 wxHtmlContainerCell
*src
;
3388 src
= (wxHtmlContainerCell
*) ptr
;
3389 dest
= (wxHtmlCell
*) src
;
3390 return (void *) dest
;
3393 static void *SwigwxHtmlContainerCellTowxObject(void *ptr
) {
3394 wxHtmlContainerCell
*src
;
3396 src
= (wxHtmlContainerCell
*) ptr
;
3397 dest
= (wxObject
*) src
;
3398 return (void *) dest
;
3401 #define new_wxHtmlContainerCell(_swigarg0) (new wxHtmlContainerCell(_swigarg0))
3402 static PyObject
*_wrap_new_wxHtmlContainerCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3404 wxHtmlContainerCell
* _result
;
3405 wxHtmlContainerCell
* _arg0
;
3406 PyObject
* _argo0
= 0;
3407 char *_kwnames
[] = { "parent", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlContainerCell",_kwnames
,&_argo0
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlContainerCell. Expected _wxHtmlContainerCell_p.");
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 _result
= (wxHtmlContainerCell
*)new_wxHtmlContainerCell(_arg0
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) return NULL
;
3427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
3428 _resultobj
= Py_BuildValue("s",_ptemp
);
3431 _resultobj
= Py_None
;
3436 #define wxHtmlContainerCell_InsertCell(_swigobj,_swigarg0) (_swigobj->InsertCell(_swigarg0))
3437 static PyObject
*_wrap_wxHtmlContainerCell_InsertCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3439 wxHtmlContainerCell
* _arg0
;
3441 PyObject
* _argo0
= 0;
3442 PyObject
* _argo1
= 0;
3443 char *_kwnames
[] = { "self","cell", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_InsertCell",_kwnames
,&_argo0
,&_argo1
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlContainerCell_p.");
3456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_InsertCell. Expected _wxHtmlCell_p.");
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 wxHtmlContainerCell_InsertCell(_arg0
,_arg1
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } Py_INCREF(Py_None
);
3469 _resultobj
= Py_None
;
3473 #define wxHtmlContainerCell_SetAlignHor(_swigobj,_swigarg0) (_swigobj->SetAlignHor(_swigarg0))
3474 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3476 wxHtmlContainerCell
* _arg0
;
3478 PyObject
* _argo0
= 0;
3479 char *_kwnames
[] = { "self","al", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignHor",_kwnames
,&_argo0
,&_arg1
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignHor. Expected _wxHtmlContainerCell_p.");
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxHtmlContainerCell_SetAlignHor(_arg0
,_arg1
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3497 } Py_INCREF(Py_None
);
3498 _resultobj
= Py_None
;
3502 #define wxHtmlContainerCell_GetAlignHor(_swigobj) (_swigobj->GetAlignHor())
3503 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignHor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3506 wxHtmlContainerCell
* _arg0
;
3507 PyObject
* _argo0
= 0;
3508 char *_kwnames
[] = { "self", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignHor",_kwnames
,&_argo0
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignHor. Expected _wxHtmlContainerCell_p.");
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 _result
= (int )wxHtmlContainerCell_GetAlignHor(_arg0
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) return NULL
;
3526 } _resultobj
= Py_BuildValue("i",_result
);
3530 #define wxHtmlContainerCell_SetAlignVer(_swigobj,_swigarg0) (_swigobj->SetAlignVer(_swigarg0))
3531 static PyObject
*_wrap_wxHtmlContainerCell_SetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3533 wxHtmlContainerCell
* _arg0
;
3535 PyObject
* _argo0
= 0;
3536 char *_kwnames
[] = { "self","al", NULL
};
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_SetAlignVer",_kwnames
,&_argo0
,&_arg1
))
3542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlignVer. Expected _wxHtmlContainerCell_p.");
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 wxHtmlContainerCell_SetAlignVer(_arg0
,_arg1
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) return NULL
;
3554 } Py_INCREF(Py_None
);
3555 _resultobj
= Py_None
;
3559 #define wxHtmlContainerCell_GetAlignVer(_swigobj) (_swigobj->GetAlignVer())
3560 static PyObject
*_wrap_wxHtmlContainerCell_GetAlignVer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
* _resultobj
;
3563 wxHtmlContainerCell
* _arg0
;
3564 PyObject
* _argo0
= 0;
3565 char *_kwnames
[] = { "self", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetAlignVer",_kwnames
,&_argo0
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetAlignVer. Expected _wxHtmlContainerCell_p.");
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 _result
= (int )wxHtmlContainerCell_GetAlignVer(_arg0
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) return NULL
;
3583 } _resultobj
= Py_BuildValue("i",_result
);
3587 #define wxHtmlContainerCell_SetIndent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetIndent(_swigarg0,_swigarg1,_swigarg2))
3588 static PyObject
*_wrap_wxHtmlContainerCell_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3590 wxHtmlContainerCell
* _arg0
;
3593 int _arg3
= (int ) (wxHTML_UNITS_PIXELS
);
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self","i","what","units", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxHtmlContainerCell_SetIndent",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetIndent. Expected _wxHtmlContainerCell_p.");
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 wxHtmlContainerCell_SetIndent(_arg0
,_arg1
,_arg2
,_arg3
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) return NULL
;
3613 } Py_INCREF(Py_None
);
3614 _resultobj
= Py_None
;
3618 #define wxHtmlContainerCell_GetIndent(_swigobj,_swigarg0) (_swigobj->GetIndent(_swigarg0))
3619 static PyObject
*_wrap_wxHtmlContainerCell_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3622 wxHtmlContainerCell
* _arg0
;
3624 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "self","ind", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndent",_kwnames
,&_argo0
,&_arg1
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndent. Expected _wxHtmlContainerCell_p.");
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 _result
= (int )wxHtmlContainerCell_GetIndent(_arg0
,_arg1
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) return NULL
;
3643 } _resultobj
= Py_BuildValue("i",_result
);
3647 #define wxHtmlContainerCell_GetIndentUnits(_swigobj,_swigarg0) (_swigobj->GetIndentUnits(_swigarg0))
3648 static PyObject
*_wrap_wxHtmlContainerCell_GetIndentUnits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3651 wxHtmlContainerCell
* _arg0
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self","ind", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlContainerCell_GetIndentUnits",_kwnames
,&_argo0
,&_arg1
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetIndentUnits. Expected _wxHtmlContainerCell_p.");
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 _result
= (int )wxHtmlContainerCell_GetIndentUnits(_arg0
,_arg1
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) return NULL
;
3672 } _resultobj
= Py_BuildValue("i",_result
);
3676 #define wxHtmlContainerCell_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0))
3677 static PyObject
*_wrap_wxHtmlContainerCell_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
* _resultobj
;
3679 wxHtmlContainerCell
* _arg0
;
3681 PyObject
* _argo0
= 0;
3682 PyObject
* _argo1
= 0;
3683 char *_kwnames
[] = { "self","tag", NULL
};
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetAlign",_kwnames
,&_argo0
,&_argo1
))
3689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlContainerCell_p.");
3696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetAlign. Expected _wxHtmlTag_p.");
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 wxHtmlContainerCell_SetAlign(_arg0
,*_arg1
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) return NULL
;
3708 } Py_INCREF(Py_None
);
3709 _resultobj
= Py_None
;
3713 #define wxHtmlContainerCell_SetWidthFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWidthFloat(_swigarg0,_swigarg1))
3714 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3716 wxHtmlContainerCell
* _arg0
;
3719 PyObject
* _argo0
= 0;
3720 char *_kwnames
[] = { "self","w","units", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlContainerCell_SetWidthFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloat. Expected _wxHtmlContainerCell_p.");
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 wxHtmlContainerCell_SetWidthFloat(_arg0
,_arg1
,_arg2
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3743 #define wxHtmlContainerCell_SetWidthFloatFromTag(_swigobj,_swigarg0) (_swigobj->SetWidthFloat(_swigarg0))
3744 static PyObject
*_wrap_wxHtmlContainerCell_SetWidthFloatFromTag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3746 wxHtmlContainerCell
* _arg0
;
3748 PyObject
* _argo0
= 0;
3749 PyObject
* _argo1
= 0;
3750 char *_kwnames
[] = { "self","tag", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetWidthFloatFromTag",_kwnames
,&_argo0
,&_argo1
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlContainerCell_p.");
3763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlTag_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlContainerCell_SetWidthFloatFromTag. Expected _wxHtmlTag_p.");
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 wxHtmlContainerCell_SetWidthFloatFromTag(_arg0
,*_arg1
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) return NULL
;
3775 } Py_INCREF(Py_None
);
3776 _resultobj
= Py_None
;
3780 #define wxHtmlContainerCell_SetMinHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinHeight(_swigarg0,_swigarg1))
3781 static PyObject
*_wrap_wxHtmlContainerCell_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3783 wxHtmlContainerCell
* _arg0
;
3785 int _arg2
= (int ) (wxHTML_ALIGN_TOP
);
3786 PyObject
* _argo0
= 0;
3787 char *_kwnames
[] = { "self","h","align", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxHtmlContainerCell_SetMinHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetMinHeight. Expected _wxHtmlContainerCell_p.");
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 wxHtmlContainerCell_SetMinHeight(_arg0
,_arg1
,_arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) return NULL
;
3805 } Py_INCREF(Py_None
);
3806 _resultobj
= Py_None
;
3810 #define wxHtmlContainerCell_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3811 static PyObject
*_wrap_wxHtmlContainerCell_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3813 wxHtmlContainerCell
* _arg0
;
3815 PyObject
* _argo0
= 0;
3817 PyObject
* _obj1
= 0;
3818 char *_kwnames
[] = { "self","clr", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlContainerCell_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBackgroundColour. Expected _wxHtmlContainerCell_p.");
3832 if (! wxColour_helper(_obj1
, &_arg1
))
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 wxHtmlContainerCell_SetBackgroundColour(_arg0
,*_arg1
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) return NULL
;
3841 } Py_INCREF(Py_None
);
3842 _resultobj
= Py_None
;
3846 #define wxHtmlContainerCell_SetBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBorder(_swigarg0,_swigarg1))
3847 static PyObject
*_wrap_wxHtmlContainerCell_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
* _resultobj
;
3849 wxHtmlContainerCell
* _arg0
;
3852 PyObject
* _argo0
= 0;
3854 PyObject
* _obj1
= 0;
3856 PyObject
* _obj2
= 0;
3857 char *_kwnames
[] = { "self","clr1","clr2", NULL
};
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlContainerCell_SetBorder",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_SetBorder. Expected _wxHtmlContainerCell_p.");
3871 if (! wxColour_helper(_obj1
, &_arg1
))
3876 if (! wxColour_helper(_obj2
, &_arg2
))
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 wxHtmlContainerCell_SetBorder(_arg0
,*_arg1
,*_arg2
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } Py_INCREF(Py_None
);
3886 _resultobj
= Py_None
;
3890 #define wxHtmlContainerCell_GetFirstCell(_swigobj) (_swigobj->GetFirstCell())
3891 static PyObject
*_wrap_wxHtmlContainerCell_GetFirstCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3893 wxHtmlCell
* _result
;
3894 wxHtmlContainerCell
* _arg0
;
3895 PyObject
* _argo0
= 0;
3896 char *_kwnames
[] = { "self", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlContainerCell_GetFirstCell",_kwnames
,&_argo0
))
3903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlContainerCell_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlContainerCell_GetFirstCell. Expected _wxHtmlContainerCell_p.");
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 _result
= (wxHtmlCell
*)wxHtmlContainerCell_GetFirstCell(_arg0
);
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) return NULL
;
3916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlCell_p");
3917 _resultobj
= Py_BuildValue("s",_ptemp
);
3920 _resultobj
= Py_None
;
3925 static void *SwigwxHtmlColourCellTowxHtmlCell(void *ptr
) {
3926 wxHtmlColourCell
*src
;
3928 src
= (wxHtmlColourCell
*) ptr
;
3929 dest
= (wxHtmlCell
*) src
;
3930 return (void *) dest
;
3933 static void *SwigwxHtmlColourCellTowxObject(void *ptr
) {
3934 wxHtmlColourCell
*src
;
3936 src
= (wxHtmlColourCell
*) ptr
;
3937 dest
= (wxObject
*) src
;
3938 return (void *) dest
;
3941 #define new_wxHtmlColourCell(_swigarg0,_swigarg1) (new wxHtmlColourCell(_swigarg0,_swigarg1))
3942 static PyObject
*_wrap_new_wxHtmlColourCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3944 wxHtmlColourCell
* _result
;
3946 int _arg1
= (int ) (wxHTML_CLR_FOREGROUND
);
3948 PyObject
* _obj0
= 0;
3949 char *_kwnames
[] = { "clr","flags", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlColourCell",_kwnames
,&_obj0
,&_arg1
))
3957 if (! wxColour_helper(_obj0
, &_arg0
))
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 _result
= (wxHtmlColourCell
*)new_wxHtmlColourCell(*_arg0
,_arg1
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) return NULL
;
3967 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlColourCell_p");
3968 _resultobj
= Py_BuildValue("s",_ptemp
);
3971 _resultobj
= Py_None
;
3976 static void *SwigwxHtmlFontCellTowxHtmlCell(void *ptr
) {
3977 wxHtmlFontCell
*src
;
3979 src
= (wxHtmlFontCell
*) ptr
;
3980 dest
= (wxHtmlCell
*) src
;
3981 return (void *) dest
;
3984 static void *SwigwxHtmlFontCellTowxObject(void *ptr
) {
3985 wxHtmlFontCell
*src
;
3987 src
= (wxHtmlFontCell
*) ptr
;
3988 dest
= (wxObject
*) src
;
3989 return (void *) dest
;
3992 #define new_wxHtmlFontCell(_swigarg0) (new wxHtmlFontCell(_swigarg0))
3993 static PyObject
*_wrap_new_wxHtmlFontCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3995 wxHtmlFontCell
* _result
;
3997 PyObject
* _argo0
= 0;
3998 char *_kwnames
[] = { "font", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxHtmlFontCell",_kwnames
,&_argo0
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFont_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlFontCell. Expected _wxFont_p.");
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 _result
= (wxHtmlFontCell
*)new_wxHtmlFontCell(_arg0
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) return NULL
;
4018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlFontCell_p");
4019 _resultobj
= Py_BuildValue("s",_ptemp
);
4022 _resultobj
= Py_None
;
4027 static void *SwigwxHtmlWidgetCellTowxHtmlCell(void *ptr
) {
4028 wxHtmlWidgetCell
*src
;
4030 src
= (wxHtmlWidgetCell
*) ptr
;
4031 dest
= (wxHtmlCell
*) src
;
4032 return (void *) dest
;
4035 static void *SwigwxHtmlWidgetCellTowxObject(void *ptr
) {
4036 wxHtmlWidgetCell
*src
;
4038 src
= (wxHtmlWidgetCell
*) ptr
;
4039 dest
= (wxObject
*) src
;
4040 return (void *) dest
;
4043 #define new_wxHtmlWidgetCell(_swigarg0,_swigarg1) (new wxHtmlWidgetCell(_swigarg0,_swigarg1))
4044 static PyObject
*_wrap_new_wxHtmlWidgetCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4046 wxHtmlWidgetCell
* _result
;
4048 int _arg1
= (int ) 0;
4049 PyObject
* _argo0
= 0;
4050 char *_kwnames
[] = { "wnd","w", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxHtmlWidgetCell",_kwnames
,&_argo0
,&_arg1
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWidgetCell. Expected _wxWindow_p.");
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 _result
= (wxHtmlWidgetCell
*)new_wxHtmlWidgetCell(_arg0
,_arg1
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) return NULL
;
4070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWidgetCell_p");
4071 _resultobj
= Py_BuildValue("s",_ptemp
);
4074 _resultobj
= Py_None
;
4079 static void *SwigwxPyHtmlWindowTowxScrolledWindow(void *ptr
) {
4080 wxPyHtmlWindow
*src
;
4081 wxScrolledWindow
*dest
;
4082 src
= (wxPyHtmlWindow
*) ptr
;
4083 dest
= (wxScrolledWindow
*) src
;
4084 return (void *) dest
;
4087 static void *SwigwxPyHtmlWindowTowxPanel(void *ptr
) {
4088 wxPyHtmlWindow
*src
;
4090 src
= (wxPyHtmlWindow
*) ptr
;
4091 dest
= (wxPanel
*) src
;
4092 return (void *) dest
;
4095 static void *SwigwxPyHtmlWindowTowxWindow(void *ptr
) {
4096 wxPyHtmlWindow
*src
;
4098 src
= (wxPyHtmlWindow
*) ptr
;
4099 dest
= (wxWindow
*) src
;
4100 return (void *) dest
;
4103 static void *SwigwxPyHtmlWindowTowxEvtHandler(void *ptr
) {
4104 wxPyHtmlWindow
*src
;
4106 src
= (wxPyHtmlWindow
*) ptr
;
4107 dest
= (wxEvtHandler
*) src
;
4108 return (void *) dest
;
4111 static void *SwigwxPyHtmlWindowTowxObject(void *ptr
) {
4112 wxPyHtmlWindow
*src
;
4114 src
= (wxPyHtmlWindow
*) ptr
;
4115 dest
= (wxObject
*) src
;
4116 return (void *) dest
;
4119 #define new_wxHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyHtmlWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4120 static PyObject
*_wrap_new_wxHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4122 wxPyHtmlWindow
* _result
;
4124 int _arg1
= (int ) -1;
4125 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4126 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4127 int _arg4
= (int ) wxHW_SCROLLBAR_AUTO
;
4128 char * _arg5
= (char *) "htmlWindow";
4129 PyObject
* _argo0
= 0;
4131 PyObject
* _obj2
= 0;
4133 PyObject
* _obj3
= 0;
4134 char *_kwnames
[] = { "parent","id","pos","size","flags","name", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOis:new_wxHtmlWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxHtmlWindow. Expected _wxWindow_p.");
4150 if (! wxPoint_helper(_obj2
, &_arg2
))
4156 if (! wxSize_helper(_obj3
, &_arg3
))
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 _result
= (wxPyHtmlWindow
*)new_wxHtmlWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) return NULL
;
4166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4167 _resultobj
= Py_BuildValue("s",_ptemp
);
4170 _resultobj
= Py_None
;
4175 #define new_wxPreHtmlWindow() (new wxPyHtmlWindow())
4176 static PyObject
*_wrap_new_wxPreHtmlWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
* _resultobj
;
4178 wxPyHtmlWindow
* _result
;
4179 char *_kwnames
[] = { NULL
};
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreHtmlWindow",_kwnames
))
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 _result
= (wxPyHtmlWindow
*)new_wxPreHtmlWindow();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) return NULL
;
4192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyHtmlWindow_p");
4193 _resultobj
= Py_BuildValue("s",_ptemp
);
4196 _resultobj
= Py_None
;
4201 #define wxHtmlWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4202 static PyObject
*_wrap_wxHtmlWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
* _resultobj
;
4205 wxPyHtmlWindow
* _arg0
;
4207 int _arg2
= (int ) -1;
4208 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4209 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4210 int _arg5
= (int ) wxHW_SCROLLBAR_AUTO
;
4211 char * _arg6
= (char *) "htmlWindow";
4212 PyObject
* _argo0
= 0;
4213 PyObject
* _argo1
= 0;
4215 PyObject
* _obj3
= 0;
4217 PyObject
* _obj4
= 0;
4218 char *_kwnames
[] = { "self","parent","id","pos","size","flags","name", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOis:wxHtmlWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_Create. Expected _wxPyHtmlWindow_p.");
4231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_Create. Expected _wxWindow_p.");
4240 if (! wxPoint_helper(_obj3
, &_arg3
))
4246 if (! wxSize_helper(_obj4
, &_arg4
))
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 _result
= (bool )wxHtmlWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) return NULL
;
4255 } _resultobj
= Py_BuildValue("i",_result
);
4259 #define wxHtmlWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4260 static PyObject
*_wrap_wxHtmlWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4262 wxPyHtmlWindow
* _arg0
;
4265 PyObject
* _argo0
= 0;
4266 PyObject
* _obj1
= 0;
4267 PyObject
* _obj2
= 0;
4268 char *_kwnames
[] = { "self","self","_class", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxHtmlWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow__setCallbackInfo. Expected _wxPyHtmlWindow_p.");
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 wxHtmlWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) return NULL
;
4292 } Py_INCREF(Py_None
);
4293 _resultobj
= Py_None
;
4297 #define wxHtmlWindow_SetPage(_swigobj,_swigarg0) (_swigobj->SetPage(_swigarg0))
4298 static PyObject
*_wrap_wxHtmlWindow_SetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4301 wxPyHtmlWindow
* _arg0
;
4303 PyObject
* _argo0
= 0;
4304 PyObject
* _obj1
= 0;
4305 char *_kwnames
[] = { "self","source", NULL
};
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetPage",_kwnames
,&_argo0
,&_obj1
))
4311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetPage. Expected _wxPyHtmlWindow_p.");
4318 #if PYTHON_API_VERSION >= 1009
4319 char* tmpPtr
; int tmpSize
;
4320 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4324 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4326 _arg1
= new wxString(tmpPtr
, tmpSize
);
4328 if (!PyString_Check(_obj1
)) {
4329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4332 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 _result
= (bool )wxHtmlWindow_SetPage(_arg0
,*_arg1
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) return NULL
;
4341 } _resultobj
= Py_BuildValue("i",_result
);
4349 #define wxHtmlWindow_LoadPage(_swigobj,_swigarg0) (_swigobj->LoadPage(_swigarg0))
4350 static PyObject
*_wrap_wxHtmlWindow_LoadPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
* _resultobj
;
4353 wxPyHtmlWindow
* _arg0
;
4355 PyObject
* _argo0
= 0;
4356 PyObject
* _obj1
= 0;
4357 char *_kwnames
[] = { "self","location", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_LoadPage",_kwnames
,&_argo0
,&_obj1
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_LoadPage. Expected _wxPyHtmlWindow_p.");
4370 #if PYTHON_API_VERSION >= 1009
4371 char* tmpPtr
; int tmpSize
;
4372 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4373 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4376 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4378 _arg1
= new wxString(tmpPtr
, tmpSize
);
4380 if (!PyString_Check(_obj1
)) {
4381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4384 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 _result
= (bool )wxHtmlWindow_LoadPage(_arg0
,*_arg1
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) return NULL
;
4393 } _resultobj
= Py_BuildValue("i",_result
);
4401 #define wxHtmlWindow_AppendToPage(_swigobj,_swigarg0) (_swigobj->AppendToPage(_swigarg0))
4402 static PyObject
*_wrap_wxHtmlWindow_AppendToPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4405 wxPyHtmlWindow
* _arg0
;
4407 PyObject
* _argo0
= 0;
4408 PyObject
* _obj1
= 0;
4409 char *_kwnames
[] = { "self","source", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_AppendToPage",_kwnames
,&_argo0
,&_obj1
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_AppendToPage. Expected _wxPyHtmlWindow_p.");
4422 #if PYTHON_API_VERSION >= 1009
4423 char* tmpPtr
; int tmpSize
;
4424 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4428 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4430 _arg1
= new wxString(tmpPtr
, tmpSize
);
4432 if (!PyString_Check(_obj1
)) {
4433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4436 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 _result
= (bool )wxHtmlWindow_AppendToPage(_arg0
,*_arg1
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) return NULL
;
4445 } _resultobj
= Py_BuildValue("i",_result
);
4453 #define wxHtmlWindow_GetOpenedPage(_swigobj) (_swigobj->GetOpenedPage())
4454 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
* _resultobj
;
4457 wxPyHtmlWindow
* _arg0
;
4458 PyObject
* _argo0
= 0;
4459 char *_kwnames
[] = { "self", NULL
};
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPage",_kwnames
,&_argo0
))
4465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPage. Expected _wxPyHtmlWindow_p.");
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 _result
= new wxString (wxHtmlWindow_GetOpenedPage(_arg0
));
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) return NULL
;
4478 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4486 #define wxHtmlWindow_GetOpenedAnchor(_swigobj) (_swigobj->GetOpenedAnchor())
4487 static PyObject
*_wrap_wxHtmlWindow_GetOpenedAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 wxPyHtmlWindow
* _arg0
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedAnchor",_kwnames
,&_argo0
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedAnchor. Expected _wxPyHtmlWindow_p.");
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 _result
= new wxString (wxHtmlWindow_GetOpenedAnchor(_arg0
));
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4511 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4519 #define wxHtmlWindow_GetOpenedPageTitle(_swigobj) (_swigobj->GetOpenedPageTitle())
4520 static PyObject
*_wrap_wxHtmlWindow_GetOpenedPageTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4523 wxPyHtmlWindow
* _arg0
;
4524 PyObject
* _argo0
= 0;
4525 char *_kwnames
[] = { "self", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetOpenedPageTitle",_kwnames
,&_argo0
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetOpenedPageTitle. Expected _wxPyHtmlWindow_p.");
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 _result
= new wxString (wxHtmlWindow_GetOpenedPageTitle(_arg0
));
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) return NULL
;
4544 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4552 #define wxHtmlWindow_SetRelatedFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRelatedFrame(_swigarg0,_swigarg1))
4553 static PyObject
*_wrap_wxHtmlWindow_SetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4555 wxPyHtmlWindow
* _arg0
;
4558 PyObject
* _argo0
= 0;
4559 PyObject
* _argo1
= 0;
4560 char *_kwnames
[] = { "self","frame","format", NULL
};
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOs:wxHtmlWindow_SetRelatedFrame",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_SetRelatedFrame. Expected _wxFrame_p.");
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 wxHtmlWindow_SetRelatedFrame(_arg0
,_arg1
,_arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) return NULL
;
4585 } Py_INCREF(Py_None
);
4586 _resultobj
= Py_None
;
4590 #define wxHtmlWindow_GetRelatedFrame(_swigobj) (_swigobj->GetRelatedFrame())
4591 static PyObject
*_wrap_wxHtmlWindow_GetRelatedFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4594 wxPyHtmlWindow
* _arg0
;
4595 PyObject
* _argo0
= 0;
4596 char *_kwnames
[] = { "self", NULL
};
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetRelatedFrame",_kwnames
,&_argo0
))
4602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetRelatedFrame. Expected _wxPyHtmlWindow_p.");
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 _result
= (wxFrame
*)wxHtmlWindow_GetRelatedFrame(_arg0
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) return NULL
;
4614 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4618 #define wxHtmlWindow_SetRelatedStatusBar(_swigobj,_swigarg0) (_swigobj->SetRelatedStatusBar(_swigarg0))
4619 static PyObject
*_wrap_wxHtmlWindow_SetRelatedStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
* _resultobj
;
4621 wxPyHtmlWindow
* _arg0
;
4623 PyObject
* _argo0
= 0;
4624 char *_kwnames
[] = { "self","bar", NULL
};
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetRelatedStatusBar",_kwnames
,&_argo0
,&_arg1
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetRelatedStatusBar. Expected _wxPyHtmlWindow_p.");
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 wxHtmlWindow_SetRelatedStatusBar(_arg0
,_arg1
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) return NULL
;
4642 } Py_INCREF(Py_None
);
4643 _resultobj
= Py_None
;
4647 static void wxPyHtmlWindow_SetFonts(wxPyHtmlWindow
*self
,wxString normal_face
,wxString fixed_face
,PyObject
* sizes
) {
4648 int* temp
= int_LIST_helper(sizes
);
4650 self
->SetFonts(normal_face
, fixed_face
, temp
);
4654 static PyObject
*_wrap_wxHtmlWindow_SetFonts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
* _resultobj
;
4656 wxPyHtmlWindow
* _arg0
;
4660 PyObject
* _argo0
= 0;
4661 PyObject
* _obj1
= 0;
4662 PyObject
* _obj2
= 0;
4663 PyObject
* _obj3
= 0;
4664 char *_kwnames
[] = { "self","normal_face","fixed_face","sizes", NULL
};
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxHtmlWindow_SetFonts",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
))
4670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetFonts. Expected _wxPyHtmlWindow_p.");
4677 #if PYTHON_API_VERSION >= 1009
4678 char* tmpPtr
; int tmpSize
;
4679 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4680 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4683 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4685 _arg1
= new wxString(tmpPtr
, tmpSize
);
4687 if (!PyString_Check(_obj1
)) {
4688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4691 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4695 #if PYTHON_API_VERSION >= 1009
4696 char* tmpPtr
; int tmpSize
;
4697 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4698 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4701 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4703 _arg2
= new wxString(tmpPtr
, tmpSize
);
4705 if (!PyString_Check(_obj2
)) {
4706 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4709 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 wxPyHtmlWindow_SetFonts(_arg0
,*_arg1
,*_arg2
,_arg3
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) return NULL
;
4721 } Py_INCREF(Py_None
);
4722 _resultobj
= Py_None
;
4734 #define wxHtmlWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4735 static PyObject
*_wrap_wxHtmlWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4737 wxPyHtmlWindow
* _arg0
;
4739 PyObject
* _argo0
= 0;
4740 PyObject
* _obj1
= 0;
4741 char *_kwnames
[] = { "self","title", NULL
};
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetTitle. Expected _wxPyHtmlWindow_p.");
4754 #if PYTHON_API_VERSION >= 1009
4755 char* tmpPtr
; int tmpSize
;
4756 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4760 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4762 _arg1
= new wxString(tmpPtr
, tmpSize
);
4764 if (!PyString_Check(_obj1
)) {
4765 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4768 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 wxHtmlWindow_SetTitle(_arg0
,*_arg1
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) return NULL
;
4777 } Py_INCREF(Py_None
);
4778 _resultobj
= Py_None
;
4786 #define wxHtmlWindow_SetBorders(_swigobj,_swigarg0) (_swigobj->SetBorders(_swigarg0))
4787 static PyObject
*_wrap_wxHtmlWindow_SetBorders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4789 wxPyHtmlWindow
* _arg0
;
4791 PyObject
* _argo0
= 0;
4792 char *_kwnames
[] = { "self","b", NULL
};
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxHtmlWindow_SetBorders",_kwnames
,&_argo0
,&_arg1
))
4798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_SetBorders. Expected _wxPyHtmlWindow_p.");
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 wxHtmlWindow_SetBorders(_arg0
,_arg1
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) return NULL
;
4810 } Py_INCREF(Py_None
);
4811 _resultobj
= Py_None
;
4815 #define wxHtmlWindow_ReadCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadCustomization(_swigarg0,_swigarg1))
4816 static PyObject
*_wrap_wxHtmlWindow_ReadCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
* _resultobj
;
4818 wxPyHtmlWindow
* _arg0
;
4819 wxConfigBase
* _arg1
;
4820 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4821 PyObject
* _argo0
= 0;
4822 PyObject
* _argo1
= 0;
4823 PyObject
* _obj2
= 0;
4824 char *_kwnames
[] = { "self","cfg","path", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_ReadCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_ReadCustomization. Expected _wxPyHtmlWindow_p.");
4837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_ReadCustomization. Expected _wxConfigBase_p.");
4845 #if PYTHON_API_VERSION >= 1009
4846 char* tmpPtr
; int tmpSize
;
4847 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4848 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4851 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4853 _arg2
= new wxString(tmpPtr
, tmpSize
);
4855 if (!PyString_Check(_obj2
)) {
4856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4859 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 wxHtmlWindow_ReadCustomization(_arg0
,_arg1
,*_arg2
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) return NULL
;
4868 } Py_INCREF(Py_None
);
4869 _resultobj
= Py_None
;
4877 #define wxHtmlWindow_WriteCustomization(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteCustomization(_swigarg0,_swigarg1))
4878 static PyObject
*_wrap_wxHtmlWindow_WriteCustomization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
* _resultobj
;
4880 wxPyHtmlWindow
* _arg0
;
4881 wxConfigBase
* _arg1
;
4882 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
4883 PyObject
* _argo0
= 0;
4884 PyObject
* _argo1
= 0;
4885 PyObject
* _obj2
= 0;
4886 char *_kwnames
[] = { "self","cfg","path", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlWindow_WriteCustomization",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_WriteCustomization. Expected _wxPyHtmlWindow_p.");
4899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_WriteCustomization. Expected _wxConfigBase_p.");
4907 #if PYTHON_API_VERSION >= 1009
4908 char* tmpPtr
; int tmpSize
;
4909 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4913 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4915 _arg2
= new wxString(tmpPtr
, tmpSize
);
4917 if (!PyString_Check(_obj2
)) {
4918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4921 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 wxHtmlWindow_WriteCustomization(_arg0
,_arg1
,*_arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) return NULL
;
4930 } Py_INCREF(Py_None
);
4931 _resultobj
= Py_None
;
4939 #define wxHtmlWindow_HistoryBack(_swigobj) (_swigobj->HistoryBack())
4940 static PyObject
*_wrap_wxHtmlWindow_HistoryBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
* _resultobj
;
4943 wxPyHtmlWindow
* _arg0
;
4944 PyObject
* _argo0
= 0;
4945 char *_kwnames
[] = { "self", NULL
};
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryBack",_kwnames
,&_argo0
))
4951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryBack. Expected _wxPyHtmlWindow_p.");
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 _result
= (bool )wxHtmlWindow_HistoryBack(_arg0
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) return NULL
;
4963 } _resultobj
= Py_BuildValue("i",_result
);
4967 #define wxHtmlWindow_HistoryForward(_swigobj) (_swigobj->HistoryForward())
4968 static PyObject
*_wrap_wxHtmlWindow_HistoryForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
* _resultobj
;
4971 wxPyHtmlWindow
* _arg0
;
4972 PyObject
* _argo0
= 0;
4973 char *_kwnames
[] = { "self", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryForward",_kwnames
,&_argo0
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryForward. Expected _wxPyHtmlWindow_p.");
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 _result
= (bool )wxHtmlWindow_HistoryForward(_arg0
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) return NULL
;
4991 } _resultobj
= Py_BuildValue("i",_result
);
4995 #define wxHtmlWindow_HistoryCanBack(_swigobj) (_swigobj->HistoryCanBack())
4996 static PyObject
*_wrap_wxHtmlWindow_HistoryCanBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
4999 wxPyHtmlWindow
* _arg0
;
5000 PyObject
* _argo0
= 0;
5001 char *_kwnames
[] = { "self", NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanBack",_kwnames
,&_argo0
))
5007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanBack. Expected _wxPyHtmlWindow_p.");
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 _result
= (bool )wxHtmlWindow_HistoryCanBack(_arg0
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) return NULL
;
5019 } _resultobj
= Py_BuildValue("i",_result
);
5023 #define wxHtmlWindow_HistoryCanForward(_swigobj) (_swigobj->HistoryCanForward())
5024 static PyObject
*_wrap_wxHtmlWindow_HistoryCanForward(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5027 wxPyHtmlWindow
* _arg0
;
5028 PyObject
* _argo0
= 0;
5029 char *_kwnames
[] = { "self", NULL
};
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryCanForward",_kwnames
,&_argo0
))
5035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryCanForward. Expected _wxPyHtmlWindow_p.");
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 _result
= (bool )wxHtmlWindow_HistoryCanForward(_arg0
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) return NULL
;
5047 } _resultobj
= Py_BuildValue("i",_result
);
5051 #define wxHtmlWindow_HistoryClear(_swigobj) (_swigobj->HistoryClear())
5052 static PyObject
*_wrap_wxHtmlWindow_HistoryClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5054 wxPyHtmlWindow
* _arg0
;
5055 PyObject
* _argo0
= 0;
5056 char *_kwnames
[] = { "self", NULL
};
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_HistoryClear",_kwnames
,&_argo0
))
5062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_HistoryClear. Expected _wxPyHtmlWindow_p.");
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 wxHtmlWindow_HistoryClear(_arg0
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) return NULL
;
5074 } Py_INCREF(Py_None
);
5075 _resultobj
= Py_None
;
5079 #define wxHtmlWindow_GetInternalRepresentation(_swigobj) (_swigobj->GetInternalRepresentation())
5080 static PyObject
*_wrap_wxHtmlWindow_GetInternalRepresentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5082 wxHtmlContainerCell
* _result
;
5083 wxPyHtmlWindow
* _arg0
;
5084 PyObject
* _argo0
= 0;
5085 char *_kwnames
[] = { "self", NULL
};
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetInternalRepresentation",_kwnames
,&_argo0
))
5092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetInternalRepresentation. Expected _wxPyHtmlWindow_p.");
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 _result
= (wxHtmlContainerCell
*)wxHtmlWindow_GetInternalRepresentation(_arg0
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) return NULL
;
5105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlContainerCell_p");
5106 _resultobj
= Py_BuildValue("s",_ptemp
);
5109 _resultobj
= Py_None
;
5114 #define wxHtmlWindow_GetParser(_swigobj) (_swigobj->GetParser())
5115 static PyObject
*_wrap_wxHtmlWindow_GetParser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5117 wxHtmlWinParser
* _result
;
5118 wxPyHtmlWindow
* _arg0
;
5119 PyObject
* _argo0
= 0;
5120 char *_kwnames
[] = { "self", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlWindow_GetParser",_kwnames
,&_argo0
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_GetParser. Expected _wxPyHtmlWindow_p.");
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 _result
= (wxHtmlWinParser
*)wxHtmlWindow_GetParser(_arg0
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) return NULL
;
5140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlWinParser_p");
5141 _resultobj
= Py_BuildValue("s",_ptemp
);
5144 _resultobj
= Py_None
;
5149 #define wxHtmlWindow_base_OnLinkClicked(_swigobj,_swigarg0) (_swigobj->base_OnLinkClicked(_swigarg0))
5150 static PyObject
*_wrap_wxHtmlWindow_base_OnLinkClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
* _resultobj
;
5152 wxPyHtmlWindow
* _arg0
;
5153 wxHtmlLinkInfo
* _arg1
;
5154 PyObject
* _argo0
= 0;
5155 PyObject
* _argo1
= 0;
5156 char *_kwnames
[] = { "self","link", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlWindow_base_OnLinkClicked",_kwnames
,&_argo0
,&_argo1
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnLinkClicked. Expected _wxPyHtmlWindow_p.");
5169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlLinkInfo_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnLinkClicked. Expected _wxHtmlLinkInfo_p.");
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 wxHtmlWindow_base_OnLinkClicked(_arg0
,*_arg1
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) return NULL
;
5181 } Py_INCREF(Py_None
);
5182 _resultobj
= Py_None
;
5186 #define wxHtmlWindow_base_OnSetTitle(_swigobj,_swigarg0) (_swigobj->base_OnSetTitle(_swigarg0))
5187 static PyObject
*_wrap_wxHtmlWindow_base_OnSetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5189 wxPyHtmlWindow
* _arg0
;
5191 PyObject
* _argo0
= 0;
5192 char *_kwnames
[] = { "self","title", NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxHtmlWindow_base_OnSetTitle",_kwnames
,&_argo0
,&_arg1
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnSetTitle. Expected _wxPyHtmlWindow_p.");
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 wxHtmlWindow_base_OnSetTitle(_arg0
,_arg1
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) return NULL
;
5210 } Py_INCREF(Py_None
);
5211 _resultobj
= Py_None
;
5215 #define wxHtmlWindow_base_OnCellMouseHover(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnCellMouseHover(_swigarg0,_swigarg1,_swigarg2))
5216 static PyObject
*_wrap_wxHtmlWindow_base_OnCellMouseHover(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
* _resultobj
;
5218 wxPyHtmlWindow
* _arg0
;
5222 PyObject
* _argo0
= 0;
5223 PyObject
* _argo1
= 0;
5224 char *_kwnames
[] = { "self","cell","x","y", NULL
};
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxHtmlWindow_base_OnCellMouseHover",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxPyHtmlWindow_p.");
5237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellMouseHover. Expected _wxHtmlCell_p.");
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 wxHtmlWindow_base_OnCellMouseHover(_arg0
,_arg1
,_arg2
,_arg3
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) return NULL
;
5249 } Py_INCREF(Py_None
);
5250 _resultobj
= Py_None
;
5254 #define wxHtmlWindow_base_OnCellClicked(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnCellClicked(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5255 static PyObject
*_wrap_wxHtmlWindow_base_OnCellClicked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
* _resultobj
;
5257 wxPyHtmlWindow
* _arg0
;
5261 wxMouseEvent
* _arg4
;
5262 PyObject
* _argo0
= 0;
5263 PyObject
* _argo1
= 0;
5264 PyObject
* _argo4
= 0;
5265 char *_kwnames
[] = { "self","cell","x","y","event", NULL
};
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiO:wxHtmlWindow_base_OnCellClicked",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_argo4
))
5271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyHtmlWindow_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlWindow_base_OnCellClicked. Expected _wxPyHtmlWindow_p.");
5278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxHtmlCell_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlWindow_base_OnCellClicked. Expected _wxHtmlCell_p.");
5285 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5286 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMouseEvent_p")) {
5287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxHtmlWindow_base_OnCellClicked. Expected _wxMouseEvent_p.");
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 wxHtmlWindow_base_OnCellClicked(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) return NULL
;
5297 } Py_INCREF(Py_None
);
5298 _resultobj
= Py_None
;
5302 static void *SwigwxHtmlDCRendererTowxObject(void *ptr
) {
5303 wxHtmlDCRenderer
*src
;
5305 src
= (wxHtmlDCRenderer
*) ptr
;
5306 dest
= (wxObject
*) src
;
5307 return (void *) dest
;
5310 #define new_wxHtmlDCRenderer() (new wxHtmlDCRenderer())
5311 static PyObject
*_wrap_new_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5313 wxHtmlDCRenderer
* _result
;
5314 char *_kwnames
[] = { NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxHtmlDCRenderer",_kwnames
))
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 _result
= (wxHtmlDCRenderer
*)new_wxHtmlDCRenderer();
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) return NULL
;
5327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlDCRenderer_p");
5328 _resultobj
= Py_BuildValue("s",_ptemp
);
5331 _resultobj
= Py_None
;
5336 #define delete_wxHtmlDCRenderer(_swigobj) (delete _swigobj)
5337 static PyObject
*_wrap_delete_wxHtmlDCRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
* _resultobj
;
5339 wxHtmlDCRenderer
* _arg0
;
5340 PyObject
* _argo0
= 0;
5341 char *_kwnames
[] = { "self", NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlDCRenderer",_kwnames
,&_argo0
))
5347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlDCRenderer. Expected _wxHtmlDCRenderer_p.");
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 delete_wxHtmlDCRenderer(_arg0
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) return NULL
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5364 #define wxHtmlDCRenderer_SetDC(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDC(_swigarg0,_swigarg1))
5365 static PyObject
*_wrap_wxHtmlDCRenderer_SetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
* _resultobj
;
5367 wxHtmlDCRenderer
* _arg0
;
5370 PyObject
* _argo0
= 0;
5371 PyObject
* _argo1
= 0;
5372 char *_kwnames
[] = { "self","dc","maxwidth", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxHtmlDCRenderer_SetDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetDC. Expected _wxHtmlDCRenderer_p.");
5385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxHtmlDCRenderer_SetDC. Expected _wxDC_p.");
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 wxHtmlDCRenderer_SetDC(_arg0
,_arg1
,_arg2
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) return NULL
;
5397 } Py_INCREF(Py_None
);
5398 _resultobj
= Py_None
;
5402 #define wxHtmlDCRenderer_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
5403 static PyObject
*_wrap_wxHtmlDCRenderer_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5405 wxHtmlDCRenderer
* _arg0
;
5408 PyObject
* _argo0
= 0;
5409 char *_kwnames
[] = { "self","width","height", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxHtmlDCRenderer_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetSize. Expected _wxHtmlDCRenderer_p.");
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 wxHtmlDCRenderer_SetSize(_arg0
,_arg1
,_arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) return NULL
;
5427 } Py_INCREF(Py_None
);
5428 _resultobj
= Py_None
;
5432 #define wxHtmlDCRenderer_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5433 static PyObject
*_wrap_wxHtmlDCRenderer_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
* _resultobj
;
5435 wxHtmlDCRenderer
* _arg0
;
5437 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5438 bool _arg3
= (bool ) TRUE
;
5439 PyObject
* _argo0
= 0;
5440 PyObject
* _obj1
= 0;
5441 PyObject
* _obj2
= 0;
5442 int tempbool3
= (int) TRUE
;
5443 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlDCRenderer_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_SetHtmlText. Expected _wxHtmlDCRenderer_p.");
5456 #if PYTHON_API_VERSION >= 1009
5457 char* tmpPtr
; int tmpSize
;
5458 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5462 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5464 _arg1
= new wxString(tmpPtr
, tmpSize
);
5466 if (!PyString_Check(_obj1
)) {
5467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5470 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5475 #if PYTHON_API_VERSION >= 1009
5476 char* tmpPtr
; int tmpSize
;
5477 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5481 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5483 _arg2
= new wxString(tmpPtr
, tmpSize
);
5485 if (!PyString_Check(_obj2
)) {
5486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5489 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5492 _arg3
= (bool ) tempbool3
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 wxHtmlDCRenderer_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) return NULL
;
5499 } Py_INCREF(Py_None
);
5500 _resultobj
= Py_None
;
5512 #define wxHtmlDCRenderer_Render(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Render(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5513 static PyObject
*_wrap_wxHtmlDCRenderer_Render(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
* _resultobj
;
5516 wxHtmlDCRenderer
* _arg0
;
5519 int _arg3
= (int ) 0;
5520 int _arg4
= (int ) FALSE
;
5521 PyObject
* _argo0
= 0;
5522 char *_kwnames
[] = { "self","x","y","from","dont_render", NULL
};
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxHtmlDCRenderer_Render",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_Render. Expected _wxHtmlDCRenderer_p.");
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 _result
= (int )wxHtmlDCRenderer_Render(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5540 } _resultobj
= Py_BuildValue("i",_result
);
5544 #define wxHtmlDCRenderer_GetTotalHeight(_swigobj) (_swigobj->GetTotalHeight())
5545 static PyObject
*_wrap_wxHtmlDCRenderer_GetTotalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
* _resultobj
;
5548 wxHtmlDCRenderer
* _arg0
;
5549 PyObject
* _argo0
= 0;
5550 char *_kwnames
[] = { "self", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlDCRenderer_GetTotalHeight",_kwnames
,&_argo0
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlDCRenderer_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlDCRenderer_GetTotalHeight. Expected _wxHtmlDCRenderer_p.");
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 _result
= (int )wxHtmlDCRenderer_GetTotalHeight(_arg0
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) return NULL
;
5568 } _resultobj
= Py_BuildValue("i",_result
);
5572 static void *SwigwxHtmlPrintoutTowxPyPrintout(void *ptr
) {
5573 wxHtmlPrintout
*src
;
5575 src
= (wxHtmlPrintout
*) ptr
;
5576 dest
= (wxPyPrintout
*) src
;
5577 return (void *) dest
;
5580 static void *SwigwxHtmlPrintoutTowxObject(void *ptr
) {
5581 wxHtmlPrintout
*src
;
5583 src
= (wxHtmlPrintout
*) ptr
;
5584 dest
= (wxObject
*) src
;
5585 return (void *) dest
;
5588 #define new_wxHtmlPrintout(_swigarg0) (new wxHtmlPrintout(_swigarg0))
5589 static PyObject
*_wrap_new_wxHtmlPrintout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
* _resultobj
;
5591 wxHtmlPrintout
* _result
;
5592 char * _arg0
= (char *) "Printout";
5593 char *_kwnames
[] = { "title", NULL
};
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:new_wxHtmlPrintout",_kwnames
,&_arg0
))
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 _result
= (wxHtmlPrintout
*)new_wxHtmlPrintout(_arg0
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) return NULL
;
5606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlPrintout_p");
5607 _resultobj
= Py_BuildValue("s",_ptemp
);
5610 _resultobj
= Py_None
;
5615 #define wxHtmlPrintout_SetHtmlText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetHtmlText(_swigarg0,_swigarg1,_swigarg2))
5616 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5618 wxHtmlPrintout
* _arg0
;
5620 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
5621 bool _arg3
= (bool ) TRUE
;
5622 PyObject
* _argo0
= 0;
5623 PyObject
* _obj1
= 0;
5624 PyObject
* _obj2
= 0;
5625 int tempbool3
= (int) TRUE
;
5626 char *_kwnames
[] = { "self","html","basepath","isdir", NULL
};
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|Oi:wxHtmlPrintout_SetHtmlText",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
5632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlText. Expected _wxHtmlPrintout_p.");
5639 #if PYTHON_API_VERSION >= 1009
5640 char* tmpPtr
; int tmpSize
;
5641 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5645 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5647 _arg1
= new wxString(tmpPtr
, tmpSize
);
5649 if (!PyString_Check(_obj1
)) {
5650 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5653 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5658 #if PYTHON_API_VERSION >= 1009
5659 char* tmpPtr
; int tmpSize
;
5660 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5664 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5666 _arg2
= new wxString(tmpPtr
, tmpSize
);
5668 if (!PyString_Check(_obj2
)) {
5669 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5672 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5675 _arg3
= (bool ) tempbool3
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 wxHtmlPrintout_SetHtmlText(_arg0
,*_arg1
,*_arg2
,_arg3
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) return NULL
;
5682 } Py_INCREF(Py_None
);
5683 _resultobj
= Py_None
;
5695 #define wxHtmlPrintout_SetHtmlFile(_swigobj,_swigarg0) (_swigobj->SetHtmlFile(_swigarg0))
5696 static PyObject
*_wrap_wxHtmlPrintout_SetHtmlFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5698 wxHtmlPrintout
* _arg0
;
5700 PyObject
* _argo0
= 0;
5701 PyObject
* _obj1
= 0;
5702 char *_kwnames
[] = { "self","htmlfile", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlPrintout_SetHtmlFile",_kwnames
,&_argo0
,&_obj1
))
5708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHtmlFile. Expected _wxHtmlPrintout_p.");
5715 #if PYTHON_API_VERSION >= 1009
5716 char* tmpPtr
; int tmpSize
;
5717 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5721 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5723 _arg1
= new wxString(tmpPtr
, tmpSize
);
5725 if (!PyString_Check(_obj1
)) {
5726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5729 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 wxHtmlPrintout_SetHtmlFile(_arg0
,*_arg1
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) return NULL
;
5738 } Py_INCREF(Py_None
);
5739 _resultobj
= Py_None
;
5747 #define wxHtmlPrintout_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
5748 static PyObject
*_wrap_wxHtmlPrintout_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5750 wxHtmlPrintout
* _arg0
;
5752 int _arg2
= (int ) (wxPAGE_ALL
);
5753 PyObject
* _argo0
= 0;
5754 PyObject
* _obj1
= 0;
5755 char *_kwnames
[] = { "self","header","pg", NULL
};
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetHeader. Expected _wxHtmlPrintout_p.");
5768 #if PYTHON_API_VERSION >= 1009
5769 char* tmpPtr
; int tmpSize
;
5770 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5774 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5776 _arg1
= new wxString(tmpPtr
, tmpSize
);
5778 if (!PyString_Check(_obj1
)) {
5779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5782 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 wxHtmlPrintout_SetHeader(_arg0
,*_arg1
,_arg2
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) return NULL
;
5791 } Py_INCREF(Py_None
);
5792 _resultobj
= Py_None
;
5800 #define wxHtmlPrintout_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
5801 static PyObject
*_wrap_wxHtmlPrintout_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5803 wxHtmlPrintout
* _arg0
;
5805 int _arg2
= (int ) (wxPAGE_ALL
);
5806 PyObject
* _argo0
= 0;
5807 PyObject
* _obj1
= 0;
5808 char *_kwnames
[] = { "self","footer","pg", NULL
};
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlPrintout_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
5814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetFooter. Expected _wxHtmlPrintout_p.");
5821 #if PYTHON_API_VERSION >= 1009
5822 char* tmpPtr
; int tmpSize
;
5823 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5827 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5829 _arg1
= new wxString(tmpPtr
, tmpSize
);
5831 if (!PyString_Check(_obj1
)) {
5832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5835 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 wxHtmlPrintout_SetFooter(_arg0
,*_arg1
,_arg2
);
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) return NULL
;
5844 } Py_INCREF(Py_None
);
5845 _resultobj
= Py_None
;
5853 #define wxHtmlPrintout_SetMargins(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetMargins(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5854 static PyObject
*_wrap_wxHtmlPrintout_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5856 wxHtmlPrintout
* _arg0
;
5857 float _arg1
= (float ) 25.2;
5858 float _arg2
= (float ) 25.2;
5859 float _arg3
= (float ) 25.2;
5860 float _arg4
= (float ) 25.2;
5861 float _arg5
= (float ) 5;
5862 PyObject
* _argo0
= 0;
5863 char *_kwnames
[] = { "self","top","bottom","left","right","spaces", NULL
};
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|fffff:wxHtmlPrintout_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlPrintout_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlPrintout_SetMargins. Expected _wxHtmlPrintout_p.");
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 wxHtmlPrintout_SetMargins(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) return NULL
;
5881 } Py_INCREF(Py_None
);
5882 _resultobj
= Py_None
;
5886 static void *SwigwxHtmlEasyPrintingTowxObject(void *ptr
) {
5887 wxHtmlEasyPrinting
*src
;
5889 src
= (wxHtmlEasyPrinting
*) ptr
;
5890 dest
= (wxObject
*) src
;
5891 return (void *) dest
;
5894 #define new_wxHtmlEasyPrinting(_swigarg0,_swigarg1) (new wxHtmlEasyPrinting(_swigarg0,_swigarg1))
5895 static PyObject
*_wrap_new_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5897 wxHtmlEasyPrinting
* _result
;
5898 char * _arg0
= (char *) "Printing";
5899 wxFrame
* _arg1
= (wxFrame
*) NULL
;
5900 PyObject
* _argo1
= 0;
5901 char *_kwnames
[] = { "name","parent_frame", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sO:new_wxHtmlEasyPrinting",_kwnames
,&_arg0
,&_argo1
))
5908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxHtmlEasyPrinting. Expected _wxFrame_p.");
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 _result
= (wxHtmlEasyPrinting
*)new_wxHtmlEasyPrinting(_arg0
,_arg1
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxHtmlEasyPrinting_p");
5922 _resultobj
= Py_BuildValue("s",_ptemp
);
5925 _resultobj
= Py_None
;
5930 #define delete_wxHtmlEasyPrinting(_swigobj) (delete _swigobj)
5931 static PyObject
*_wrap_delete_wxHtmlEasyPrinting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5933 wxHtmlEasyPrinting
* _arg0
;
5934 PyObject
* _argo0
= 0;
5935 char *_kwnames
[] = { "self", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxHtmlEasyPrinting",_kwnames
,&_argo0
))
5941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxHtmlEasyPrinting. Expected _wxHtmlEasyPrinting_p.");
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 delete_wxHtmlEasyPrinting(_arg0
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) return NULL
;
5953 } Py_INCREF(Py_None
);
5954 _resultobj
= Py_None
;
5958 #define wxHtmlEasyPrinting_PreviewFile(_swigobj,_swigarg0) (_swigobj->PreviewFile(_swigarg0))
5959 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5961 wxHtmlEasyPrinting
* _arg0
;
5963 PyObject
* _argo0
= 0;
5964 PyObject
* _obj1
= 0;
5965 char *_kwnames
[] = { "self","htmlfile", NULL
};
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PreviewFile",_kwnames
,&_argo0
,&_obj1
))
5971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
5973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewFile. Expected _wxHtmlEasyPrinting_p.");
5978 #if PYTHON_API_VERSION >= 1009
5979 char* tmpPtr
; int tmpSize
;
5980 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5981 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5984 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5986 _arg1
= new wxString(tmpPtr
, tmpSize
);
5988 if (!PyString_Check(_obj1
)) {
5989 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5992 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 wxHtmlEasyPrinting_PreviewFile(_arg0
,*_arg1
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) return NULL
;
6001 } Py_INCREF(Py_None
);
6002 _resultobj
= Py_None
;
6010 #define wxHtmlEasyPrinting_PreviewText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PreviewText(_swigarg0,_swigarg1))
6011 static PyObject
*_wrap_wxHtmlEasyPrinting_PreviewText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6013 wxHtmlEasyPrinting
* _arg0
;
6015 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6016 PyObject
* _argo0
= 0;
6017 PyObject
* _obj1
= 0;
6018 PyObject
* _obj2
= 0;
6019 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PreviewText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PreviewText. Expected _wxHtmlEasyPrinting_p.");
6032 #if PYTHON_API_VERSION >= 1009
6033 char* tmpPtr
; int tmpSize
;
6034 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6038 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6040 _arg1
= new wxString(tmpPtr
, tmpSize
);
6042 if (!PyString_Check(_obj1
)) {
6043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6046 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6051 #if PYTHON_API_VERSION >= 1009
6052 char* tmpPtr
; int tmpSize
;
6053 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6054 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6057 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6059 _arg2
= new wxString(tmpPtr
, tmpSize
);
6061 if (!PyString_Check(_obj2
)) {
6062 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6065 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 wxHtmlEasyPrinting_PreviewText(_arg0
,*_arg1
,*_arg2
);
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) return NULL
;
6074 } Py_INCREF(Py_None
);
6075 _resultobj
= Py_None
;
6087 #define wxHtmlEasyPrinting_PrintFile(_swigobj,_swigarg0) (_swigobj->PrintFile(_swigarg0))
6088 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6090 wxHtmlEasyPrinting
* _arg0
;
6092 PyObject
* _argo0
= 0;
6093 PyObject
* _obj1
= 0;
6094 char *_kwnames
[] = { "self","htmlfile", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxHtmlEasyPrinting_PrintFile",_kwnames
,&_argo0
,&_obj1
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintFile. Expected _wxHtmlEasyPrinting_p.");
6107 #if PYTHON_API_VERSION >= 1009
6108 char* tmpPtr
; int tmpSize
;
6109 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6110 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6113 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6115 _arg1
= new wxString(tmpPtr
, tmpSize
);
6117 if (!PyString_Check(_obj1
)) {
6118 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6121 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 wxHtmlEasyPrinting_PrintFile(_arg0
,*_arg1
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) return NULL
;
6130 } Py_INCREF(Py_None
);
6131 _resultobj
= Py_None
;
6139 #define wxHtmlEasyPrinting_PrintText(_swigobj,_swigarg0,_swigarg1) (_swigobj->PrintText(_swigarg0,_swigarg1))
6140 static PyObject
*_wrap_wxHtmlEasyPrinting_PrintText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
* _resultobj
;
6142 wxHtmlEasyPrinting
* _arg0
;
6144 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
6145 PyObject
* _argo0
= 0;
6146 PyObject
* _obj1
= 0;
6147 PyObject
* _obj2
= 0;
6148 char *_kwnames
[] = { "self","htmltext","basepath", NULL
};
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxHtmlEasyPrinting_PrintText",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrintText. Expected _wxHtmlEasyPrinting_p.");
6161 #if PYTHON_API_VERSION >= 1009
6162 char* tmpPtr
; int tmpSize
;
6163 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6167 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6169 _arg1
= new wxString(tmpPtr
, tmpSize
);
6171 if (!PyString_Check(_obj1
)) {
6172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6175 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6180 #if PYTHON_API_VERSION >= 1009
6181 char* tmpPtr
; int tmpSize
;
6182 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6186 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6188 _arg2
= new wxString(tmpPtr
, tmpSize
);
6190 if (!PyString_Check(_obj2
)) {
6191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6194 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 wxHtmlEasyPrinting_PrintText(_arg0
,*_arg1
,*_arg2
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) return NULL
;
6203 } Py_INCREF(Py_None
);
6204 _resultobj
= Py_None
;
6216 #define wxHtmlEasyPrinting_PrinterSetup(_swigobj) (_swigobj->PrinterSetup())
6217 static PyObject
*_wrap_wxHtmlEasyPrinting_PrinterSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6219 wxHtmlEasyPrinting
* _arg0
;
6220 PyObject
* _argo0
= 0;
6221 char *_kwnames
[] = { "self", NULL
};
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PrinterSetup",_kwnames
,&_argo0
))
6227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PrinterSetup. Expected _wxHtmlEasyPrinting_p.");
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 wxHtmlEasyPrinting_PrinterSetup(_arg0
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) return NULL
;
6239 } Py_INCREF(Py_None
);
6240 _resultobj
= Py_None
;
6244 #define wxHtmlEasyPrinting_PageSetup(_swigobj) (_swigobj->PageSetup())
6245 static PyObject
*_wrap_wxHtmlEasyPrinting_PageSetup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6247 wxHtmlEasyPrinting
* _arg0
;
6248 PyObject
* _argo0
= 0;
6249 char *_kwnames
[] = { "self", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_PageSetup",_kwnames
,&_argo0
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_PageSetup. Expected _wxHtmlEasyPrinting_p.");
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 wxHtmlEasyPrinting_PageSetup(_arg0
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) return NULL
;
6267 } Py_INCREF(Py_None
);
6268 _resultobj
= Py_None
;
6272 #define wxHtmlEasyPrinting_SetHeader(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHeader(_swigarg0,_swigarg1))
6273 static PyObject
*_wrap_wxHtmlEasyPrinting_SetHeader(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6275 wxHtmlEasyPrinting
* _arg0
;
6277 int _arg2
= (int ) (wxPAGE_ALL
);
6278 PyObject
* _argo0
= 0;
6279 PyObject
* _obj1
= 0;
6280 char *_kwnames
[] = { "self","header","pg", NULL
};
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetHeader",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetHeader. Expected _wxHtmlEasyPrinting_p.");
6293 #if PYTHON_API_VERSION >= 1009
6294 char* tmpPtr
; int tmpSize
;
6295 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6299 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6301 _arg1
= new wxString(tmpPtr
, tmpSize
);
6303 if (!PyString_Check(_obj1
)) {
6304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6307 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 wxHtmlEasyPrinting_SetHeader(_arg0
,*_arg1
,_arg2
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) return NULL
;
6316 } Py_INCREF(Py_None
);
6317 _resultobj
= Py_None
;
6325 #define wxHtmlEasyPrinting_SetFooter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFooter(_swigarg0,_swigarg1))
6326 static PyObject
*_wrap_wxHtmlEasyPrinting_SetFooter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
* _resultobj
;
6328 wxHtmlEasyPrinting
* _arg0
;
6330 int _arg2
= (int ) (wxPAGE_ALL
);
6331 PyObject
* _argo0
= 0;
6332 PyObject
* _obj1
= 0;
6333 char *_kwnames
[] = { "self","footer","pg", NULL
};
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxHtmlEasyPrinting_SetFooter",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
6339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_SetFooter. Expected _wxHtmlEasyPrinting_p.");
6346 #if PYTHON_API_VERSION >= 1009
6347 char* tmpPtr
; int tmpSize
;
6348 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6349 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6352 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6354 _arg1
= new wxString(tmpPtr
, tmpSize
);
6356 if (!PyString_Check(_obj1
)) {
6357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6360 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxHtmlEasyPrinting_SetFooter(_arg0
,*_arg1
,_arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6369 } Py_INCREF(Py_None
);
6370 _resultobj
= Py_None
;
6378 #define wxHtmlEasyPrinting_GetPrintData(_swigobj) (_swigobj->GetPrintData())
6379 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
* _resultobj
;
6381 wxPrintData
* _result
;
6382 wxHtmlEasyPrinting
* _arg0
;
6383 PyObject
* _argo0
= 0;
6384 char *_kwnames
[] = { "self", NULL
};
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPrintData",_kwnames
,&_argo0
))
6391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPrintData. Expected _wxHtmlEasyPrinting_p.");
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 _result
= (wxPrintData
*)wxHtmlEasyPrinting_GetPrintData(_arg0
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) return NULL
;
6404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPrintData_p");
6405 _resultobj
= Py_BuildValue("s",_ptemp
);
6408 _resultobj
= Py_None
;
6413 #define wxHtmlEasyPrinting_GetPageSetupData(_swigobj) (_swigobj->GetPageSetupData())
6414 static PyObject
*_wrap_wxHtmlEasyPrinting_GetPageSetupData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6416 wxPageSetupDialogData
* _result
;
6417 wxHtmlEasyPrinting
* _arg0
;
6418 PyObject
* _argo0
= 0;
6419 char *_kwnames
[] = { "self", NULL
};
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxHtmlEasyPrinting_GetPageSetupData",_kwnames
,&_argo0
))
6426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxHtmlEasyPrinting_p")) {
6428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxHtmlEasyPrinting_GetPageSetupData. Expected _wxHtmlEasyPrinting_p.");
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 _result
= (wxPageSetupDialogData
*)wxHtmlEasyPrinting_GetPageSetupData(_arg0
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) return NULL
;
6439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPageSetupDialogData_p");
6440 _resultobj
= Py_BuildValue("s",_ptemp
);
6443 _resultobj
= Py_None
;
6448 static PyMethodDef htmlcMethods
[] = {
6449 { "wxHtmlEasyPrinting_GetPageSetupData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
},
6450 { "wxHtmlEasyPrinting_GetPrintData", (PyCFunction
) _wrap_wxHtmlEasyPrinting_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
6451 { "wxHtmlEasyPrinting_SetFooter", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6452 { "wxHtmlEasyPrinting_SetHeader", (PyCFunction
) _wrap_wxHtmlEasyPrinting_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6453 { "wxHtmlEasyPrinting_PageSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PageSetup
, METH_VARARGS
| METH_KEYWORDS
},
6454 { "wxHtmlEasyPrinting_PrinterSetup", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrinterSetup
, METH_VARARGS
| METH_KEYWORDS
},
6455 { "wxHtmlEasyPrinting_PrintText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintText
, METH_VARARGS
| METH_KEYWORDS
},
6456 { "wxHtmlEasyPrinting_PrintFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PrintFile
, METH_VARARGS
| METH_KEYWORDS
},
6457 { "wxHtmlEasyPrinting_PreviewText", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewText
, METH_VARARGS
| METH_KEYWORDS
},
6458 { "wxHtmlEasyPrinting_PreviewFile", (PyCFunction
) _wrap_wxHtmlEasyPrinting_PreviewFile
, METH_VARARGS
| METH_KEYWORDS
},
6459 { "delete_wxHtmlEasyPrinting", (PyCFunction
) _wrap_delete_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6460 { "new_wxHtmlEasyPrinting", (PyCFunction
) _wrap_new_wxHtmlEasyPrinting
, METH_VARARGS
| METH_KEYWORDS
},
6461 { "wxHtmlPrintout_SetMargins", (PyCFunction
) _wrap_wxHtmlPrintout_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
6462 { "wxHtmlPrintout_SetFooter", (PyCFunction
) _wrap_wxHtmlPrintout_SetFooter
, METH_VARARGS
| METH_KEYWORDS
},
6463 { "wxHtmlPrintout_SetHeader", (PyCFunction
) _wrap_wxHtmlPrintout_SetHeader
, METH_VARARGS
| METH_KEYWORDS
},
6464 { "wxHtmlPrintout_SetHtmlFile", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlFile
, METH_VARARGS
| METH_KEYWORDS
},
6465 { "wxHtmlPrintout_SetHtmlText", (PyCFunction
) _wrap_wxHtmlPrintout_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6466 { "new_wxHtmlPrintout", (PyCFunction
) _wrap_new_wxHtmlPrintout
, METH_VARARGS
| METH_KEYWORDS
},
6467 { "wxHtmlDCRenderer_GetTotalHeight", (PyCFunction
) _wrap_wxHtmlDCRenderer_GetTotalHeight
, METH_VARARGS
| METH_KEYWORDS
},
6468 { "wxHtmlDCRenderer_Render", (PyCFunction
) _wrap_wxHtmlDCRenderer_Render
, METH_VARARGS
| METH_KEYWORDS
},
6469 { "wxHtmlDCRenderer_SetHtmlText", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetHtmlText
, METH_VARARGS
| METH_KEYWORDS
},
6470 { "wxHtmlDCRenderer_SetSize", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6471 { "wxHtmlDCRenderer_SetDC", (PyCFunction
) _wrap_wxHtmlDCRenderer_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6472 { "delete_wxHtmlDCRenderer", (PyCFunction
) _wrap_delete_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6473 { "new_wxHtmlDCRenderer", (PyCFunction
) _wrap_new_wxHtmlDCRenderer
, METH_VARARGS
| METH_KEYWORDS
},
6474 { "wxHtmlWindow_base_OnCellClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellClicked
, METH_VARARGS
| METH_KEYWORDS
},
6475 { "wxHtmlWindow_base_OnCellMouseHover", (PyCFunction
) _wrap_wxHtmlWindow_base_OnCellMouseHover
, METH_VARARGS
| METH_KEYWORDS
},
6476 { "wxHtmlWindow_base_OnSetTitle", (PyCFunction
) _wrap_wxHtmlWindow_base_OnSetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6477 { "wxHtmlWindow_base_OnLinkClicked", (PyCFunction
) _wrap_wxHtmlWindow_base_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
},
6478 { "wxHtmlWindow_GetParser", (PyCFunction
) _wrap_wxHtmlWindow_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6479 { "wxHtmlWindow_GetInternalRepresentation", (PyCFunction
) _wrap_wxHtmlWindow_GetInternalRepresentation
, METH_VARARGS
| METH_KEYWORDS
},
6480 { "wxHtmlWindow_HistoryClear", (PyCFunction
) _wrap_wxHtmlWindow_HistoryClear
, METH_VARARGS
| METH_KEYWORDS
},
6481 { "wxHtmlWindow_HistoryCanForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanForward
, METH_VARARGS
| METH_KEYWORDS
},
6482 { "wxHtmlWindow_HistoryCanBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryCanBack
, METH_VARARGS
| METH_KEYWORDS
},
6483 { "wxHtmlWindow_HistoryForward", (PyCFunction
) _wrap_wxHtmlWindow_HistoryForward
, METH_VARARGS
| METH_KEYWORDS
},
6484 { "wxHtmlWindow_HistoryBack", (PyCFunction
) _wrap_wxHtmlWindow_HistoryBack
, METH_VARARGS
| METH_KEYWORDS
},
6485 { "wxHtmlWindow_WriteCustomization", (PyCFunction
) _wrap_wxHtmlWindow_WriteCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6486 { "wxHtmlWindow_ReadCustomization", (PyCFunction
) _wrap_wxHtmlWindow_ReadCustomization
, METH_VARARGS
| METH_KEYWORDS
},
6487 { "wxHtmlWindow_SetBorders", (PyCFunction
) _wrap_wxHtmlWindow_SetBorders
, METH_VARARGS
| METH_KEYWORDS
},
6488 { "wxHtmlWindow_SetTitle", (PyCFunction
) _wrap_wxHtmlWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
6489 { "wxHtmlWindow_SetFonts", (PyCFunction
) _wrap_wxHtmlWindow_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6490 { "wxHtmlWindow_SetRelatedStatusBar", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
6491 { "wxHtmlWindow_GetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_GetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6492 { "wxHtmlWindow_SetRelatedFrame", (PyCFunction
) _wrap_wxHtmlWindow_SetRelatedFrame
, METH_VARARGS
| METH_KEYWORDS
},
6493 { "wxHtmlWindow_GetOpenedPageTitle", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPageTitle
, METH_VARARGS
| METH_KEYWORDS
},
6494 { "wxHtmlWindow_GetOpenedAnchor", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedAnchor
, METH_VARARGS
| METH_KEYWORDS
},
6495 { "wxHtmlWindow_GetOpenedPage", (PyCFunction
) _wrap_wxHtmlWindow_GetOpenedPage
, METH_VARARGS
| METH_KEYWORDS
},
6496 { "wxHtmlWindow_AppendToPage", (PyCFunction
) _wrap_wxHtmlWindow_AppendToPage
, METH_VARARGS
| METH_KEYWORDS
},
6497 { "wxHtmlWindow_LoadPage", (PyCFunction
) _wrap_wxHtmlWindow_LoadPage
, METH_VARARGS
| METH_KEYWORDS
},
6498 { "wxHtmlWindow_SetPage", (PyCFunction
) _wrap_wxHtmlWindow_SetPage
, METH_VARARGS
| METH_KEYWORDS
},
6499 { "wxHtmlWindow__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6500 { "wxHtmlWindow_Create", (PyCFunction
) _wrap_wxHtmlWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
6501 { "new_wxPreHtmlWindow", (PyCFunction
) _wrap_new_wxPreHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6502 { "new_wxHtmlWindow", (PyCFunction
) _wrap_new_wxHtmlWindow
, METH_VARARGS
| METH_KEYWORDS
},
6503 { "new_wxHtmlWidgetCell", (PyCFunction
) _wrap_new_wxHtmlWidgetCell
, METH_VARARGS
| METH_KEYWORDS
},
6504 { "new_wxHtmlFontCell", (PyCFunction
) _wrap_new_wxHtmlFontCell
, METH_VARARGS
| METH_KEYWORDS
},
6505 { "new_wxHtmlColourCell", (PyCFunction
) _wrap_new_wxHtmlColourCell
, METH_VARARGS
| METH_KEYWORDS
},
6506 { "wxHtmlContainerCell_GetFirstCell", (PyCFunction
) _wrap_wxHtmlContainerCell_GetFirstCell
, METH_VARARGS
| METH_KEYWORDS
},
6507 { "wxHtmlContainerCell_SetBorder", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
6508 { "wxHtmlContainerCell_SetBackgroundColour", (PyCFunction
) _wrap_wxHtmlContainerCell_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
6509 { "wxHtmlContainerCell_SetMinHeight", (PyCFunction
) _wrap_wxHtmlContainerCell_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
6510 { "wxHtmlContainerCell_SetWidthFloatFromTag", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloatFromTag
, METH_VARARGS
| METH_KEYWORDS
},
6511 { "wxHtmlContainerCell_SetWidthFloat", (PyCFunction
) _wrap_wxHtmlContainerCell_SetWidthFloat
, METH_VARARGS
| METH_KEYWORDS
},
6512 { "wxHtmlContainerCell_SetAlign", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6513 { "wxHtmlContainerCell_GetIndentUnits", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndentUnits
, METH_VARARGS
| METH_KEYWORDS
},
6514 { "wxHtmlContainerCell_GetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6515 { "wxHtmlContainerCell_SetIndent", (PyCFunction
) _wrap_wxHtmlContainerCell_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
6516 { "wxHtmlContainerCell_GetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6517 { "wxHtmlContainerCell_SetAlignVer", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignVer
, METH_VARARGS
| METH_KEYWORDS
},
6518 { "wxHtmlContainerCell_GetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_GetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6519 { "wxHtmlContainerCell_SetAlignHor", (PyCFunction
) _wrap_wxHtmlContainerCell_SetAlignHor
, METH_VARARGS
| METH_KEYWORDS
},
6520 { "wxHtmlContainerCell_InsertCell", (PyCFunction
) _wrap_wxHtmlContainerCell_InsertCell
, METH_VARARGS
| METH_KEYWORDS
},
6521 { "new_wxHtmlContainerCell", (PyCFunction
) _wrap_new_wxHtmlContainerCell
, METH_VARARGS
| METH_KEYWORDS
},
6522 { "new_wxHtmlWordCell", (PyCFunction
) _wrap_new_wxHtmlWordCell
, METH_VARARGS
| METH_KEYWORDS
},
6523 { "wxHtmlCell_SetCanLiveOnPagebreak", (PyCFunction
) _wrap_wxHtmlCell_SetCanLiveOnPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6524 { "wxHtmlCell_AdjustPagebreak", (PyCFunction
) _wrap_wxHtmlCell_AdjustPagebreak
, METH_VARARGS
| METH_KEYWORDS
},
6525 { "wxHtmlCell_Find", (PyCFunction
) _wrap_wxHtmlCell_Find
, METH_VARARGS
| METH_KEYWORDS
},
6526 { "wxHtmlCell_DrawInvisible", (PyCFunction
) _wrap_wxHtmlCell_DrawInvisible
, METH_VARARGS
| METH_KEYWORDS
},
6527 { "wxHtmlCell_Draw", (PyCFunction
) _wrap_wxHtmlCell_Draw
, METH_VARARGS
| METH_KEYWORDS
},
6528 { "wxHtmlCell_Layout", (PyCFunction
) _wrap_wxHtmlCell_Layout
, METH_VARARGS
| METH_KEYWORDS
},
6529 { "wxHtmlCell_SetPos", (PyCFunction
) _wrap_wxHtmlCell_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
6530 { "wxHtmlCell_SetParent", (PyCFunction
) _wrap_wxHtmlCell_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
6531 { "wxHtmlCell_SetNext", (PyCFunction
) _wrap_wxHtmlCell_SetNext
, METH_VARARGS
| METH_KEYWORDS
},
6532 { "wxHtmlCell_SetLink", (PyCFunction
) _wrap_wxHtmlCell_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6533 { "wxHtmlCell_GetParent", (PyCFunction
) _wrap_wxHtmlCell_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
6534 { "wxHtmlCell_GetNext", (PyCFunction
) _wrap_wxHtmlCell_GetNext
, METH_VARARGS
| METH_KEYWORDS
},
6535 { "wxHtmlCell_GetLink", (PyCFunction
) _wrap_wxHtmlCell_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6536 { "wxHtmlCell_GetDescent", (PyCFunction
) _wrap_wxHtmlCell_GetDescent
, METH_VARARGS
| METH_KEYWORDS
},
6537 { "wxHtmlCell_GetHeight", (PyCFunction
) _wrap_wxHtmlCell_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
6538 { "wxHtmlCell_GetWidth", (PyCFunction
) _wrap_wxHtmlCell_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
6539 { "wxHtmlCell_GetPosY", (PyCFunction
) _wrap_wxHtmlCell_GetPosY
, METH_VARARGS
| METH_KEYWORDS
},
6540 { "wxHtmlCell_GetPosX", (PyCFunction
) _wrap_wxHtmlCell_GetPosX
, METH_VARARGS
| METH_KEYWORDS
},
6541 { "new_wxHtmlCell", (PyCFunction
) _wrap_new_wxHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6542 { "wxHtmlWinTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlWinTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6543 { "wxHtmlWinTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6544 { "wxHtmlWinTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlWinTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6545 { "wxHtmlWinTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlWinTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6546 { "new_wxHtmlWinTagHandler", (PyCFunction
) _wrap_new_wxHtmlWinTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6547 { "wxHtmlTagHandler_ParseInner", (PyCFunction
) _wrap_wxHtmlTagHandler_ParseInner
, METH_VARARGS
| METH_KEYWORDS
},
6548 { "wxHtmlTagHandler_GetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_GetParser
, METH_VARARGS
| METH_KEYWORDS
},
6549 { "wxHtmlTagHandler_SetParser", (PyCFunction
) _wrap_wxHtmlTagHandler_SetParser
, METH_VARARGS
| METH_KEYWORDS
},
6550 { "wxHtmlTagHandler__setCallbackInfo", (PyCFunction
) _wrap_wxHtmlTagHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
6551 { "new_wxHtmlTagHandler", (PyCFunction
) _wrap_new_wxHtmlTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6552 { "wxHtmlWinParser_GetLink", (PyCFunction
) _wrap_wxHtmlWinParser_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
6553 { "wxHtmlWinParser_CreateCurrentFont", (PyCFunction
) _wrap_wxHtmlWinParser_CreateCurrentFont
, METH_VARARGS
| METH_KEYWORDS
},
6554 { "wxHtmlWinParser_SetLink", (PyCFunction
) _wrap_wxHtmlWinParser_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
6555 { "wxHtmlWinParser_SetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6556 { "wxHtmlWinParser_GetActualColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetActualColor
, METH_VARARGS
| METH_KEYWORDS
},
6557 { "wxHtmlWinParser_SetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_SetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6558 { "wxHtmlWinParser_GetLinkColor", (PyCFunction
) _wrap_wxHtmlWinParser_GetLinkColor
, METH_VARARGS
| METH_KEYWORDS
},
6559 { "wxHtmlWinParser_SetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6560 { "wxHtmlWinParser_GetAlign", (PyCFunction
) _wrap_wxHtmlWinParser_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
6561 { "wxHtmlWinParser_SetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6562 { "wxHtmlWinParser_GetFontFixed", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontFixed
, METH_VARARGS
| METH_KEYWORDS
},
6563 { "wxHtmlWinParser_SetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6564 { "wxHtmlWinParser_GetFontUnderlined", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
6565 { "wxHtmlWinParser_SetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6566 { "wxHtmlWinParser_GetFontItalic", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontItalic
, METH_VARARGS
| METH_KEYWORDS
},
6567 { "wxHtmlWinParser_SetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6568 { "wxHtmlWinParser_GetFontBold", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontBold
, METH_VARARGS
| METH_KEYWORDS
},
6569 { "wxHtmlWinParser_SetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_SetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6570 { "wxHtmlWinParser_GetFontSize", (PyCFunction
) _wrap_wxHtmlWinParser_GetFontSize
, METH_VARARGS
| METH_KEYWORDS
},
6571 { "wxHtmlWinParser_CloseContainer", (PyCFunction
) _wrap_wxHtmlWinParser_CloseContainer
, METH_VARARGS
| METH_KEYWORDS
},
6572 { "wxHtmlWinParser_SetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_SetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6573 { "wxHtmlWinParser_OpenContainer", (PyCFunction
) _wrap_wxHtmlWinParser_OpenContainer
, METH_VARARGS
| METH_KEYWORDS
},
6574 { "wxHtmlWinParser_GetContainer", (PyCFunction
) _wrap_wxHtmlWinParser_GetContainer
, METH_VARARGS
| METH_KEYWORDS
},
6575 { "wxHtmlWinParser_SetFonts", (PyCFunction
) _wrap_wxHtmlWinParser_SetFonts
, METH_VARARGS
| METH_KEYWORDS
},
6576 { "wxHtmlWinParser_GetWindow", (PyCFunction
) _wrap_wxHtmlWinParser_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6577 { "wxHtmlWinParser_GetCharWidth", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
6578 { "wxHtmlWinParser_GetCharHeight", (PyCFunction
) _wrap_wxHtmlWinParser_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
6579 { "wxHtmlWinParser_GetDC", (PyCFunction
) _wrap_wxHtmlWinParser_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
6580 { "wxHtmlWinParser_SetDC", (PyCFunction
) _wrap_wxHtmlWinParser_SetDC
, METH_VARARGS
| METH_KEYWORDS
},
6581 { "new_wxHtmlWinParser", (PyCFunction
) _wrap_new_wxHtmlWinParser
, METH_VARARGS
| METH_KEYWORDS
},
6582 { "wxHtmlParser_PopTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PopTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6583 { "wxHtmlParser_PushTagHandler", (PyCFunction
) _wrap_wxHtmlParser_PushTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6584 { "wxHtmlParser_GetSource", (PyCFunction
) _wrap_wxHtmlParser_GetSource
, METH_VARARGS
| METH_KEYWORDS
},
6585 { "wxHtmlParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6586 { "wxHtmlParser_DoParsing", (PyCFunction
) _wrap_wxHtmlParser_DoParsing
, METH_VARARGS
| METH_KEYWORDS
},
6587 { "wxHtmlParser_DoneParser", (PyCFunction
) _wrap_wxHtmlParser_DoneParser
, METH_VARARGS
| METH_KEYWORDS
},
6588 { "wxHtmlParser_InitParser", (PyCFunction
) _wrap_wxHtmlParser_InitParser
, METH_VARARGS
| METH_KEYWORDS
},
6589 { "wxHtmlParser_Parse", (PyCFunction
) _wrap_wxHtmlParser_Parse
, METH_VARARGS
| METH_KEYWORDS
},
6590 { "wxHtmlParser_GetFS", (PyCFunction
) _wrap_wxHtmlParser_GetFS
, METH_VARARGS
| METH_KEYWORDS
},
6591 { "wxHtmlParser_SetFS", (PyCFunction
) _wrap_wxHtmlParser_SetFS
, METH_VARARGS
| METH_KEYWORDS
},
6592 { "wxHtmlTag_GetEndPos2", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos2
, METH_VARARGS
| METH_KEYWORDS
},
6593 { "wxHtmlTag_GetEndPos1", (PyCFunction
) _wrap_wxHtmlTag_GetEndPos1
, METH_VARARGS
| METH_KEYWORDS
},
6594 { "wxHtmlTag_GetBeginPos", (PyCFunction
) _wrap_wxHtmlTag_GetBeginPos
, METH_VARARGS
| METH_KEYWORDS
},
6595 { "wxHtmlTag_HasEnding", (PyCFunction
) _wrap_wxHtmlTag_HasEnding
, METH_VARARGS
| METH_KEYWORDS
},
6596 { "wxHtmlTag_GetAllParams", (PyCFunction
) _wrap_wxHtmlTag_GetAllParams
, METH_VARARGS
| METH_KEYWORDS
},
6597 { "wxHtmlTag_GetParam", (PyCFunction
) _wrap_wxHtmlTag_GetParam
, METH_VARARGS
| METH_KEYWORDS
},
6598 { "wxHtmlTag_HasParam", (PyCFunction
) _wrap_wxHtmlTag_HasParam
, METH_VARARGS
| METH_KEYWORDS
},
6599 { "wxHtmlTag_GetName", (PyCFunction
) _wrap_wxHtmlTag_GetName
, METH_VARARGS
| METH_KEYWORDS
},
6600 { "wxHtmlLinkInfo_SetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6601 { "wxHtmlLinkInfo_SetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_SetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6602 { "wxHtmlLinkInfo_GetHtmlCell", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHtmlCell
, METH_VARARGS
| METH_KEYWORDS
},
6603 { "wxHtmlLinkInfo_GetEvent", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetEvent
, METH_VARARGS
| METH_KEYWORDS
},
6604 { "wxHtmlLinkInfo_GetTarget", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
6605 { "wxHtmlLinkInfo_GetHref", (PyCFunction
) _wrap_wxHtmlLinkInfo_GetHref
, METH_VARARGS
| METH_KEYWORDS
},
6606 { "new_wxHtmlLinkInfo", (PyCFunction
) _wrap_new_wxHtmlLinkInfo
, METH_VARARGS
| METH_KEYWORDS
},
6607 { "wxHtmlWindow_AddFilter", (PyCFunction
) _wrap_wxHtmlWindow_AddFilter
, METH_VARARGS
| METH_KEYWORDS
},
6608 { "wxHtmlWinParser_AddTagHandler", (PyCFunction
) _wrap_wxHtmlWinParser_AddTagHandler
, METH_VARARGS
| METH_KEYWORDS
},
6615 * This table is used by the pointer type-checker
6617 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6618 { "_signed_long","_long",0},
6619 { "_wxPrintQuality","_wxCoord",0},
6620 { "_wxPrintQuality","_int",0},
6621 { "_wxPrintQuality","_signed_int",0},
6622 { "_wxPrintQuality","_unsigned_int",0},
6623 { "_wxPrintQuality","_wxWindowID",0},
6624 { "_wxPrintQuality","_uint",0},
6625 { "_wxPrintQuality","_EBool",0},
6626 { "_wxPrintQuality","_size_t",0},
6627 { "_wxPrintQuality","_time_t",0},
6628 { "_byte","_unsigned_char",0},
6629 { "_wxPyPrintout","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxPyPrintout
},
6630 { "_long","_unsigned_long",0},
6631 { "_long","_signed_long",0},
6632 { "_size_t","_wxCoord",0},
6633 { "_size_t","_wxPrintQuality",0},
6634 { "_size_t","_time_t",0},
6635 { "_size_t","_unsigned_int",0},
6636 { "_size_t","_int",0},
6637 { "_size_t","_wxWindowID",0},
6638 { "_size_t","_uint",0},
6639 { "_wxPanel","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxPanel
},
6640 { "_uint","_wxCoord",0},
6641 { "_uint","_wxPrintQuality",0},
6642 { "_uint","_time_t",0},
6643 { "_uint","_size_t",0},
6644 { "_uint","_unsigned_int",0},
6645 { "_uint","_int",0},
6646 { "_uint","_wxWindowID",0},
6647 { "_wxChar","_char",0},
6648 { "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell
},
6649 { "_wxHtmlCell","_wxHtmlFontCell",SwigwxHtmlFontCellTowxHtmlCell
},
6650 { "_wxHtmlCell","_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell
},
6651 { "_wxHtmlCell","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxHtmlCell
},
6652 { "_wxHtmlCell","_wxHtmlWordCell",SwigwxHtmlWordCellTowxHtmlCell
},
6653 { "_char","_wxChar",0},
6654 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
6655 { "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler
},
6656 { "_EBool","_wxCoord",0},
6657 { "_EBool","_wxPrintQuality",0},
6658 { "_EBool","_signed_int",0},
6659 { "_EBool","_int",0},
6660 { "_EBool","_wxWindowID",0},
6661 { "_unsigned_long","_long",0},
6662 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
6663 { "_signed_int","_wxCoord",0},
6664 { "_signed_int","_wxPrintQuality",0},
6665 { "_signed_int","_EBool",0},
6666 { "_signed_int","_wxWindowID",0},
6667 { "_signed_int","_int",0},
6668 { "_WXTYPE","_wxDateTime_t",0},
6669 { "_WXTYPE","_short",0},
6670 { "_WXTYPE","_signed_short",0},
6671 { "_WXTYPE","_unsigned_short",0},
6672 { "_unsigned_short","_wxDateTime_t",0},
6673 { "_unsigned_short","_WXTYPE",0},
6674 { "_unsigned_short","_short",0},
6675 { "_wxObject","_wxHtmlEasyPrinting",SwigwxHtmlEasyPrintingTowxObject
},
6676 { "_wxObject","_wxHtmlPrintout",SwigwxHtmlPrintoutTowxObject
},
6677 { "_wxObject","_wxHtmlDCRenderer",SwigwxHtmlDCRendererTowxObject
},
6678 { "_wxObject","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxObject
},
6679 { "_wxObject","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxObject
},
6680 { "_wxObject","_wxHtmlFontCell",SwigwxHtmlFontCellTowxObject
},
6681 { "_wxObject","_wxHtmlColourCell",SwigwxHtmlColourCellTowxObject
},
6682 { "_wxObject","_wxHtmlContainerCell",SwigwxHtmlContainerCellTowxObject
},
6683 { "_wxObject","_wxHtmlWordCell",SwigwxHtmlWordCellTowxObject
},
6684 { "_wxObject","_wxHtmlCell",SwigwxHtmlCellTowxObject
},
6685 { "_wxObject","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxObject
},
6686 { "_wxObject","_wxPyHtmlTagHandler",SwigwxPyHtmlTagHandlerTowxObject
},
6687 { "_wxObject","_wxHtmlWinParser",SwigwxHtmlWinParserTowxObject
},
6688 { "_wxObject","_wxHtmlParser",SwigwxHtmlParserTowxObject
},
6689 { "_wxObject","_wxHtmlTag",SwigwxHtmlTagTowxObject
},
6690 { "_wxObject","_wxHtmlLinkInfo",SwigwxHtmlLinkInfoTowxObject
},
6691 { "_signed_short","_WXTYPE",0},
6692 { "_signed_short","_short",0},
6693 { "_wxScrolledWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow
},
6694 { "_unsigned_char","_byte",0},
6695 { "_unsigned_int","_wxCoord",0},
6696 { "_unsigned_int","_wxPrintQuality",0},
6697 { "_unsigned_int","_time_t",0},
6698 { "_unsigned_int","_size_t",0},
6699 { "_unsigned_int","_uint",0},
6700 { "_unsigned_int","_wxWindowID",0},
6701 { "_unsigned_int","_int",0},
6702 { "_short","_wxDateTime_t",0},
6703 { "_short","_WXTYPE",0},
6704 { "_short","_unsigned_short",0},
6705 { "_short","_signed_short",0},
6706 { "_wxWindowID","_wxCoord",0},
6707 { "_wxWindowID","_wxPrintQuality",0},
6708 { "_wxWindowID","_time_t",0},
6709 { "_wxWindowID","_size_t",0},
6710 { "_wxWindowID","_EBool",0},
6711 { "_wxWindowID","_uint",0},
6712 { "_wxWindowID","_int",0},
6713 { "_wxWindowID","_signed_int",0},
6714 { "_wxWindowID","_unsigned_int",0},
6715 { "_int","_wxCoord",0},
6716 { "_int","_wxPrintQuality",0},
6717 { "_int","_time_t",0},
6718 { "_int","_size_t",0},
6719 { "_int","_EBool",0},
6720 { "_int","_uint",0},
6721 { "_int","_wxWindowID",0},
6722 { "_int","_unsigned_int",0},
6723 { "_int","_signed_int",0},
6724 { "_wxDateTime_t","_unsigned_short",0},
6725 { "_wxDateTime_t","_short",0},
6726 { "_wxDateTime_t","_WXTYPE",0},
6727 { "_time_t","_wxCoord",0},
6728 { "_time_t","_wxPrintQuality",0},
6729 { "_time_t","_unsigned_int",0},
6730 { "_time_t","_int",0},
6731 { "_time_t","_wxWindowID",0},
6732 { "_time_t","_uint",0},
6733 { "_time_t","_size_t",0},
6734 { "_wxCoord","_int",0},
6735 { "_wxCoord","_signed_int",0},
6736 { "_wxCoord","_unsigned_int",0},
6737 { "_wxCoord","_wxWindowID",0},
6738 { "_wxCoord","_uint",0},
6739 { "_wxCoord","_EBool",0},
6740 { "_wxCoord","_size_t",0},
6741 { "_wxCoord","_time_t",0},
6742 { "_wxCoord","_wxPrintQuality",0},
6743 { "_wxHtmlParser","_wxHtmlWinParser",SwigwxHtmlWinParserTowxHtmlParser
},
6744 { "_wxEvtHandler","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler
},
6745 { "_wxWindow","_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxWindow
},
6748 static PyObject
*SWIG_globals
;
6752 SWIGEXPORT(void) inithtmlc() {
6754 SWIG_globals
= SWIG_newvarlink();
6755 m
= Py_InitModule("htmlc", htmlcMethods
);
6756 d
= PyModule_GetDict(m
);
6757 PyDict_SetItemString(d
,"wxHTML_ALIGN_LEFT", PyInt_FromLong((long) wxHTML_ALIGN_LEFT
));
6758 PyDict_SetItemString(d
,"wxHTML_ALIGN_CENTER", PyInt_FromLong((long) wxHTML_ALIGN_CENTER
));
6759 PyDict_SetItemString(d
,"wxHTML_ALIGN_RIGHT", PyInt_FromLong((long) wxHTML_ALIGN_RIGHT
));
6760 PyDict_SetItemString(d
,"wxHTML_ALIGN_BOTTOM", PyInt_FromLong((long) wxHTML_ALIGN_BOTTOM
));
6761 PyDict_SetItemString(d
,"wxHTML_ALIGN_TOP", PyInt_FromLong((long) wxHTML_ALIGN_TOP
));
6762 PyDict_SetItemString(d
,"wxHTML_CLR_FOREGROUND", PyInt_FromLong((long) wxHTML_CLR_FOREGROUND
));
6763 PyDict_SetItemString(d
,"wxHTML_CLR_BACKGROUND", PyInt_FromLong((long) wxHTML_CLR_BACKGROUND
));
6764 PyDict_SetItemString(d
,"wxHTML_UNITS_PIXELS", PyInt_FromLong((long) wxHTML_UNITS_PIXELS
));
6765 PyDict_SetItemString(d
,"wxHTML_UNITS_PERCENT", PyInt_FromLong((long) wxHTML_UNITS_PERCENT
));
6766 PyDict_SetItemString(d
,"wxHTML_INDENT_LEFT", PyInt_FromLong((long) wxHTML_INDENT_LEFT
));
6767 PyDict_SetItemString(d
,"wxHTML_INDENT_RIGHT", PyInt_FromLong((long) wxHTML_INDENT_RIGHT
));
6768 PyDict_SetItemString(d
,"wxHTML_INDENT_TOP", PyInt_FromLong((long) wxHTML_INDENT_TOP
));
6769 PyDict_SetItemString(d
,"wxHTML_INDENT_BOTTOM", PyInt_FromLong((long) wxHTML_INDENT_BOTTOM
));
6770 PyDict_SetItemString(d
,"wxHTML_INDENT_HORIZONTAL", PyInt_FromLong((long) wxHTML_INDENT_HORIZONTAL
));
6771 PyDict_SetItemString(d
,"wxHTML_INDENT_VERTICAL", PyInt_FromLong((long) wxHTML_INDENT_VERTICAL
));
6772 PyDict_SetItemString(d
,"wxHTML_INDENT_ALL", PyInt_FromLong((long) wxHTML_INDENT_ALL
));
6773 PyDict_SetItemString(d
,"wxHTML_COND_ISANCHOR", PyInt_FromLong((long) wxHTML_COND_ISANCHOR
));
6774 PyDict_SetItemString(d
,"wxHTML_COND_ISIMAGEMAP", PyInt_FromLong((long) wxHTML_COND_ISIMAGEMAP
));
6775 PyDict_SetItemString(d
,"wxHTML_COND_USER", PyInt_FromLong((long) wxHTML_COND_USER
));
6776 PyDict_SetItemString(d
,"wxPAGE_ODD", PyInt_FromLong((long) wxPAGE_ODD
));
6777 PyDict_SetItemString(d
,"wxPAGE_EVEN", PyInt_FromLong((long) wxPAGE_EVEN
));
6778 PyDict_SetItemString(d
,"wxPAGE_ALL", PyInt_FromLong((long) wxPAGE_ALL
));
6783 wxClassInfo::CleanUpClasses();
6784 wxClassInfo::InitializeClasses();
6786 wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler");
6787 wxPyPtrTypeMap_Add("wxHtmlWinTagHandler", "wxPyHtmlWinTagHandler");
6788 wxPyPtrTypeMap_Add("wxHtmlWindow", "wxPyHtmlWindow");
6791 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
6792 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);